MantisBT - Doomseeker
View Issue Details
0003519Doomseeker[All Projects] Bugpublic2018-09-24 22:162019-01-27 19:59
WubTheCaptain 
 
normalminorhave not tried
confirmedopen 
amd64Debian GNU/Linuxbuster/sid
1.1 
 
0003519: dpkg-shlibdeps warning: libwadseeker.so.1.2 links against useless dependency libpthread.so.0
Attempting to build and create a Debian package from a .tar.xz tarball created by ./releasescripts/makesourcepackages.sh and built with debuild prints the following warning at the end after faking make install:

Quote
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/doomseeker/usr/lib/x86_64-linux-gnu/libwadseeker.so.1.2 
was not linked against libpthread.so.0 (it uses none of the library's symbols)
While issue 0003246 is unresolved, one unfortunately needs to put in a bit more effort to create an effective Debian package the Debian way. Something like this:

  1. Install debuild and dh_make on Debian: apt install devscripts dh-make # as superuser
  2. Retrieve a Mercurial snapshot of Doomseeker code, at (currently) latest commit a9995252fabcdd532cddcb763dc6c0931510e056 (or earlier). (hg clone'https://bitbucket.org/doomseeker/doomseeker [^]' && hg checkout a9995252fabcdd532cddcb763dc6c0931510e056) # URL must be all lowercase, else Bitbucket may throw HTTPS errors from command line use. wtf?
  3. Make a tarball release: (cd releasescripts/ && sh ./makesourcepackages.sh --no-sign) # yes, it's silly and requires to change directory first because it looks for ../src/*
  4. Extract the new source package somewhere: mkdir -p /tmp/doomseeker-debian && tar xfvJ doomseeker-1.2.tar.xz -C /tmp/doomseeker-debian # GNU TAR
  5. Change directory: cd /tmp/doomseeker-debian/doomseeker-1.2/
  6. Create stub Debian packaging files for the next step (accepting single package and any details): dh_make -f ../doomseeker-1.2.tar.xz
  7. Run debuild: debuild -us -uc
  8. Wait. Eventually debuild warns about dpkg-shlibdeps near the end of compilation, before lintian warnings/errors. (Perhaps ignore lintian for now, using dh_make without changes generates lots of warnings.)
Doomseeker 1.2~beta-1+a9995252fabcdd532cddcb763dc6c0931510e056; Undetermined by OP at this time if this issue exists in 1.1-p1.
No tags attached.
related to 0003246acknowledged  Debian packaging 
txt doomseeker-debuild-tail.txt (1,066) 2018-09-24 22:16
https://zandronum.com/tracker/file_download.php?file_id=2411&type=bug
Issue History
2018-09-24 22:16WubTheCaptainNew Issue
2018-09-24 22:16WubTheCaptainFile Added: doomseeker-debuild-tail.txt
2018-09-24 22:16WubTheCaptainRelationship addedchild of 0003279
2018-09-24 22:17WubTheCaptainRelationship deletedchild of 0003279
2018-09-24 22:17WubTheCaptainRelationship addedrelated to 0003246
2018-09-24 22:18WubTheCaptainSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=11971#r11971
2018-09-24 22:46WubTheCaptainSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=11977#r11977
2018-09-24 23:48WubTheCaptainSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=11978#r11978
2018-09-24 23:48WubTheCaptainSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=11979#r11979
2018-09-25 01:56Blzut3Note Added: 0019739
2018-09-25 01:59Blzut3Note Edited: 0019739bug_revision_view_page.php?bugnote_id=19739#r11992
2018-09-25 02:01Blzut3Note Edited: 0019739bug_revision_view_page.php?bugnote_id=19739#r11993
2018-09-25 02:06WubTheCaptainStatusnew => confirmed
2018-09-25 02:55WubTheCaptainProduct Version1.2 => 1.1
2019-01-27 14:18Pol MNote Added: 0020323
2019-01-27 14:18Pol MAssigned To => Pol M
2019-01-27 14:18Pol MStatusconfirmed => assigned
2019-01-27 19:47Pol MNote Edited: 0020323bug_revision_view_page.php?bugnote_id=20323#r12371
2019-01-27 19:47Pol MAssigned ToPol M =>
2019-01-27 19:47Pol MStatusassigned => confirmed

Notes
(0019739)
Blzut3   
2018-09-25 01:56   
(edited on: 2018-09-25 02:01)
Probably a false positive? On my system at least lddtree shows the libpthread dep is coming from libQt5Network.so.5. At least off hand I can't think of anything in Wadseeker that would be causing that.

Edit: Nevermind, was looking at the wrong thing. Will need to investigate why the threads link was needed in the first place.

Edit 2: Comes from'https://bitbucket.org/Doomseeker/doomseeker/commits/d8ea226f6bfe [^]'

(0020323)
Pol M   
2019-01-27 14:18   
(edited on: 2019-01-27 19:47)
I'm gonna take a look
EDIT: I'd say that it is used by LZMA when compiling under windows. (Maybe Threads.* files). Probably the find_package could be moved to the CMakeLists.txt inside the lzma dir inside the "if (WIN32)". I cannot test this, so I'm de-assigning.