Zandronum Chat on our Discord Server Get the latest version: 3.1
Source Code

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0003519Doomseeker[All Projects] Bugpublic2018-09-24 22:162019-01-27 19:59
ReporterWubTheCaptain 
Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusconfirmedResolutionopen 
Platformamd64OSDebian GNU/LinuxOS Versionbuster/sid
Product Version1.1 
Target VersionFixed in Version 
Summary0003519: dpkg-shlibdeps warning: libwadseeker.so.1.2 links against useless dependency libpthread.so.0
DescriptionAttempting 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)
Steps To ReproduceWhile 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.)
Additional InformationDoomseeker 1.2~beta-1+a9995252fabcdd532cddcb763dc6c0931510e056; Undetermined by OP at this time if this issue exists in 1.1-p1.
Attached Filestxt file icon doomseeker-debuild-tail.txt [^] (1,066 bytes) 2018-09-24 22:16 [Show Content]

- Relationships
related to 0003246acknowledged Debian packaging 

-  Notes
User avatar (0019739)
Blzut3 (administrator)
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 [^]'

User avatar (0020323)
Pol M (developer)
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.


Issue Community Support
Only registered users can voice their support. Click here to register, or here to log in.
Supporters: No one explicitly supports this issue yet.
Opponents: No one explicitly opposes this issue yet.

- Issue History
Date Modified Username Field Change
2018-09-24 22:16 WubTheCaptain New Issue
2018-09-24 22:16 WubTheCaptain File Added: doomseeker-debuild-tail.txt
2018-09-24 22:16 WubTheCaptain Relationship added child of 0003279
2018-09-24 22:17 WubTheCaptain Relationship deleted child of 0003279
2018-09-24 22:17 WubTheCaptain Relationship added related to 0003246
2018-09-24 22:18 WubTheCaptain Steps to Reproduce Updated View Revisions
2018-09-24 22:46 WubTheCaptain Steps to Reproduce Updated View Revisions
2018-09-24 23:48 WubTheCaptain Steps to Reproduce Updated View Revisions
2018-09-24 23:48 WubTheCaptain Steps to Reproduce Updated View Revisions
2018-09-25 01:56 Blzut3 Note Added: 0019739
2018-09-25 01:59 Blzut3 Note Edited: 0019739 View Revisions
2018-09-25 02:01 Blzut3 Note Edited: 0019739 View Revisions
2018-09-25 02:06 WubTheCaptain Status new => confirmed
2018-09-25 02:55 WubTheCaptain Product Version 1.2 => 1.1
2019-01-27 14:18 Pol M Note Added: 0020323
2019-01-27 14:18 Pol M Assigned To => Pol M
2019-01-27 14:18 Pol M Status confirmed => assigned
2019-01-27 19:47 Pol M Note Edited: 0020323 View Revisions
2019-01-27 19:47 Pol M Assigned To Pol M =>
2019-01-27 19:47 Pol M Status assigned => confirmed






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2024 MantisBT Team
Powered by Mantis Bugtracker