Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 710784 - net-libs/nodejs-13.9.0: ERROR: Did not find a new enough assembler, install one or build with
Summary: net-libs/nodejs-13.9.0: ERROR: Did not find a new enough assembler, install o...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Stefan Strogin
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-25 13:59 UTC by Michał Górny
Modified: 2020-02-26 00:39 UTC (History)
2 users (show)

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


Attachments
/var/log/portage/net-libs:nodejs-13.9.0:20200225-135341.log (net-libs:nodejs-13.9.0:20200225-135341.log,2.46 KB, text/plain)
2020-02-25 14:00 UTC, Michał Górny
Details
emerge --info (emerge-info.txt,10.37 KB, text/plain)
2020-02-25 14:01 UTC, Michał Górny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-02-25 13:59:59 UTC
>>> Configuring source in /tmp/portage/net-libs/nodejs-13.9.0/work/node-v13.9.0 ...
WARNING: Could not recognize `gas`: distcc[41] ERROR: compile (null) on localhost failed
GNU assembler version 2.33.1 (x86_64-pc-linux-gnu) using BFD version (Gentoo 2.33.1 p2) 2.33.1
Assembler messages:
Fatal error: The input '/dev/null' and output '/dev/null' files are the same

ERROR: Did not find a new enough assembler, install one or build with
       --openssl-no-asm.
       Please refer to BUILDING.md
 * ERROR: net-libs/nodejs-13.9.0::gentoo failed (configure phase):
 *   (no error message)



If I were to guess, I'd blame this change:

-       use ssl && myconf+=( --shared-openssl --openssl-use-def-ca-store ) || myconf+=( --without-ssl )
+       use ssl && ( use system-ssl && myconf+=( --shared-openssl --openssl-use-def-ca-store ) ) || myconf+=( --without-ssl )

which sounds like yet another case of wrong use of subshells in this absurd oneliner.  Use 'if'.  Period.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-02-25 14:00:36 UTC
Created attachment 615688 [details]
/var/log/portage/net-libs:nodejs-13.9.0:20200225-135341.log
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-02-25 14:01:16 UTC
Created attachment 615690 [details]
emerge --info
Comment 3 Larry the Git Cow gentoo-dev 2020-02-26 00:38:54 UTC
The bug has been closed via the following commit(s):

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

commit 4a7ea6d83d36125cbeae45801e4430f2f300a785
Author:     Stefan Strogin <steils@gentoo.org>
AuthorDate: 2020-02-26 00:35:59 +0000
Commit:     Stefan Strogin <steils@gentoo.org>
CommitDate: 2020-02-26 00:37:50 +0000

    net-libs/nodejs: replace wrongly used subshell with 'if'
    
    Closes: https://bugs.gentoo.org/710784
    Package-Manager: Portage-2.3.89, Repoman-2.3.20
    Signed-off-by: Stefan Strogin <steils@gentoo.org>

 net-libs/nodejs/nodejs-10.19.0.ebuild  | 6 +++++-
 net-libs/nodejs/nodejs-12.16.1.ebuild  | 6 +++++-
 net-libs/nodejs/nodejs-13.9.0.ebuild   | 6 +++++-
 net-libs/nodejs/nodejs-99999999.ebuild | 6 +++++-
 4 files changed, 20 insertions(+), 4 deletions(-)
Comment 4 Stefan Strogin gentoo-dev 2020-02-26 00:39:17 UTC
Sorry, my bad. Thanks.