Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 410879 - kde-base/kdm-4.8.2 and kdm-4.8.1 fail to build with USE="kerberos"
Summary: kde-base/kdm-4.8.2 and kdm-4.8.1 fail to build with USE="kerberos"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: underlinking
  Show dependency tree
 
Reported: 2012-04-05 12:58 UTC by Jack Hill
Modified: 2012-04-12 08:03 UTC (History)
1 user (show)

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


Attachments
emerge --info (emerge-info,5.09 KB, text/plain)
2012-04-05 13:00 UTC, Jack Hill
Details
emerge -pqv (emerge-pqv,94 bytes, text/plain)
2012-04-05 13:01 UTC, Jack Hill
Details
build log (build.log,30.42 KB, text/x-log)
2012-04-05 13:01 UTC, Jack Hill
Details
kdm-4.8.2-gold.patch (kdm-4.8.2-gold.patch,1.20 KB, patch)
2012-04-10 14:12 UTC, Michael Palimaka (kensington)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jack Hill 2012-04-05 12:58:51 UTC
Building kde-base/kdm-4.8.1 or 4.8.2 with the kerberos use flag set results in a failed build with the error: /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/kdm.dir/krb5auth.o: in function krb5Init:krb5auth.c(.text+0x3fc): error: undefined reference to 'error_message'

I tried building against app-crypt/mit-krb5-1.9.2-rt and 1.10.1-r1

Reproducible: Always
Comment 1 Jack Hill 2012-04-05 13:00:08 UTC
Created attachment 307889 [details]
emerge --info
Comment 2 Jack Hill 2012-04-05 13:01:02 UTC
Created attachment 307891 [details]
emerge -pqv
Comment 3 Jack Hill 2012-04-05 13:01:43 UTC
Created attachment 307893 [details]
build log
Comment 4 Michael Palimaka (kensington) gentoo-dev 2012-04-05 13:05:24 UTC
Looks like underlinking - I was able to compile successfully after manually adding -lcom_err to target_link_libraries( kdm ), and mit-krb5 depends on e2fsprogs-libs.
Comment 5 Michael Palimaka (kensington) gentoo-dev 2012-04-05 15:39:02 UTC
I have filed a review request[1] on a patch to fix this bug.

[1] https://git.reviewboard.kde.org/r/104492/
Comment 6 Michael Palimaka (kensington) gentoo-dev 2012-04-07 17:30:03 UTC
Patch has now been marked "ship it" by upstream.
Comment 7 Michael Palimaka (kensington) gentoo-dev 2012-04-10 14:12:08 UTC
Created attachment 308399 [details, diff]
kdm-4.8.2-gold.patch

Patch has now been merged in upstream git, thanks to tampakrap.

Also attached, in case KDE team wants to include it in the tree.
Comment 8 Johannes Huber (RETIRED) gentoo-dev 2012-04-12 08:03:01 UTC
Thank you all.

+  12 Apr 2012; Johannes Huber <johu@gentoo.org> +files/kdm-4.8.2-gold.patch,
+  kdm-4.8.1.ebuild, kdm-4.8.2.ebuild:
+  Add patch to build with gold linker and kerberos use flag by Michael
+  (kensington) <gentoo@scribeofthenile.com>. Fixes bug #410879.