Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 280644 - =dev-util/kbuild-0.1.5-r1 not compiles
Summary: =dev-util/kbuild-0.1.5-r1 not compiles
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-07 11:30 UTC by mehrunes
Modified: 2013-04-09 07:01 UTC (History)
7 users (show)

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


Attachments
file names are self-explanatory (emerge--info,3.93 KB, text/plain)
2009-08-07 11:32 UTC, mehrunes
Details
file names are self-explanatory (failed.build.log,179.67 KB, text/plain)
2009-08-07 11:33 UTC, mehrunes
Details
the hacked ebuild (kbuild-0.1.5-r999.ebuild,1.15 KB, text/plain)
2009-08-07 11:34 UTC, mehrunes
Details
file names are self-explanatory (successful.build.log,233.28 KB, text/plain)
2009-08-07 11:35 UTC, mehrunes
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mehrunes 2009-08-07 11:30:42 UTC
=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
Comment 1 mehrunes 2009-08-07 11:32:17 UTC
Created attachment 200487 [details]
file names are self-explanatory
Comment 2 mehrunes 2009-08-07 11:33:51 UTC
Created attachment 200488 [details]
file names are self-explanatory
Comment 3 mehrunes 2009-08-07 11:34:15 UTC
Created attachment 200490 [details]
the hacked ebuild
Comment 4 mehrunes 2009-08-07 11:35:27 UTC
Created attachment 200491 [details]
file names are self-explanatory
Comment 5 mehrunes 2009-08-07 12:52:42 UTC
good news: successfully built virtualbox-ose with the fresh kbuild
Comment 6 Alessio Cassibba (X-Drum) 2009-08-10 20:42:43 UTC
(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
Comment 7 mehrunes 2009-08-11 06:15:04 UTC
 
> 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
Comment 8 Roger 2009-12-16 09:29:39 UTC
Has this bug aged long enough to be finally pushed into the main portage tree? ;-)
Comment 9 Roger 2009-12-16 10:05:58 UTC
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??
Comment 10 Chris Bruner 2009-12-26 06:40:36 UTC
(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).

Comment 11 Roger 2009-12-26 09:41:57 UTC
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.)
Comment 12 Jesse Adelman 2010-01-15 21:14:36 UTC
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
Comment 13 Jesse Adelman 2010-01-15 21:15:18 UTC
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.
Comment 14 Collin Day 2010-02-07 03:41:43 UTC
(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.
Comment 15 Collin Day 2010-02-07 03:55:14 UTC
(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. 
Comment 16 Roger 2010-02-07 19:07:34 UTC
Have you tried my quick fix/hack suggested in Comment #9???
Comment 17 Collin Day 2010-02-09 02:42:19 UTC
(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".
Comment 18 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2013-04-09 07:01:49 UTC
Version is no longer in portage...