Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 36040 - avifile-0.7.38.20030710 fails to compile
Summary: avifile-0.7.38.20030710 fails to compile
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal
Assignee: Sparc Porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-17 20:56 UTC by Derk W te Bokkel
Modified: 2003-12-27 10:21 UTC (History)
2 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 Derk W te Bokkel 2003-12-17 20:56:59 UTC
attempted to rebuild all dep's but ffmpeg , svgalib, fail to build against 2.6.0-test11 headers

last fragment of build:

c++ -DHAVE_CONFIG_H -I. -I. -I../../include -I/usr/include/SDL -D_REENTRANT -I/usr/X11R6/include -I/usr/X11R6/include -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 -o renderer.lo
/bin/sh ../../libtool --mode=link c++  -O2 -mcpu=i686 -march=i686 -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -pipe  -o libvideo.la  -Wl,-rpath,/usr/lib -lSDL -lpthread -lfreetype -lz  -L/usr/X11R6/lib  -lSM -lICE -lXinerama -lXv -lXxf86vm -lXxf86dga -lXi  -lXext -lX11  -Wl,-rpath,/usr/X11R6/lib -L/usr/X11R6/lib -lXft -lfreetype -lXrender -lfontconfig   sub_ft.lo renderer.lo VideoDPMS.lo  -lnsl -ldl
mkdir .libs
rm -fr .libs/libvideo.la .libs/libvideo.* .libs/libvideo.*
ar cru .libs/libvideo.al sub_ft.lo renderer.lo VideoDPMS.lo
ranlib .libs/libvideo.al
creating libvideo.la
(cd .libs && rm -f libvideo.la && ln -s ../libvideo.la libvideo.la)
make[2]: Leaving directory `/home/extrabig/tmp/portage/avifile-0.7.38.20030710/work/avifile-0.7-0.7.38/lib/video'
make[2]: Entering directory `/home/extrabig/tmp/portage/avifile-0.7.38.20030710/work/avifile-0.7-0.7.38/lib'
/bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I../include     -DPLUGIN_PATH=\"/usr/lib/avifile-0.7\"  -I./../ffmpeg/libavcodec -I./../ffmpeg/libavformat -Wall -Wno-unused -I../include -finline-limit-200 -O2 -mcpu=i686 -march=i686 -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -pipe -c codeckeeper.cpp
/bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I../include     -DPLUGIN_PATH=\"/usr/lib/avifile-0.7\"  -I./../ffmpeg/libavcodec -I./../ffmpeg/libavformat -Wall -Wno-unused -I../include -finline-limit-200 -O2 -mcpu=i686 -march=i686 -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -pipe -c Uncompressed.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I../include -DPLUGIN_PATH=\"/usr/lib/avifile-0.7\" -I./../ffmpeg/libavcodec -I./../ffmpeg/libavformat -Wall -Wno-unused -I../include -finline-limit-200 -O2 -mcpu=i686 -march=i686 -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -pipe -c codeckeeper.cpp  -fPIC -DPIC -o codeckeeper.lo
c++ -DHAVE_CONFIG_H -I. -I. -I../include -DPLUGIN_PATH=\"/usr/lib/avifile-0.7\" -I./../ffmpeg/libavcodec -I./../ffmpeg/libavformat -Wall -Wno-unused -I../include -finline-limit-200 -O2 -mcpu=i686 -march=i686 -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -pipe -c Uncompressed.cpp  -fPIC -DPIC -o Uncompressed.lo
In file included from codeckeeper.cpp:73:
../plugins/libwin32/loader/ldt_keeper.c: In function `avm::ldt_fs_t*
   avm::Setup_LDT_Keeper()':
../plugins/libwin32/loader/ldt_keeper.c:161: error: aggregate `
   avm::modify_ldt_ldt_s array' has incomplete type and cannot be defined
../plugins/libwin32/loader/ldt_keeper.c:193: error: invalid application of `
   sizeof' to an incomplete type
make[2]: *** [codeckeeper.lo] Error 1
make[2]: Leaving directory `/home/extrabig/tmp/portage/avifile-0.7.38.20030710/work/avifile-0.7-0.7.38/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/extrabig/tmp/portage/avifile-0.7.38.20030710/work/avifile-0.7-0.7.38/lib'
make: *** [all-recursive] Error 1

!!! ERROR: media-video/avifile-0.7.38.20030710 failed.
!!! Function src_compile, Line 143, Exitcode 2
!!! (no error message)



using latest gcc, glibc, 2.6.0-test11 headers '~x86' keywords etc. bleeding edge .. trying to update software against 2.6.0-headers and finding the headers are not quite ready for prime time ..
Comment 1 Derk W te Bokkel 2003-12-20 12:01:36 UTC
Portage 2.0.49-r18 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20031212-r0, 2.6.0-test11-mm1)
=================================================================
System uname: 2.6.0-test11-mm1 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.4.3.12
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=athlon-xp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-mcpu=athlon-xp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache cvs sandbox userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/mnt/bigdisk1/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib acpi acpi4linux alsa apm arts avi berkdb bonobo cdr crypt cups dvd dvdr encode esd foomaticdb gb gdbm gif gnome gphoto2 gpm gtk gtk2 gtkhtml guile imagemagick imlib jack java javascript jpeg kde libg++ libgda libwww mad mikmod motif mozilla mpeg ncurses nls ofx oggvorbis opengl oss pam pdflib perl png ppds python qt quicktime readline scanner sdl slang spell ssl svga tcpd transcode truetype usb v4l x86 xinerama xml xml2 xmms xv zlib"

Comment 2 Alexey Parshin 2003-12-24 12:59:33 UTC
Same version of avifile, diffferent error:

Making all in libpostproc
make[3]: Entering directory `/var/tmp/portage/avifile-0.7.38.20030710/work/avifile-0.7-0.7.38/ffmpeg/libavcodec/libpostproc'
/bin/sh ../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../../include   -DHAVE_AV_CONFIG_H -O4 -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I./.. -Wall -Wno-unused -I../../../include -O2 -fomit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -pipe -c postprocess.c
gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -DHAVE_AV_CONFIG_H -O4 -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I./.. -Wall -Wno-unused -I../../../include -O2 -fomit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -pipe -c postprocess.c  -fPIC -DPIC -o postprocess.lo
cc1: invalid option `no-omit-leaf-frame-pointer'
make[3]: *** [postprocess.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/avifile-0.7.38.20030710/work/avifile-0.7-0.7.38/ffmpeg/libavcodec/libpostproc'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/avifile-0.7.38.20030710/work/avifile-0.7-0.7.38/ffmpeg/libavcodec'
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/ffmpeg'
make: *** [all-recursive] Error 1
 
!!! ERROR: media-video/avifile-0.7.38.20030710 failed.
!!! Function src_compile, Line 143, Exitcode 2
!!! (no error message)

GCC 3.2.3, Sparc system
Comment 3 Martin Holzer (RETIRED) gentoo-dev 2003-12-24 13:38:42 UTC
Alexey dont use this special kind of cflags
Comment 4 Alexey Parshin 2003-12-24 14:14:59 UTC
This flag isn't in my make.conf!
Comment 5 Martin Holzer (RETIRED) gentoo-dev 2003-12-26 07:45:19 UTC
i don't do anything with sparc
Comment 6 Jason Wever (RETIRED) gentoo-dev 2003-12-26 15:36:10 UTC
Added a patch to strip out that cflag for sparc.  It now successfully emerges here and I've added it into the ebuild.  Please wait a bit, sync your portage tree and try again.  Let me know how it goes.
Comment 7 Alexey Parshin 2003-12-27 09:56:38 UTC
I've emerged it successfully, thanks. I'm trying to make work the dvdcopy (works already), dvd+rw-tools(works already) and transcode (mostly works). Most of these tools and their dependencies have nether "sparc" or "~sparc" in KEYWORDS. If I make it work, how I can report it?
Comment 8 Jason Wever (RETIRED) gentoo-dev 2003-12-27 10:21:49 UTC
If they all work, make a bug containing all of the packages that need a ~sparc keyword and I'll keyword them.