Bug 245165 - lang/python37 : Fails to build on FreeBSD 12.1-RELEASE-p1 powerpc 32 bit:Unable to access file /usr/ports/lang/python37/work/stageusr/
Summary: lang/python37 : Fails to build on FreeBSD 12.1-RELEASE-p1 powerpc 32 bit:Unab...
Status: Closed DUPLICATE of bug 244945
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: powerpc Any
: --- Affects Only Me
Assignee: freebsd-python (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-29 14:58 UTC by canardo
Modified: 2020-03-30 06:20 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (python)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description canardo 2020-03-29 14:58:58 UTC
Problem found when building lang/python372 on FreeBSD 12.1-RELEASE-p1 r354992 GENERIC powerpc 32 bit, running on Apple Powerbook 17".

Error message is
pkg-static: Unable to access file /usr/ports/lang/python37/work/stageusr/local/lib/python3.7/lib2to3/Grammar3.7.7.final.0.pickle:No such file or directory

My guess is a / is missing in a path as python37/work/stageusr/ does not exists, while python37/work/stage/usr/ exists.



Full error message :

/usr/ports/lang/python37 # make install clean
===>  Installing for python37-3.7.7
===>  Checking if python37 is already installed
===>   Registering installation for python37-3.7.7
pkg-static: Unable to access file /usr/ports/lang/python37/work/stageusr/local/lib/python3.7/lib2to3/Grammar3.7.7.final.0.pickle:No such file or directory
pkg-static: Unable to access file /usr/ports/lang/python37/work/stageusr/local/lib/python3.7/lib2to3/PatternGrammar3.7.7.final.0.pickle:No such file or directory
*** Error code 74

Stop.
make[1]: stopped in /usr/ports/lang/python37
*** Error code 1

Stop.
make: stopped in /usr/ports/lang/python37
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2020-03-29 22:37:36 UTC

*** This bug has been marked as a duplicate of bug 244945 ***
Comment 2 Kubilay Kocak freebsd_committer freebsd_triage 2020-03-29 22:38:21 UTC
(In reply to canardo from comment #0)

Could you attach a full build log (compressed if required) to bug 244945 please. Thank you!
Comment 3 canardo 2020-03-30 06:20:26 UTC
Full log attached in 244945, as requested