[Bug 238243] www/npm: install byte-compiled python files for node-gyp pylib
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu May 30 13:20:33 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238243
Bug ID: 238243
Summary: www/npm: install byte-compiled python files for
node-gyp pylib
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: sunpoet at FreeBSD.org
Reporter: tagattie at yandex.com
CC: sunpoet at FreeBSD.org
Flags: maintainer-feedback?(sunpoet at FreeBSD.org)
Assignee: sunpoet at FreeBSD.org
Attachment #204719 maintainer-approval?(sunpoet at FreeBSD.org)
Flags:
CC: sunpoet at FreeBSD.org
Created attachment 204719
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=204719&action=edit
Patch
I'm now making a port which uses www/npm's node-gyp module.
When node-gyp is called by a root user (via poudriere) for the first time, it
generates byte-compiled python files under the directory
"/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp".
That leads to a filesystem violation error by poudriere like the following:
=>> Checking for filesystem violations... done
=>> Error: Filesystem touched during build:
extra:
usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__init__.pyc
extra:
usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/make.pyc
extra:
usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.pyc
extra:
usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/common.pyc
extra:
usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.pyc
extra:
usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.pyc
extra:
usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/simple_copy.pyc
The attached patch fixes this problem by installing byte-compiled files on
package installation.
---
Port changes:
- Install byte-compiled files for node-gyp python module
- Bump port revision
QA:
poudriere testport OK (releng/12.0 amd64)
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list