Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 848978 - =dev-libs/nss-3.79: build fails, PR_GetPrefLoopbackAddrInfo missing
Summary: =dev-libs/nss-3.79: build fails, PR_GetPrefLoopbackAddrInfo missing
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
: 848996 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-06-01 09:10 UTC by m1027
Modified: 2022-06-01 10:30 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 m1027 2022-06-01 09:10:58 UTC
nss-3.79 does not build here:

> selfserv.c: In function 'getBoundListenSocket':
> selfserv.c:1724:16: warning: implicit declaration of function 'PR_GetPrefLoopbackAddrInfo' [-Wimplicit-function-declaration]

And then

> /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: Linux5.18_x86_64_x86_64-pc-linux-gnu-gcc_glibc_PTH_64_OPT.OBJ/selfserv.o: in function `getBoundListenSocket':
> selfserv.c:(.text.getBoundListenSocket+0x39): undefined reference to `PR_GetPrefLoopbackAddrInfo'
> collect2: error: ld returned 1 exit status

It seems to be fixed upstream recently.

https://hg.mozilla.org/projects/nspr/rev/2be45a781ba18e5904c1eed4dc0e1d66248d303c

Tested with/without lto and with/without all USE flags for nss.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-01 09:17:48 UTC
Please do include the full build.log and emerge --info.
Comment 2 Larry the Git Cow gentoo-dev 2022-06-01 09:38:24 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f0dc5548d49dda1c99b671b87d32a0480ea0742

commit 3f0dc5548d49dda1c99b671b87d32a0480ea0742
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-06-01 09:38:03 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-06-01 09:38:16 +0000

    dev-libs/nss: fix NSPR lower bound for 3.79
    
    As per release notes.
    
    Closes: https://bugs.gentoo.org/848978
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-libs/nss/{nss-3.79.ebuild => nss-3.79-r1.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-01 10:30:13 UTC
*** Bug 848996 has been marked as a duplicate of this bug. ***