Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 567916 - app-pda/libimobiledevice-1.1.6 Could not link test program to Python.
Summary: app-pda/libimobiledevice-1.1.6 Could not link test program to Python.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: python-abi-letters
  Show dependency tree
 
Reported: 2015-12-10 08:24 UTC by Oleh
Modified: 2016-01-25 02:21 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (libimobiledevice.log,12.06 KB, text/x-log)
2015-12-10 08:24 UTC, Oleh
Details
updated ebuild (libimobiledevice-1.1.6-r1.ebuild,1.54 KB, text/plain)
2015-12-15 08:48 UTC, Oleh
Details
build.log of failed emerge (build.log,29.09 KB, text/plain)
2016-01-03 01:02 UTC, rypervenche
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Oleh 2015-12-10 08:24:38 UTC
python unmasks, that have changed abi and config revealing another "obscure" package

Reproducible: Always

Steps to Reproduce:
1. rebuild of all python dependent packages finds broken app-pda/libimobiledevice-1.1.6
2. or emerge =app-pda/libimobiledevice-1.1.6
3.
Actual Results:  
configure: error: 
  Could not link test program to Python. Maybe the main Python library has been
  installed in some non-standard library path. If so, pass it to configure,
  via the LDFLAGS environment variable.
  Example: ./configure LDFLAGS="-L/usr/non-standard-path/python/lib"
  ============================================================================
   ERROR!
   You probably have to install the development version of the Python package
   for your distribution.  The exact name of this package varies among them.
  ============================================================================


While we (humble users) mostly agree about some packages having out of date python support that is not following upstream, we are bit upset that portage tree consistency are always checked *after* bugs reported. I hope 2016 year will be a year of changing minds and moving away of reactive workflow. yes, this means, test ALL (literally) packages. 
Changes that are potentially touching all reverse deps of python need run of buildbot-like testing. This will also help to find "upstream" broken packages, one may have an excuse about why breakages happen.
Comment 1 Oleh 2015-12-10 08:24:54 UTC
Created attachment 418918 [details]
build.log
Comment 2 Oleh 2015-12-14 16:03:58 UTC
just in case its a stopper for gnome merge.
Comment 3 Oleh 2015-12-15 08:48:36 UTC
Created attachment 419262 [details]
updated ebuild
Comment 4 rypervenche 2016-01-03 01:02:30 UTC
Created attachment 421706 [details]
build.log of failed emerge

I am also experiencing this issue on libimobiledevice-1.2.0. I have attached my build.log. I can provide any other logs if necessary.
Comment 5 rypervenche 2016-01-04 17:35:30 UTC
This has also begun causing problems with my updates and I am unable to run a system update without excluding many packages. Currently I am having to add the following excludes in order to get my world updates to work, although not completely:

--exclude libimobiledevice --exclude libplist --exclude ifuse --exclude libusbmuxd --exclude gvfs --exclude upower-pm-utils --exclude thunar

Rather messy and I would like to be able to have this fixed correctly, soon if possible. Thank you.^^
Comment 6 Tamas Jantvik 2016-01-12 14:34:02 UTC
As a work-around you can add
app-pda/libimobiledevice -python_targets_python3_3 -python_targets_python3_4 -python_targets_python3_5
to (one of) your package.use file(s).
Comment 7 Toralf Förster gentoo-dev 2016-01-17 10:12:39 UTC
Happened here @ amd64-gnome-unstable_20160110-213500 too.
Comment 8 Mike Gilbert gentoo-dev 2016-01-25 02:21:48 UTC
commit c60e3d690e7a2254893cd21285d62135660c8405
Author: Mike Gilbert <floppym@gentoo.org>
Date:   Sun Jan 24 21:20:15 2016 -0500

    app-pda/libimobiledevice: Override PYTHON_LDFLAGS in src_configure
    
    Works around broken build system.
    
    Bug: https://bugs.gentoo.org/567916
    
    Package-Manager: portage-2.2.27_p49

 app-pda/libimobiledevice/libimobiledevice-1.1.6-r1.ebuild | 9 +++++++--
 app-pda/libimobiledevice/libimobiledevice-1.2.0.ebuild    | 9 +++++++--
 2 files changed, 14 insertions(+), 4 deletions(-)