Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 724612 - x11-libs/libxcb - missing multilib dependency on x11-base/xcb-proto
Summary: x11-libs/libxcb - missing multilib dependency on x11-base/xcb-proto
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-22 22:44 UTC by Brian Evans (RETIRED)
Modified: 2020-05-31 02:04 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,12.07 KB, text/plain)
2020-05-22 22:45 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-05-22 22:44:08 UTC
The BDEPEND should be changed.

$(python_gen_any_dep '>=x11-base/xcb-proto-1.14[${PYTHON_USEDEP}]')

should become

$(python_gen_any_dep '>=x11-base/xcb-proto-1.14[${MULTILIB_USEDEP},${PYTHON_USEDEP}]')

Otherwise, the configure may not find 32-bit xcb-proto.pc in a multilib environment
Comment 1 Brian Evans (RETIRED) gentoo-dev 2020-05-22 22:45:53 UTC
Created attachment 640946 [details]
build.log
Comment 2 Brian Evans (RETIRED) gentoo-dev 2020-05-24 13:38:15 UTC
Hmm, checking metadata, my original suggestion fails.

So, ">=x11-base/xcb-proto-1.14[${MULTILIB_USEDEP}]" needs to be added to BDEPEND, or some form of xcb-proto with MULTILIB_USEDEP outside of the gen_any_dep
Comment 3 Brian Evans (RETIRED) gentoo-dev 2020-05-24 13:43:03 UTC
Or maybe just to DEPEND and not BDEPEND since it's the target's headers
Comment 4 Brian Evans (RETIRED) gentoo-dev 2020-05-30 19:51:18 UTC
Looks to be caused by https://gitweb.gentoo.org/repo/gentoo.git/commit/x11-libs/libxcb?id=9b6a2669d8c2398497af3c9716ecafbcb15911d1

commit 9b6a2669d8c2398497af3c9716ecafbcb15911d1
Author: Mike Gilbert <floppym@gentoo.org>
Date:   Thu May 21 23:16:13 2020 -0400

    x11-libs/libxcb: move xcb-proto to BDEPEND
    
    Closes: https://bugs.gentoo.org/558774
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Comment 5 Larry the Git Cow gentoo-dev 2020-05-30 20:05:49 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64076dbcde1bf8db53e694f62fc1a775c2e18632

commit 64076dbcde1bf8db53e694f62fc1a775c2e18632
Author:     Brian Evans <grknight@gentoo.org>
AuthorDate: 2020-05-30 20:01:32 +0000
Commit:     Brian Evans <grknight@gentoo.org>
CommitDate: 2020-05-30 20:05:41 +0000

    x11-libs/libxcb: Readd multilib dependency on xcb-proto
    
    While fixing a build dependency with Python the target DEPEND lost
    multilib references. This partially reverts to the correct behaviour
    
    Ack-by: Matt Turner <mattst88@gentoo.org>
    Closes: https://bugs.gentoo.org/724612
    Fixes: 9b6a2669d8c2398497af3c9716ecafbcb15911d1
    Signed-off-by: Brian Evans <grknight@gentoo.org>

 x11-libs/libxcb/libxcb-1.14.ebuild | 1 +
 1 file changed, 1 insertion(+)
Comment 6 Mike Gilbert gentoo-dev 2020-05-31 02:01:57 UTC
Having MULTILIB_USEDEP in BDEPEND is broken and incorrect.
Comment 7 Mike Gilbert gentoo-dev 2020-05-31 02:03:00 UTC
See bug 723112.
Comment 8 Mike Gilbert gentoo-dev 2020-05-31 02:04:18 UTC
Oh, I see you added it to DEPEND only, which is fine.