FS#65460 - [lib32-zstd] libzstd.pc file refers to the wrong libdir

Attached to Project: Community Packages
Opened by Laurent Carlier (lordheavy) - Tuesday, 11 February 2020, 17:13 GMT
Last edited by Antonio Rojas (arojas) - Tuesday, 11 February 2020, 17:15 GMT
Task Type Bug Report
Category Packages: Multilib
Status Closed
Assigned To Levente Polyak (anthraxx)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

libzstd.pc file should refer to lib32 instead of lib:

prefix=/usr
exec_prefix=${prefix}
includedir=${prefix}/include
libdir=${exec_prefix}/lib


---> when compiling lib32-mesa
Linking target src/vulkan/overlay-layer/libVkLayer_MESA_overlay.so.
FAILED: src/vulkan/overlay-layer/libVkLayer_MESA_overlay.so
g++ -m32 -o src/vulkan/overlay-layer/libVkLayer_MESA_overlay.so 'src/vulkan/overlay-layer/5cf59b8@@VkLayer_MESA_overlay@sha/overlay.cpp.o' 'src/vulkan/overlay-layer/5cf59b8@@VkLayer_MESA_overlay@sha/overlay_params.c.o' -Wl,--as-needed -Wl,--no-undefined -shared -fPIC -Wl,--start-group -Wl,-soname,libVkLayer_MESA_overlay.so -march=znver1 -mtune=znver1 -O2 -pipe -fno-plt -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now src/vulkan/util/libvulkan_util.a src/util/libmesa_util.a src/util/format/libmesa_format.a src/imgui/libimgui_core.a -Wl,-Bsymbolic-functions -Wl,-z,relro /usr/lib32/libz.so -pthread -lm /usr/lib32/libxcb.so /usr/lib32/libX11-xcb.so /usr/lib32/libX11.so /usr/lib32/libxcb-dri2.so /usr/lib32/libxcb-dri3.so /usr/lib32/libxcb-present.so /usr/lib32/libxcb-sync.so /usr/lib32/libxshmfence.so /usr/lib32/libwayland-client.so /usr/lib32/libdrm.so /usr/lib32/libxcb-randr.so /usr/lib32/libXrandr.so -ldl /usr/lib/libzstd.so -Wl,--end-group '-Wl,-rpath,$ORIGIN/../util:$ORIGIN/../../util:$ORIGIN/../../util/format:$ORIGIN/../../imgui' -Wl,-rpath-link,/home/user/pkg/aur_arch_builds/lib32-mesa-git/src/_build/src/vulkan/util -Wl,-rpath-link,/home/user/pkg/aur_arch_builds/lib32-mesa-git/src/_build/src/util -Wl,-rpath-link,/home/user/pkg/aur_arch_builds/lib32-mesa-git/src/_build/src/util/format -Wl,-rpath-link,/home/user/pkg/aur_arch_builds/lib32-mesa-git/src/_build/src/imgui
/usr/bin/ld: /usr/lib/libzstd.so: error adding symbols: file in wrong format
collect2: error: ld returned 1 exit status
This task depends upon

Closed by  Antonio Rojas (arojas)
Tuesday, 11 February 2020, 17:15 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#65439 

Loading...