dpkg-buildpackage -us -uc -ui -i -I -sa dpkg-buildpackage: info: source package linkbag dpkg-buildpackage: info: source version 0-1 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by наб dpkg-source -i -I --before-build . dpkg-buildpackage: info: host architecture arm64 debian/rules clean dh clean dh_auto_clean make -j4 clean make[1]: Entering directory '/home/nabijaczleweli/code/build-output/linkbag-0' rm -f linkbag linkbag-del linkbag-get linkbag-ls linkbag-put linkbag-test example-liblinkbag.3 liblinkbag.so liblinkbag.so.0 liblinkbag.[ao] liblinkbag.3 linkbag.1 linkbag-del.1 linkbag-get.1 linkbag-ls.1 linkbag-put.1 make[1]: Leaving directory '/home/nabijaczleweli/code/build-output/linkbag-0' dh_clean dpkg-source -i -I -b . dpkg-source: info: using source format '3.0 (quilt)' dpkg-source: info: verifying ./linkbag_0.orig.tar.gz.asc dpkg-source: info: building linkbag using existing ./linkbag_0.orig.tar.gz dpkg-source: info: building linkbag using existing ./linkbag_0.orig.tar.gz.asc dpkg-source: info: building linkbag in linkbag_0-1.debian.tar.xz dpkg-source: info: building linkbag in linkbag_0-1.dsc debian/rules binary dh binary dh_update_autotools_config dh_autoreconf dh_auto_configure dh_auto_build make -j4 "INSTALL=install --strip-program=true" make[1]: Entering directory '/home/nabijaczleweli/code/build-output/linkbag-0' g++ -g -O2 -ffile-prefix-map=/home/nabijaczleweli/code/build-output/linkbag-0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -O3 -g -std=c++20 -Wall -Wextra -fno-exceptions -Wno-missing-field-initializers -Wno-address-of-packed-member -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DVERSION='"0-1 "' -Wl,-z,relro -Wl,-as-needed linkbag.cpp -o linkbag g++ -g -O2 -ffile-prefix-map=/home/nabijaczleweli/code/build-output/linkbag-0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -O3 -g -std=c++20 -Wall -Wextra -fno-exceptions -Wno-missing-field-initializers -Wno-address-of-packed-member -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DVERSION='"0-1 "' -Wl,-z,relro -Wl,-as-needed linkbag-del.cpp -o linkbag-del g++ -g -O2 -ffile-prefix-map=/home/nabijaczleweli/code/build-output/linkbag-0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -O3 -g -std=c++20 -Wall -Wextra -fno-exceptions -Wno-missing-field-initializers -Wno-address-of-packed-member -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DVERSION='"0-1 "' -Wl,-z,relro -Wl,-as-needed linkbag-get.cpp -o linkbag-get g++ -g -O2 -ffile-prefix-map=/home/nabijaczleweli/code/build-output/linkbag-0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -O3 -g -std=c++20 -Wall -Wextra -fno-exceptions -Wno-missing-field-initializers -Wno-address-of-packed-member -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DVERSION='"0-1 "' -Wl,-z,relro -Wl,-as-needed linkbag-ls.cpp -o linkbag-ls g++ -g -O2 -ffile-prefix-map=/home/nabijaczleweli/code/build-output/linkbag-0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -O3 -g -std=c++20 -Wall -Wextra -fno-exceptions -Wno-missing-field-initializers -Wno-address-of-packed-member -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DVERSION='"0-1 "' -Wl,-z,relro -Wl,-as-needed linkbag-put.cpp -o linkbag-put g++ -g -O2 -ffile-prefix-map=/home/nabijaczleweli/code/build-output/linkbag-0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -O3 -g -std=c++20 -Wall -Wextra -fno-exceptions -Wno-missing-field-initializers -Wno-address-of-packed-member -O0 -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DVERSION='"0-1 "' -Wl,-z,relro -Wl,-as-needed -Wl,-rpath=. -fPIC -shared -Wl,-soname,liblinkbag.so.0 liblinkbag.cpp -o liblinkbag.so.0 g++ -g -O2 -ffile-prefix-map=/home/nabijaczleweli/code/build-output/linkbag-0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -O3 -g -std=c++20 -Wall -Wextra -fno-exceptions -Wno-missing-field-initializers -Wno-address-of-packed-member -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DVERSION='"0-1 "' -c -o liblinkbag.o liblinkbag.cpp sed -e 's:^\(\.ds LINKBAG_UNAME\).*:\1 Linux:' -e '/^\.Os/s:$: 0-1 :' < liblinkbag.3.in | awk '$1 == "$include" {gsub(/"/, "", $2); while((getline line < $2) > 0) {gsub(/\\/, "\\e", line); gsub(/\t/, " ", line); if(line !~ /^##/) print line}; next} {print}' > liblinkbag.3 sed -e 's:^\(\.ds LINKBAG_UNAME\).*:\1 Linux:' -e '/^\.Os/s:$: 0-1 :' < linkbag.1.in | awk '$1 == "$include" {gsub(/"/, "", $2); while((getline line < $2) > 0) {gsub(/\\/, "\\e", line); gsub(/\t/, " ", line); if(line !~ /^##/) print line}; next} {print}' > linkbag.1 sed -e 's:^\(\.ds LINKBAG_UNAME\).*:\1 Linux:' -e '/^\.Os/s:$: 0-1 :' < linkbag-del.1.in | awk '$1 == "$include" {gsub(/"/, "", $2); while((getline line < $2) > 0) {gsub(/\\/, "\\e", line); gsub(/\t/, " ", line); if(line !~ /^##/) print line}; next} {print}' > linkbag-del.1 sed -e 's:^\(\.ds LINKBAG_UNAME\).*:\1 Linux:' -e '/^\.Os/s:$: 0-1 :' < linkbag-get.1.in | awk '$1 == "$include" {gsub(/"/, "", $2); while((getline line < $2) > 0) {gsub(/\\/, "\\e", line); gsub(/\t/, " ", line); if(line !~ /^##/) print line}; next} {print}' > linkbag-get.1 sed -e 's:^\(\.ds LINKBAG_UNAME\).*:\1 Linux:' -e '/^\.Os/s:$: 0-1 :' < linkbag-ls.1.in | awk '$1 == "$include" {gsub(/"/, "", $2); while((getline line < $2) > 0) {gsub(/\\/, "\\e", line); gsub(/\t/, " ", line); if(line !~ /^##/) print line}; next} {print}' > linkbag-ls.1 sed -e 's:^\(\.ds LINKBAG_UNAME\).*:\1 Linux:' -e '/^\.Os/s:$: 0-1 :' < linkbag-put.1.in | awk '$1 == "$include" {gsub(/"/, "", $2); while((getline line < $2) > 0) {gsub(/\\/, "\\e", line); gsub(/\t/, " ", line); if(line !~ /^##/) print line}; next} {print}' > linkbag-put.1 ln -fs liblinkbag.so.0 liblinkbag.so g++ -g -O2 -ffile-prefix-map=/home/nabijaczleweli/code/build-output/linkbag-0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -O3 -g -std=c++20 -Wall -Wextra -fno-exceptions -Wno-missing-field-initializers -Wno-address-of-packed-member -O0 -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DVERSION='"0-1 "' -Wl,-z,relro -Wl,-as-needed -Wl,-rpath=. linkbag-test.cpp liblinkbag.so -o linkbag-test cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/home/nabijaczleweli/code/build-output/linkbag-0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -O3 -g -std=c23 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DVERSION='"0-1 "' -Wl,-z,relro -Wl,-as-needed -Wl,-rpath=. example-liblinkbag.3.c liblinkbag.so -o example-liblinkbag.3 ar crs liblinkbag.a liblinkbag.o make[1]: Leaving directory '/home/nabijaczleweli/code/build-output/linkbag-0' debian/rules execute_after_dh_auto_build make[1]: Entering directory '/home/nabijaczleweli/code/build-output/linkbag-0' chrpath -d liblinkbag.so # something in the dh machinery makes make add -Wl,-rpath=. to the liblinkbag.so recipe. this doesn't happen upstream or when i try to reproduce it make[1]: Leaving directory '/home/nabijaczleweli/code/build-output/linkbag-0' dh_auto_test make -j4 check make[1]: Entering directory '/home/nabijaczleweli/code/build-output/linkbag-0' g++ -g -O2 -ffile-prefix-map=/home/nabijaczleweli/code/build-output/linkbag-0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -O3 -g -std=c++20 -Wall -Wextra -fno-exceptions -Wno-missing-field-initializers -Wno-address-of-packed-member -O0 -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DVERSION='"0-1 "' -Wl,-z,relro -Wl,-as-needed -Wl,-rpath=. linkbag-test.cpp liblinkbag.so -o linkbag-test ./linkbag-test make[1]: Leaving directory '/home/nabijaczleweli/code/build-output/linkbag-0' create-stamp debian/debhelper-build-stamp dh_prep dh_auto_install dh_install debian/rules override_dh_installdocs make[1]: Entering directory '/home/nabijaczleweli/code/build-output/linkbag-0' dh_installdocs README.md make[1]: Leaving directory '/home/nabijaczleweli/code/build-output/linkbag-0' debian/rules override_dh_installchangelogs make[1]: Entering directory '/home/nabijaczleweli/code/build-output/linkbag-0' dh_installchangelogs debian/changelog.upstream make[1]: Leaving directory '/home/nabijaczleweli/code/build-output/linkbag-0' dh_installman dh_perl dh_link dh_strip_nondeterminism dh_compress dh_fixperms dh_missing dh_dwz -a dh_strip -a dh_makeshlibs -a dh_shlibdeps -a dpkg-shlibdeps: warning: diversions involved - output may be incorrect diversion by libc6 from: /lib/ld-linux-aarch64.so.1 dpkg-shlibdeps: warning: diversions involved - output may be incorrect dpkg-shlibdeps: warning: diversions involved - output may be incorrect diversion by libc6 to: /lib/ld-linux-aarch64.so.1.usr-is-merged diversion by libc6 from: /lib/ld-linux-aarch64.so.1 dpkg-shlibdeps: warning: diversions involved - output may be incorrect diversion by libc6 to: /lib/ld-linux-aarch64.so.1.usr-is-merged dh_installdeb dh_gencontrol dh_md5sums dh_builddeb dpkg-deb: building package 'liblinkbag-dev' in '../liblinkbag-dev_0-1_arm64.deb'. dpkg-deb: building package 'linkbag' in '../linkbag_0-1_arm64.deb'. dpkg-deb: building package 'liblinkbag0' in '../liblinkbag0_0-1_arm64.deb'. dpkg-deb: building package 'liblinkbag0-dbgsym' in '../liblinkbag0-dbgsym_0-1_arm64.deb'. dpkg-deb: building package 'linkbag-dbgsym' in '../linkbag-dbgsym_0-1_arm64.deb'. dpkg-genbuildinfo -O../linkbag_0-1_arm64.buildinfo dpkg-genchanges -sa -O../linkbag_0-1_arm64.changes dpkg-genchanges: info: including full source code in upload dpkg-source -i -I --after-build . dpkg-buildpackage: info: full upload (original source is included)