Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 361271 - sys-apps/util-linux-2.19 fails to compile with older glibc version
Summary: sys-apps/util-linux-2.19 fails to compile with older glibc version
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL: http://sourceware.org/bugzilla/show_b...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-30 11:25 UTC by Viktor Robev
Modified: 2011-04-07 01:09 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Viktor Robev 2011-03-30 11:25:12 UTC
When I try to emerge sys-apps/util-linux-2.19 it fails at compile time. Further investigation shows that glibc shoud be updated due to new enum value in mount.h . So a dependecy on glibc should be added to this ebuild.


Reproducible: Always

Steps to Reproduce:
1.Downgrade glibc version to glibc-2.9_p20081201-r2
2.unmerge util-linux
3.try to emerge util-linux
Actual Results:  
Fails to compile.



Expected Results:  
Should depend on glibc and update it before trying to compile.

From build.log

context_umount.c: In function 'do_umount':
context_umount.c:430: error: 'MNT_DETACH' undeclared (first use in this function)
context_umount.c:430: error: (Each undeclared identifier is reported only once
context_umount.c:430: error: for each function it appears in.)
make[3]: *** [context_umount.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/sys-apps/util-linux-2.19/work/util-linux-2.19/shlibs/mount/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/sys-apps/util-linux-2.19/work/util-linux-2.19/shlibs/mount'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/sys-apps/util-linux-2.19/work/util-linux-2.19'
make: *** [all] Error 2
emake failed
 ^[[31;01m*^[[0m ERROR: sys-apps/util-linux-2.19 failed (compile phase):
 ^[[31;01m*^[[0m   emake failed
 ^[[31;01m*^[[0m
 ^[[31;01m*^[[0m Call stack:
 ^[[31;01m*^[[0m     ebuild.sh, line   56:  Called src_compile
 ^[[31;01m*^[[0m   environment, line 6279:  Called _eapi2_src_compile
 ^[[31;01m*^[[0m     ebuild.sh, line  665:  Called die
 ^[[31;01m*^[[0m The specific snippet of code:
 ^[[31;01m*^[[0m                emake || die "emake failed"
 ^[[31;01m*^[[0m
 ^[[31;01m*^[[0m If you need support, post the output of 'emerge --info =sys-apps/util-linux-2.19',
 ^[[31;01m*^[[0m the complete build log and the output of 'emerge -pqv =sys-apps/util-linux-2.19'.
 ^[[31;01m*^[[0m The complete build log is located at '/var/tmp/portage/sys-apps/util-linux-2.19/temp/build.log'.
 ^[[31;01m*^[[0m The ebuild environment file is located at '/var/tmp/portage/sys-apps/util-linux-2.19/temp/environment'.
 ^[[31;01m*^[[0m S: '/var/tmp/portage/sys-apps/util-linux-2.19/work/util-linux-2.19'
Comment 1 Rafał Mużyło 2011-03-30 12:39:11 UTC
Well, even if, 2.11.3 got stabilized around 1st March this year,
2.11.1 around 20th June last year,... need I go further back ?

Keep your system a bit more up to date, before reporting such bugs.
Comment 2 Viktor Robev 2011-03-30 13:58:44 UTC
I reported this bug not because my system was not updated, but because emerge did not tell me to update it. If I was not a programmer I would have never understood the problem. Sorry if the report is not appropriate!
Comment 3 SpanKY gentoo-dev 2011-03-31 19:12:26 UTC
upstream has already merged a patch for older glibcs

if you were tracking security issues, you would have upgraded glibc ...
Comment 4 SpanKY gentoo-dev 2011-04-07 01:09:03 UTC
ive added a patch from upstream for that particular failure to 2.19