Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 244685 - app-crypt/qca-ossl-2.0.0_beta3 fails to compile
Summary: app-crypt/qca-ossl-2.0.0_beta3 fails to compile
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-27 21:00 UTC by Christophe LEFEBVRE
Modified: 2008-11-16 04:30 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,2.07 KB, text/plain)
2008-10-27 21:01 UTC, Christophe LEFEBVRE
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christophe LEFEBVRE 2008-10-27 21:00:01 UTC
I have discovered this bug when I try to do an "emerge kde-meta:4.1" because "qca-ossl" is the first package to be emerged.
It seems qca-ossl needs the qmake tools for QT 4.

Reproducible: Always

Steps to Reproduce:
1. Uninstall version of qt > 4
2. emerge qca-ossl


Actual Results:  
Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) app-crypt/qca-ossl-2.0.0_beta3
 * qca-ossl-2.0.0-beta3.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...          [ ok ]
 * checking ebuild checksums ;-) ...                                     [ ok ]
 * checking auxfile checksums ;-) ...                                    [ ok ]
 * checking miscfile checksums ;-) ...                                   [ ok ]
>>> Unpacking source...
>>> Unpacking qca-ossl-2.0.0-beta3.tar.bz2 to /var/tmp/portage/app-crypt/qca-ossl-2.0.0_beta3/work
 * Applying qca-ossl-openssl-0.9.8i.patch ...                                                                                            [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/app-crypt/qca-ossl-2.0.0_beta3/work/qca-ossl-2.0.0-beta3 ...
Configuring qca-ossl ...
Verifying Qt 4 build environment ... fail

Reason: Unable to find the 'qmake' tool for Qt 4.

Be sure you have a proper Qt 4.0 build environment set up.  This means not
just Qt, but also a C++ compiler, a make tool, and any other packages
necessary for compiling C++ programs.

If you are certain everything is installed, then it could be that Qt 4 is not
being recognized or that a different version of Qt is being detected by
mistake (for example, this could happen if $QTDIR is pointing to a Qt 3
installation).  At least one of the following conditions must be satisfied:

 1) --qtdir is set to the location of Qt
 2) $QTDIR is set to the location of Qt
 3) QtCore is in the pkg-config database
 4) qmake is in the $PATH

This script will use the first one it finds to be true, checked in the above
order.  #3 and #4 are the recommended options.  #1 and #2 are mainly for
overriding the system configuration.

 *
 * ERROR: app-crypt/qca-ossl-2.0.0_beta3 failed.
 * Call stack:
 * ebuild.sh, line   49:  Called src_compile
 * environment, line 2626:  Called die
 * The specific snippet of code:
 * ./configure --qtdir=/usr $(use debug && echo "--debug" || echo "--release") --no-separate-debug-info || die "configure failed";
 * The die message:
 * configure failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/app-crypt/qca-ossl-2.0.0_beta3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-crypt/qca-ossl-2.0.0_beta3/temp/environment'.
 *

>>> Failed to emerge app-crypt/qca-ossl-2.0.0_beta3, Log file:

>>>  '/var/tmp/portage/app-crypt/qca-ossl-2.0.0_beta3/temp/build.log'

 * Messages for package app-crypt/qca-ossl-2.0.0_beta3:

 *
 * ERROR: app-crypt/qca-ossl-2.0.0_beta3 failed.
 * Call stack:
 * ebuild.sh, line   49:  Called src_compile
 * environment, line 2626:  Called die
 * The specific snippet of code:
 * ./configure --qtdir=/usr $(use debug && echo "--debug" || echo "--release") --no-separate-debug-info || die "configure failed";
 * The die message:
 * configure failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/app-crypt/qca-ossl-2.0.0_beta3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-crypt/qca-ossl-2.0.0_beta3/temp/environment'.
 *

 * GNU info directory index is up-to-date.



Maybe the ebuild need a dependy with qt > 4 or qt-core > 4 ?

Expected Results:  
qca-ossl installation successfull

Portage 2.2_rc12 (default/linux/x86/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r8 i686)
=================================================================
System uname: Linux-2.6.25-gentoo-r8-i686-Intel-R-_Pentium-R-_4_Mobile_CPU_1.90GHz-with-glibc2.0
Timestamp of tree: Sun, 26 Oct 2008 16:18:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r14, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.4.7-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer -mfpmath=sse"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.0/env /usr/kde/4.0/share/config /usr/kde/4.0/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer -mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ "
LANG="fr_FR.UTF-8"
LC_ALL="fr_FR@euro"
LDFLAGS="-Wl,-O1"
LINGUAS="fr"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acl acpi alsa apm arts avahi bash-completion berkdb bluetooth branding bzip2 cairo cdr cli cracklib crciprec crypt cups dbus dri dts dvd dvdr dvdread eds emboss encode esd evo fam fbcondecor firefox fortran fr freebox gdbm gif gpm gstreamer gtk hal hibernate-script iconv isdnlog java jpeg kde kdeprefix kerberos lcd ldap libnotify lm_sensors mad madwifi maps mdnsresponder-compat midi mikmod mmx mp3 mpeg msn mudflap ncurses nls nptl nptlonly nsplugin odk offensive ogg opengl openmp pam pcre pdf perl pmu png ppds pppd python qt3 qt3support qt4 quicktime readline reflection sdl session spell spl sqlite sse sse2 ssl startup-notification subversion svg symlink sysfs tcpd themes tiff truetype tv_check tv_combiner tv_pick_cgi unicode usb vim-syntax vorbis webinterface win32codecs x86 xml xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="canon" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Christophe LEFEBVRE 2008-10-27 21:01:25 UTC
Created attachment 170034 [details]
build.log
Comment 2 Christophe LEFEBVRE 2008-10-27 21:04:16 UTC
Comment on attachment 170034 [details]
build.log

Maybe the ebuild need a dependy with qt > 4 or qt-core > 4 ?
Comment 3 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2008-11-16 04:30:40 UTC
As you can see in the qca-ossl ebuild, it has the following dep:

DEPEND=">=app-crypt/qca-${QCA_VER}"

If you look in the qca ebuild you'll notice it has the following dep:

DEPEND="|| ( x11-libs/qt-core:4
                >=x11-libs/qt-4.2.0:4 )"

So the deps are there.