tools/dmraid.c:12:20: dmraid.h: No such file or directory In file included from tools/dmraid.c:13: tools/commands.h:68: warning: "struct lib_context" declared inside parameter list tools/commands.h:68: warning: its scope is only this definition or declaration, which is probably not what you want tools/commands.h:100: warning: "struct lib_context" declared inside parameter list tools/commands.h:103: warning: "struct lib_context" declared inside parameter list tools/commands.h:104: warning: "struct lib_context" declared inside parameter list In file included from tools/dmraid.c:14: tools/toollib.h:14: warning: "struct lib_context" declared inside parameter list tools/toollib.h:15: warning: "struct lib_context" declared inside parameter list tools/toollib.h:17: warning: "struct lib_context" declared inside parameter list tools/toollib.h:18: warning: "struct lib_context" declared inside parameter list tools/toollib.h:19: warning: "struct lib_context" declared inside parameter list tools/toollib.h:20: warning: "struct lib_context" declared inside parameter list tools/toollib.h:23: warning: "struct lib_context" declared inside parameter list tools/dmraid.c: In function `main': tools/dmraid.c:23: warning: implicit declaration of function `libdmraid_init' tools/dmraid.c:23: warning: nested extern declaration of `libdmraid_init' tools/dmraid.c:23: warning: assignment makes pointer from integer without a cast tools/dmraid.c:32: warning: implicit declaration of function `init_locking' tools/dmraid.c:32: warning: nested extern declaration of `init_locking' tools/dmraid.c:42: warning: implicit declaration of function `libdmraid_exit' tools/dmraid.c:42: warning: nested extern declaration of `libdmraid_exit' make: *** [tools/dmraid] Error 1 make: *** Waiting for unfinished jobs.... ar: creating ../lib/libdmraid.a ../lib/libdmraid.a ../lib/libdmraid.so ../lib/libdmraid.so !!! ERROR: sys-fs/dmraid-1.0.0_rc8-r1 failed. !!! Function src_compile, Line 36, Exitcode 2 !!! emake failed !!! If you need support, post the topmost build error, NOT this status message. pena ~ # emerge info Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r1, 2.6.12-gentoo-r9 i686) ================================================================= System uname: 2.6.12-gentoo-r9 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz Gentoo Base System version 1.12.0_pre6 dev-lang/python: 2.3.5, 2.4.1-r1 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -pipe -mfpmath=sse -ffast-math -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/env.d/java/ /etc/gconf /etc/init.d /etc/java-config/vms/ /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium4 -pipe -mfpmath=sse -ffast-math -fomit-frame-pointer" DISTDIR="/usr/src/distfiles" FEATURES="autoconfig cvs distlocks fixpackages noauto sandbox sfperms sign strict" GENTOO_MIRRORS=" http://trumpetti.atm.tut.fi/gentoo http://lame.lut.fi/linux/gentoo " LANG="en_US.utf8" LC_ALL="en_US.utf8" LINGUAS="fi" MAKEOPTS="-j2 -s" PKGDIR="/home/pkg/" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="cvs://betelgeuse@cvs.gentoo.org:/var/cvsroot" USE="x86 X aac acl acpi alsa apm arts audiofile avi bash-completion berkdb bitmap-fonts browserplugin bzip2 bzlib cdb cddb cdparanoia crypt cups dbus divx4linux dts dvd dvdr dvdread emboss esd fam foomaticdb freetype gif gstreamer gtk2 hal java jpeg kde kdeenablefinal kdexdeltas libg++ libwww logitech-mouse lzo mad makecheck mikmod mjpeg mmx mmx2 mp3 mpeg ncurses network nptl nptlonly nsplugin nvidia offensive ogg oggvorbis opengl pam pdflib png qt quicktime readline real rtc samba spell sse sse2 ssl subversion svg symlink tcpd theora tiff truetype truetype-fonts type1-fonts unicode usb userlocales vorbis win32codecs xml xml2 xv xvid zlib video_cards_nvidia linguas_fi userland_
Created attachment 66969 [details] full emerge log
Horton please review this one.
Created attachment 69100 [details] New ebuild for new dmraid version. Build fixes included. This is the new ebuild for dmraid-1.0.0-rc9. Tested and working on x86.
I am unable to test this. My test box is now in production. In order to test this properly you need someone using it with mirroring and stripping. My experience with mirroring was random kernel panics and crashes. It is supposed to more stable if you strip them. Needless to say both configurations need to be checked.
Version -rc12 now in portage. Please test and see if this error persists (note, I could not produce this error w/the new package). Marking resolved/fixed. willing to reopen if issue can be reproduced.
I have the same problem with -rc13. After a lot of experimenting I found strange think: the problem depends on MAKEOPTS. I had MAKEOPTS="-j2 -s" and compilation fails. But after removing the options compilation succeed. It works for no options, for "-j2" or for "-s" but not for combination!
That's strange... there must be something about -s that causes an issue when making in parallel... ok re-opening, this should be tested further.. i guess probably forcing a -j1 would ensure that it builds for everybody..
Removing myself from dmraid related bugs.
May I ask why are you sticking -s into MAKEOPTS???
why do you care ? using -s in MAKEOPTS is perfectly reasonable
post updated build failures ... the original report is simply not possible anymore: tools/dmraid.c:12:20: dmraid.h: No such file or directory dmraid.h always exist at $S/include/dmraid/dmraid.h and tools/dmraid.c does #include <dmraid/dmraid.h> with -I ../include
AHA -- I knew i saw this bug before.. Successfully tested new ebuild dmraid-1.0.0_rc14 with MAKEOPTS="-s" on both amd64 and x86. Note that this bug is a duplicate of bug #164572 and bug #145415 (or vice-versa)