[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Any progress with FIS GT.M?



Just for the record, 

A) linitian exceptions were added in the file:

           debian/source/lintian-overrides

    with content:

#
# Overriding warning for the COPYING file.
# We are aware that there is another license file.
# This will be addressed upstream at some point.
#
fis-gtm-5.5.000 [amd64] source: extra-license-file usr/lib/fis-gtm/V5.5-000_x86_64/COPYING
fis-gtm-5.5.000 [i386]  source: extra-license-file usr/lib/fis-gtm/V5.5-000_i486/COPYING



B) Also, to deal with my debhelper being version 8.x
I also added the file:

                /etc/apt/03-debhelper 
 
containing:

Package: debhelper
Pin: release a=unstable
Pin-Priority: 605

Package: dpkg
Pin: release a=unstable
Pin-Priority: 605

Package: dpkg-dev
Pin: release a=unstable
Pin-Priority: 605

Package: libdpkg-perl
Pin: release a=unstable
Pin-Priority: 605


After updating debhelper and build-essential... 
and other packages (including gcc...) in this 
new rackspace system, the build now produces
the following (when using "debuild").


[snip]
....
I: Fixing up permissions for removed write rights -- we aren't done yet!
chmod +w -R /home/ibanez/build2/luisibanez-fis-gtm-4077ab8/debian/fis-gtm-5.5.000/usr/lib/fis-gtm/V5.5-000_x86_64
chmod u+s   /home/ibanez/build2/luisibanez-fis-gtm-4077ab8/debian/fis-gtm-5.5.000/usr/lib/fis-gtm/V5.5-000_x86_64/gtmsecshr
make[1]: Leaving directory `/home/ibanez/build2/luisibanez-fis-gtm-4077ab8'
   dh_install
   dh_installdocs
   debian/rules override_dh_installchangelogs
make[1]: Entering directory `/home/ibanez/build2/luisibanez-fis-gtm-4077ab8'
dh_installchangelogs debian/upstream-files/GTM_V5.5-000_Release_Notes.html
make[1]: Leaving directory `/home/ibanez/build2/luisibanez-fis-gtm-4077ab8'
   dh_installexamples
   dh_installman
   dh_installcatalogs
   dh_installcron
   dh_installdebconf
   dh_installemacsen
   dh_installifupdown
   dh_installinfo
   dh_installinit
   dh_installmenu
   dh_installmime
   dh_installmodules
   dh_installlogcheck
   dh_installlogrotate
   dh_installpam
   dh_installppp
   dh_installudev
   dh_installwm
   dh_installxfonts
   dh_installgsettings
   dh_bugfiles
   dh_ucf
   debian/rules override_dh_lintian
make[1]: Entering directory `/home/ibanez/build2/luisibanez-fis-gtm-4077ab8'
echo "fis-gtm-5.5.000 binary: shlib-with-executable-stack usr/lib/fis-gtm/*/libgtmshr.so" > debian/fis-gtm-5.5.000.lintian-overrides
dh_lintian
make[1]: Leaving directory `/home/ibanez/build2/luisibanez-fis-gtm-4077ab8'
   dh_gconf
   dh_icons
   dh_perl
   dh_usrlocal
   debian/rules override_dh_link
make[1]: Entering directory `/home/ibanez/build2/luisibanez-fis-gtm-4077ab8'
echo '/usr/lib/fis-gtm/V5.5-000_x86_64 /usr/lib/fis-gtm/current' > debian/fis-gtm.links
dh_link
make[1]: Leaving directory `/home/ibanez/build2/luisibanez-fis-gtm-4077ab8'
   dh_compress
   dh_fixperms
   dh_strip
   dh_makeshlibs
   dh_shlibdeps
dpkg-shlibdeps: warning: debian/fis-gtm-5.5.000/usr/lib/fis-gtm/V5.5-000_x86_64/plugin/libgtmcrypt.so contains an unresolvable reference to symbol gtm_free: it's probably a plugin
dpkg-shlibdeps: warning: 6 other similar warnings have been skipped (use -v to see them all)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/fis-gtm-5.5.000/usr/lib/fis-gtm/V5.5-000_x86_64/plugin/gtmcrypt/maskpass debian/fis-gtm-5.5.000/usr/lib/fis-gtm/V5.5-000_x86_64/plugin/libgtmcrypt.so were not linked against libgpg-error.so.0 (they use none of the library's symbols)
   dh_installdeb
   dh_gencontrol
dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is not NFS-safe
dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is not NFS-safe
   dh_md5sums
   dh_builddeb
dpkg-deb: building package `fis-gtm' in `../fis-gtm_5.5-000+git104-g4077ab8-1_all.deb'.
dpkg-deb: building package `fis-gtm-5.5.000' in `../fis-gtm-5.5.000_5.5-000+git104-g4077ab8-1_amd64.deb'.
 dpkg-genchanges  >../fis-gtm_5.5-000+git104-g4077ab8-1_amd64.changes
dpkg-genchanges: including full source code in upload
 dpkg-source --after-build luisibanez-fis-gtm-4077ab8
dpkg-buildpackage: full upload (original source is included)
Now running lintian...
W: fis-gtm-5.5.000: hardening-no-relro usr/lib/fis-gtm/V5.5-000_x86_64/dse
W: fis-gtm-5.5.000: hardening-no-fortify-functions usr/lib/fis-gtm/V5.5-000_x86_64/dse
W: fis-gtm-5.5.000: hardening-no-relro usr/lib/fis-gtm/V5.5-000_x86_64/ftok
W: fis-gtm-5.5.000: hardening-no-fortify-functions usr/lib/fis-gtm/V5.5-000_x86_64/ftok
W: fis-gtm-5.5.000: hardening-no-relro usr/lib/fis-gtm/V5.5-000_x86_64/geteuid
W: fis-gtm-5.5.000: hardening-no-relro usr/lib/fis-gtm/V5.5-000_x86_64/gtcm_gnp_server
W: fis-gtm-5.5.000: hardening-no-fortify-functions usr/lib/fis-gtm/V5.5-000_x86_64/gtcm_gnp_server
W: fis-gtm-5.5.000: hardening-no-relro usr/lib/fis-gtm/V5.5-000_x86_64/gtcm_pkdisp
W: fis-gtm-5.5.000: hardening-no-fortify-functions usr/lib/fis-gtm/V5.5-000_x86_64/gtcm_pkdisp
W: fis-gtm-5.5.000: hardening-no-relro usr/lib/fis-gtm/V5.5-000_x86_64/gtcm_play
W: fis-gtm-5.5.000: hardening-no-fortify-functions usr/lib/fis-gtm/V5.5-000_x86_64/gtcm_play
W: fis-gtm-5.5.000: hardening-no-relro usr/lib/fis-gtm/V5.5-000_x86_64/gtcm_server
W: fis-gtm-5.5.000: hardening-no-fortify-functions usr/lib/fis-gtm/V5.5-000_x86_64/gtcm_server
W: fis-gtm-5.5.000: hardening-no-relro usr/lib/fis-gtm/V5.5-000_x86_64/gtcm_shmclean
W: fis-gtm-5.5.000: hardening-no-fortify-functions usr/lib/fis-gtm/V5.5-000_x86_64/gtcm_shmclean
W: fis-gtm-5.5.000: hardening-no-relro usr/lib/fis-gtm/V5.5-000_x86_64/gtmsecshr
W: fis-gtm-5.5.000: hardening-no-fortify-functions usr/lib/fis-gtm/V5.5-000_x86_64/gtmsecshr
W: fis-gtm-5.5.000: hardening-no-relro usr/lib/fis-gtm/V5.5-000_x86_64/gtmsecshrdir/gtmsecshr
W: fis-gtm-5.5.000: hardening-no-fortify-functions usr/lib/fis-gtm/V5.5-000_x86_64/gtmsecshrdir/gtmsecshr
W: fis-gtm-5.5.000: hardening-no-relro usr/lib/fis-gtm/V5.5-000_x86_64/libgtmshr.so
W: fis-gtm-5.5.000: hardening-no-fortify-functions usr/lib/fis-gtm/V5.5-000_x86_64/libgtmshr.so
W: fis-gtm-5.5.000: shared-lib-without-dependency-information usr/lib/fis-gtm/V5.5-000_x86_64/libgtmutil.so
W: fis-gtm-5.5.000: hardening-no-relro usr/lib/fis-gtm/V5.5-000_x86_64/lke
W: fis-gtm-5.5.000: hardening-no-fortify-functions usr/lib/fis-gtm/V5.5-000_x86_64/lke
W: fis-gtm-5.5.000: hardening-no-relro usr/lib/fis-gtm/V5.5-000_x86_64/mumps
W: fis-gtm-5.5.000: hardening-no-fortify-functions usr/lib/fis-gtm/V5.5-000_x86_64/mumps
W: fis-gtm-5.5.000: hardening-no-relro usr/lib/fis-gtm/V5.5-000_x86_64/mupip
W: fis-gtm-5.5.000: hardening-no-fortify-functions usr/lib/fis-gtm/V5.5-000_x86_64/mupip
W: fis-gtm-5.5.000: hardening-no-relro usr/lib/fis-gtm/V5.5-000_x86_64/plugin/gtmcrypt/maskpass
W: fis-gtm-5.5.000: hardening-no-fortify-functions usr/lib/fis-gtm/V5.5-000_x86_64/plugin/gtmcrypt/maskpass
W: fis-gtm-5.5.000: hardening-no-relro usr/lib/fis-gtm/V5.5-000_x86_64/plugin/libgtmcrypt.so
W: fis-gtm-5.5.000: hardening-no-fortify-functions usr/lib/fis-gtm/V5.5-000_x86_64/plugin/libgtmcrypt.so
W: fis-gtm-5.5.000: hardening-no-relro usr/lib/fis-gtm/V5.5-000_x86_64/semstat2
W: fis-gtm-5.5.000: hardening-no-fortify-functions usr/lib/fis-gtm/V5.5-000_x86_64/semstat2
W: fis-gtm-5.5.000: shared-lib-without-dependency-information usr/lib/fis-gtm/V5.5-000_x86_64/utf8/libgtmutil.so
W: fis-gtm-5.5.000: debian-changelog-line-too-long line 16

[Luis Note #1: this above is my bad, I'm now wrapping this new line now]


W: fis-gtm-5.5.000: extra-license-file usr/lib/fis-gtm/V5.5-000_x86_64/COPYING


[Luis Note #2: it looks like my syntax for the lintian override was not correct.
Should I remove the architecture specifiers from it ?

What I put in the file  "debian/source/lintian-overrides" is:

fis-gtm-5.5.000 [amd64] source: extra-license-file usr/lib/fis-gtm/V5.5-000_x86_64/COPYING
fis-gtm-5.5.000 [i386]  source: extra-license-file usr/lib/fis-gtm/V5.5-000_i486/COPYING


...
W: fis-gtm-5.5.000: executable-not-elf-or-script usr/lib/fis-gtm/V5.5-000_x86_64/gtmstart
W: fis-gtm-5.5.000: executable-not-elf-or-script usr/lib/fis-gtm/V5.5-000_x86_64/gtmcshrc
W: fis-gtm-5.5.000: executable-not-elf-or-script usr/lib/fis-gtm/V5.5-000_x86_64/gtmprofile
W: fis-gtm-5.5.000: executable-not-elf-or-script usr/lib/fis-gtm/V5.5-000_x86_64/gtmprofile_preV54000
W: fis-gtm-5.5.000: executable-not-elf-or-script usr/lib/fis-gtm/V5.5-000_x86_64/gtmstop
W: fis-gtm-5.5.000: executable-not-elf-or-script usr/lib/fis-gtm/V5.5-000_x86_64/gtcm_run
W: fis-gtm-5.5.000: executable-not-elf-or-script usr/lib/fis-gtm/V5.5-000_x86_64/gtcm_slist
W: fis-gtm: debian-changelog-line-too-long line 16
N: 1 tag overridden (1 warning)
Finished running lintian.


So, it looks like there are three groups of warnings:

              executable-not-elf-or-script
              hardening-no-fortify-functions
              hardening-no-relro 


    Luis



Reply to: