Date: Wed, 15 May 2019 12:51:56 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 237911] lang/spidermonkey24: 'make configure' fails if devel/py-setuptools_scm is installed Message-ID: <bug-237911-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237911 Bug ID: 237911 Summary: lang/spidermonkey24: 'make configure' fails if devel/py-setuptools_scm is installed Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: jcfyecrayz@liamekaens.com CC: kai@FreeBSD.org, kwm@FreeBSD.org CC: kai@FreeBSD.org, kwm@FreeBSD.org 'make -C devel/py-setuptools_scm configure' fails if devel/py-setuptools_sc= m is installed: checking how to run the C preprocessor... cpp checking how to run the C++ preprocessor... c++ -E checking for sb-conf... no checking for ve... no checking for a BSD compatible install... /usr/bin/install -c checking whether ln -s works... yes checking for tar archiver... checking for gnutar... no checking for gtar... no checking for tar... tar tar checking for minimum required perl version >=3D 5.006... 5.028001 checking for full perl installation... yes Using Python from environment variable $PYTHON Creating Python environment New python executable in /usr/ports/lang/spidermonkey24/work/mozjs-24.2.0/js/src/_virtualenv/bin/pyt= hon2.7 Also creating executable in /usr/ports/lang/spidermonkey24/work/mozjs-24.2.0/js/src/_virtualenv/bin/pyt= hon Installing setuptools............done. Installing pip.............. Complete output from command /usr/ports/l...ualenv/bin/python2.7 -x /usr/ports/l...env/bin/easy_install /usr/ports/l...ort/pip-1.2.1.tar.gz: Processing pip-1.2.1.tar.gz Running pip-1.2.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-cf5pcO/pip-1.2.1/egg-dist-tmp-HANx5v error: Setup script exited with error: SandboxViolation: open('/dev/null', 'wb') {} The package setup script has attempted to modify files on your system that are not within the EasyInstall build area, and has been aborted. This package cannot be safely installed by EasyInstall, and may not support alternate installation locations even if you run its setup script by hand. Please inform the package's author and the EasyInstall maintainers to find out if a fix or workaround is available. ---------------------------------------- ...Installing pip...done. Traceback (most recent call last): File "/usr/ports/lang/spidermonkey24/work/mozjs-24.2.0/js/src/python/virtualenv/= virtualenv.py", line 2563, in <module> main() File "/usr/ports/lang/spidermonkey24/work/mozjs-24.2.0/js/src/python/virtualenv/= virtualenv.py", line 964, in main never_download=3Doptions.never_download) File "/usr/ports/lang/spidermonkey24/work/mozjs-24.2.0/js/src/python/virtualenv/= virtualenv.py", line 1076, in create_envir onment install_pip(py_executable, search_dirs=3Dsearch_dirs, never_download=3Dnever_download) File "/usr/ports/lang/spidermonkey24/work/mozjs-24.2.0/js/src/python/virtualenv/= virtualenv.py", line 667, in install_pip filter_stdout=3D_filter_setup) File "/usr/ports/lang/spidermonkey24/work/mozjs-24.2.0/js/src/python/virtualenv/= virtualenv.py", line 1042, in call_subprocess % (cmd_desc, proc.returncode)) OSError: Command /usr/ports/l...ualenv/bin/python2.7 -x /usr/ports/l...env/bin/easy_install /usr/ports/l...ort/pip-1.2.1.tar.gz fai= led with error code 1 Traceback (most recent call last): File "/usr/ports/lang/spidermonkey24/work/mozjs-24.2.0/js/src/build/virtualenv/p= opulate_virtualenv.py", line 384, in <module> manager.ensure() File "/usr/ports/lang/spidermonkey24/work/mozjs-24.2.0/js/src/build/virtualenv/p= opulate_virtualenv.py", line 103, in ensure return self.build() File "/usr/ports/lang/spidermonkey24/work/mozjs-24.2.0/js/src/build/virtualenv/p= opulate_virtualenv.py", line 315, in build self.create() File "/usr/ports/lang/spidermonkey24/work/mozjs-24.2.0/js/src/build/virtualenv/p= opulate_virtualenv.py", line 122, in create raise Exception('Error creating virtualenv.') Exception: Error creating virtualenv. ------ config.log ------ configure:3021: cc -c -O2 -pipe -DJS_C_STRINGS_ARE_UTF8 -fstack-protector -fno-strict-aliasing -I/usr/local/include conftest.c 1>&5 configure:3017:1: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaratio= n] exit (42); ^ configure:3017:1: note: include the header <stdlib.h> or explicitly provide= a declaration for 'exit' 1 warning generated. configure:3040: checking for ranlib configure:3072: checking for as configure:3126: checking for ar configure:3161: checking for ld configure:3196: checking for strip configure:3231: checking for windres configure:3751: checking how to run the C preprocessor configure:3831: checking how to run the C++ preprocessor configure:3849: c++ -E -I/usr/local/include conftest.C >/dev/null 2>conftest.out configure:3908: checking for sb-conf configure:3908: checking for ve configure:3970: checking for a BSD compatible install configure:4023: checking whether ln -s works configure:4045: checking for tar archiver configure:4051: checking for gnutar configure:4051: checking for gtar configure:4051: checking for tar configure:4089: checking for minimum required perl version >=3D 5.006 configure:4100: checking for full perl installation =3D=3D=3D> Script "configure" failed unexpectedly. Please report the problem to kwm@FreeBSD.org [maintainer] and attach the Noticed on 11-stable/amd64. I don't have a fix at the moment, but perhaps PYTHONPATH could be set to lo= ok in ${WRKSRC} only (or before LOCALBASE). --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-237911-7788>