Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 285315 - sys-cluster/heartbeat-2.0.8 doesn't compile with net-libs/gnutls-2.8.3
Summary: sys-cluster/heartbeat-2.0.8 doesn't compile with net-libs/gnutls-2.8.3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Gentoo Cluster Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 277914
  Show dependency tree
 
Reported: 2009-09-17 13:19 UTC by Marcin Mirosław
Modified: 2010-09-10 18:51 UTC (History)
4 users (show)

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


Attachments
emerge --info (emerge.info-amd64,3.19 KB, text/plain)
2009-09-17 13:20 UTC, Marcin Mirosław
Details
build log (build.log,592.59 KB, text/plain)
2009-09-17 13:20 UTC, Marcin Mirosław
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marcin Mirosław 2009-09-17 13:19:36 UTC
gmake[2]: Entering directory `/var/tmp/portage/sys-cluster/heartbeat-2.0.8/work/heartbeat-2.0.8/membership/quorumd'
if gcc -DHAVE_CONFIG_H -I. -I. -I../../linux-ha -I../../include -I../../include  -I../../include -I../../libltdl  -I../../libltdl -I../../li
nux-ha -I../../linux-ha -I../..          -I../..  -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H  -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include   -I/usr/include/libxml2 -I../../include  -I../../include -I../../libltdl  -I../../libltdl -I../../linux-ha -I
../../linux-ha -I../..          -I../.. `libgnutls-config --cflags` -O2 -pipe -march=native -fomit-frame-pointer  -Wall -Wmissing-prototypes
 -Wmissing-declarations -Wstrict-prototypes -Wdeclaration-after-statement -Wpointer-arith -Wwrite-strings -Wcast-qual -Wcast-align -Wbad-fun
ction-cast -Winline -Wmissing-format-attribute -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing   -ggdb3
 -funsigned-char -MT quorumd-quorumd.o -MD -MP -MF ".deps/quorumd-quorumd.Tpo" -c -o quorumd-quorumd.o `test -f 'quorumd.c' || echo './'`quo
rumd.c; \
        then mv -f ".deps/quorumd-quorumd.Tpo" ".deps/quorumd-quorumd.Po"; else rm -f ".deps/quorumd-quorumd.Tpo"; exit 1; fi
/bin/sh: libgnutls-config: command not found
/bin/sh ../../libtool --tag=CC  --tag=CC --mode=link gcc  -O2 -pipe -march=native -fomit-frame-pointer  -Wall -Wmissing-prototypes -Wmissing
-declarations -Wstrict-prototypes -Wdeclaration-after-statement -Wpointer-arith -Wwrite-strings -Wcast-qual -Wcast-align -Wbad-function-cast
 -Winline -Wmissing-format-attribute -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing   -ggdb3 -funsigne
d-char  -s -Wl,-O1 -o quorumd `libgnutls-config --libs` quorumd-quorumd.o ../../lib/clplumbing/libplumb.la -lglib-2.0   -lbz2 -lz -lxml2 -lc
 -luuid -lrt -ldl  -lltdl
/bin/sh: libgnutls-config: command not found
mkdir .libs
gcc -O2 -pipe -march=native -fomit-frame-pointer -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wdeclaration-after-s
tatement -Wpointer-arith -Wwrite-strings -Wcast-qual -Wcast-align -Wbad-function-cast -Winline -Wmissing-format-attribute -Wformat=2 -Wforma
t-security -Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing -ggdb3 -funsigned-char -s -Wl,-O1 -o .libs/quorumd quorumd-quorumd.o  ../
../lib/clplumbing/.libs/libplumb.so /var/tmp/portage/sys-cluster/heartbeat-2.0.8/work/heartbeat-2.0.8/lib/pils/.libs/libpils.so /usr/lib64/l
ibglib-2.0.so -lbz2 /usr/lib64/libxml2.so -lz -lm -lc -luuid -lrt /usr/lib64/libltdl.so -ldl
quorumd-quorumd.o: In function `initialize_tls_global':

Heartbeat compile clean with gnutls-2.6.6.

Reproducible: Always

Steps to Reproduce:
1.emerge =net-libs/gnutls-2.8.3
2.emerge =sys-cluster/heartbeat-2.0.8
3.

Actual Results:  
Fails to compile.

Expected Results:  
Compile and installs.
Comment 1 Marcin Mirosław 2009-09-17 13:20:08 UTC
Created attachment 204418 [details]
emerge --info
Comment 2 Marcin Mirosław 2009-09-17 13:20:46 UTC
Created attachment 204420 [details]
build log
Comment 3 Christoph Gysin 2009-09-22 08:05:31 UTC
I can confirm this
Comment 4 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2009-09-22 08:36:07 UTC
(In reply to comment #3)
> I can confirm this
> 
Please see bug #285305. Solution is there.
Comment 5 Christoph Gysin 2009-09-22 08:48:04 UTC
I don't see how the bugs are related.

sys-cluster/heartbeat-2.0.8 should DEPEND on =net-libs/gnutls-2.6*
Comment 6 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2009-09-22 09:03:11 UTC
(In reply to comment #5)
> I don't see how the bugs are related.
> 
> sys-cluster/heartbeat-2.0.8 should DEPEND on =net-libs/gnutls-2.6*

See the files attached in bug #285305. There is no 'libgnutls-config' in newer version of gnutls, it's the only problem. 
Comment 7 Alessio Cassibba (X-Drum) 2009-10-14 12:58:29 UTC
(In reply to comment #6)
> 
> See the files attached in bug #285305. There is no 'libgnutls-config' in newer
> version of gnutls, it's the only problem. 
> 

Sure, net-libs/gnutls-2.6.6 fixed the problem with
sys-cluster/heartbeat-2.0.8 on all my nodes, DEPEND should be updated.
Comment 8 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2009-10-14 13:44:37 UTC
(In reply to comment #7)
> 
> Sure, net-libs/gnutls-2.6.6 fixed the problem with
> sys-cluster/heartbeat-2.0.8 on all my nodes, DEPEND should be updated.

No! DEPEND is fine with just net-libs/gnutls and heartbeat-2.0.8 _WORKS_ with net-libs/gnutls-2.8*. The only thing that has to be done (and HAS BEEN DONE in http://bugs.gentoo.org/attachment.cgi?id=204459 ) is to migrate from 'libgnutls-config' to 'pkg-config'. 

Every version of net-libs/gnutls <2.8.2 has some security issues (see #281224) so you should have upgraded gnutls long time ago...
Comment 9 Alessio Cassibba (X-Drum) 2009-10-14 18:52:59 UTC
(In reply to comment #8)
[..]

nice, so to sort up things:

- old gnutls versions prior 2.8.3 are affected by CVE-2009-2730 true,
but they are still present in portage.. ( someone should fix this )

- is possibile to fix libgnutls-config/pkg-config issue in heartbeat-2.0.8

Thanks to your patches (#285305) i was able to fix properly these issues
on all my servers... hope to see all these stuff fixed in portage soon
Comment 10 Marcin Mirosław 2009-11-18 21:37:57 UTC
Now, heartbeat compiles cleanly with gnutls-2.8.{4,5} for me.
Can anybody confirm this?
Comment 11 Marcin Mirosław 2010-02-18 09:53:13 UTC
gnutls-2.8.4, gnutls-2.8.5 are marked as stable. I'm closing this bug.