Package: meson
Version: 0.54.2-1
Severity: normal

Dear Maintainer,

I'm not sure if meson is the guilty but,
when i try to build packages with boost 1.71 and meson
the build fail with :

c++  -o libeedi3m.so 'eedi3m@sha/EEDI3_EEDI3.cpp.o' 
'eedi3m@sha/EEDI3_vectorclass_instrset_detect.cpp.o' 
'eedi3m@sha/EEDI3_EEDI3_SSE2.cpp.o' 'eedi3m@sha/EEDI3_EEDI3CL.cpp.o' 
'eedi3m@sha/EEDI3_EEDI3CL_SSE2.cpp.o' -Wl,--as-needed 
-Wl,--allow-shlib-undefined -shared -fPIC -Wl,--start-group 
-Wl,-soname,libeedi3m.so -g -O2 -fdebug-prefix-map=/src/vapoursynth-eedid3-4=. 
-fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro 
libsse4.a libavx.a libavx512.a /usr/lib/x86_64-linux-gnu/libOpenCL.so 
/usr/lib/x86_64-linux-gnu/libboost_filesystem.a 
/usr/lib/x86_64-linux-gnu/libboost_system.a -Wl,--end-group 
'-Wl,-rpath,$ORIGIN/' 
-Wl,-rpath-link,/src/vapoursynth-eedid3-4/obj-x86_64-linux-gnu/
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libboost_filesystem.a(operations.o): 
relocation R_X86_64_PC32 against symbol 
`_ZN5boost6system6detail10cat_holderIvE24system_category_instanceE' can not be 
used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status

Normally the build should be :

[12/12] c++  -o libeedi3m.so 'eedi3m@sha/EEDI3_EEDI3.cpp.o' 
'eedi3m@sha/EEDI3_vectorclass_instrset_detect.cpp.o' 
'eedi3m@sha/EEDI3_EEDI3_SSE2.cpp.o' 'eedi3m@sha/EEDI3_EEDI3CL.cpp.o' 
'eedi3m@sha/EEDI3_EEDI3CL_SSE2.cpp.o' -Wl,--as-needed -shared -fPIC 
-Wl,--start-group -Wl,-soname,libeedi3m.so -g -O2 
-fdebug-prefix-map=/build/vapoursynth-eedid3-dmo-4=. -fstack-protector-strong 
-Wformat -Werror=format-security -Wl,-z,relro libsse4.a libavx.a libavx512.a 
/usr/lib/x86_64-linux-gnu/libOpenCL.so -lboost_filesystem -lboost_system 
-Wl,--end-group '-Wl,-rpath,$ORIGIN/' 
-Wl,-rpath-link,/build/vapoursynth-eedid3-dmo-4/obj-x86_64-linux-gnu/

Link against -lboost_filesystem -lboost_system in the correct build versus
/usr/lib/x86_64-linux-gnu/libboost_filesystem.a and
/usr/lib/x86_64-linux-gnu/libboost_system.a

Packaging source is here :

https://www.deb-multimedia.org/pool/main/v/vapoursynth-eedid3-dmo/vapoursynth-eedid3-dmo_4-dmo1.debian.tar.xz
https://www.deb-multimedia.org/pool/main/v/vapoursynth-eedid3-dmo/vapoursynth-eedid3-dmo_4-dmo1.dsc
https://www.deb-multimedia.org/pool/main/v/vapoursynth-eedid3-dmo/vapoursynth-eedid3-dmo_4.orig.tar.xz

Christian

-- System Information:
Debian Release: bullseye/sid
  APT prefers buildd-unstable
  APT policy: (500, 'buildd-unstable'), (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.6.15 (SMP w/8 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), 
LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages meson depends on:
ii  ninja-build  1.10.0-1
ii  python3      3.8.2-3

meson recommends no packages.

meson suggests no packages.

-- no debconf information

Reply via email to