Compilation failure: gcc -O1 -pipe -mcpu=7400 -maltivec -mabi=altivec -mpowerpc-gfxopt -O1 -pipe -mcpu=7400 -maltivec -mabi=altivec -mpowerpc-gfxopt -DNDEBUG -funsigned-char -Wall -I./include -DVERSION=\"2.6.3\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"xfsprogs\" -O1 -pipe -mcpu=7400 -maltivec -mabi=altivec -mpowerpc-gfxopt -DNDEBUG -funsigned-char -Wall -I../include -DVERSION=\"2.6.3\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"xfsprogs\" -I. -D_REENTRANT -fno-strict-aliasing -c init.c -fPIC -DPIC -o .libs/init.o distcc[12560] ERROR: compile on 192.168.0.6 failed init.c: In function `check_isactive': init.c:63: storage size of `st' isn't known init.c:65: warning: implicit declaration of function `stat64' init.c:63: warning: unused variable `st' init.c: In function `check_open': init.c:179: storage size of `stbuf' isn't known init.c:179: warning: unused variable `stbuf' make[1]: *** [init.lo] Error 1 make: *** [default] Error 2 emerge info: Portage 2.0.50-r1 (default-ppc-1.4, gcc-3.2.3, glibc-2.3.2-r9, 2.4.24-ppc-dev-r1) ================================================================= System uname: 2.4.24-ppc-dev-r1 ppc 7457, altivec supported Gentoo Base System version 1.4.3.13 distcc 2.12.1 powerpc-unknown-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.2 ACCEPT_KEYWORDS="ppc ~ppc" AUTOCLEAN="yes" CFLAGS="-O2 -pipe -mcpu=7400 -maltivec -mabi=altivec -mpowerpc-gfxopt" CHOST="powerpc-unknown-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/lib/jboss /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -pipe -mcpu=7400 -maltivec -mabi=altivec -mpowerpc-gfxopt" DISTDIR="/usr/portage/distfiles" FEATURES="ccache cvs distcc sandbox userpriv usersandbox" GENTOO_MIRRORS="http://gentoo.linux.no/ http://trumpetti.atm.tut.fi/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://212.219.247.12/sites/www.ibiblio.org/gentoo/ http://212.219.247.17/sites/www.ibiblio.org/gentoo/" MAKEOPTS="-j6" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3ds X Xaw3d aalib acl alsa altivec arts berkdb bindist bonobo cdr composite crypt cscope cups curl dga directfb doc dv dvd encode esd expat faad fbcon fbdev ffmpeg flac flash fluidsynth foomaticdb freetds gd gd-external gdbm gif glut gnome gnome-libs gnomedb gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile imagemagick imlib imlib2 jack jack-caps java javascript jikes joystick jpeg junit kde ladcca lcms libdsk libg libwww mad matroska mcal md5sum mikmod mitshm mng mono motif mozaccess mozcalendar mozilla mozinterfaceinfo mozp3p mozsvg mozxmlterm mpeg mpeg4 mpi mysql ncurses net nls nptl objc odbc offensive oggvorbis openal opengl openssh oss pam pdflib perl pg-hier pg-vacuumdelay php physfs pic plotutils png postgres ppc python qt quicktime radeon readline rogue ruby samba sdk sdl slang slp socks5 sox speex spell sqlite ssl stencil-buffer t1lib tcltk tcpd tetex tiff transcode truetype type1 usb video_cards_radeon wmf wxwin wxwindows xatrix xfs xinerama xml xml2 xmms xosd xv xvid zeo zlib"
Created attachment 25946 [details] xfslog.bz2 Compilation log
does this work without distcc ?
Removing distcc som FEATURES and disabling distccd had no effect. I also tried to disable ccache but that didn't help either :(
Could my kernel version be causing this? I'm using ppc-sources-dev-2.4.24-r1 which comes with the XFS-2.4.23 patch.
I experience the same compile error with xfs-2.6.0 under Portage 2.0.50-r1 (default-ppc-2004.0, gcc-3.2.3, glibc-2.3.2-r9, 2.6.3-benh2) ================================================================= System uname: 2.6.3-benh2 ppc 750FX Gentoo Base System version 1.4.3.13 Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.7.8 ACCEPT_KEYWORDS="ppc" AUTOCLEAN="yes" CFLAGS="-pipe -mcpu=750" CHOST="powerpc-unknown-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/lib/pbbuttonsd /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-pipe -mcpu=750" DISTDIR="/usr/portage/distfiles" FEATURES="ccache" GENTOO_MIRRORS="ftp://ftp.easynet.nl/mirror/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X X509 aalib acl alsa altivec apache2 ardour-ksi autofs berkdb cdr chroot clamav crypt cups dga dillo dv dvd dvdr encode esd ethereal fastcgi fbcon fbdev ffmpeg flac flash fluidsynth foomaticdb freetype gdbm geoip gif gimpprint gnome gnome-libs gnomedb gphoto2 gpm gps gstreamer gtk gtk2 gtkhtml hbci idea imagemagick imap imlib ipv6 j-noaim j-nomsn j-nomuconf j-noyahoo jabber jack jack-caps jack-tmpfs java javascript jpeg kde kerberos krb4 ladcca lcms ldap libwww maildir md5sum mdb memlimit minimal mitshm mldonkeypango motif mozilla moznocompose moznoirc moznomail mozp3p mozsvg mozxmlterm mpeg mpeg4 music nocd oav oggvorbis opengl operanom2 ospfapi oss pam pcap pdflib perl php png ppc ppds prelude python qt quicktime radeon readline samba sasl scanner sdl skey slang snmp socks5 sox speex ssl svg tcltk tcpd tiff transcode truetype usb videos wmf wsconvert wxwindows xface xinerama xmms xv xvid zeo zlib" >>> emerge (1 of 2) sys-fs/xfsprogs-2.6.0 to / >>> md5 src_uri ;-) xfsprogs-2.6.0.src.tar.gz >>> Unpacking source... >>> Unpacking xfsprogs-2.6.0.src.tar.gz to /var/tmp/portage/xfsprogs-2.6.0/work >>> Source unpacked. creating cache ./config.cache checking for make... /usr/bin/make checking for libtool... /usr/bin/libtool checking for tar... /bin/tar checking for gzip... /bin/gzip checking for makedepend... /usr/X11R6/bin/makedepend checking for awk... /bin/awk checking for sed... /bin/sed checking for echo... /bin/echo checking for sort... /bin/sort checking whether ln -s works... yes checking for msgfmt... /usr/bin/msgfmt checking for msgmerge... /usr/bin/msgmerge checking for rpm... /bin/rpm checking how to run the C preprocessor... gcc -E checking for uuid.h... no checking for uuid/uuid.h... yes checking for uuid_compare... no checking for uuid_compare in -luuid... yes checking for pthread.h... yes checking for pthread_mutex_init in -lpthread... yes checking for __psint_t ... no checking for __psunsigned_t ... no checking size of long... 4 checking size of char *... 4 updating cache ./config.cache creating ./config.status creating include/builddefs creating include/platform_defs.h === include === make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. rm -f xfs disk ln -s . xfs ln -s . disk === libxfs === make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. /usr/bin/libtool --mode=compile gcc -pipe -mcpu=750 -pipe -mcpu=750 -DNDEBUG -funsigned-char -Wall -I./include -DVERSION=\"2.6.0\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"xfsprogs\" -pipe -mcpu=750 -DNDEBUG -funsigned-char -Wall -I../include -DVERSION=\"2.6.0\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"xfsprogs\" -I. -D_REENTRANT -fno-strict-aliasing -c bit.c mkdir .libs gcc -pipe -mcpu=750 -pipe -mcpu=750 -DNDEBUG -funsigned-char -Wall -I./include -DVERSION=\"2.6.0\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"xfsprogs\" -pipe -mcpu=750 -DNDEBUG -funsigned-char -Wall -I../include -DVERSION=\"2.6.0\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"xfsprogs\" -I. -D_REENTRANT -fno-strict-aliasing -c bit.c -fPIC -DPIC -o .libs/bit.lo gcc -pipe -mcpu=750 -pipe -mcpu=750 -DNDEBUG -funsigned-char -Wall -I./include -DVERSION=\"2.6.0\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"xfsprogs\" -pipe -mcpu=750 -DNDEBUG -funsigned-char -Wall -I../include -DVERSION=\"2.6.0\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"xfsprogs\" -I. -D_REENTRANT -fno-strict-aliasing -c bit.c -o bit.o >/dev/null 2>&1 mv -f .libs/bit.lo bit.lo /usr/bin/libtool --mode=compile gcc -pipe -mcpu=750 -pipe -mcpu=750 -DNDEBUG -funsigned-char -Wall -I./include -DVERSION=\"2.6.0\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"xfsprogs\" -pipe -mcpu=750 -DNDEBUG -funsigned-char -Wall -I../include -DVERSION=\"2.6.0\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"xfsprogs\" -I. -D_REENTRANT -fno-strict-aliasing -c init.c rm -f .libs/init.lo gcc -pipe -mcpu=750 -pipe -mcpu=750 -DNDEBUG -funsigned-char -Wall -I./include -DVERSION=\"2.6.0\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"xfsprogs\" -pipe -mcpu=750 -DNDEBUG -funsigned-char -Wall -I../include -DVERSION=\"2.6.0\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"xfsprogs\" -I. -D_REENTRANT -fno-strict-aliasing -c init.c -fPIC -DPIC -o .libs/init.lo init.c: In function `check_isactive': init.c:63: storage size of `st' isn't known init.c:65: warning: implicit declaration of function `stat64' init.c:63: warning: unused variable `st' init.c: In function `check_open': init.c:179: storage size of `stbuf' isn't known init.c:179: warning: unused variable `stbuf' make[1]: *** [init.lo] Error 1 make: *** [default] Error 2
MIPS gets the same failure on this package. Unsure as of yet why.
Same issue on my ppc system... (a bit a bad situation since my / is xfs.) Portage 2.0.50-r1 (default-ppc-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.2_rc3-benh1) ================================================================= System uname: 2.6.2_rc3-benh1 ppc 7455, altivec supported Gentoo Base System version 1.4.3.13p1 Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="ppc ~ppc" AUTOCLEAN="yes" CFLAGS="-O2 -pipe" CHOST="powerpc-unknown-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="" DISTDIR="/usr/portage/distfiles" FEATURES="buildpkg ccache" GENTOO_MIRRORS="ftp://sunsite.cnlab-switch.ch/mirror/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X Xaw3d aalib acl alsa altivec arts artswrappersuid berkdb canna cdr crypt cups dvd esd ethereal flac foomaticdb gdbm gif gnome gnome-libs gpm gtk gtk2 imap imlib jpeg kde ldap libwww mbox mcal mikmod mitshm motif mozilla nls oggvorbis opengl oss pam perl png ppc python qt readline samba sasl sdl slang ssl tcpd truetype usb videos xmms xosd xv zlib" I'll upgrade to 2.6.4 today.. will check wheter that resolves the issue.
Same error building livecd with 2.6.5_rc2-benh1. Happens with both xfsprogs 2.6.0 and 2.6.3. Could this be ncurses related?
*** Bug 45196 has been marked as a duplicate of this bug. ***
Fixed now, I guess
Wasn't fixed on ppc: The solution was to add an 'unset PLATFORM', triggered by a ppc keyword. Luca, can you please commit this? I have fixed this in the snapshot, but not in live cvs.
Strange in the cvs both 2.6.0 and 2.6.3 have the fix. I wonder what happened.
I tested it as well and it seems to be working now...
fixed then