Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#996 - avifile will not compile

Attached to Project: Arch Linux
Opened by Aaron Stechesen (sarah31) - Saturday, 12 June 2004, 09:30 GMT
Last edited by Judd Vinet (judd) - Monday, 14 June 2004, 01:06 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Roberto Carvajal (rcarvajal)
Architecture not specified
Severity Low
Priority Normal
Reported Version 0.7 Wombat
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

gives this error.

SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -pipe -c aviplay.cpp -fPIC -DPIC -o aviplay.lo
In file included from aviplay_impl.h:7,
from aviplay.cpp:8:
../../include/aviplay.h:15: error: default arguments are only permitted for function parameters
../../include/aviplay.h:16: error: default arguments are only permitted for function parameters
make[2]: *** [aviplay.lo] Error 1
make[2]: Leaving directory `/var/abs/extra/multimedia/avifile/src/avifile-0.7-0.7.38/lib/aviplay'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/abs/extra/multimedia/avifile/src/avifile-0.7-0.7.38/lib'
make: *** [all-recursive] Error 1
==> ERROR: Build Failed. Aborting...
This task depends upon

Closed by  Roberto Carvajal (rcarvajal)
Wednesday, 15 September 2004, 16:16 GMT
Reason for closing:  Fixed
Comment by Aaron Stechesen (sarah31) - Saturday, 12 June 2004, 10:46 GMT
this patch, as is, allows you to compile avifile:

http://ftp.belnet.be/linux/gentoo-portage/media-video/avifile/files/avifile-gcc34.patch

but you will have to patch for freetype (sorry i did not get time to find or make a patch)
Comment by Roberto Carvajal (rcarvajal) - Sunday, 20 June 2004, 18:15 GMT
thanks, will try this right now..
Comment by Roberto Carvajal (rcarvajal) - Sunday, 20 June 2004, 18:39 GMT
ok, this still have problems, i patched the source with gcc34 patch and made my own patch to make it work with freetype2 (just include ft2build.h before freetype).. and everything went fine until this came out:

gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -DLAMEPARSE -DNDEBUG -D__NO_MATH_INLINES -Wall -Wno-unused -I../../../include -march=i686 -O2 -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -pipe -c quantize-pvt.c -fPIC -DPIC -o quantize-pvt.lo
quantize-pvt.c: In function `quantize_xrpow':
quantize-pvt.c:978: error: PIC register `%ebx' clobbered in `asm'
make[3]: *** [quantize-pvt.lo] Error 1
make[3]: Leaving directory `/home/netkrash/archlinux/pkgs/extra/avifile/src/avifile-0.7-0.7.38/plugins/libmp3lame_audioenc/lame3.70'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/netkrash/archlinux/pkgs/extra/avifile/src/avifile-0.7-0.7.38/plugins/libmp3lame_audioenc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/netkrash/archlinux/pkgs/extra/avifile/src/avifile-0.7-0.7.38/plugins'
make: *** [all-recursive] Error 1
==> ERROR: Build Failed. Aborting...


any clues?
Comment by Aaron Stechesen (sarah31) - Monday, 21 June 2004, 07:19 GMT
there was a patch for one of the gentoo ebuilds that addresses some similar errors but i got stuck still in the same area. all i can think of is googling some more (which unfortunately i don't really have time for) or contacting the avifile developers for advice/info. perhaps someone in their community has answers/patches.

perhaps in teh mean time avifile package will have to remain as is but avifile support in transcode should be removed so that it can compile (i think since it grounds out on avifile stuff)
Comment by Tobias Kieslich (tobias) - Wednesday, 01 September 2004, 17:46 GMT
I'm currently uploading transcode and avivile and then transfer the patches to cvs. I would close this bug and this:
http://bugs.archlinux.org/index.php?do=details&id=995
and then focus on this one:
http://bugs.archlinux.org/index.php?do=details&id=994
though this won't be easy as far as I see. There are some issues with identical varnames or so. But it was long ago when I heard about that.
Comment by Roberto Carvajal (rcarvajal) - Wednesday, 15 September 2004, 16:16 GMT
i think this is fixed.

Loading...