Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 347261 - dev-libs/libindicate-0.4.4 tries to link against python2.6 while only 2.7 is installed
Summary: dev-libs/libindicate-0.4.4 tries to link against python2.6 while only 2.7 is ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL: https://bugs.launchpad.net/libindicat...
Whiteboard:
Keywords: InOverlay
Depends on:
Blocks:
 
Reported: 2010-11-30 09:04 UTC by Dennis Schridde
Modified: 2010-12-01 11:04 UTC (History)
0 users

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


Attachments
build.log (build.log,27.79 KB, text/plain)
2010-11-30 09:05 UTC, Dennis Schridde
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Schridde 2010-11-30 09:04:48 UTC
From somewhere libindicate finds a "-lpython2.6" which it tries to link against, maybe:
/usr/lib/python2.7/site-packages/indicate/_indicate.la:dependency_libs=' -L/usr/lib64 -L../../libindicate/.libs/ -L../../libindicate-gtk/.libs -L/usr/lib64/qt4 -L/usr/lib -lpyglib-2.0-python2.6 -lpython2.6 -lindicate -lindicate-gtk -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lgio-2.0 -lresolv -lpangocairo-1.0 -lcairo -lpangoft2-1.0 -lpango-1.0 -lpixman-1 -lfontconfig -lpng14 -lxcb-shm -lxcb-render -lXrender -lX11 -lEGL -lQtGui -lQtCore -lxcb -lXau -lXdmcp -lGL -lgmodule-2.0 -lfreetype -lexpat -ldbusmenu-glib -lgobject-2.0 -lxml2 -ldl -lz -lm -ldbus-glib-1 -ldbus-1 -lgthread-2.0 -lglib-2.0 -lpthread -lrt'

This results in a build failure, since python 2.6 is no longer installed.

Reproducible: Always
Comment 1 Dennis Schridde 2010-11-30 09:05:36 UTC
Created attachment 255921 [details]
build.log
Comment 2 Dennis Schridde 2010-12-01 11:04:10 UTC
Fixed in kde overlay by trying to link against the main installed python version detected by configure.ac.

P.S: To properly fix this, configure.ac should not only guess the name of pyglib-2.0-python*, but also verify that this library actually exists. (And bail out early if it doesnt, with a useful error message.) In this sense the above patch is incomplete.