Despite repeated portage re-syncs, revdep-rebuilds and what not, this package won't compile, and dies due to the following error: nisping.c: In function ‘niscall’: nisping.c:107: error: too few arguments to function ‘__nisbind_create’ nisping.c: In function ‘find_master_utime’: Reproducible: Always
Created attachment 137809 [details] build log
Created attachment 137810 [details] emerge --info output
haha, this has been broken a long time (broke in glibc-2.6). I wonder why nis-utils is using internal glibc functions.. In either case it's possibly a 1 line fix. But I need to test more. -Alec
Any news on that? I've just upgrade a more than a year old system to be able to install nis-utils (after seeing another bug report), only to discover that I can't install it for another reason... Any way I can help?
(In reply to comment #3) > haha, this has been broken a long time (broke in glibc-2.6). > > I wonder why nis-utils is using internal glibc functions.. > > In either case it's possibly a 1 line fix. But I need to test more. The patch exists : files/nis-utils-glibc-internal-fix.patch but the ebuild has a mistake for including the patch. Actual ebuild nis-utils-1.4.1-r3.ebuild: # nisping.c calls internal glibc functions, patch it if glibc is > 2.5 has_version '>=sys-apps/glibc-2.6' && \ epatch "${FILESDIR}/${PN}-glibc-internal-fix.patch" but glibc is in 'sys-libs' not in 'sys-apps', so should be: # nisping.c calls internal glibc functions, patch it if glibc is > 2.5 has_version '>=sys-libs/glibc-2.6' && \ epatch "${FILESDIR}/${PN}-glibc-internal-fix.patch" Tested and validated with my AMD64 gentoo.
(In reply to comment #5) > (In reply to comment #3) > > haha, this has been broken a long time (broke in glibc-2.6). > > > > I wonder why nis-utils is using internal glibc functions.. > > > > In either case it's possibly a 1 line fix. But I need to test more. > > The patch exists : files/nis-utils-glibc-internal-fix.patch > but the ebuild has a mistake for including the patch. > > Actual ebuild nis-utils-1.4.1-r3.ebuild: > # nisping.c calls internal glibc functions, patch it if glibc is > 2.5 > has_version '>=sys-apps/glibc-2.6' && \ > epatch "${FILESDIR}/${PN}-glibc-internal-fix.patch" > but glibc is in 'sys-libs' not in 'sys-apps', so should be: > # nisping.c calls internal glibc functions, patch it if glibc is > 2.5 > has_version '>=sys-libs/glibc-2.6' && \ > epatch "${FILESDIR}/${PN}-glibc-internal-fix.patch" > > > Tested and validated with my AMD64 gentoo. > Weird because I tested this on my local machine... in either case, fixed in CVS; thanks for pointing out my error ;)