From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [Guix] FTBFS on Ubuntu (12.04) 64bit. Various fatal during install. Date: Sat, 06 Jul 2013 15:36:39 +0200 Message-ID: <878v1jstco.fsf@gnu.org> References: <51D71116.3080403@BlueT.org> <87txk8sqc6.fsf@gnu.org> <51D768DE.90403@BlueT.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58840) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UvSkK-0006Dw-Jp for bug-guix@gnu.org; Sat, 06 Jul 2013 09:41:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UvSkF-0005uZ-71 for bug-guix@gnu.org; Sat, 06 Jul 2013 09:41:52 -0400 Received: from hera.aquilenet.fr ([141.255.128.1]:53149) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UvSkE-0005uL-SP for bug-guix@gnu.org; Sat, 06 Jul 2013 09:41:47 -0400 In-Reply-To: <51D768DE.90403@BlueT.org> ("BlueT - Matthew Lien - \=\?utf-8\?B\?57e05ZaG5piOIidz\?\= message of "Sat, 06 Jul 2013 08:46:22 +0800") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: =?utf-8?Q?BlueT_-_Matthew_Lien_-_=E7=B7=B4=E5=96=86=E6=98=8E?= Cc: bug-guix@gnu.org "BlueT - Matthew Lien - =E7=B7=B4=E5=96=86=E6=98=8E" skri= bis: > On 2013=E5=B9=B407=E6=9C=8806=E6=97=A5 04:29, Ludovic Court=C3=A8s wrote: >> Yeah, the latest and greatest Autotools are needed for development. >> (This will no longer be a problem once you have Guix installed because >> that=E2=80=99s what the distro has: the latest and greatest. :-)) > > I understand that >=3D1.12 might be better than 1.11, but is there > something we can do to make it support both? Not easily. I have no interest in supporting old versions of Automake, given that Automake is only needed for developers (you don=E2=80=99t need it when building from a tarball), and developers can figure out how to install the right version. :-) >> The test log has a lot of these: >> >>> suspicious ownership or permission on `/home/bluet/guix-0.2/test-tmp/st= ore/fcj4d6x41bmsp235cwm8zhzpc782xbw4-module-import'; rejecting this build o= utput >>> @ build-failed /home/bluet/guix-0.2/test-tmp/store/15ifzzvqq54r7n891s47= q5rai5l1pfhc-module-import.drv - 1 suspicious ownership or permission on `/= home/bluet/guix-0.2/test-tmp/store/fcj4d6x41bmsp235cwm8zhzpc782xbw4-module-= import'; rejecting this build output >> >> The code that leads to this error is this: >> >> /* Check that the output is not group or world writable, >> as that means that someone else can have interfered >> with the build. Also, the output should be owned by >> the build user. */ >> if ((!S_ISLNK(st.st_mode) && (st.st_mode & (S_IWGRP | S_IWOTH))) || >> (buildUser.enabled() && st.st_uid !=3D buildUser.getUID())) >> throw BuildError(format("suspicious ownership or permission on `= %1%'; rejecting this build output") % path); >> >> Could you check the permissions on these files? > > Those files are not exist anymore after the `make check`, as they're > created in test-tmp/ for the test only. > > After some tries, I can see > -r--r--r-- 1 bluet bluet 899 Jan 1 1970 > /home/bluet/guix-0.2/test-tmp/store/15ifzzvqq54r7n891s47q5rai5l1pfhc-modu= le-import.drv Hmm that looks good. > but didn't catch the > /home/bluet/guix-0.2/test-tmp/store/fcj4d6x41bmsp235cwm8zhzpc782xbw4-modu= le-import > >> What does the =E2=80=98umask=E2=80=99 command show? > > bluet@GuixOnUbuntu64:~/guix-0.2$ umask > 0002 Could you run this from the build directory: rm -rf test-tmp && umask 0022 && make check With umask =3D=3D 0002, the daemon can end up creating group-writable files, which then triggers the above error. TIA, Ludo=E2=80=99.