Project

General

Profile

Actions

Bug #4283

closed

building debian package is broken, blocks nightly/latest OBS jenkins jobs

Added by osmith over 4 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
host software
Target version:
-
Start date:
11/27/2019
Due date:
% Done:

100%

Spec Reference:

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  
Actions #1

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.

Actions #2

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%)

Actions #3

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.

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)