Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 118580 - app-doc/doxygen-1.4.4 fails to compile on amd64
Summary: app-doc/doxygen-1.4.4 fails to compile on amd64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Development Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-10 14:25 UTC by Gustav Schaffter
Modified: 2006-02-08 00:49 UTC (History)
1 user (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 Gustav Schaffter 2006-01-10 14:25:35 UTC
# emerge -puvD world

These are the packages that I would merge, in order:

Calculating world dependencies ...done!
[ebuild     U ] app-doc/doxygen-1.4.4 [1.4.2] -doc +qt +tetex* -unicode 0 kB


# emerge app-doc/doxygen
.
.
.
>>> Unpacking doxygen-1.4.4.src.tar.gz to /var/tmp/portage/doxygen-1.4.4/work
 * Applying doxygen-1.4.3-cp1251.patch ...                                [ ok ]
 * Applying doxygen-1.4.4-darwin.patch ...                                [ ok ]
>>> Source unpacked.
  Autodetected platform linux-g++...
  Detected Qt via the QTDIR environment variable...
                    QTDIR is set to /usr/qt/3, but library directory /usr/qt/3/l ib does not exist!

!!! ERROR: app-doc/doxygen-1.4.4 failed.
!!! Function src_compile, Line 49, Exitcode 2
!!! "./configure" failed.
!!! If you need support, post the topmost build error, NOT this status message.


Well, the directory
/usr/qt/3/lib
does not exist, that's true.

But, the directory
/usr/qt/3/lib64
does exist, which seems reasonable to me.

I wonder if this is related to doxygen having been better tested against x86 than against amd64, or if there is something wrong in my box.


And, of course, the required:

# emerge info
Portage 2.0.53 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.14-gentoo-r5-embla x86_64)
=================================================================
System uname: 2.6.14-gentoo-r5-embla x86_64 AMD Athlon(tm) 64 Processor 4000+
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
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.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -pipe"
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/lib64/mozilla/defaults/pref /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="-O2 -march=athlon64 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sfperms strict"
GENTOO_MIRRORS=" http://mir1.ovh.net/gentoo-distfiles http://mirror.switch.ch/mirror/gentoo/ http://gentoo.oregonstate.edu http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo/ "
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://gentoo-portage.yggdrasil.home/gentoo-portage"
USE="amd64 X acpi alsa apache2 audiofile avi berkdb bitmap-fonts bzip2 cdr crypt cups curl dbus dvd dvdr eds emacs emboss encode esd exif expat fam foomaticdb fortran gd gdbm gif glut gnome gpm gstreamer gtk gtk2 hal idn imagemagick imlib ipv6 java jpeg junit kde lcms libwww lzw lzw-tiff mad mbox mhash mikmod mng mozcalendar mozilla mp3 mpeg ncurses new-login nls nptl nsplugin nvidia ogg opengl oss pam pcre pdflib perl plugin png ppds python qt quicktime readline recode scanner sdl spell ssl tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts udev usb userlocales vorbis wmf xine xml xml2 xmms xpm xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY



Yours truly
Biker
Comment 1 Steve Arnold archtester gentoo-dev 2006-01-17 23:27:11 UTC
Workaround for QT3 library paths now in all versions.  Should be fine now...
Comment 2 J. Ryan Earl 2006-02-03 09:12:27 UTC
This is still failing to build for me.  This is not resolved.

>>> emerge (1 of 8) app-doc/doxygen-1.4.4 to /
>>> md5 files   ;-) doxygen-1.4.5.ebuild
>>> md5 files   ;-) doxygen-1.4.3-r1.ebuild
>>> md5 files   ;-) doxygen-1.4.2.ebuild
>>> md5 files   ;-) doxygen-1.4.4.ebuild
>>> md5 files   ;-) doxygen-1.4.6.ebuild
>>> md5 files   ;-) files/doxygen-1.4.3-cp1251.patch
>>> md5 files   ;-) files/doxygen-1.4.4-darwin.patch
>>> md5 files   ;-) files/digest-doxygen-1.4.2
>>> md5 files   ;-) files/digest-doxygen-1.4.4
>>> md5 files   ;-) files/digest-doxygen-1.4.5
>>> md5 files   ;-) files/digest-doxygen-1.4.6
>>> md5 files   ;-) files/doxygen-gcc4.patch
>>> md5 files   ;-) files/bsd-configure.patch
>>> md5 files   ;-) files/doxygen-1.4.3-nls.patch
>>> md5 files   ;-) files/digest-doxygen-1.4.3-r1
>>> md5 src_uri ;-) doxygen-1.4.4.src.tar.gz
>>> Unpacking source...
>>> Unpacking doxygen-1.4.4.src.tar.gz to /var/tmp/portage/doxygen-1.4.4/work
 * Applying doxygen-1.4.3-cp1251.patch ...                                                          [ ok ]
 * Applying doxygen-1.4.4-darwin.patch ...                                                          [ ok ]
>>> Source unpacked.
  Autodetected platform linux-g++...
  Detected Qt via the QTDIR environment variable...
                    QTDIR is set to /usr/qt/3, but library directory /usr/qt/3/lib does not exist!

!!! ERROR: app-doc/doxygen-1.4.4 failed.
!!! Function src_compile, Line 54, Exitcode 2
!!! "./configure" failed.
!!! If you need support, post the topmost build error, NOT this status message.


How do I need to do to fix this?
Comment 3 Steve Arnold archtester gentoo-dev 2006-02-08 00:49:54 UTC
>>> Compiling source in /var/tmp/portage/doxygen-1.4.4/work/doxygen-1.4.4 ...
 * using QT version: '3'.
 * using QTDIR: '/usr/qt/3'.
 * using QT LIBRARY_PATH: '/usr/qt/3/lib64:'.
 * using QT LD_LIBRARY_PATH: '/usr/qt/3/lib64:'.
  Autodetected platform linux-g++... 
  Detected Qt via the QTDIR environment variable...
                     headers /usr/qt/3/include,
                     libraries /usr/qt/3/lib


Obviously the detection stuff doesn't, but forcing it appears to work on amd64.  The QT environment stuff (ie, in /etc/env.d) should probably be setting a few more variables, but this should work for now.