| Summary: | kde-base/kdepim-3.5.9-r2: fails to compile with undefined symbol gn_cfg_read because symbol is no longer present in app-mobilephone/gnokii-0.6.26-r1 | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Robin Johnson <robbat2> |
| Component: | [OLD] KDE | Assignee: | Gentoo KDE team <kde> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | major | CC: | ansla80 |
| Priority: | High | ||
| Version: | 2007.0 | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
kdepim-3.5.9-no-libintl.patch
kdepim-3.5.9-r2.ebuild.patch kdepim-3.5.9-no-libintl.patch |
||
|
Description
Robin Johnson
2008-06-07 02:28:19 UTC
Did you actually check the config.log that this is the problem? In my config.log I found: configure:35255: checking for gn_cfg_get in -lgnokii configure:35290: x86_64-pc-linux-gnu-gcc -o conftest -std=iso9899:1990 -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strin gs -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DNDEBUG -O2 -march=athlon64 -ggdb -O2 -pipe -Wformat-security -Wmissing-format-attribute -DQT_THREAD_SUPPORT -D_REEN TRANT -Wl,-O1,--enable-new-dtags,--sort-common,-z,combreloc,--as-needed conftest.c -lgnokii -L/usr/kde/3.5/lib64 -L/usr/qt/3/lib64 -L/usr/lib64 -lintl -lX pm -lX11 >&5 /usr/lib/gcc/x86_64-pc-linux-gnu/4.2.4/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lintl collect2: ld returned 1 exit status After removing -lintl from config.in.in the test for gnokii succeeded (didn't try yet to build the package with this patch. I will attach the patch latter if it will work. Created attachment 155839 [details, diff]
kdepim-3.5.9-no-libintl.patch
Patch for configure.in.in to remove -lintl from the commandline used to check for gnokii
Created attachment 155843 [details, diff]
kdepim-3.5.9-r2.ebuild.patch
Patch for the ebuild to apply the previous patch and rebuild the configure script.
Patch works for me. The kmobile code DOES use the gn_cfg_read symbol as well.
./kmobile/devices/gnokii/gnokii_mobile.cpp:217: if (gn_cfg_read(&BinDir)<0 || !gn_cfg_phone_load("", &state))
./kaddressbook/xxport/gnokii_xxport.cpp:822: if (gn_cfg_read(&BinDir)<0)
Actually it's not used. kmobile is some dead code still lying around in kdepim, see http://lists.kde.org/?l=kde-pim&m=114616294018895&w=2 while in kaddressbook if you follow the #ifdefs you will see that the code in line 822 is just some legacy code that is not used if the gnokii installed on the system is newer then 0.6.13 (see line 111 for the beginning of that #ifdef) ansla80: possible to turn off kmobile in kdepim then? (In reply to comment #7) > ansla80: possible to turn off kmobile in kdepim then? > first line in ./kmobile/configure.in.in: DO_NOT_COMPILE="$DO_NOT_COMPILE kmobile" It's allready disabled by default. kde team: can we do this in the tree please? Created attachment 167562 [details, diff]
kdepim-3.5.9-no-libintl.patch
Fix the patch to use relative paths as the old one did not apply with portage 2.2
We don't support for monolithic ebuilds any more. This gnokii problem is fixed in monolithic kaddressbook. *** This bug has been marked as a duplicate of bug 234905 *** |