Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 56458 - avifile emerge fails
Summary: avifile emerge fails
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-08 08:15 UTC by Chris Smith
Modified: 2004-07-12 07:30 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 Chris Smith 2004-07-08 08:15:27 UTC
Making all in video
make[2]: Entering directory `/var/tmp/portage/avifile-0.7.38.20030710/work/avifile-0.7-0.7.38/lib/video'
/bin/sh ../../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I../../include   -I/usr/include/SDL -D_REENTRANT -I/usr/X11R6/include -I/usr/X11R6/include -I/usr/include/freetype2/config    -D_REENTRANT  -I/usr/include/freetype2  -I./../../drivers/vidix -DVIDIX_LIBDIR=\"/usr/lib/avifile-0.7/vidix/\"  -I./../subtitles  -Wall -Wno-unused -I../../include  -O2 -mcpu=i686 -march=i686 -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -pipe -c sub_ft.cpp
/bin/sh ../../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I../../include   -I/usr/include/SDL -D_REENTRANT -I/usr/X11R6/include -I/usr/X11R6/include -I/usr/include/freetype2/config    -D_REENTRANT  -I/usr/include/freetype2  -I./../../drivers/vidix -DVIDIX_LIBDIR=\"/usr/lib/avifile-0.7/vidix/\"  -I./../subtitles  -Wall -Wno-unused -I../../include  -O2 -mcpu=i686 -march=i686 -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -pipe -c renderer.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I../../include -I/usr/include/SDL -D_REENTRANT -I/usr/X11R6/include -I/usr/X11R6/include -I/usr/include/freetype2/config -D_REENTRANT -I/usr/include/freetype2 -I./../../drivers/vidix -DVIDIX_LIBDIR=\"/usr/lib/avifile-0.7/vidix/\" -I./../subtitles -Wall -Wno-unused -I../../include -O2 -mcpu=i686 -march=i686 -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -pipe -c sub_ft.cpp  -fPIC -DPIC
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
In file included from sub_ft.cpp:9:
/usr/include/freetype2/freetype/freetype.h:20:2: #error "`ft2build.h' hasn't been included yet!"
/usr/include/freetype2/freetype/freetype.h:21:2: #error "Please always use macros to include FreeType header files."
/usr/include/freetype2/freetype/freetype.h:22:2: #error "Example:"
/usr/include/freetype2/freetype/freetype.h:23:2: #error "  #include <ft2build.h>"
/usr/include/freetype2/freetype/freetype.h:24:2: #error "  #include FT_FREETYPE_H"
c++ -DHAVE_CONFIG_H -I. -I. -I../../include -I/usr/include/SDL -D_REENTRANT -I/usr/X11R6/include -I/usr/X11R6/include -I/usr/include/freetype2/config -D_REENTRANT -I/usr/include/freetype2 -I./../../drivers/vidix -DVIDIX_LIBDIR=\"/usr/lib/avifile-0.7/vidix/\" -I./../subtitles -Wall -Wno-unused -I../../include -O2 -mcpu=i686 -march=i686 -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -pipe -c renderer.cpp  -fPIC -DPIC
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
make[2]: *** [sub_ft.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
mv -f renderer.o renderer.lo
make[2]: Leaving directory `/var/tmp/portage/avifile-0.7.38.20030710/work/avifile-0.7-0.7.38/lib/video'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/avifile-0.7.38.20030710/work/avifile-0.7-0.7.38/lib'
make: *** [all-recursive] Error 1


Reproducible: Always
Steps to Reproduce:
1.emerge -v media-video/avifile
2.
3.

Actual Results:  
fails with error shown in detail

Expected Results:  
should have emerged

Same problem with gcc-3.3.3 or gcc-3.4.1. Also re-merged it's dependencies with
no resolution.
Comment 1 SpanKY gentoo-dev 2004-07-11 20:57:33 UTC
you neglected to provide `emerge info`

also, what version of freetype do you have installed ?
Comment 2 Chris Smith 2004-07-11 21:13:13 UTC
neitsche root # emerge info
Portage 2.0.50-r9 (default-x86-2004.0, gcc-3.4.1, glibc-2.3.4.20040619-r0, 2.6.7-gentoo-r9)
=================================================================
System uname: 2.6.7-gentoo-r9 i686 Intel(R) Pentium(R) 4 CPU 2.53GHz
Gentoo Base System version 1.5.1
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -fforce-mem -fforce-addr -pipe -s"
CHOST="i686-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 /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=pentium4 -fomit-frame-pointer -fforce-mem -fforce-addr -pipe -s"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://mirrors.tds.net/gentoo http://gentoo.seren.com/gentoo http://open-systems.ufl.edu/mirrors/gentoo"
MAKEOPTS="-j2"
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 aalib acpi alsa apache2 arts audiofile avi berkdb bonobo cdr crypt cups curl dv dvd dvdr encode esd flac gdbm gif gphoto gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile imap imlib jack java jpeg kde lcms ldap libg++ libwww mad mikmod mmx motif mozilla mpeg ncurses nls nptl oggvorbis opengl oss pam pda pdflib perl png ppds python qt quicktime readline samba sasl scanner sdl slang spell sse ssl svga tcltk tcpd tetex theora threads tiff truetype unicode usb wmf x86 xml xml2 xmms xv zlib"

neitsche root # etcat -v freetype
[ Results for search key           : freetype ]
[ Candidate applications found : 8 ]

 Only printing found installed programs.

*  media-libs/freetype :
        [   ] 1.3.1-r3 (1)
        [ ~I] 1.3.1-r4 (1)
        [   ] 2.1.3-r2 (2)
        [   ] 2.1.4 (2)
        [ ~ ] 2.1.4-r1 (2)
        [   ] 2.1.5 (2)
        [   ] 2.1.5-r1 (2)
        [ ~I] 2.1.7 (2)
Comment 3 Joao Nuno Rafael 2004-07-12 07:30:39 UTC
I'm also having this bug