[arch-multilib] lib32-libtheora

Nicky726 nicky726 at gmail.com
Sun Aug 29 11:17:30 EDT 2010


Hello,

I maintain the lib32-libtheora package in the AUR and I'm trying to get it 
working the new multilib-way. The build fails though. Could someone help me, 
or should I bohter the upstream instead?

Updated PKGBUILD:

# Maintainer: Nicky726 (nicky726 <at> gmail <dot> com)
# Contributor: Tom Killian (tom <at> archlinux <dot> org)

pkgname=lib32-libtheora
_pkgname32=libtheora
pkgver=1.1.1
pkgrel=2
pkgdesc="An open video codec developed by the Xiph.org (32bit)"
arch=('x86_64')
depends=('libtheora' 'lib32-libogg')
makedepends=('gcc-multilib' 'lib32-libvorbis')
url="http://www.xiph.org"
groups=lib32
license=('BSD' 'custom')
options=('!libtool')
source=(http://downloads.xiph.org/releases/theora/${_pkgname32}-${pkgver}.tar.bz2)
md5sums=('292ab65cedd5021d6b7ddd117e07cd8e')

build() {
  export CC="gcc -m32"
  export CXX="g++ -m32"
  export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"

  cd "${srcdir}/${_pkgname32}-${pkgver}"
  ./configure --prefix=/usr --libdir=/usr/lib32\
         --enable-shared --disable-static
  make
}

package() {
  cd "${srcdir}/${_pkgname32}-${pkgver}"
  make DESTDIR="${pkgdir}" install
  #rm -rf "${pkgdir}/usr/"{include,share,bin}

  # link the licence
  install -dm755 "${pkgdir}/usr/share/licences/"
  cd "${pkgdir}/usr/share/licences/"
  ln -s "${_pkgname32}" "${pkgname}"
}

Error I get when building:

make[2]: Entering directory `/home/nik/Dokumenty/build/aur/lib32-
libtheora/src/libtheora-1.1.1/lib'
source='x86/sse2fdct.c' object='sse2fdct.lo' libtool=yes \
        depfile='.deps/sse2fdct.Plo' tmpdepfile='.deps/sse2fdct.TPlo' \
        depmode=gcc3 /bin/sh ../depcomp \
        /bin/sh ../libtool --mode=compile gcc -m32 -DHAVE_CONFIG_H -I. -I. -
I.. -I../include     -Wall -Wno-parentheses -O3 -fforce-addr -fomit-frame-
pointer -finline-functions -funroll-loops -march=native -O2 -pipe -c -o 
sse2fdct.lo `test -f 'x86/sse2fdct.c' || echo './'`x86/sse2fdct.c
libtool: compile:  gcc -m32 -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -
Wno-parentheses -O3 -fforce-addr -fomit-frame-pointer -finline-functions -
funroll-loops -march=native -O2 -pipe -c x86/sse2fdct.c -MT sse2fdct.lo -MD -
MP -MF .deps/sse2fdct.TPlo  -fPIC -DPIC -o .libs/sse2fdct.o
x86/sse2fdct.c: Assembler messages:
x86/sse2fdct.c:440: Error: bad register name `%xmm15'

... and lots of simmilar stuff with different numbers ending with:

make[2]: *** [sse2fdct.lo] Error 1
make[2]: Leaving directory `/home/nik/Dokumenty/build/aur/lib32-
libtheora/src/libtheora-1.1.1/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/nik/Dokumenty/build/aur/lib32-
libtheora/src/libtheora-1.1.1'
make: *** [all] Error 2

Thanx,
Nicky

-- 
Don't it always seem to go
That you don't know what you've got
Till it's gone

(Joni Mitchell)


More information about the arch-multilib mailing list