Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 486990

Summary: app-text/pdftk-1.44 should depend on sys-devel/gcc[gcj]
Product: Gentoo Linux Reporter: Nico Baggus <mlspamcb>
Component: [OLD] PrintingAssignee: Printing Team <printing>
Status: RESOLVED INVALID    
Severity: normal CC: java
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Nico Baggus 2013-10-05 08:02:33 UTC
gcj is needed to compile pdftk, gcc wasn't (re)built 
During a full  rebuild of a system, gcj was still missing.


Reproducible: Didn't try

Steps to Reproduce:
1.starting from stage3 , /etc/portage copied from old system, worldfile too.
2.emerge --noreplace -DN $( cat /home/original-world )
3.
Actual Results:  
gcc was compiled without gcj
depending on gcc having gcj would have pulled it in of warned about missing flags.

Expected Results:  
building pdftk

pdftk compilation stopped after complaining about gcj not being found.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-10-05 14:53:06 UTC
The dependency is already in place. Did you perhaps emerge a new (SLOTted) sys-devel/gcc which you didn't then select through gcc-config?
Comment 2 Nico Baggus 2013-10-05 18:15:27 UTC
gcc-4.6.3 was probably in stage3,  
and was/is the active compiler in this build

it wasn't compiled with gcj enabled. and pdftk just happily was being tried to compile and failed on a call to gcj... without emerge trying to warn about missing flags. Either there is no flag or emerge just f**ked up dependcy checking.

Your pick.