Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 85750 - Can´t emerge app-crypt/qca-tls-1.0-r2
Summary: Can´t emerge app-crypt/qca-tls-1.0-r2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
: 98351 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-03-18 04:04 UTC by listen
Modified: 2006-11-14 09:59 UTC (History)
3 users (show)

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


Attachments
I have the same problem while emerging qca-1.0-r2 (conf.log,655 bytes, text/x-log)
2006-07-29 02:42 UTC, Henri Magnin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description listen 2005-03-18 04:04:43 UTC
While trying to emerge app-crypt/qca-tls-1.0-r2 I got the following error...

Reproducible: Always
Steps to Reproduce:
1. emerge qca
2.
3.

Actual Results:  
>>> emerge (1 of 2) app-crypt/qca-tls-1.0-r2 to /
>>> md5 src_uri ;-) qca-tls-1.0.tar.bz2
>>> Unpacking source...
>>> Unpacking qca-tls-1.0.tar.bz2 to /var/tmp/portage/qca-tls-1.0-r2/work
 * Applying qca-pathfix.patch ...                                         [ ok ]
>>> Source unpacked.
Configuring qca-tls ...
Verifying Qt 3.x Multithreaded (MT) build environment ... Could not find mkspecs
for your QMAKESPEC after trying:
        /usr/qt/3/mkspecs
        /usr/qt/3/mkspecs
        /usr/qt/3/mkspecs
        /usr/qt/3
        /usr/qt/3
Error processing project file:
/var/tmp/portage/qca-tls-1.0-r2/work/qca-tls-1.0/.qconftemp/conf.pro
fail

There was an error compiling 'conf'.  Be sure you have a proper
Qt 3.x Multithreaded (MT) build environment set up.


!!! ERROR: app-crypt/qca-tls-1.0-r2 failed.
!!! Function src_compile, Line 27, Exitcode 1
!!! configure failed
!!! If you need support, post the topmost build error, NOT this status message.


Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20050125-r0,
2.6.10-gentoo-r6 i686)
=================================================================
System uname: 2.6.10-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 1.80GHz
Gentoo Base System version 1.6.10
Python:              dev-lang/python-2.2.3-r5,dev-lang/python-2.3.5 [2.3.5 (#1,
Feb 18 2005, 10:04:39)]
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.2.3-r5, 2.3.5
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.9.5, 1.7.9-r1, 1.5, 1.6.3, 1.4_p6, 1.8.5-r3
sys-devel/binutils:  2.15.92.0.2-r6
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/
ftp://gentoo.inode.at/source/ http://gentoo.inode.at/
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/"
LANG="de_DE@euro"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aalib acpi alsa apache2 apm arts avi bash-completion berkdb
bitmap-fonts bonobo cdr crypt cups curl dga directfb dvd emboss encode esd
ethereal fam fbcon firebird flac flash font-server foomaticdb fortran gd gdbm
gif gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile imagemagick imlib innodb
ipv6 java joystick jpeg junit kde libg++ libwww madmaildir mbox mcal mikmod mmx
motif mozilla mp3 mpeg mysql ncurses nls oggvorbis opengl oss pam pda pdflib
perl png python qt quicktime readline ruby samba scanner sdl slang slp smime
speex spell sse ssl svga tcltk tcpd tetex tiff truetype truetype-fonts
type1-fonts usb wmf xml xml2 xmms xv zlib linguas_de"
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Jan Jitse Venselaar 2005-03-21 07:08:43 UTC
I have a related error, on x86_64 2005.0 profile

>>> emerge (1 of 2) app-crypt/qca-tls-1.0-r2 to /
>>> md5 src_uri ;-) qca-tls-1.0.tar.bz2
>>> Unpacking source...
>>> Unpacking qca-tls-1.0.tar.bz2 to /var/tmp/portage/qca-tls-1.0-r2/work
 * Applying qca-pathfix.patch ...                                         [ ok ]
>>> Source unpacked.
Configuring qca-tls ...
Verifying Qt 3.x Multithreaded (MT) build environment ... fail

There was an error compiling 'conf'.  Be sure you have a proper
Qt 3.x Multithreaded (MT) build environment set up.

One possible reason is that you don't have
libqt-mt.so.3 installed in /usr/qt/3/lib/.

emerge --info:
Portage 2.0.51.19 (default-linux/amd64/2005.0, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r1, 2.6.11-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.11-gentoo-r4 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.6.10
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Mar 19 2005, 21:34:21)]
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r6
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-march=k8 -O2 -pipe -ftracer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O2 -pipe -ftracer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://pandemonium.tiscali.de/pub/gentoo/"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://192.168.0.2/gentoo-portage"
USE="amd64 X acpi alsa arts artswrappersuid audiofile avi bash-completion berkdb bitmap-fonts bzip2 cdparanoia crypt curl divx4linux dvd dvdread encode fam ffmpeg flac font-server fortran gcj gif gphoto2 gpm imlib java jp2 jpeg kde kdeenablefinal libwww live lm_sensors lzo lzw lzw-tiff mad mmap motif mozilla mp3 mpeg ncurses network nls nptl nvidia oggvorbis opengl oss perl pic png python qt readline rtc sdl ssl tcpd tetex theora tiff truetype truetype-fonts type1-fonts usb userlocales v4l2 xanim xine xml2 xpm xrandr xv xvid xvmc zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL
Comment 2 Mark Carbonaro 2005-03-25 02:51:26 UTC
I had the same problem as Jan Jitse Venselaar where the MT check failed, the work around that I used was to create a symlink...

ln -s /usr/qt/3/lib64 /usr/qt/3/lib

Once this was created qca-tls the configure, compile and install all worked fine.

It seems there is a bug that stops configure looking in lib64 for the correct libraries.  This appears to be a different problem than what was reported in this bug though.
Comment 3 Daniel Black (RETIRED) gentoo-dev 2005-06-21 05:56:55 UTC
is this still a problem? 
Comment 4 Janne Pikkarainen 2005-07-07 00:23:50 UTC
I had this problem for a while, but solution in bug #79489 (removing
qt-embedded) did fix it for me.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2005-07-08 09:25:48 UTC
*** Bug 98351 has been marked as a duplicate of this bug. ***
Comment 6 Thomas Meira Andrade 2005-08-10 21:45:44 UTC
could'nt reproduce, try to check the enviroment and see if all variables are
properly set properly (/etc/env.d/45qt3)

my system
Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r0,
2.6.12-gentoo-r6 i686)
=================================================================
System uname: 2.6.12-gentoo-r6 i686 AMD Athlon(tm) XP 2800+
Gentoo Base System version 1.6.13
ccache version 2.3 [disabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
Comment 7 Henri Magnin 2006-07-29 02:42:39 UTC
Created attachment 92985 [details]
I have the same problem while emerging qca-1.0-r2

LOOK - THE LINKAGE LOADER DOES NOT FIND 2 FUNCTIONS FROM GLIBC_2.3.3
`__pthread_register_cancel@GLIBC_2.3.3'
`__pthread_unregister_cancel@GLIBC_2.3.3'
(from /var/tmp/portage/qca-1.0-r2/work/qca-1.0/conf.log)

---ooOoo---

g++ -c -pipe -Wall -W -march=i686 -O2 -pipe -D_REENTRANT  -DX11_INC='"/usr/X11R6/include"' -DX11_LIBDIR='"/usr/X11R6/lib"' -DX11_LIB='"-lXext -lX11 -lm"' -DCC='"gcc"' -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I/usr/qt/3/include -I/usr/include -o conf.o conf.cpp
g++  -o conf conf.o    -L/usr/qt/3/lib -L/usr/X11R6/lib -lqt-mt -lXext -lX11 -lm -lpthread
/usr/qt/3/lib/libqt-mt.so: undefined reference to `__pthread_register_cancel@GLIBC_2.3.3'
/usr/qt/3/lib/libqt-mt.so: undefined reference to `__pthread_unregister_cancel@GLIBC_2.3.3'
collect2: ld returned 1 exit status
make: *** [conf] Error 1

- HMag -
Comment 8 Henri Magnin 2006-07-30 02:26:20 UTC
Comment on attachment 92985 [details]
I have the same problem while emerging qca-1.0-r2

NOTE (HMag) - I DO NOT have qt-embedded installed, and all the QT configuration variables are OK...
Comment 9 Henri Magnin 2006-07-30 02:47:30 UTC
(In reply to comment #3)
> is this still a problem? 
> 

YES this is still a problem - see my comments #7 (with attached file) and #8.
I also tried the workaround from comment #2, in multiple ways, and I still get the problem. I DO NOT have qt-embedded emerged. I just try to emerge KDE in a brand fresh from-Stage3 Gentoo install that I am preparing manually in a chroot jail...
- HMag -
Comment 10 Sheldon Hearn 2006-09-08 13:30:06 UTC
See bug #146522.
Comment 11 Caleb Tennis (RETIRED) gentoo-dev 2006-09-22 05:54:57 UTC
Re: #7 - it looks like you updated glibc out from behind Qt and it's not happy anymore.  Have you tried re-emerging Qt?
Comment 12 endrazine 2006-10-07 19:28:57 UTC
same compatibility issue (apparently with openssl, see here : http://bugs.gentoo.org/show_bug.cgi?id=146522) with version
app-crypt/qca-tls-1.0-r3
(you might need to #ifdef x86, I can't test it on any other platform :/)

Here comes my patch:

localhost qca-tls-1.0 # diff qca-tls.cpp.old qca-tls.cpp
457c457
<                               r = d2i_RSA_PUBKEY(NULL, (unsigned char **)&p, len);
---
>                               r = d2i_RSA_PUBKEY(NULL, (const unsigned char **) &p, len);
802c802
<               X509 *t = d2i_X509(NULL, &p, len);
---
>               X509 *t = d2i_X509(NULL,(const unsigned char **)  &p, len);
localhost qca-tls-1.0 #


Cheers,

endrazine-

Comment 13 Caleb Tennis (RETIRED) gentoo-dev 2006-11-14 09:59:51 UTC
This bug is a mish of about 5 different issues.  If -r3 doesn't fix your particular  problem, please open a new report.