Bug #4283
closedbuilding debian package is broken, blocks nightly/latest OBS jenkins jobs
100%
Description
Regression from https://gerrit.osmocom.org/c/simtrace2/+/16194: running "make clean" and "make" in the topdir does not work anymore. The OBS jenkins job fails, because it (indirectly, through debian build programs) runs "make clean" first.
I'm working on patches to fix this in branch osmith/fix-debian. So far, I have it building again, but the debian packaging fails because it can't find libraries properly (though they do get built). I'll look into this more tomorrow.
$ dpkg-buildpackage -tc -uc -us dh_shlibdeps dpkg-shlibdeps: error: cannot find library libosmo-simtrace2.so.0 needed by debian/simtrace2-utils/usr/bin/simtrace2-remsim (ELF format: 'elf64-x86-64' abi: '0201003e00000000'; RPATH: '') dpkg-shlibdeps: error: cannot find library libosmo-simtrace2.so.0 needed by debian/simtrace2-utils/usr/bin/simtrace2-sniff$ ELF format: 'elf64-x86-64' abi: '0201003e00000000'; RPATH: '') dpkg-shlibdeps: error: cannot find library libosmo-simtrace2.so.0 needed by debian/simtrace2-utils/usr/bin/simtrace2-list $ ELF format: 'elf64-x86-64' abi: '0201003e00000000'; RPATH: '') dpkg-shlibdeps: error: cannot find library libosmo-simtrace2.so.0 needed by debian/simtrace2-utils/usr/bin/simtrace2-remsi$ -usb2udp (ELF format: 'elf64-x86-64' abi: '0201003e00000000'; RPATH: '') dpkg-shlibdeps: error: cannot continue due to the errors listed above Note: libraries are not searched in other binary packages that do not have any shlibs or symbols file. To help dpkg-shlibdeps find private libraries, you might need to use -l. dh_shlibdeps: dpkg-shlibdeps -Tdebian/simtrace2-utils.substvars debian/simtrace2-utils/usr/bin/simtrace2-list debian/simtr$ ce2-utils/usr/bin/simtrace2-remsim debian/simtrace2-utils/usr/bin/simtrace2-sniff debian/simtrace2-utils/usr/bin/simtrace2$ remsim-usb2udp returned exit code 2 debian/rules:4: recipe for target 'binary' failed make: *** [binary] Error 2 dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
Updated by laforge over 4 years ago
I did some more steps in laforge/fix-debian, but it's not yet complete. Feel free to take over again, thanks.
Updated by osmith over 4 years ago
Patch completed, based on your branch: https://gerrit.osmocom.org/c/simtrace2/+/16304
Tested that it builds in my OBS namespace: https://build.opensuse.org/package/show/home:osmith42/simtrace2
(Missing permissions: Status: In Progress, % Done: 90%)
Updated by laforge over 4 years ago
- Category set to host software
- Status changed from New to Resolved
- % Done changed from 40 to 100
thanks, patch merged.