Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 347696 - dev-python/pysvn-1.7.4 shouldn't try to link against net-libs/neon library
Summary: dev-python/pysvn-1.7.4 shouldn't try to link against net-libs/neon library
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-04 08:03 UTC by Yury Katuar
Modified: 2011-03-09 14:48 UTC (History)
1 user (show)

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


Attachments
build log (build.log,22.05 KB, text/plain)
2010-12-05 06:46 UTC, Yury Katuar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yury Katuar 2010-12-04 08:03:56 UTC
When upgrading to pysvn-1.7.4 I get the following error:

Compile pysvn/_pysvn_2_6.so
i686-pc-linux-gnu-g++ -Wl,-O1 -Wl,--as-needed -shared  -o pysvn/_pysvn_2_6.so pysvn.o pysvn_callbacks.o pysvn_client.o pysvn_static_strings.o pysvn_enum_string.o pysvn_client_cmd_add.o pysvn_client_cmd_changelist.o pysvn_client_cmd_checkin.o pysvn_client_cmd_copy.o pysvn_client_cmd_diff.o pysvn_client_cmd_export.o pysvn_client_cmd_info.o pysvn_client_cmd_list.o pysvn_client_cmd_lock.o pysvn_client_cmd_merge.o pysvn_client_cmd_prop.o pysvn_client_cmd_revprop.o pysvn_client_cmd_switch.o pysvn_transaction.o pysvn_revision.o pysvn_docs.o pysvn_path.o pysvn_arg_processing.o pysvn_converters.o pysvn_svnenv.o pysvn_profile.o cxxsupport.o cxx_extensions.o cxxextensions.o IndirectPythonInterface.o -L/usr/lib -Wl,--rpath -Wl,/usr/lib -lsvn_client-1 -lsvn_diff-1 -lsvn_repos-1 -lcom_err -lresolv -lexpat -lneon -lssl
/usr/lib/gcc/i686-pc-linux-gnu/4.4.5/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lneon
collect2: ld returned 1 exit status
make: *** [pysvn/_pysvn_2_6.so] Error 1

Please add optional dependency on neon to pysvn ebuild.

Reproducible: Always

Steps to Reproduce:
Comment 1 Rafał Mużyło 2010-12-04 15:51:29 UTC
Could you attach build log and config.log of that build, as it seems your problem has a different cause.
Comment 2 Rafał Mużyło 2010-12-05 03:32:13 UTC
...and anyway, now that I *did* look at the sources, it looks more like a case of upstream trying to fix downstream underlinking (probably in neon) by overlinking.
I'm not 100% sure, but it seems that most, if not all of the non-svn libs mentioned in Source/setup_configure.py fall into that category.
Comment 3 Yury Katuar 2010-12-05 06:46:56 UTC
Created attachment 256366 [details]
build log
Comment 4 Yury Katuar 2010-12-05 06:57:37 UTC
Done with build.log, but where can I get config.log? I've tried to suspend emerge process after configure stage and search for it, but no luck:

/var/tmp/portage/dev-python/pysvn-1.7.4/  find -name "*config*"   
./work/pysvn-1.7.4-2.6/Source/setup_configure.py
./work/pysvn-1.7.4-3.1/Source/setup_configure.py
./work/pysvn-1.7.4/Source/setup_configure.py
./.configured

Also, emerging net-libs/neon definitely solves the problem.
Comment 5 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2011-03-09 14:48:11 UTC
http://pysvn.tigris.org/source/browse/pysvn?view=rev&revision=1349
I'm assuming that this bug is fixed in dev-python/pysvn-1.7.5.