Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 525324 - app-doc/doxygen-1.8.5 fails to build with qt4 in configuration stage due to missing QTDIR
Summary: app-doc/doxygen-1.8.5 fails to build with qt4 in configuration stage due to m...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-13 19:00 UTC by Marko Vendelin
Modified: 2017-12-15 02:09 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marko Vendelin 2014-10-13 19:00:11 UTC
I am failing to build app-doc/doxygen-1.8.5 in Prefix environment running in Gentoo/Linux host. Error is in configuration stage:

>>> Emerging (1 of 1) app-doc/doxygen-1.8.5::gentoo_prefix
 * doxygen-1.8.5.src.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                      [ ok ]
 * doxywizard.png SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                                [ ok ]
>>> Unpacking source...
>>> Unpacking doxygen-1.8.5.src.tar.gz to /shared/envs/sysbio/gentoo/var/tmp/portage/app-doc/doxygen-1.8.5/work
>>> Unpacking doxywizard.png to /shared/envs/sysbio/gentoo/var/tmp/portage/app-doc/doxygen-1.8.5/work
unpack doxywizard.png: file format not recognized. Ignoring.
>>> Source unpacked in /shared/envs/sysbio/gentoo/var/tmp/portage/app-doc/doxygen-1.8.5/work
>>> Preparing source in /shared/envs/sysbio/gentoo/var/tmp/portage/app-doc/doxygen-1.8.5/work/doxygen-1.8.5 ...
 * Applying doxygen-1.8.1-prefix-misc-alt.patch ...                                                                                                                   [ ok ]
 * Applying doxygen-1.8.3.1-empty-line-sigsegv.patch ...                                                                                                              [ ok ]
>>> Source prepared.
>>> Configuring source in /shared/envs/sysbio/gentoo/var/tmp/portage/app-doc/doxygen-1.8.5/work/doxygen-1.8.5 ...
 * Running qmake ...
 *  - fixed CONFIG in doxywizard.pro                                                                                                                                  [ ok ]
  Autodetected platform linux-g++... 
  QTDIR environment variable not set!
  Checking for Qt...QTDIR not set and Qt not found at standard locations!

Set the QTDIR environment variable such that $QTDIR/bin/qmake exists.
check the Qt installation instructions!
 * ERROR: app-doc/doxygen-1.8.5::gentoo_prefix failed (configure phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  93:  Called __call-ebuildshell 'src_configure'
 *   environment, line 217:  Called src_configure
 *   environment, line 3417:  Called die
 * The specific snippet of code:
 *       ./configure --prefix "${EPREFIX}/usr" ${my_conf} || die
 * 
 * If you need support, post the output of `emerge --info '=app-doc/doxygen-1.8.5::gentoo_prefix'`,
 * the complete build log and the output of `emerge -pqv '=app-doc/doxygen-1.8.5::gentoo_prefix'`.
 * The complete build log is located at '/shared/envs/sysbio/gentoo/var/tmp/portage/app-doc/doxygen-1.8.5/temp/build.log'.
 * The ebuild environment file is located at '/shared/envs/sysbio/gentoo/var/tmp/portage/app-doc/doxygen-1.8.5/temp/environment'.
 * Working directory: '/shared/envs/sysbio/gentoo/var/tmp/portage/app-doc/doxygen-1.8.5/work/doxygen-1.8.5'
 * S: '/shared/envs/sysbio/gentoo/var/tmp/portage/app-doc/doxygen-1.8.5/work/doxygen-1.8.5'


Reproducible: Always

Steps to Reproduce:
1. emerge doxygen with qt4 flag set

Actual Results:  
failed

Expected Results:  
compiled

emerge --info

Portage 2.2.14_rc1-prefix (python 2.7.6-final-0, prefix/linux/amd64, gcc-4.7.3, unavailable, 3.14.14-gentoo x86_64)
=================================================================
System uname: Linux-3.14.14-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E5-2650_v2_@_2.60GHz-with-gentoo-2.2
KiB Mem:   264653840 total,  32992988 free
KiB Swap:    8000360 total,   7956864 free
Timestamp of tree: Sun, 05 Oct 2014 09:07:36 +0000
ld GNU ld (GNU Binutils) 2.24
app-shells/bash:          4.2_p52
dev-lang/python:          2.7.6-r1
dev-util/cmake:           3.0.2
dev-util/pkgconfig:       0.28-r2
sys-devel/autoconf:       2.69
sys-devel/automake:       1.11.6, 1.14
sys-devel/binutils:       2.24-r2
sys-devel/gcc:            4.7.3-r1
sys-devel/gcc-config:     1.8-r00.1
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.16 (virtual/os-headers)
Repositories: gentoo_prefix science ioc-science
ACCEPT_KEYWORDS="~amd64-linux"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -O2 -march=native -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -O2 -march=native -pipe"
DISTDIR="/shared/envs/sysbio/gentoo/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles force-prefix merge-sync news parallel-fetch preserve-libs protect-owned sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j16"
PKGDIR="/shared/envs/sysbio/gentoo/usr/portage/packages"
PORTAGE_CONFIGROOT="/shared/envs/sysbio/gentoo/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/shared/envs/sysbio/gentoo/var/tmp"
PORTDIR="/shared/envs/sysbio/gentoo/usr/portage"
PORTDIR_OVERLAY="/shared/envs/sysbio/gentoo/var/lib/layman/science /shared/envs/sysbio/gentoo/var/lib/layman/ioc-sysbio"
USE="X amd64 berkdb bzip2 cli cracklib crypt cxx dri fortran gdbm iconv ipv6 mmx modules ncurses nls nptl openmp pcre prefix readline session sse sse2 ssl tcpd tiff unicode zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="intel i915 i965" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
USE_PYTHON="2.7"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC
Comment 1 Matthias Maier gentoo-dev 2015-01-21 15:28:34 UTC
Please test version 1.8.9.1
Comment 2 Marko Vendelin 2015-01-21 18:48:13 UTC
The problem persists:

>>> Emerging (1 of 1) app-doc/doxygen-1.8.9.1::gentoo_prefix
>>> Downloading 'http://ftp.stack.nl/pub/users/dimitri/doxygen-1.8.9.1.src.tar.gz'
--2015-01-21 20:43:19--  http://ftp.stack.nl/pub/users/dimitri/doxygen-1.8.9.1.src.tar.gz
Resolving ftp.stack.nl... 131.155.140.135, 2001:610:1108:5010::135
Connecting to ftp.stack.nl|131.155.140.135|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5007458 (4.8M) [application/octet-stream]
Saving to: ‘/shared/envs/sysbio/gentoo/usr/portage/distfiles/doxygen-1.8.9.1.src.tar.gz’

/shared/envs/sysbio 100%[=====================>]   4.78M  5.48MB/s   in 0.9s   

2015-01-21 20:43:20 (5.48 MB/s) - ‘/shared/envs/sysbio/gentoo/usr/portage/distfiles/doxygen-1.8.9.1.src.tar.gz’ saved [5007458/5007458]

 * doxygen-1.8.9.1.src.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                    [ ok ]
 * doxywizard.png SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                                [ ok ]
>>> Unpacking source...
>>> Unpacking doxygen-1.8.9.1.src.tar.gz to /shared/envs/sysbio/gentoo/var/tmp/portage/app-doc/doxygen-1.8.9.1/work
>>> Unpacking doxywizard.png to /shared/envs/sysbio/gentoo/var/tmp/portage/app-doc/doxygen-1.8.9.1/work
unpack doxywizard.png: file format not recognized. Ignoring.
>>> Source unpacked in /shared/envs/sysbio/gentoo/var/tmp/portage/app-doc/doxygen-1.8.9.1/work
>>> Preparing source in /shared/envs/sysbio/gentoo/var/tmp/portage/app-doc/doxygen-1.8.9.1/work/doxygen-1.8.9.1 ...
 * Applying doxygen-1.8.1-prefix-misc-alt.patch ...                                                                                                                   [ ok ]
 * Applying doxygen-1.8.9.1-empty-line-sigsegv.patch ...                                                                                                              [ ok ]
>>> Source prepared.
>>> Configuring source in /shared/envs/sysbio/gentoo/var/tmp/portage/app-doc/doxygen-1.8.9.1/work/doxygen-1.8.9.1 ...
  Autodetected platform linux-g++... 
  QTDIR environment variable not set!
  Checking for Qt...QTDIR not set and Qt not found at standard locations!

Set the QTDIR environment variable such that $QTDIR/bin/qmake exists.
check the Qt installation instructions!

 * ERROR: app-doc/doxygen-1.8.9.1::gentoo_prefix failed (configure phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  93:  Called __call-ebuildshell 'src_configure'
 *   environment, line 226:  Called src_configure
 *   environment, line 3609:  Called die
 * The specific snippet of code:
 *       ./configure --prefix "${EPREFIX}/usr" ${my_conf} || die;
 * 
 * If you need support, post the output of `emerge --info '=app-doc/doxygen-1.8.9.1::gentoo_prefix'`,
 * the complete build log and the output of `emerge -pqv '=app-doc/doxygen-1.8.9.1::gentoo_prefix'`.
 * The complete build log is located at '/shared/envs/sysbio/gentoo/var/tmp/portage/app-doc/doxygen-1.8.9.1/temp/build.log'.
 * The ebuild environment file is located at '/shared/envs/sysbio/gentoo/var/tmp/portage/app-doc/doxygen-1.8.9.1/temp/environment'.
 * Working directory: '/shared/envs/sysbio/gentoo/var/tmp/portage/app-doc/doxygen-1.8.9.1/work/doxygen-1.8.9.1'
 * S: '/shared/envs/sysbio/gentoo/var/tmp/portage/app-doc/doxygen-1.8.9.1/work/doxygen-1.8.9.1'



Command which qmake 
/shared/envs/sysbio/gentoo/usr/bin/qmake

Marko
Comment 3 Felix Büttner 2015-02-12 22:26:40 UTC
I can confirm that it does not work with 1.8.9.1 either. I get the following error:

ERROR Detected Qt via the QTDIR environment variable..., but /usr/share/qt4/bin/qmake does not exist.


Indeed, qmake is at /usr/bin, but it seems odd to set QTDIR to /. Or this this what we should do?
Comment 4 Felix Büttner 2015-05-20 17:41:23 UTC
Since this bug is still open, here a workaround that worked for me:

   QTDIR=/usr emerge doxygen
Comment 5 Matthias Maier gentoo-dev 2015-10-23 15:35:13 UTC
I still cannot reproduce with 1.8.9.1, or 1.8.10-r1
Comment 6 Matthias Maier gentoo-dev 2016-02-28 02:32:39 UTC
I do not have a prefix environment any more to test, or fix this.
Comment 7 Matthias Maier gentoo-dev 2017-12-15 02:09:02 UTC
qt4 is no more.