=dev-util/kbuild-0.1.5-r1 fails to compile, and i need the package to build virtualbox however, i managed to successfully ebuild kbuild-0.1.5-p1 aka kbuild revision 2336 i enclose failed build log, successful build log, hacked ebuild and emerge--info Reproducible: Always Steps to Reproduce: 1.unmask =dev-util/kbuild-0.1.5-r1 2.emerge =dev-util/kbuild-0.1.5-r1 3.observe compilation error (caused by an empty define on gcc command-line) Actual Results: compilation failed Expected Results: emerge succeeded if my inet connection does not fail again, i will attach the 4 files soon
Created attachment 200487 [details] file names are self-explanatory
Created attachment 200488 [details] file names are self-explanatory
Created attachment 200490 [details] the hacked ebuild
Created attachment 200491 [details] file names are self-explanatory
good news: successfully built virtualbox-ose with the fresh kbuild
(In reply to comment #5) > good news: successfully built virtualbox-ose with the fresh kbuild > nice to know that ;) for the record what version of the kbuild ebuild are you using? dev-util/kbuild-0.1.5-r2 from jokey's overlay? Thanks for your feedback
> nice to know that ;) for the record what version of the kbuild ebuild > are you using? dev-util/kbuild-0.1.5-r2 from jokey's overlay? modified kbuild-0.1.5-r1.ebuild found in attachment no.3 above
Has this bug aged long enough to be finally pushed into the main portage tree? ;-)
Sorry. Assumed this bug was related to a "missing arg to -o option for gcc" error. Simply doing FEATURES="-ccache -distcc" emerge kbuild resolved by error during compile. BTW, this bug looks fixed. Should it be closed??
(In reply to comment #9) > Sorry. Assumed this bug was related to a "missing arg to -o option for gcc" > error. > > Simply doing FEATURES="-ccache -distcc" emerge kbuild resolved by error during > compile. > > > BTW, this bug looks fixed. Should it be closed?? > I'm still getting it, I had distcc feature enabled disabling it still fails. (kbuild-0.1.5-r1) The failing command is @gcc -g -m32 -o /var/tmp/portage/dev-util/kbuild-0.1.5-r1/work/kBuilde-0.1.5/out/linux.x86/release/obj/kmk/kmk and so on. (I'm not online with the computer that's having problems so I can't cut and paste).
You only posted a generic folder and need to include the actual file the build stopped on to include the error info. (A few more words after this generic folder location.) Just a guess, but check your /etc/make.conf FEATURES for keepwork/keeptmp enabled? (For kicks, check your CFLAGS/CXXFLAGS/LDFLAGS too.)
Done without distcc, and MAKEOPTS="-j1", no ccache. Glad to post more info if needed. The failing command: @gcc -c -O2 -g -O3 -m32 -I/dev/shm/portage/dev-util/kbuild-0.1.5-r2/work/kBuild-0.1.5-p1/out/linux.x86/relea se/obj/kmk_ash -I/dev/shm/portage/dev-util/kbuild-0.1.5-r2/work/kBuild-0.1.5-p1/src/ash -I/dev/shm/portage/d ev-util/kbuild-0.1.5-r2/work/kBuild-0.1.5-p1/src/lib -DKBUILD_VERSION_MAJOR=0 -DKBUILD_VERSION_MINOR=1 -DKBU ILD_VERSION_PATCH=5 -DKBUILD_OS_LINUX -DKBUILD_ARCH_X86 -Dlint -DSHELL -DSMALL -DKMK -DNDEBUG -DBSD -Wp,-MD, /dev/shm/portage/dev-util/kbuild-0.1.5-r2/work/kBuild-0.1.5-p1/out/linux.x86/release/obj/kmk_ash/error.o.dep -Wp,-MT,/dev/shm/portage/dev-util/kbuild-0.1.5-r2/work/kBuild-0.1.5-p1/out/linux.x86/release/obj/kmk_ash/er ror.o -Wp,-MP -o /dev/shm/portage/dev-util/kbuild-0.1.5-r2/work/kBuild-0.1.5-p1/out/linux.x86/release/obj/km k_ash/error.o /dev/shm/portage/dev-util/kbuild-0.1.5-r2/work/kBuild-0.1.5-p1/src/ash/error.c
Oh, and that was with kbuild-0.1.5-r2 from Jokey's overlay. Trying to emerge it to get virtualbox-ose-3.1.2, in the same overlay.
(In reply to comment #13) > Oh, and that was with kbuild-0.1.5-r2 from Jokey's overlay. Trying to emerge it > to get virtualbox-ose-3.1.2, in the same overlay. > I am having the same problem too. Also, while I am unfamiliar with this package, I highly doubt the current problem is related to the problem first posted in 2009. I have never before had a problem with VirtualBox or related ebuilds from this overlay.
(In reply to comment #14) > (In reply to comment #13) > > Oh, and that was with kbuild-0.1.5-r2 from Jokey's overlay. Trying to emerge it > > to get virtualbox-ose-3.1.2, in the same overlay. > > > > I am having the same problem too. Also, while I am unfamiliar with this > package, I highly doubt the current problem is related to the problem first > posted in 2009. I have never before had a problem with VirtualBox or related > ebuilds from this overlay. > Just for giggles, I tried masking kbuild down to 0.1.4. No luck. I also tried switching compilers from gcc-4.4.2 to 4.3.4 - no luck. Not sure where the interaction is coming form. Probably not very helpful - thought I'd try something.
Have you tried my quick fix/hack suggested in Comment #9???
(In reply to comment #16) > Have you tried my quick fix/hack suggested in Comment #9??? > yes - make.conf has -ccache, -distcc - even tried MAKEOPT="j1".
Version is no longer in portage...