Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 497272 - =net-misc/dhcpcd-5.6.4 fails to compile on ppc64
Summary: =net-misc/dhcpcd-5.6.4 fails to compile on ppc64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC64 Linux
: Normal normal (vote)
Assignee: William Hubbs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-06 14:28 UTC by Agostino Sarubbo
Modified: 2014-08-02 06:36 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2014-01-06 14:28:31 UTC
>>> Emerging (1 of 1) net-misc/dhcpcd-5.6.4                                                                                                                                         
 * dhcpcd-5.6.4.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                                 [ ok ] 
>>> Unpacking source...
>>> Unpacking dhcpcd-5.6.4.tar.bz2 to /var/tmp/portage/net-misc/dhcpcd-5.6.4/work
>>> Source unpacked in /var/tmp/portage/net-misc/dhcpcd-5.6.4/work
>>> Preparing source in /var/tmp/portage/net-misc/dhcpcd-5.6.4/work/dhcpcd-5.6.4 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/net-misc/dhcpcd-5.6.4/work/dhcpcd-5.6.4 ...
./configure --prefix=/usr --build=powerpc-unknown-linux-gnu --host=powerpc-unknown-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/lib --prefix= --libexecdir=/lib/dhcpcd --dbdir=/var/lib/dhcpcd --localstatedir=/var --with-hook=ntp.conf --with-hook=yp.conf
Configuring dhcpcd for ... linux
Looking for compiler ... powerpc-unknown-linux-gnu-gcc
powerpc-unknown-linux-gnu-gcc (Gentoo 4.7.3-r1 p1.4, pie-0.5.5) 4.7.3
Testing for getifaddrs ... yes
Testing for arc4random ... no
Testing for closefrom ... no
Testing for getline ... yes
Testing for strlcpy ... no
Testing for TAILQ_FOREACH_SAFE ... no
Checking for OpenRC ... yes
Checking for ntpd ... not found
Checking for ypind ... not found
Finding hook ntp.conf ... 50-ntp.conf
Finding hook yp.conf ... 50-yp.conf

   SYSCONFDIR =         /etc
   SBINDIR =            /sbin
   LIBDIR =             /lib
   LIBEXECDIR =         /lib/dhcpcd
   DBDIR =              /var/lib/dhcpcd
   RUNDIR =             /var/run
   MANDIR =             /usr/share/man
   HOOKSCRIPTS =        50-ntp.conf 50-yp.conf

>>> Source configured.
>>> Compiling source in /var/tmp/portage/net-misc/dhcpcd-5.6.4/work/dhcpcd-5.6.4 ...
make -j1 
powerpc-unknown-linux-gnu-gcc -O2 -pipe -D_BSD_SOURCE -D_XOPEN_SOURCE=600 -c arp.c -o arp.o
powerpc-unknown-linux-gnu-gcc -O2 -pipe -D_BSD_SOURCE -D_XOPEN_SOURCE=600 -c bind.c -o bind.o
powerpc-unknown-linux-gnu-gcc -O2 -pipe -D_BSD_SOURCE -D_XOPEN_SOURCE=600 -c common.c -o common.o
powerpc-unknown-linux-gnu-gcc -O2 -pipe -D_BSD_SOURCE -D_XOPEN_SOURCE=600 -c control.c -o control.o
In file included from /usr/include/bits/sigcontext.h:27:0,
                 from /usr/include/signal.h:340,
                 from /usr/include/sys/param.h:28,
                 from net.h:32,
                 from dhcp.h:174,
                 from dhcpcd.h:38,
                 from control.c:40:
/usr/include/asm/sigcontext.h:17:23: error: expected identifier or '(' before '[' token
make: *** [control.o] Error 1
 * ERROR: net-misc/dhcpcd-5.6.4::gentoo failed (compile phase):
 *   emake failed
Comment 1 Agostino Sarubbo gentoo-dev 2014-01-06 14:28:48 UTC
Portage 2.2.7 (default/linux/powerpc/ppc64/13.0/32bit-userland, gcc-4.7.3, glibc-2.17, 3.2.34udev ppc64)
=================================================================
System uname: Linux-3.2.34udev-ppc64-POWER7_-architected-with-gentoo-2.2
KiB Mem:    16515732 total,   2668936 free
KiB Swap:    7814548 total,   7788896 free
Timestamp of tree: Mon, 06 Jan 2014 11:00:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p45
dev-lang/python:          2.7.5-r3, 3.2.5-r3, 3.3.2-r2
dev-util/cmake:           2.8.10.2-r2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.5.4, 4.6.3, 4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo                                                                                                                                                                
ACCEPT_KEYWORDS="ppc"                                                                                                                                                               
ACCEPT_LICENSE="* -@EULA"                                                                                                                                                           
CBUILD="powerpc-unknown-linux-gnu"                                                                                                                                                  
CFLAGS="-O2 -pipe"                                                                                                                                                                  
CHOST="powerpc-unknown-linux-gnu"                                                                                                                                                   
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/spool/munin-async/.ssh"                                                                                                    
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"                    
CXXFLAGS="-O2 -pipe"                                                                                                                                                                
DISTDIR="/usr/portage/distfiles"                                                                                                                                                    
EMERGE_DEFAULT_OPTS="--with-bdeps y"                                                                                                                                                
FCFLAGS="-O2 -pipe"                                                                                                                                                                 
FEATURES="assume-digests binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms sign strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"                                                                  
FFLAGS="-O2 -pipe"                                                                                                                                                                  
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://distfiles.gentoo.org"                                                                                                              
LDFLAGS="-Wl,-O1 -Wl,--as-needed"                                                                                                                                                   
MAKEOPTS="-j24"                                                                                                                                                                     
PKGDIR="/usr/portage/packages"                                                                                                                                                      
PORTAGE_CONFIGROOT="/"                                                                                                                                                              
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"                                                                                                                                        
PORTAGE_TMPDIR="/var/tmp"                                                                                                                                                           
PORTDIR="/usr/portage"                                                                                                                                                              
PORTDIR_OVERLAY=""                                                                                                                                                                  
SYNC="rsync://bobolink.gentoo.osuosl.org/gentoo-portage"                                                                                                                            
USE="acl berkdb bzip2 cli cracklib crypt cxx dri fortran gcc64 gdbm iconv ipv6 modules mudflap ncurses nptl openmp pam pcre ppc readline session ssl tcpd unicode zlib" ELIBC="glibc" KERNEL="linux" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7" USERLAND="GNU"                                                                                         
USE_PYTHON="2.7"
Comment 2 SpanKY gentoo-dev 2014-01-06 16:22:36 UTC
fixed in 6.x version already (see bug 466932).  crops up with newer kernel headers and glibc-2.17 (which is going stable).

looks like we should stable a newer one ...
Comment 3 William Hubbs gentoo-dev 2014-01-07 06:56:02 UTC
Yes, my plan is to stable 6.2 asap if no bugs show up in about a week or
two. There are some bugs in 6.1 that I am not really comfortable
stabilizing.
Comment 4 William Hubbs gentoo-dev 2014-08-02 06:36:36 UTC
This version is no longer in the tree.