Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 344491 - Many packages wont compile due to undeclared functions
Summary: Many packages wont compile due to undeclared functions
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-07 10:44 UTC by Pierre AUSSAGUEL
Modified: 2010-11-07 13:05 UTC (History)
0 users

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


Attachments
emerge git output (t.txt,8.54 KB, text/plain)
2010-11-07 10:46 UTC, Pierre AUSSAGUEL
Details
emerge info (t.txt,4.92 KB, text/plain)
2010-11-07 10:46 UTC, Pierre AUSSAGUEL
Details
Output of emerge linux-headers (t,5.92 KB, text/plain)
2010-11-07 11:26 UTC, Pierre AUSSAGUEL
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pierre AUSSAGUEL 2010-11-07 10:44:42 UTC
some packages fail to compile, such as

media-fonts/urw-fonts-2.4.9 (from emerge -auvD system)
dev-vcs/git-1.7.2.2 (from "perl-cleaner --all")
media-gfx/imagemagick-6.6.2.5 (from revdep-rebuild)
app-portage/portage-utils-0.3.1 (from emerge -aev system)

The errors are different for each package, but similar : there are undeclared fuctions. 

Reproducible: Always

Steps to Reproduce:
1.try to emerge some packages (ie : media-fonts/urw-fonts-2.4.9 / dev-vcs/git-1.7.2.2 / media-gfx/imagemagick-6.6.2.5 / app-portage/portage-utils-0.3.1 / media-gfx/gphoto2-2.4.9 )
Actual Results:  
Emerge stops with a lot of "undeclared (first use in this function)" errors

Expected Results:  
Packages compile fine

I performed a perl upgrade (as part of emerge system) before, so this might be related.
Did try : emerge --sync / revdep-rebuild / perl-cleaner / emerge -e system without success.
Comment 1 Pierre AUSSAGUEL 2010-11-07 10:46:03 UTC
Created attachment 253491 [details]
emerge git output
Comment 2 Pierre AUSSAGUEL 2010-11-07 10:46:38 UTC
Created attachment 253493 [details]
emerge info
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2010-11-07 10:53:16 UTC
These are part of unistd.h, which is part of default glibc install.
Might want to check if there's an extra unistd.h somewhere in /usr/local, and re-emerge both linux-headers and glibc.
Comment 4 Pierre AUSSAGUEL 2010-11-07 11:26:11 UTC
Created attachment 253495 [details]
Output of emerge linux-headers

Emerge linux-headers fails

There is not unistd.h anywhere in /usr/local
Comment 5 Pierre AUSSAGUEL 2010-11-07 13:05:09 UTC
Emerging glib before linux-headers seems to have solved the problem.

Maybe perl-cleaner should emerge glib ?