[FTBFS] python-hildondesktop fails to build in Lucid

Bug #538718 reported by Angel Abad on 2010-03-14
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-hildondesktop (Ubuntu)
Undecided
Unassigned

Bug Description

Binary package hint: python-hildondesktop

In an updated lucid pbuilder I got this error in build:

/usr/bin/ld: cannot find -lssl
collect2: ld returned 1 exit status
make[4]: *** [hildondesktop.la] Error 1

Thanks!

Angel Abad (angelabad) wrote :

This debdiff fix the FTBFS and closes this bug.

Thanks!

tags: added: patch
Daniel Holbach (dholbach) wrote :

As far as I can see there's nothing in the python-hildondesktop code that requires ssl:

daniel@bert:~/python-hildondesktop-0.0.2$ grep -ri ssl .
./debian/control:Build-Depends: debhelper (>= 5), dpatch, python-support, pkg-config, hildon-desktop-dev, python2.6-dev, python-gtk2-dev, libhildondesktop-dev (>= 0.0.21-1ubuntu3), libssl-dev, libtool, automake, autoconf
./debian/changelog: * debian/control: Add libssl-dev to build depends (LP: #538718)
./COPYING.LIB:the Library except as expressly provided under this License. Any
daniel@bert:~/python-hildondesktop-0.0.2$

Are you sure that it's not one of the Build-Dependencies that should have libssl-dev as a Dependency instead?

Changed in python-hildondesktop (Ubuntu):
status: New → Incomplete

Hi, I reviewed the dependecies and I dont find any error in Depends.

Thanks

Changed in python-hildondesktop (Ubuntu):
status: Incomplete → New
Emmet Hikory (persia) wrote :

Firstly, this isn't a bug in python-hildondesktop, as Daniel poits out,but rather likely in hildon-desktop or libhildondesktop (see the pkg-config calls). Note that python-hildondesktop is licensed under the GPL *without* the SSL exception, so linking to SSL would be a license violation : this bug should not be fixed in with the provided patch.

The solution is really to go make sure that -lssl isn't being exported by other libraries. Furthermore, if it is, all the build-dependencies need to be anallysied to make sure they are license-compatible with this link.

tags: added: patch-rejected
removed: patch
tags: added: patch
Angel Abad (angelabad) wrote :

Hi Daniel, this solution proposed by Luca Falavigna in lcd4linux

http://git.gnome.org/browse/totem/commit/?id=6d323117f05bdf74c3b9b0914beb393bb8c67874

works well for this ftbfs, what do you think is the best option?

Thanks!

Michael Bienia (geser) wrote :

Not using LOCALMODLIBS from the python makefile is the right fix.

Angel Abad (angelabad) wrote :

Updated debdiff, patch to remove PYTHON_LOCALMODLIBS.

Thanks!

tags: removed: patch-rejected
Nigel Babu (nigelbabu) wrote :

Since sponsors are subscribed on this bug, I'm removed subscription of ubuntu-reviewers team

Changed in python-hildondesktop (Ubuntu):
assignee: nobody → Fabrice Coutadeur (fabricesp)
status: New → In Progress
Fabrice Coutadeur (fabricesp) wrote :

Uploaded. Thanks for your work!

Fabrice

Changed in python-hildondesktop (Ubuntu):
assignee: Fabrice Coutadeur (fabricesp) → nobody
status: In Progress → Fix Committed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package python-hildondesktop - 0.0.2-0ubuntu6

---------------
python-hildondesktop (0.0.2-0ubuntu6) lucid; urgency=low

  [ Angel Abad ]
  * New patch remove_python_localmodlibs, remove PYTHON_LOCALMODLIBS
    from configure.ac to fix related -lssl FTBFS (LP: #538718)

  [ Fabrice Coutadeur ]
  * configure.ac: deleted some inline changes, not required anymore (version
    checking, basically)
  * ChangeLog: restored wrongly deleted lastest entries (linked to 0.0.2)
 -- Angel Abad <email address hidden> Tue, 16 Mar 2010 23:59:56 +0100

Changed in python-hildondesktop (Ubuntu):
status: Fix Committed → Fix Released
Angel Abad (angelabad) wrote :

Thanks for upload!

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers