Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 708158 - x11-misc/polybar: missing USE dependency flag causes configure error: Missing required python module: xcbgen
Summary: x11-misc/polybar: missing USE dependency flag causes configure error: Missing...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Johannes Huber (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-03 23:27 UTC by Brian Evans (RETIRED)
Modified: 2020-02-12 17:21 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,7.38 KB, text/plain)
2020-02-03 23:27 UTC, Brian Evans (RETIRED)
Details
polybar-3.3.1-r1-build.log (build.log,7.71 KB, text/plain)
2020-02-03 23:31 UTC, Brian Evans (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Evans (RETIRED) gentoo-dev 2020-02-03 23:27:16 UTC
Created attachment 611534 [details]
build.log

x11-misc/polybar needs x11-base/xcb-proto[${PYTHON_USEDEP}] but omits the USE dependency.

When the polybar SINGLE_TARGET is not included with xcb-proto's PYTHON_TARGET, configure fails.

--   Found xcb-proto, version 1.13
-- Found PythonInterp: /var/tmp/portage/x11-misc/polybar-3.4.2-r1/temp/python3.7/bin/python (found suitable version "3.7.5", minimum required is "3.5") 
-- XCB[XCB]: Found component XCB
-- Found XCB_XCB: /usr/lib64/libxcb.so  
-- XCB[ICCCM]: Found component ICCCM
-- Found XCB_ICCCM: /usr/lib64/libxcb-icccm.so  
-- XCB[EWMH]: Found component EWMH
-- Found XCB_EWMH: /usr/lib64/libxcb-ewmh.so  
-- XCB[UTIL]: Found component UTIL
-- Found XCB_UTIL: /usr/lib64/libxcb-util.so  
-- XCB[IMAGE]: Found component IMAGE
-- Found XCB_IMAGE: /usr/lib64/libxcb-image.so  
-- Found XCB: /usr/lib64/libxcb.so;/usr/lib64/libxcb-icccm.so;/usr/lib64/libxcb-ewmh.so;/usr/lib64/libxcb-util.so;/usr/lib64/libxcb-image.so  
-- Searching for xcbgen with python
-- Searching for xcbgen with python3
-- Searching for xcbgen with python2
-- Searching for xcbgen with python2.7
CMake Error at lib/xpp/CMakeLists.txt:70 (message):
  Missing required python module: xcbgen
Comment 1 Brian Evans (RETIRED) gentoo-dev 2020-02-03 23:31:00 UTC
Created attachment 611536 [details]
polybar-3.3.1-r1-build.log

Also happens with stable 3.3.1-r1 which is no longer able to build with xcb-proto dropping python 2 support
Comment 2 Andreas Sturmlechner gentoo-dev 2020-02-04 01:10:06 UTC
3.4.2-r1 has been long enough in tree to start stabilisation after having this USEDEP fixed.
Comment 3 Brian Evans (RETIRED) gentoo-dev 2020-02-10 03:02:00 UTC
With the recent eclass changes, I believe the new dep should now be:

$(python_gen_cond_dep 'x11-base/xcb-proto[${PYTHON_MULTI_USEDEP}]')

since it is going from python-single-r1 to python-r1
Comment 4 Larry the Git Cow gentoo-dev 2020-02-12 17:21:32 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=519ce6bc173d6880a409ddbeb0b44247336bbe1a

commit 519ce6bc173d6880a409ddbeb0b44247336bbe1a
Author:     Johannes Huber <johu@gentoo.org>
AuthorDate: 2020-02-12 17:20:44 +0000
Commit:     Johannes Huber <johu@gentoo.org>
CommitDate: 2020-02-12 17:20:44 +0000

    x11-misc/polybar: Fix use dep on xcb-proto
    
    Closes: https://bugs.gentoo.org/708158
    Package-Manager: Portage-2.3.88, Repoman-2.3.20
    Signed-off-by: Johannes Huber <johu@gentoo.org>

 x11-misc/polybar/polybar-3.4.2-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)