Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 634364 - dev-lang/spidermonkey-1.8.5-r6 - src_configure(): conftest.c:(.text.startup+0x7): undefined reference to `dnet_ntoa'
Summary: dev-lang/spidermonkey-1.8.5-r6 - src_configure(): conftest.c:(.text.startup+0...
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:
Depends on:
Blocks:
 
Reported: 2017-10-15 18:46 UTC by Marcin Kowalski
Modified: 2018-09-30 14:10 UTC (History)
0 users

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


Attachments
config.log (config.log,9.13 KB, text/plain)
2017-10-15 18:47 UTC, Marcin Kowalski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marcin Kowalski 2017-10-15 18:46:58 UTC
I am observing the following when trying to rebuild spidermonkey:0 

---------------------------------------------

checking that static assertion macros used in autoconf tests work... yes
checking for 64-bit OS... yes
checking for Python version >= 2.5 but not 3.x... configure: error: Python 2.5 or higher (but not Python 3.x) is required.

!!! Please attach the following file when seeking support:
!!! /mnt/storage/tmp/portage/dev-lang/spidermonkey-1.8.5-r6/work/js-1.8.5/js/src/config.log
 * ERROR: dev-lang/spidermonkey-1.8.5-r6::gentoo failed (configure phase):
 *   econf failed
 * 
 * Call stack:
 *               ebuild.sh, line  124:  Called src_configure
 *             environment, line 3502:  Called econf '--enable-jemalloc' '--enable-readline' '--enable-threadsafe' '--with-system-nspr' '--disable-optimize' '--disable-profile-guided-optimization' '--disable-debug' '--disable-static' '--disable-tests'
 *        phase-helpers.sh, line  665:  Called __helpers_die 'econf failed'
 *   isolated-functions.sh, line  117:  Called die
 * The specific snippet of code:
 *   		die "$@"
 * 
 * If you need support, post the output of `emerge --info '=dev-lang/spidermonkey-1.8.5-r6::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-lang/spidermonkey-1.8.5-r6::gentoo'`.
 * The complete build log is located at '/mnt/storage/tmp/portage/dev-lang/spidermonkey-1.8.5-r6/temp/build.log'.
 * The ebuild environment file is located at '/mnt/storage/tmp/portage/dev-lang/spidermonkey-1.8.5-r6/temp/environment'.
 * Working directory: '/mnt/storage/tmp/portage/dev-lang/spidermonkey-1.8.5-r6/work/js-1.8.5/js/src'
 * S: '/mnt/storage/tmp/portage/dev-lang/spidermonkey-1.8.5-r6/work/js-1.8.5'

---------------------------------------------

the full build log is attached.

Reproducible: Always

Steps to Reproduce:
1. attempt to rebuild spidermonkey
2. observe the error
Comment 1 Marcin Kowalski 2017-10-15 18:47:21 UTC
Created attachment 498784 [details]
config.log
Comment 2 Marcin Kowalski 2017-10-15 18:48:12 UTC
installing libdnet partially helps (removes error about missing -ldnet, but there is still related error message about -ldnet_stub). not sure if those are fatal errors, though.
Comment 3 Jory A. Pratt gentoo-dev 2017-10-16 01:13:10 UTC
Add emerge --info, the ebuild specifically requests python-2.7 already.
Comment 4 Larry the Git Cow gentoo-dev 2018-09-30 14:10:12 UTC
The bug has been closed via the following commit(s):

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

commit d4a97373ef61f87d566ae329e3f7e439ecd6ad4a
Author:     Jeroen Roovers <jer@gentoo.org>
AuthorDate: 2018-09-30 14:09:48 +0000
Commit:     Jeroen Roovers <jer@gentoo.org>
CommitDate: 2018-09-30 14:09:57 +0000

    dev-lang/spidermonkey: Do not test for dnet_ntoa in libdnet
    
    It's checking for the wrong libdnet, creating a false dependency.
    
    Fixes: https://bugs.gentoo.org/634364
    Package-Manager: Portage-2.3.50, Repoman-2.3.11
    Signed-off-by: Jeroen Roovers <jer@gentoo.org>

 dev-lang/spidermonkey/spidermonkey-1.8.5-r6.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)