Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 576146 - dev-libs/wayland: Proper wayland-scanner build/install handling for multilib
Summary: dev-libs/wayland: Proper wayland-scanner build/install handling for multilib
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: PullRequest
Depends on:
Blocks:
 
Reported: 2016-03-01 18:01 UTC by Mart Raudsepp
Modified: 2020-12-27 19:19 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mart Raudsepp gentoo-dev 2016-03-01 18:01:39 UTC
While working on bug 575212, it turned out our multilib wayland-scanner handling is suboptimal. It gets built for 32bit, but not installed. But a pkgconfig file for 32bit is installed, which points at the 64bit /usr/bin version.
Need to look into it in more detail to see if we actually want both versions, or help upstream support a clean way to disable it (--with-host-scanner isn't quite right for this case as it might be a first install and there is no host scanner), and maybe it is needed internally then still to generate some headers or marshalling code.
The key is probably to see how other packages needing wayland-scanner would be working (i.e wayland-protocols/weston/etc), and to not forget cross-compilation use cases in addition to multilib.

Upstream is appreciating help figuring all this out as well.


As bug 575212 was fixed, opened this one to not forget about this lingering smaller issue.
Comment 1 Sebastian Pipping gentoo-dev 2020-12-22 19:36:50 UTC
I think that might explain this compile error I see on a binhost:

[..]
./wayland-scanner: error while loading shared libraries: libexpat.so.1: cannot open shared object file: No such file or directory
make: *** [Makefile:3020: protocol/wayland-server-protocol.h] Error 127
make: *** Waiting for unfinished jobs....
./wayland-scanner: error while loading shared libraries: libexpat.so.1: cannot open shared object file: No such file or directory
make: *** [Makefile:3017: protocol/wayland-protocol.c] Error 127
./wayland-scanner: error while loading shared libraries: libexpat.so.1: cannot open shared object file: No such file or directory
make: *** [Makefile:3023: protocol/wayland-client-protocol.h] Error 127
[..]

Would be great to see fixed.  Thanks in advance!
Comment 2 Larry the Git Cow gentoo-dev 2020-12-27 19:19:03 UTC
The bug has been closed via the following commit(s):

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

commit ef2406cd3f9b10da3162af898f287b3883730564
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2020-12-21 17:44:15 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2020-12-27 19:18:55 +0000

    dev-util/wayland-scanner: Add new package
    
    Closes: https://bugs.gentoo.org/576146
    Closes: https://bugs.gentoo.org/759133
    Signed-off-by: Matt Turner <mattst88@gentoo.org>
    Closes: https://github.com/gentoo/gentoo/pull/18751
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 dev-util/wayland-scanner/Manifest                  |  1 +
 dev-util/wayland-scanner/metadata.xml              |  8 ++++
 .../wayland-scanner/wayland-scanner-1.18.91.ebuild | 49 ++++++++++++++++++++++
 .../wayland-scanner/wayland-scanner-9999.ebuild    | 49 ++++++++++++++++++++++
 4 files changed, 107 insertions(+)