epicsdeb / rtems

RTEMS Packaging
http://www.rtems.com/
Other
0 stars 0 forks source link

Master4.9 #7

Closed jrcoding closed 8 years ago

jrcoding commented 8 years ago

Build fails because lintian throws error "rtems-common: unstripped-binary-or-object"

The added override in debian/rules explicitly removes the symbols from the binaries in package rtems-common. This should be o.k. because the binaries in rtems-common are binaries running on the build host and not on the target.

mdavidsaver commented 8 years ago

Seems reasonable.

...
dh_strip --package=rtems-common
        strip --remove-section=.comment --remove-section=.note debian/rtems-common/usr/bin/rtems-bin2c
        strip --remove-section=.comment --remove-section=.note debian/rtems-common/usr/bin/unhex
        strip --remove-section=.comment --remove-section=.note debian/rtems-common/usr/bin/packhex
        strip --remove-section=.comment --remove-section=.note debian/rtems-common/usr/bin/cklength
        strip --remove-section=.comment --remove-section=.note debian/rtems-common/usr/bin/i386-rtems4.9-bin2boot
        strip --remove-section=.comment --remove-section=.note debian/rtems-common/usr/bin/eolstrip
...