Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 765448 - =dev-util/wayland-scanner-1.18.92: ld: error: /usr/lib64/libexpat.so: incompatible target src/wayland-scanner.p/scanner.c.o:scanner.c:function start_element: error: undefined reference to 'XML_GetCurrentLineNumber'
Summary: =dev-util/wayland-scanner-1.18.92: ld: error: /usr/lib64/libexpat.so: incompa...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-14 17:36 UTC by Bernd
Modified: 2021-01-15 18:28 UTC (History)
1 user (show)

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


Attachments
wayland-scanner-1.18.92:20210114-172258.log (wayland-scanner-1.18.92:20210114-172258.log,12.08 KB, text/plain)
2021-01-14 17:37 UTC, Bernd
Details
emerge-info-wayland-scanner.txt (emerge-info-wayland-scanner.txt,14.56 KB, text/plain)
2021-01-14 17:39 UTC, Bernd
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bernd 2021-01-14 17:36:19 UTC
This is a multilib build, where for abi_x86_32 the wrong pkg-config binary is chosen.

Checking for function "strndup" : YES 
Found pkg-config: /usr/bin/x86_64-pc-linux-gnu-pkg-config (0.29.2)
Run-time dependency expat found: YES 2.2.10

instead of i686-pc-linux-gnu-pkg-config. Therefore the package tries to link against the 64-bit expat library.

This happened during a @world update

Reproducible: Always




emerge --info and build log as attachments.
Comment 1 Bernd 2021-01-14 17:37:30 UTC
Created attachment 682900 [details]
wayland-scanner-1.18.92:20210114-172258.log

build log
Comment 2 Bernd 2021-01-14 17:39:19 UTC
Created attachment 682903 [details]
emerge-info-wayland-scanner.txt

output of emerge --info wayland-scanner
Comment 3 Ionen Wolkens gentoo-dev 2021-01-14 23:34:47 UTC
WARNING: Unknown options: "needs_exe_wrapper, pkg_config_libdir"

Please emerge --sync and try again, should be fixed by commit:

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f4d1f24fe31a5ac37cf3e3c32833e4d4e9e09d7
Comment 4 Bernd 2021-01-15 18:28:49 UTC
Thanks, it's working.