PR 234682
- fix build with python 3.6 as default python interpreter
- add gnome to USES (PORTLINT request)
Differential D18770
x11/polybar: fix build when defaults to python3.6. rigoletto on Jan 7 2019, 2:02 PM. Authored by Tags None Referenced Files
Subscribers None
Details PR 234682
Due to some still unknown reason it is failing with build_fs_violation in poudriere: =>> Checking for filesystem violations... done =>> Error: Filesystem touched during build: extra: usr/local/lib/python3.6/site-packages/xcbgen/__init__.pyc extra: usr/local/lib/python3.6/site-packages/xcbgen/xtypes.pyc extra: usr/local/lib/python3.6/site-packages/xcbgen/expr.pyc extra: usr/local/lib/python3.6/site-packages/xcbgen/align.pyc extra: usr/local/lib/python3.6/site-packages/xcbgen/error.pyc extra: usr/local/lib/python3.6/site-packages/xcbgen/matcher.pyc extra: usr/local/lib/python3.6/site-packages/xcbgen/state.pyc build of x11/polybar | polybar-3.3.0 ended at Tue Jan 8 00:46:51 -02 2019 build time: 00:00:29 !!! build failure encountered !!! [00:00:41] Error: Build failed in phase: build_fs_violation [00:00:41] Cleaning up [00:00:41] Unmounting file systems EDIT: also happens on 11.2. I hasn't to set python3.6 as default before.
Diff Detail
Event Timeline
Comment Actions The thing is, doing it like this you now need to remember to update the patch whenever a new verison appears. This seems too tedious :) -- How about just s/python2 python2.7 python3 python/pyhton${PYTHON_VERSION}/ in the file on that line? Comment Actions post-patch: ${REINPLACE_CMD} -e 's|python2 python2.7 python3 python|${PYTHON_VERSION}|g' \ ${WRKSRC}/lib/xpp/CMakeLists.txt This indeed does not work. ${PYTHON_VERSION} is being substituted to python2.7 even with python3.6 as default. Probably because: USES= python:2.7,build Comment Actions +- COMMAND ${PYTHON_EXECUTABLE} ${PROJECT_SOURCE_DIR}/generators/cpp_client.py -p "${PYTHON_XCBGEN}" ++ COMMAND ${PYTHON_EXECUTABLE} -B ${PROJECT_SOURCE_DIR}/generators/cpp_client.py -p "${PYTHON_XCBGEN}" try this ^ for the pyc issue.
|