Bug 244945 - lang/python37 3.7.7 fails in path 'stageUsr' and to compile readline.so
Summary: lang/python37 3.7.7 fails in path 'stageUsr' and to compile readline.so
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-python mailing list
URL:
Keywords: needs-qa, regression
Depends on:
Blocks:
 
Reported: 2020-03-21 09:18 UTC by mikhail.rokhin
Modified: 2020-03-22 11:32 UTC (History)
1 user (show)

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


Attachments
Bad path during install stage (12.07 KB, image/png)
2020-03-21 09:47 UTC, mikhail.rokhin
no flags Details
No readline.so (12.08 KB, image/png)
2020-03-21 09:48 UTC, mikhail.rokhin
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description mikhail.rokhin 2020-03-21 09:18:14 UTC
fails in path 'stageUsr' during install stage:
it is: ../stageusr/..
should be: ../stage/usr/..

fails to compile readline.so :
There is no such file in correct path, but 'readline_failed.so' the only & one.

Thank you for support & development.
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2020-03-21 09:22:27 UTC
@Michail Can you please attach a full build log, and:

- pkg version -v output (as an attachment)
- /etc/make.conf contents (if not empty, as an attachment)
Comment 2 mikhail.rokhin 2020-03-21 09:42:31 UTC
(In reply to Kubilay Kocak from comment #1)
No, it's run in VirtualBox.
Comment 3 Kubilay Kocak freebsd_committer freebsd_triage 2020-03-21 09:43:32 UTC
(In reply to mikhail.rokhin from comment #2)

We need build logs and environment information to identify why readline is failing to build (and therefore subsequently fail stage)
Comment 4 mikhail.rokhin 2020-03-21 09:47:26 UTC
Created attachment 212569 [details]
Bad path during install stage
Comment 5 mikhail.rokhin 2020-03-21 09:48:03 UTC
Created attachment 212570 [details]
No readline.so
Comment 6 mikhail.rokhin 2020-03-21 10:20:59 UTC
(In reply to Kubilay Kocak from comment #3)
Please, point me, where to find build log file?
Comment 7 mikhail.rokhin 2020-03-22 11:32:05 UTC
(In reply to Kubilay Kocak from comment #3)
I updated my world & kernel to the latest (rv359195 ; system LLVM changed from 9.x to 10.x) and tried to compile via `make install -C /usr/ports/lang/python37` and it succeeded. Previously, it failed via `portmaster -aBdvy` . Also re-compiled it with portmaster & it succeeded.

Looks like there was some failure with sed/grep script, generated bad path (../stageusr/.. instead of ../stage/usr/.. ) .