Created attachment 173933 [details] patch Deleted patch under files/ is applied upstream. Passes poudriere on 10.3 amd64.
Extended shebang check shows problems: ====> Running Q/A tests (stage-qa) Error: 'python' is an invalid shebang you need USES=shebangfix for 'share/pybitmessage/depends.py' Error: '/usr/bin/python2.7' is an invalid shebang you need USES=shebangfix for 'share/pybitmessage/bitmessagemain.py' Warning: 'share/pybitmessage/bitmsghash/bitmsghash.so' is not stripped consider trying INSTALL_TARGET=install-strip or using ${STRIP_CMD} *** Error code 1
I am puzzled by bitmsghash.so not being stripped, because it is stripped by this command: > @${STRIP_CMD} ${STAGEDIR}${PREFIX}/share/pybitmessage/bitmsghash/bitmsghash.so I have it stripped.
(In reply to yuri from comment #2) > I am puzzled by bitmsghash.so not being stripped, because it is stripped by > this command: > > @${STRIP_CMD} ${STAGEDIR}${PREFIX}/share/pybitmessage/bitmsghash/bitmsghash.so > I have it stripped. Sorry, artifact from conversion to options helpers. Shebangs still need to be fixed.
Created attachment 174435 [details] patch Patched shebangs. Submitted the PR to the upstream.
- Something is broken with Makefile patching: echo 'exec /usr/local/bin//usr/local/bin/python2.7.7 bitmessagemain.py' >> ${DESTDIR}${PREFIX}/bin/${APP} You should not hardcode python path at all, replace it with PYTHON_CMD contents. - Needs REINPLACE_ARGS= -i '' to not stage .bak files: ====> Running Q/A tests (stage-qa) Error: 'python' is an invalid shebang you need USES=shebangfix for 'share/pybitmessage/depends.py.bak' Error: '/usr/bin/python2.7' is an invalid shebang you need USES=shebangfix for 'share/pybitmessage/bitmessagemain.py.bak' *** Error code 1 - Preferrably, convert conditions to option-dependent targets (do-build-NATIVE_POW-on, post-install-NATIVE_POW-on) - Patch needs to be regenerated after r421975
Created attachment 175037 [details] patch
Ping. This needs to be committed and closed.
Sorry for delay.
A commit references this bug: Author: amdmi3 Date: Thu Oct 6 15:51:59 UTC 2016 New revision: 423411 URL: https://svnweb.freebsd.org/changeset/ports/423411 Log: - Update to 0.6.1 PR: 212046 Submitted by: yuri@rawbw.com (maintainer) Changes: head/net-p2p/bitmessage/Makefile head/net-p2p/bitmessage/distinfo head/net-p2p/bitmessage/files/patch-Makefile head/net-p2p/bitmessage/files/patch-src_bitmsghash_Makefile head/net-p2p/bitmessage/files/patch-src_bitmsghash_bitmsghash.cpp head/net-p2p/bitmessage/pkg-plist