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 --before-build . dpkg-buildpackage: info: host architecture i386 debian/rules clean dh clean dh_auto_clean make -j24 clean make[1]: Entering directory '/tmp/linkbag.deb' rm -f linkbag-del linkbag-get linkbag-ls linkbag-put linkbag-test linkbag example-liblinkbag.3 liblinkbag.so liblinkbag.so.0 liblinkbag.[ao] liblinkbag.3 linkbag-del.1 linkbag-get.1 linkbag-ls.1 linkbag-put.1 linkbag.1 make[1]: Leaving directory '/tmp/linkbag.deb' dh_clean debian/rules binary-arch dh binary-arch dh_update_autotools_config -a dh_autoreconf -a dh_auto_configure -a dh_auto_build -a make -j24 INSTALL="install --strip-program=true" make[1]: Entering directory '/tmp/linkbag.deb' g++ -g -O2 -ffile-prefix-map=/tmp/linkbag.deb=. -fstack-protector-strong -Wformat -Werror=format-security -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=/tmp/linkbag.deb=. -fstack-protector-strong -Wformat -Werror=format-security -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=/tmp/linkbag.deb=. -fstack-protector-strong -Wformat -Werror=format-security -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=/tmp/linkbag.deb=. -fstack-protector-strong -Wformat -Werror=format-security -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=/tmp/linkbag.deb=. -fstack-protector-strong -Wformat -Werror=format-security -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=/tmp/linkbag.deb=. -fstack-protector-strong -Wformat -Werror=format-security -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=/tmp/linkbag.deb=. -fstack-protector-strong -Wformat -Werror=format-security -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-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 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 ar crs liblinkbag.a liblinkbag.o ln -fs liblinkbag.so.0 liblinkbag.so g++ -g -O2 -ffile-prefix-map=/tmp/linkbag.deb=. -fstack-protector-strong -Wformat -Werror=format-security -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=/tmp/linkbag.deb=. -fstack-protector-strong -Wformat -Werror=format-security -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 make[1]: Leaving directory '/tmp/linkbag.deb' debian/rules execute_after_dh_auto_build make[1]: Entering directory '/tmp/linkbag.deb' 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 '/tmp/linkbag.deb' dh_auto_test -a make -j24 check make[1]: Entering directory '/tmp/linkbag.deb' g++ -g -O2 -ffile-prefix-map=/tmp/linkbag.deb=. -fstack-protector-strong -Wformat -Werror=format-security -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 '/tmp/linkbag.deb' create-stamp debian/debhelper-build-stamp dh_prep -a dh_auto_install -a dh_install -a debian/rules override_dh_installdocs make[1]: Entering directory '/tmp/linkbag.deb' dh_installdocs README.md make[1]: Leaving directory '/tmp/linkbag.deb' debian/rules override_dh_installchangelogs make[1]: Entering directory '/tmp/linkbag.deb' dh_installchangelogs debian/changelog.upstream make[1]: Leaving directory '/tmp/linkbag.deb' dh_installman -a dh_perl -a dh_link -a dh_strip_nondeterminism -a dh_compress -a dh_fixperms -a dh_missing -a dh_dwz -a dh_strip -a dh_makeshlibs -a dh_shlibdeps -a dh_installdeb -a dh_gencontrol -a dh_md5sums -a dh_builddeb -a dpkg-deb: building package 'linkbag' in '../linkbag_0-1_i386.deb'. dpkg-deb: building package 'linkbag-dbgsym' in '../linkbag-dbgsym_0-1_i386.deb'. dpkg-deb: building package 'liblinkbag0-dbgsym' in '../liblinkbag0-dbgsym_0-1_i386.deb'. dpkg-deb: building package 'liblinkbag0' in '../liblinkbag0_0-1_i386.deb'. dpkg-deb: building package 'liblinkbag-dev' in '../liblinkbag-dev_0-1_i386.deb'. dpkg-genbuildinfo --build=any -O../linkbag_0-1_i386.buildinfo dpkg-genchanges --build=any -O../linkbag_0-1_i386.changes dpkg-genchanges: info: binary-only arch-specific upload (source code and arch-indep packages not included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included)