Bug 261484 - www/npm-node16, www/npm, www/npm-node14: Fail to package with Python 3.7: __pycache__/*.opt-1.pyc:No such file or directory
Summary: www/npm-node16, www/npm, www/npm-node14: Fail to package with Python 3.7: __p...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Po-Chuan Hsieh
URL:
Keywords: needs-patch, needs-qa
Depends on:
Blocks:
 
Reported: 2022-01-26 04:05 UTC by Larry Rosenman
Modified: 2022-01-28 23:56 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (sunpoet)
koobs: merge-quarterly?


Attachments
npm failed build log python3.7 (26.19 KB, text/plain)
2022-01-26 22:53 UTC, Alex
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Larry Rosenman freebsd_committer freebsd_triage 2022-01-26 04:05:42 UTC
https://home.lerctr.org:8888/build.html?mastername=live-host-ports&build=2022-01-25_19h32m07s

Can someone look and fix these 3 failures?
Comment 1 Alex 2022-01-26 15:16:03 UTC
I've encountered the same problem. it builds just fine with python3.8
Comment 2 Kubilay Kocak freebsd_committer freebsd_triage 2022-01-26 22:21:37 UTC
@Larry

- Could you attach build logs please (compressed if necessary
- Is the issue reproducible with any/all other Python versions?
Comment 3 Alex 2022-01-26 22:53:26 UTC
Created attachment 231371 [details]
npm failed build log python3.7

I've attached the failed build log for www/npm(using python3.7). it builds just fine with python3.8, python3.9, python3.10 and python3.11.

Thanks very much!
Comment 4 Larry Rosenman freebsd_committer freebsd_triage 2022-01-26 23:21:15 UTC
@koobs: the logs are available at:
https://home.lerctr.org:8888/build.html?mastername=live-host-ports&build=2022-01-25_19h32m07s

in the failure section (It's public).  

Do you still want me to upload them to BZ?
Comment 5 commit-hook freebsd_committer freebsd_triage 2022-01-28 23:30:13 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=27db06ab828978822feec2933a3f48c0a0e6a7f8

commit 27db06ab828978822feec2933a3f48c0a0e6a7f8
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-01-28 23:18:58 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-01-28 23:26:40 +0000

    www/npm: Fix PLIST for Python 3.7

    PR:             261484
    Reported by:    ler

 www/npm/pkg-plist | 82 +++++++++++++++++++++++++++----------------------------
 1 file changed, 41 insertions(+), 41 deletions(-)
Comment 6 Po-Chuan Hsieh freebsd_committer freebsd_triage 2022-01-28 23:56:16 UTC
It should be fixed. Thanks.