Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 826946 - dev-java/lzma-19.00 - Error: too many environment variables, please use --rmenv
Summary: dev-java/lzma-19.00 - Error: too many environment variables, please use --rmenv
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-23 16:12 UTC by Alexander Bezrukov
Modified: 2021-11-23 16:20 UTC (History)
0 users

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


Attachments
The complete build log is located at '/tmp/portage/dev-java/lzma-19.00/temp/build.log'. (build.log,2.06 KB, text/plain)
2021-11-23 16:12 UTC, Alexander Bezrukov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Bezrukov 2021-11-23 16:12:29 UTC
Created attachment 755630 [details]
The complete build log is located at '/tmp/portage/dev-java/lzma-19.00/temp/build.log'.

Removing 'sandbox' from FEATURES doesn't allow the emerge to succeed.


>>> Emerging (1 of 1) dev-java/lzma-19.00::gentoo
 * lzma1900.7z BLAKE2B SHA512 size ;-) ...                                                                                              [ ok ]
 * Using: openjdk-8
>>> Unpacking source...
>>> Unpacking lzma1900.7z to /tmp/portage/dev-java/lzma-19.00/work
ERROR: ld.so: object 'libsandbox.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
Error: too many environment variables, please use --rmenv

 * ERROR: dev-java/lzma-19.00::gentoo failed (unpack phase):
 *   unpack: failure unpacking lzma1900.7z
 * 
 * Call stack:
 *            ebuild.sh, line  127:  Called src_unpack
 *          environment, line 2367:  Called default
 *   phase-functions.sh, line  858:  Called default_src_unpack
 *   phase-functions.sh, line  885:  Called __eapi0_src_unpack
 *     phase-helpers.sh, line  785:  Called unpack 'lzma1900.7z'
 *     phase-helpers.sh, line  441:  Called die
 * The specific snippet of code:
 *   						die "$myfail"
 * 
 * If you need support, post the output of `emerge --info '=dev-java/lzma-19.00::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-java/lzma-19.00::gentoo'`.
!!! When you file a bug report, please include the following information:
GENTOO_VM=openjdk-8  CLASSPATH="" JAVA_HOME="/usr/lib64/openjdk-8"
JAVACFLAGS="-source 1.8 -target 1.8" COMPILER=""
and of course, the output of emerge --info =lzma-19.00
 * The complete build log is located at '/tmp/portage/dev-java/lzma-19.00/temp/build.log'.
 * The ebuild environment file is located at '/tmp/portage/dev-java/lzma-19.00/temp/environment'.
 * Working directory: '/tmp/portage/dev-java/lzma-19.00/work'
 * S: '/tmp/portage/dev-java/lzma-19.00/work/Java'
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-11-23 16:13:35 UTC
I'm willing to bet you're using Firejail which is breaking Portage here, sadly.

Can you verify you're not using it?
Comment 2 Alexander Bezrukov 2021-11-23 16:20:59 UTC
Yes, that was the culprit. Thanks for pointing this out.
I have had 7z symlink in /usr/local/bin.