Opened 4 years ago

Closed 4 months ago

#1193 closed defect/bug (fixed)

libs not linked

Reported by: jörg frings-fürst Owned by: KaZeR
Priority: blocker Milestone: version 0.5.1
Component: core Version: git master
Severity: complex Keywords: build, cmake, pdebuild, ubuntu
Cc:

Description

Hi,

by building a ubuntu package all compiled libs are not linked against the systemlibs.

I use the lasted svn - version and the debian directory from ubuntu trusty.

Buildsystem is pdebuild.

Attachments (7)

navit dpkg-shlibsdeps (6.7 KB) - added by jörg frings-fürst 4 years ago.
outout of dpkg-shlibdeps
navit ldd libfont_freetype.so (191 bytes) - added by jörg frings-fürst 4 years ago.
output of ldd libfont_freetype.so
navit start (1.1 KB) - added by jörg frings-fürst 4 years ago.
output of start navit from console
navit dh_build (14.6 KB) - added by jörg frings-fürst 4 years ago.
output of dh_build
navit ldd libfont_freetype.so.txt (851 bytes) - added by jörg frings-fürst 4 years ago.
output of ldd libfont_freetype.so Part 1 & 2
rules (3.8 KB) - added by jörg frings-fürst 4 years ago.
debian/rules
CMakeError.log (18.7 KB) - added by jörg frings-fürst 4 years ago.
CMakeError.log (from dpkg-buildpackage)

Download all attachments as: .zip

Change History (16)

Changed 4 years ago by jörg frings-fürst

outout of dpkg-shlibdeps

Changed 4 years ago by jörg frings-fürst

output of ldd libfont_freetype.so

Changed 4 years ago by jörg frings-fürst

output of start navit from console

comment:1 Changed 4 years ago by jörg frings-fürst

Testing with the original source package has the same error

Changed 4 years ago by jörg frings-fürst

output of dh_build

comment:2 Changed 4 years ago by usul

  • Keywords build cmake pdebuild ubuntu added
  • Milestone changed from version 0.5.0 to version 0.5.1

I'm not sure if I understand all the details but will schedule this ticket for the very next release as it's essential.

comment:3 Changed 4 years ago by sleske

Hm, strange. Does Navit work if you compile it normally, i.e. using CMake directly?

comment:4 Changed 4 years ago by jörg frings-fürst

Hi,

a yes deadline is the 6. February.

CMake directly looks ok.

So I think that it comes from debian/rules or debian/*.install

I'm looking for it, but every run takes over 10 minutes.

comment:5 Changed 4 years ago by jörg frings-fürst

So my intermediate result:

  1. "cmake ./ && make"

its ok, libvehicle_gpsd_dbus.so has all libs linked in (see navit ldd libfont_freetype.so.txt (Part 1))

  1. "dpkg-buildpackage -us -uc" is broken. libvehicle_gpsd_dbus.so has a lot of libs not linked. (see navit ldd libfont_freetype.so.txt (Part 2))

I use the last svn Revison and the attached rules - file.

And I don't find the error.

cont. next comment

Last edited 4 years ago by jörg frings-fürst (previous) (diff)

Changed 4 years ago by jörg frings-fürst

output of ldd libfont_freetype.so Part 1 & 2

Changed 4 years ago by jörg frings-fürst

debian/rules

Changed 4 years ago by jörg frings-fürst

CMakeError.log (from dpkg-buildpackage)

comment:6 Changed 4 years ago by jörg frings-fürst

  1. "dpkg-buildpackage -us -uc" with normal debian/rules.

Compile stops with cp - errors

comment:7 Changed 4 years ago by jörg frings-fürst

for questions please ping me via irc (j_f-f)

comment:8 Changed 4 years ago by sleske

The same bug was apparently also filed against the Debian package:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=737622

To the reporter: Usually you should file bugs against the Debian package for Debian-specific problems, and file bugs here for other bugs; the Debian maintainer will forward regular bugs anyway. This problem is probably better off as a Debian bug.

And reporting both in Debian and here is almost never a good idea - at least please cross-link the reports.

Last edited 4 years ago by sleske (previous) (diff)

comment:9 Changed 4 months ago by http://wiki.navit-project.org/index.php/user:jkoan

  • Resolution set to fixed
  • Status changed from new to closed

I think this Problem is gone, if not please open a new issue.

Jkoan

Note: See TracTickets for help on using tickets.