Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 262639 - app-emulation/wine-1.0.1 fails to build against media-libs/freetype-2.3.9 (or so it seems)
Summary: app-emulation/wine-1.0.1 fails to build against media-libs/freetype-2.3.9 (or...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Wine Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-16 09:58 UTC by Ferry
Modified: 2009-03-17 19:23 UTC (History)
0 users

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 Ferry 2009-03-16 09:58:20 UTC
Seems that wine 1.0.1 doesn't compile against freetype 2.3.9

imageattributes.o imageattributes.c
make[2]: Leaving directory `/var/tmp/portage/app-emulation/wine-1.0.1/work/wine-1.0.1/dlls/gphoto2.ds'
i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include -I/usr/include/freetype2  -D__WINESRC__ -D_GDI32_ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wtype-limits -Wpointer-arith  -march=prescott -O2 -pipe  -o gdi_main.o gdi_main.c
freetype.c:166: error: ‘FT_MulFix’ undeclared here (not in a function)
freetype.c:166: warning: type defaults to ‘int’ in declaration of ‘pFT_MulFix’
freetype.c: In function ‘WineEngGetOutlineTextMetrics’:
freetype.c:5009: error: called object ‘pFT_MulFix’ is not a function
freetype.c:5010: error: called object ‘pFT_MulFix’ is not a function
freetype.c:5012: error: called object ‘pFT_MulFix’ is not a function
freetype.c:5020: error: called object ‘pFT_MulFix’ is not a function
freetype.c:5020: error: called object ‘pFT_MulFix’ is not a function
freetype.c:5024: error: called object ‘pFT_MulFix’ is not a function
freetype.c:5028: error: called object ‘pFT_MulFix’ is not a function
freetype.c:5109: error: called object ‘pFT_MulFix’ is not a function
freetype.c:5110: error: called object ‘pFT_MulFix’ is not a function
freetype.c:5111: error: called object ‘pFT_MulFix’ is not a function
freetype.c:5112: error: called object ‘pFT_MulFix’ is not a function
freetype.c:5113: error: called object ‘pFT_MulFix’ is not a function
freetype.c:5114: error: called object ‘pFT_MulFix’ is not a function
freetype.c:5115: error: called object ‘pFT_MulFix’ is not a function
freetype.c:5116: error: called object ‘pFT_MulFix’ is not a function
freetype.c:5117: error: called object ‘pFT_MulFix’ is not a function
freetype.c:5122: error: called object ‘pFT_MulFix’ is not a function
freetype.c:5123: error: called object ‘pFT_MulFix’ is not a function
freetype.c:5124: error: called object ‘pFT_MulFix’ is not a function
freetype.c:5125: error: called object ‘pFT_MulFix’ is not a function
freetype.c:5126: error: called object ‘pFT_MulFix’ is not a function
freetype.c:5127: error: called object ‘pFT_MulFix’ is not a function
freetype.c:5128: error: called object ‘pFT_MulFix’ is not a function
freetype.c:5129: error: called object ‘pFT_MulFix’ is not a function
freetype.c:5130: error: called object ‘pFT_MulFix’ is not a function
freetype.c:5131: error: called object ‘pFT_MulFix’ is not a function
freetype.c:5136: error: called object ‘pFT_MulFix’ is not a function
freetype.c:5137: error: called object ‘pFT_MulFix’ is not a function
make[2]: *** [freetype.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Entering directory `/var/tmp/portage/app-emulation/wine-1.0.1/work/wine-1.0.1/dlls/gpkcsp'
i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__  -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wtype-limits -Wpointer-arith  -march=prescott -O2 -pipe  -o main.o main.c
make[2]: Leaving directory `/var/tmp/portage/app-emulation/wine-1.0.1/work/wine-1.0.1/dlls/gdi32'
make[1]: *** [gdi32] Error 2
make[1]: *** Waiting for unfinished jobs....
i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__  -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wtype-limits -Wpointer-arith  -march=prescott -O2 -pipe  -o matrix.o matrix.c
../../tools/winegcc/winegcc -B../../tools/winebuild -shared ./gpkcsp.spec    main.o       -o gpkcsp.dll.so  -lkernel32   ../../libs/port/libwine_port.a -Wl,-O1 
i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__  -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wtype-limits -Wpointer-arith  -march=prescott -O2 -pipe  -o pathiterator.o pathiterator.c
make[2]: Leaving directory `/var/tmp/portage/app-emulation/wine-1.0.1/work/wine-1.0.1/dlls/gpkcsp'
i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__  -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wtype-limits -Wpointer-arith  -march=prescott -O2 -pipe  -o pen.o pen.c
i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__  -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wtype-limits -Wpointer-arith  -march=prescott -O2 -pipe  -o region.o region.c
i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__  -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wtype-limits -Wpointer-arith  -march=prescott -O2 -pipe  -o stringformat.o stringformat.c
../../tools/winegcc/winegcc -B../../tools/winebuild -shared ./gdiplus.spec    brush.o customlinecap.o font.o gdiplus.o graphics.o graphicspath.o image.o imageattributes.o matrix.o pathiterator.o pen.o region.o stringformat.o       -o gdiplus.dll.so  -luuid -lshlwapi -loleaut32 -lole32 -luser32 -lgdi32 -lkernel32   ../../libs/port/libwine_port.a -Wl,-O1 
make[2]: Leaving directory `/var/tmp/portage/app-emulation/wine-1.0.1/work/wine-1.0.1/dlls/gdiplus'
make[1]: Leaving directory `/var/tmp/portage/app-emulation/wine-1.0.1/work/wine-1.0.1/dlls'
make: *** [dlls] Error 2
 * 
 * ERROR: app-emulation/wine-1.0.1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2452:  Called die
 * The specific snippet of code:
 *       emake all || die "all"
 *  The die message:
 *   all
 * 
 * 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-emulation/wine-1.0.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/wine-1.0.1/temp/environment'.
 * 

>>> Failed to emerge app-emulation/wine-1.0.1, Log file:

>>>  '/var/tmp/portage/app-emulation/wine-1.0.1/temp/build.log'

 * Messages for package app-emulation/wine-1.0.1:

 * 
 * ERROR: app-emulation/wine-1.0.1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2452:  Called die
 * The specific snippet of code:
 *       emake all || die "all"
 *  The die message:
 *   all
 * 
 * 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-emulation/wine-1.0.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/wine-1.0.1/temp/environment'.
 * 



flaptoppy ~ # emerge --info
Portage 2.1.6.7 (default/linux/x86/2008.0/desktop, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.28-gentoo-r2 i686)
=================================================================
System uname: Linux-2.6.28-gentoo-r2-i686-Intel-R-_Core-TM-2_CPU_T5600_@_1.83GHz-with-glibc2.0
Timestamp of tree: Sun, 15 Mar 2009 15:15:01 +0000
app-shells/bash:     3.2_p48-r1
dev-java/java-config: 2.1.7
dev-lang/python:     2.5.4-r2
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.6.3
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r1
sys-apps/sandbox:    1.4
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
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/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo/ ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://gentoo.tiscali.nl/pub/mirror/gentoo/ http://mirror.gentoo.no/ "
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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/local/portage/layman/ftd4linux"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acl acpi alsa avi berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread emboss encode fam firefox fortran gdbm gif glitz gnome gstreamer gtk gtk2 hal iconv ipv6 isdnlog jpeg kde ldap libnotify mad midi mikmod mmx mmxext mozbranding mp3 mpeg mudflap mysql ncurses newspr nls nptl nptlonly offensive ogg openal opengl openmp pam pcre pdf pdflib perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection samba sdl session smp spell spl sse sse2 sse3 ssl startup-notification svg svga sysfs tcpd tiff truetype unicode usb vorbis win32codecs wmf x86 xcomposite xinerama xml xml2 xorg xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" 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" ELIBC="glibc" FOO2ZJS_DEVICES="hp2600n" INPUT_DEVICES="evdev mouse keyboard synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="i810 intel"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS




Reproducible: Always
Comment 1 Rafał Mużyło 2009-03-16 17:30:48 UTC
Most probably, it doesn't even against earlier.
It (1.0.1) doesn't have following fix:
http://source.winehq.org/git/wine.git/?a=commitdiff;h=de251e1c62651d8160b340a4fb9d0f9834a8e538

that got into the tree a bit later. But due to the nature of wine
(most of the versions are simply git snapshots made every other week),
is it really a bug ?
Comment 2 SpanKY gentoo-dev 2009-03-17 19:23:18 UTC
use a newer version then