Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 582752

Summary: dev-libs/iksemel-1.4: FTBS with >=net-libs/gnutls-3.4.0
Product: Gentoo Linux Reporter: Timo Gurr (RETIRED) <tgurr>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal CC: atoth, candrews, dan, mark+gentoobugs
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 546124    
Attachments: emerge-info.txt
dev-libs:iksemel-1.4:20160512-145013.log
emerge-history.txt
environment
patch from Debian that fixes this and another issue

Description Timo Gurr (RETIRED) gentoo-dev 2016-05-11 12:52:09 UTC
[...]
libtool: link: x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wall -Wl,-O1 -o .libs/iksperf iksperf.o perf.o  -Wl,--as-needed ../src/.libs/libiksemel.so -lgnutls
libtool: link: x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wall -Wl,-O1 -o .libs/iksroster iksroster.o  -Wl,--as-needed ../src/.libs/libiksemel.so -lgnutls
libtool: link: x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wall -Wl,-O1 -o .libs/ikslint ikslint.o hash.o  -Wl,--as-needed ../src/.libs/libiksemel.so -lgnutls
../src/.libs/libiksemel.so: undefined reference to `gnutls_mac_set_priority'
../src/.libs/libiksemel.so: undefined reference to `gnutls_protocol_set_priority'
../src/.libs/libiksemel.so: undefined reference to `gnutls_kx_set_priority'
../src/.libs/libiksemel.so: undefined reference to `gnutls_cipher_set_priority'
../src/.libs/libiksemel.so: undefined reference to `gnutls_compression_set_priority'
collect2: error: ld returned 1 exit status
[...]

Upstream bug: https://github.com/meduketto/iksemel/issues/45
Debian bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=782820
Comment 1 Toralf Förster gentoo-dev 2016-05-12 14:54:42 UTC
Created attachment 434080 [details]
emerge-info.txt

/bin/sh ../libtool  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc  -march=native -O2 -pipe -Wall  -Wl,-O1 -Wl,--as-needed -o ikslint ikslint.o hash.o ../src/libiksemel.la 
libtool: link: x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wall -Wl,-O1 -o .libs/ikslint ikslint.o hash.o  -Wl,--as-needed ../src/.libs/libiksemel.so -lgnutls
../src/.libs/libiksemel.so: undefined reference to `gnutls_mac_set_priority'
Comment 2 Toralf Förster gentoo-dev 2016-05-12 14:54:44 UTC
Created attachment 434082 [details]
dev-libs:iksemel-1.4:20160512-145013.log
Comment 3 Toralf Förster gentoo-dev 2016-05-12 14:54:47 UTC
Created attachment 434084 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2016-05-12 14:54:49 UTC
Created attachment 434086 [details]
environment
Comment 5 Daniel Kenzelmann 2016-05-14 07:39:44 UTC
Created attachment 434246 [details, diff]
patch from Debian that fixes this and another issue

Attached the patch from the debian bug mentioned above:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=782820
Comment 6 Attila Tóth 2016-05-17 16:09:11 UTC
(In reply to Daniel Kenzelmann from comment #5)
> Created attachment 434246 [details, diff] [details, diff]
> patch from Debian that fixes this and another issue
> 
> Attached the patch from the debian bug mentioned above:
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=782820

Patch works. Thx: Dw.
Comment 7 Craig Andrews gentoo-dev 2016-05-30 23:34:38 UTC
Pull request: https://github.com/gentoo/gentoo/pull/1561
Comment 8 Patrice Clement gentoo-dev 2016-06-02 08:44:35 UTC
commit 387383da9a6b936e4f1b2eedf78049a68e5bf7c6 (HEAD -> master)
Author:     Craig Andrews <candrews@integralblue.com>
AuthorDate: Mon May 30 18:16:54 2016 -0400
Commit:     Patrice Clement <monsieurp@gentoo.org>
CommitDate: Thu Jun 2 08:16:24 2016 +0000

dev-libs/iksemel: Fix building with >=net-libs/gnutls-3.4.0

Package-Manager: portage-2.3.0_rc1
Gentoo-Bug: https://bugs.gentoo.org/582752
Closes: https://github.com/gentoo/gentoo/pull/1561

Signed-off-by: Patrice Clement <monsieurp@gentoo.org>

dev-libs/iksemel/files/iksemel-1.4-gnutls-3.4.patch | 38 ++++++++++++++++++++++++++++++++++++++
dev-libs/iksemel/iksemel-1.4.ebuild                 |  3 ++-
2 files changed, 40 insertions(+), 1 deletion(-)
create mode 100644 dev-libs/iksemel/files/iksemel-1.4-gnutls-3.4.patch