GNU bug report logs - #15209
Daemon fails to build with Linux < 2.6.24

Previous Next

Package: guix;

Reported by: Matthias Wachs <wachs <at> net.in.tum.de>

Date: Thu, 29 Aug 2013 15:49:01 UTC

Severity: normal

Tags: wontfix

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 15209 in the body.
You can then email your comments to 15209 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#15209; Package guix. (Thu, 29 Aug 2013 15:49:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Matthias Wachs <wachs <at> net.in.tum.de>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Thu, 29 Aug 2013 15:49:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Matthias Wachs <wachs <at> net.in.tum.de>
To: bug-guix <at> gnu.org
Subject: guix 0.3 does not compile on fedora core 8 nodes
Date: Thu, 29 Aug 2013 15:54:31 +0200
[Message part 1 (text/plain, inline)]
Hi,

atm I am trying to install guix 0.3 on PlanetLab's fedora core 8 nodes. 
These nodes have a very old system, but in the end I got guix to
install, but had to fix one compile error:

make[2]: Entering directory `/home/tumple_gnunet_deployment/guix-0.3'
g++ -DHAVE_CONFIG_H -I. -I./nix  -I./nix -I./nix/libutil -I./nix
-I./nix/libstore -I./nix/libstore -DNIX_STORE_DIR=\"/nix/store\"
-DNIX_DATA_DIR=\"/usr/local/share\" -DNIX_STATE_DIR=\"/usr/local/var/nix
\" -DNIX_LOG_DIR=\"/usr/local/var/log/nix\" -DNIX_CONF_DIR=
\"/usr/local/etc/nix\" -DNIX_LIBEXEC_DIR=\"/usr/local/libexec\"
-DNIX_BIN_DIR=\"/usr/local/bin\" -DOPENSSL_PATH="\"openssl\""
-I/include -g -O2 -MT nix/libstore/libstore_a-build.o -MD -MP -MF
nix/libstore/.deps/libstore_a-build.Tpo -c -o
nix/libstore/libstore_a-build.o `test -f 'nix/libstore/build.cc' || echo
'./'`nix/libstore/build.cc
nix/libstore/build.cc: In member function 'void
nix::DerivationGoal::startBuilder()':
nix/libstore/build.cc:2036: error: 'CLONE_NEWPID' was not declared in
this scope
nix/libstore/build.cc:2036: error: 'CLONE_NEWNET' was not declared in
this scope
nix/libstore/build.cc:2036: error: 'CLONE_NEWIPC' was not declared in
this scope
nix/libstore/build.cc:2036: error: 'CLONE_NEWUTS' was not declared in
this scope
make[2]: *** [nix/libstore/libstore_a-build.o] Error 1


A patch for the problem is attached...

Matthias


-- 
Dipl.-Inf. Matthias Wachs
Free Secure Network Systems Group
Technische Universitaet Muenchen
Chair for Network Architectures and Services
Institute for Informatics / I8           Tel:    +49 89 289 18037
Boltzmannstr. 3 / Room 03.05.042         Fax:    +49 89 289 18033
D-85748 Garching b. Muenchen, Germany    Email: wachs <at> net.in.tum.de
[build.patch (text/x-patch, attachment)]
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#15209; Package guix. (Fri, 30 Aug 2013 07:17:01 GMT) Full text and rfc822 format available.

Message #8 received at 15209 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Matthias Wachs <wachs <at> net.in.tum.de>
Cc: 15209 <at> debbugs.gnu.org
Subject: Re: bug#15209: guix 0.3 does not compile on fedora core 8 nodes
Date: Fri, 30 Aug 2013 09:16:36 +0200
Matthias Wachs <wachs <at> net.in.tum.de> skribis:

> +#ifndef CLONE_NEWPID
> +#define CLONE_NEWPID            0x20000000      /* New pid namespace */
> +#endif
> +#ifndef CLONE_NEWNET
> +#define CLONE_NEWNET            0x40000000      /* New network namespace */
> +#endif 
> +#ifndef CLONE_NEWIPC
> +#define CLONE_NEWIPC            0x08000000      /* New ipcs */
> +#endif 
> +#ifndef CLONE_NEWUTS
> +#define CLONE_NEWUTS            0x04000000      /* New utsname group? */
> +#endif 

I’m reluctant to adding such a patch because (1) as was already
mentioned, these features are missing only on very old kernels, and
(2) if the libc headers don’t define these flag, chances are that
clone(2) doesn’t support them anyway.

WDYT?

Thanks,
Ludo’.




Information forwarded to bug-guix <at> gnu.org:
bug#15209; Package guix. (Mon, 30 Dec 2013 16:04:01 GMT) Full text and rfc822 format available.

Message #11 received at 15209 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Matthias Wachs <wachs <at> net.in.tum.de>
Cc: request <at> debbugs.gnu.org, 15209 <at> debbugs.gnu.org
Subject: Re: bug#15209: guix 0.3 does not compile on fedora core 8 nodes
Date: Mon, 30 Dec 2013 17:03:26 +0100
tag 15209 wontfix
retitle 15209 Daemon fails to build with Linux < 2.6.24
thanks

ludo <at> gnu.org (Ludovic Courtès) skribis:

> Matthias Wachs <wachs <at> net.in.tum.de> skribis:
>
>> +#ifndef CLONE_NEWPID
>> +#define CLONE_NEWPID            0x20000000      /* New pid namespace */
>> +#endif
>> +#ifndef CLONE_NEWNET
>> +#define CLONE_NEWNET            0x40000000      /* New network namespace */
>> +#endif 
>> +#ifndef CLONE_NEWIPC
>> +#define CLONE_NEWIPC            0x08000000      /* New ipcs */
>> +#endif 
>> +#ifndef CLONE_NEWUTS
>> +#define CLONE_NEWUTS            0x04000000      /* New utsname group? */
>> +#endif 
>
> I’m reluctant to adding such a patch because (1) as was already
> mentioned, these features are missing only on very old kernels, and
> (2) if the libc headers don’t define these flag, chances are that
> clone(2) doesn’t support them anyway.
>
> WDYT?

Marking as ‘wontfix’.  Let us know if this is a problem.

Thanks,
Ludo’.




Added tag(s) wontfix. Request was from ludo <at> gnu.org (Ludovic Courtès) to control <at> debbugs.gnu.org. (Mon, 30 Dec 2013 16:04:02 GMT) Full text and rfc822 format available.

Changed bug title to 'Daemon fails to build with Linux < 2.6.24' from 'guix 0.3 does not compile on fedora core 8 nodes' Request was from ludo <at> gnu.org (Ludovic Courtès) to control <at> debbugs.gnu.org. (Mon, 30 Dec 2013 16:04:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 15209 <at> debbugs.gnu.org and Matthias Wachs <wachs <at> net.in.tum.de> Request was from ludo <at> gnu.org (Ludovic Courtès) to control <at> debbugs.gnu.org. (Mon, 30 Dec 2013 16:07:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 28 Jan 2014 12:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 10 years and 61 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.