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.
@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)
(In reply to Kubilay Kocak from comment #1) No, it's run in VirtualBox.
(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)
Created attachment 212569 [details] Bad path during install stage
Created attachment 212570 [details] No readline.so
(In reply to Kubilay Kocak from comment #3) Please, point me, where to find build log file?
(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/.. ) .
*** Bug 245165 has been marked as a duplicate of this bug. ***
Something strange happened, here is the history: current version is python37-3.7.6 portupgrade => python37-3.7.7 fails make install clean of python37-3.7.7 fails => PR 245165 created deinstall python37-3.7.6 shutdown laptop start laptop to generate full log as requested make install clean of python37-3.7.7 fails again, same error (see log attached) make clean (see log attached) make install clean of python37-3.7.7 now sucessfull (see log attached) So I can not reproduce the problem anymore. Could this problem be related with portupgrade usage ? Please find full log attached
Created attachment 212852 [details] FreeBSD.bug.python37-FULL.LOG--244945.txt.zip
As mentioned above, I don't have the problem anymore with python37. BUT I now have the same 'stageusr' problem for another build /usr/ports/www/qt5-webengine # make install clean ===> Installing for qt5-webengine-5.13.2_2 ===> Checking if qt5-webengine is already installed ===> Registering installation for qt5-webengine-5.13.2_2 pkg-static: Unable to access file /usr/ports/www/qt5-webengine/work/stageusr/local/lib/qt5/bin/qwebengine_convert_dict:No such file or directory ..... I performed a reboot, make clean and make install. Problem still here. My guess is this stageusr problem is not specific to one port. If it is relevant, I can also open a dedicated PR for www/qt5-webengine. I'm not sure it helps. I can run tests on my machine, and provide logs if needed.
Log in attachment 212852 [details] shows a successful readline.so build: changing mode of /usr/ports/lang/python37/work/stage/usr/local/lib/python3.7/lib-dynload/readline.so to 755 ^Triage: Closing, not enough information. If the issue is still reproducible with up to date ports tree on supported FreeBSD versions, please re-open the issue with additional details and steps to reproduce.