Options: # cat /var/db/ports/sysutils_openipmi/options # This file is auto-generated by 'make config'. # Options for openipmi-2.0.27 _OPTIONS_READ=openipmi-2.0.27 _FILE_COMPLETE_OPTIONS_LIST=GDBM GLIB20 PERL PYTHON SNMP SSL TCL TKINTER OPTIONS_FILE_UNSET+=GDBM OPTIONS_FILE_UNSET+=GLIB20 OPTIONS_FILE_UNSET+=PERL OPTIONS_FILE_SET+=PYTHON OPTIONS_FILE_UNSET+=SNMP OPTIONS_FILE_SET+=SSL OPTIONS_FILE_UNSET+=TCL OPTIONS_FILE_UNSET+=TKINTER # cat /etc/make.conf DEFAULT_VERSIONS+= python=3.6 python3=3.6 WITH_SAMBA4_PYTHON3=3.6 Error at target package: ===> Building package for openipmi-2.0.27 pkg-static: Unable to access file /usr/ports/sysutils/openipmi/work/stage/usr/local/lib/python3.6/site-packages/OpenIPMI.pyc:No such file or directory pkg-static: Unable to access file /usr/ports/sysutils/openipmi/work/stage/usr/local/lib/python3.6/site-packages/OpenIPMI.pyo:No such file or directory *** Error code 1 Stop. make[1]: stopped in /usr/ports/sysutils/openipmi *** Error code 1
egypcio@, could you please take a look at it?
(In reply to gergely.czuczy from comment #1) Hey, thanks for the report! Appreciated. I started to test it already, btw. Just to be sure: are you using the most recent ports tree revision from head? which FreeBSD version are you running, and which arch? is this a poudriere bulk output, or did you manually ran it (how?)? KR,
Sorry for missing out those details, I usually include them by default: It's a 12-STABLE checkout, with ports HEAD, roughly from 2 or 3 days before this report was made. And it's amd64.
Hello, I get the same error and I'm using poudriere-devel Log output is from poudriere testport -c -o sysutils/openipmi https://pkg.zyxst.net/data/120R-mon-default/2019-04-03_21h54m16s/logs/errors/openipmi-2.0.27.log ports is https://svn.freebsd.org/ports/head@497752
(In reply to tech-lists from comment #4) nice! thanks for sharing, I should take time to site and review/compare all builds ASAP! KR,
quick feedback; I did not forget to have a look here, but still busy looking into other issues (also day$job related) and updating old ports.
(In reply to Vinícius Zavam from comment #6) working on it!
got the trick, and now I am testing it for both python flavors (should someone still needs python27 in any production env). the root cause of this issue was the update of FreeBSD's default Python version in the ports framework. Makefile for the particular port needs adjustments in order to deliver the .pyc files accordingly. again, thanks for reporting it!
Created attachment 204016 [details] ports_r499247_PATCH__sysutils_openipmi.diff here is the patch :)
Created attachment 204034 [details] ports_r499247_PATCH__sysutils_openipmi.diff updating patch to reflect changes applied to D20058.
Created attachment 204039 [details] ports_r500086_PATCH__sysutils_openipmi.diff D20058
A commit references this bug: Author: egypcio Date: Mon Apr 29 12:41:14 UTC 2019 New revision: 500408 URL: https://svnweb.freebsd.org/changeset/ports/500408 Log: sysutils/openipmi: fix packaging with Python PR: 236554 Reported by: gergely.czuczy % harmless.hu Reviewed by: antoine, garga Approved by: araujo (mentor), rene (mentor) Differential Revision: https://reviews.freebsd.org/D20058 Changes: head/sysutils/openipmi/Makefile head/sysutils/openipmi/pkg-plist
Thanks for fixing this issue.
+1 thanks