Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 201367 - net-nds/nis-utils-1.4.1-r2: emerge failure
Summary: net-nds/nis-utils-1.4.1-r2: emerge failure
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Alec Warner
URL:
Whiteboard: VERIFIED
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-05 15:41 UTC by Birkir A. Barkarson
Modified: 2008-02-25 01:35 UTC (History)
1 user (show)

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


Attachments
build log (nis-utils-1.4.1-r2-build.log,72.46 KB, text/plain)
2007-12-05 15:42 UTC, Birkir A. Barkarson
Details
emerge --info output (emerge-info.txt,3.69 KB, text/plain)
2007-12-05 15:42 UTC, Birkir A. Barkarson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Birkir A. Barkarson 2007-12-05 15:41:50 UTC
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
Comment 1 Birkir A. Barkarson 2007-12-05 15:42:09 UTC
Created attachment 137809 [details]
build log
Comment 2 Birkir A. Barkarson 2007-12-05 15:42:31 UTC
Created attachment 137810 [details]
emerge --info output
Comment 3 Alec Warner (RETIRED) archtester gentoo-dev Security 2007-12-08 06:50:34 UTC
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
Comment 4 Fred Labrosse 2007-12-20 16:35:16 UTC
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?
Comment 5 Ludovic Bellier 2008-02-24 16:33:38 UTC
(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.


Comment 6 Alec Warner (RETIRED) archtester gentoo-dev Security 2008-02-25 01:35:39 UTC
(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 ;)