Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 710596 - net-libs/nodejs-13.9.0: does not build with +pax_kernel
Summary: net-libs/nodejs-13.9.0: does not build with +pax_kernel
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jeroen Roovers (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-23 18:33 UTC by Piotr Karbowski (RETIRED)
Modified: 2020-02-24 02:01 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 Piotr Karbowski (RETIRED) gentoo-dev 2020-02-23 18:33:43 UTC
With USE=pax_kernel the compile phase fails on

bash: -c: line 0: syntax error near unexpected token `)'
bash: -c: line 0: `mv /var/portage/tmp/portage/net-libs/nodejs-13.9.0/work/node-v13.9.0/out/Release/mksnapshot /var/portage/tmp/portage/net-libs/nodejs-13.9.0/work/node-v13.9.0/out/Release/mksnapshot_u && paxmark.mksnapshot_u_exec)'
make: *** [tools/v8_gypfiles/v8_snapshot.target.mk:13: /var/portage/tmp/portage/net-libs/nodejs-13.9.0/work/node-v13.9.0/out/Release/mksnapshot_u] Error 1
 * ERROR: net-libs/nodejs-13.9.0::gentoo failed (compile phase):
 *   emake failed
Comment 1 Arfrever Frehtes Taifersar Arahesis 2020-02-23 19:12:28 UTC
Syntax error was introduced in:

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

commit 7beac2cd42801fc3ef9a1c81b9922d850e17a1c1
Author:     Magnus Granberg <zorry@gentoo.org>
AuthorDate: 2020-02-17 00:33:45 +0000
Commit:     Magnus Granberg <zorry@gentoo.org>
CommitDate: 2020-02-17 00:37:31 +0000

    net-libs/nodejs: Fix building on pax enable kernel
    
    Closes: https://bugs.gentoo.org/694100
    Signed-off-by: Magnus Granberg <zorry@gentoo.org>
    Package-Manager: Portage-2.3.84, Repoman-2.3.16


https://gitweb.gentoo.org/repo/gentoo.git/tree/net-libs/nodejs/files/nodejs-13.8.0-paxmarking.patch?id=7beac2cd42801fc3ef9a1c81b9922d850e17a1c1#n96 contains:

+            'mv <(mksnapshot_exec) <(mksnapshot_u_exec) && paxmark.mksnapshot_u_exec)',
Comment 2 Arfrever Frehtes Taifersar Arahesis 2020-02-24 02:01:26 UTC
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba5e2dede2bbbb42a4c83debb273250fbe55dd73

commit ba5e2dede2bbbb42a4c83debb273250fbe55dd73
Author:     Magnus Granberg <zorry@gentoo.org>
AuthorDate: 2020-02-23 19:52:02 +0000
Commit:     Magnus Granberg <zorry@gentoo.org>
CommitDate: 2020-02-23 19:53:31 +0000

    net-libs/nodejs: Update patch for paxmarkings Bug:710596
    
    Signed-off-by: Magnus Granberg <zorry@gentoo.org>
    Package-Manager: Portage-2.3.84, Repoman-2.3.16