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'
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.
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!
upstream has already merged a patch for older glibcs if you were tracking security issues, you would have upgraded glibc ...
ive added a patch from upstream for that particular failure to 2.19