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

Bug 224709

Summary: app-crypt/qca - QMAKESPEC needs to be set
Product: Gentoo Linux Reporter: cucu ionut <cuciferus>
Component: [OLD] UnspecifiedAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Package list:
Runtime testing required: ---

Description cucu ionut 2008-06-03 05:52:15 UTC
buildind qca(1.0-r3) and qca-tls(1.0-r4) will fail with There was an error compiling 'conf'.  Be sure you have a proper
Qt 3.x Multithreaded (MT) build environment set up unless one manually exports QMAKESPEC=linux-g++ before building it

Reproducible: Always

Steps to Reproduce:
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2008-06-03 07:26:29 UTC
Please provide a build log and emerge --info.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2008-06-03 14:51:44 UTC
Also, reopen this bug once you have provided both.
Comment 3 cucu ionut 2008-06-03 15:42:40 UTC
Configuring qca-tls ...
Verifying Qt 3.x Multithreaded (MT) build environment ... QMAKESPEC has not been set, so configuration cannot be deduced.
Error processing project file: /var/tmp/paludis/app-crypt-qca-tls-1.0-r4/work/qca-tls-1.0/.qconftemp/

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

emerge --info:
Portage (default/linux/amd64/2008.0/desktop, gcc-4.2.3, glibc-2.7-r2, 2.6.25-gentoo-r4 x86_64)
System uname: 2.6.25-gentoo-r4 x86_64 AMD Athlon(tm) 64 Processor 3000+
Timestamp of tree: Thu, 29 May 2008 14:30:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r9, 2.5.2-r4
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-devel/autoconf:  2.13, 2.62
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.25-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
CFLAGS="-march=athlon64 -O2 -pipe "
CONFIG_PROTECT="/etc /usr/kde/svn/env /usr/kde/svn/share/config /usr/kde/svn/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -O2 -pipe "
FEATURES="ccache distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
LINGUAS="en_GB ro"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTDIR_OVERLAY="/usr/portage/local/layman/mpd /usr/portage/local/layman/kde /usr/portage/local/layman/enlightenment"
USE="X acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt dbus dri dvd dvdr dvdread emboss encode evo exif fam ffmpeg firefox fluxbox fortran gdbm gif glitz gtk gtk2 hal iconv ipv6 isdnlog jpeg kde kerberos ldap libnotify libsamplerate lm_sensors mad midi mikmod mmx mp3 mpeg mudflap multilib ncurses nls nptl nptlonly nsplugin nvidia offensive ogg opengl openmp pam pcre pdf perl png ppds pppd python qt qt3 qt3support qt4 quicktime readline reflection session spell spl sse sse2 ssl startup-notification svg tcpd tiff truetype unicode vorbis wxwindows xcb xml xorg xv zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB ro" USERLAND="GNU" VIDEO_CARDS="nvidia"
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2008-06-03 16:29:49 UTC
emerge --info isn't really helpful if you don't use sys-apps/portage but paludis. You didn't provide a build log either.
Comment 5 Kristian Niemi 2008-06-04 07:40:28 UTC
This seems like a similar paludis-problem that I encountered (bug 222803) (although with a different env setting).

Insert the following into /etc/paludis/bashrc and it will compile just fine:
export QMAKESPEC="linux-g++"
Comment 6 Churikov Daniil 2008-06-17 11:00:45 UTC
hey, i have the same problebe coz of i migrate from CHOST=i486 to CHOST=i686
try to look at 
and make it proper
Comment 7 cucu ionut 2008-07-22 09:13:12 UTC
apparently it was just a screwed up sudo setting...sorry for the noise
Comment 8 Semi Malinen 2008-11-14 11:52:41 UTC
This worked for me as well: