Hi, I am having this Problem on my Opteron: configure: creating ./config.status config.status: creating unix-cc.mk config.status: creating unix-def.mk config.status: creating freetype-config config.status: creating freetype2.pc config.status: creating ftconfig.h FreeType build system -- automatic system detection The following settings are used: platform unix compiler gcc configuration directory ./builds/unix configuration rules ./builds/unix/unix.mk If this does not correspond to your system or settings please remove the file `config.mk' from this directory then read the INSTALL file for help. Otherwise, simply type `make' again to build the library, or `make refdoc' to build the API reference (the latter needs python). make: Nothing to be done for `unix'. config.mk:21: /unix-def.mk: No such file or directory config.mk:22: /unix-cc.mk: No such file or directory make: *** No rule to make target `/unix-cc.mk'. Stop. !!! ERROR: media-libs/freetype-2.1.5-r1 failed. !!! Function src_compile, Line 34, Exitcode 2 !!! (no error message) I think, that this is amd64 specific, but I'm not sure. Johnny Reproducible: Always Steps to Reproduce: 1. emerge freetype 2. 3. Portage 2.0.50-r9 (default-amd64-2004.0, gcc-3.3.3, glibc-2.3.4.20040605-r0, 2.6.7-gentoo-r9) ================================================================= System uname: 2.6.7-gentoo-r9 x86_64 5 Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CFLAGS="-O2" CHOST="x86_64-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control /var/spool/fax/etc" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs buildpkg ccache sanbox" GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/ftp://ftp.ipv6.uni-muenster.de/pub/linux/distributions/gentoo http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://ftp6.uni-erlangen.de/pub/mirrors/gentoo" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acl acpi amd64 apache2 apm arts avi berkdb cdr crypt cscope cups dvd dvdr encode esd fam foomaticdb gd gdbm gif gnome gpm gtk gtk2 imap imlib ipv6 jpeg kde kerberos ldap libg++ libwww maildir mbox memlimit mikmod motif mozilla mpeg multilib mysql ncurses nls nogcj oav obdc oggvorbis opengl oss pam pdflib perl png pnp postgres ppds prelude python qt quicktime readline samba sasl sdl slang slp snmp socks5 spell ssl tcpd tiff truetype usb wmf xml2 xmms xv zlib"
try setting some more amd64 specific CFLAGS (not just O2) Can you give the full output ?
Created attachment 36700 [details] Full emerge output
What CFLAGS would you revcommend? This machine is in a production environment, so I am a bit afraid, about changing cflags. Are there any problems, when I have, for example the libc or another important library, compiled with other cflags than the applications? Johnny
the attachment is not the output, you forgot an 'e' in the command ;) maybe the amd64 team has some suggestions for safe cflags ? The freetype buildscripts are a bit weird and maybe they do not react well to such short cflags, you can just try and expand them a bit for just this ebuild to see if it helps if stability concerns you.
Created attachment 36702 [details] Full emerge output Sorry for not checking the output and wasting your time.
Can't reproduce this. Even with CFLAGS="" emerge freetype. Hans-Christian: Can you please start to emerge this again. Can you check if /var/tmp/portage/freetype-2.1.5-r1/work/freetype-2.1.5/builds/unix/unix-def.mk really doesn't exist ?
Well, freetype merged without problems in the last update, bu I didn't notice that (because it didn't make any trouble). I thought of looking in emerge.log, to find the culprit, but it is fair too big. Sorry for not closing the bug. Johnny