• Status Closed
  • Percent Complete
    100%
  • Task Type Bug Report
  • Category Packages → Packages: Build-list
  • Assigned To
    Andreas Baumann
  • Operating System
  • Severity Low
  • Priority Medium
  • Reported Version
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Archlinux32
Opened by Erich Eckner - 11.11.2017
Last edited by Andreas Baumann - 12.11.2017

FS#9 - [ffmpeg] [ffmpeg2.8] libtheora not found

==> Starting build()...
ERROR: libtheora not found

... but it’s there:
/var/lib/archbuild/staging-i686/erich/usr/lib/libtheora.so.0.3.10
/var/lib/archbuild/staging-i686/erich/usr/lib/libtheora.so.0
/var/lib/archbuild/staging-i686/erich/usr/lib/libtheora.so

strange ...

Closed by  Andreas Baumann
12.11.2017 15:40
Reason for closing:  Fixed
Additional comments about closing:  

fixed in libogg.

Admin
Andreas Baumann commented on 12.11.2017 14:29
more ffbuild/config.log

BEGIN /tmp/ffconf.6IlfdMzU/test.c
    1   #include 
    2   #include 
    3   long check_th_info_init(void) { return (long) th_info_init; }
    4   int main(void) { int ret = 0;
    5    ret |= ((intptr_t)check_th_info_init) & 0xFFFF;
    6   return ret; }
END /tmp/ffconf.6IlfdMzU/test.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=
600 -DPIC -std=c11 -fomit-frame-pointer -fPIC -pthread -I/usr/include/p11-kit-1 -I/usr/include/freetype2 
-I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/us
r/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include
/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/har
/
...skipping
In file included from /usr/include/ogg/os_types.h:144:0,
                 from /usr/include/ogg/ogg.h:25,
                 from /usr/include/theora/theoraenc.h:24,
                 from /tmp/ffconf.6IlfdMzU/test.c:1:
/usr/include/ogg/config_types.h:4:10: fatal error: config_types-32.h: No such file or directory
 #include "config_types-32.h"
          ^~~~~~~~~~~~~~~~~~~
compilation terminated.
ERROR: libtheora not found
Admin
Andreas Baumann commented on 12.11.2017 14:31

/usr/include/ogg/config_types.h

#if __WORDSIZE == 32
#include "config_types-32.h"
#elif __WORDSIZE == 64
#include "config_types-64.h"
#else
#error "Unknown word size"
#endif

 ls /usr/include/ogg/
config_types-64.h  config_types.h  ogg.h  os_types.h

So ogg misses the 32-bit types header file.. I'll check there..

Admin
Andreas Baumann commented on 12.11.2017 14:54

Trying a patch in libogg:

sed

    s|mv "${pkgdir}"/usr/include/ogg/config_types{,-64}.h|mv "${pkgdir}"/usr/include/ogg/config_types{,-32}.h|
Admin
Andreas Baumann commented on 12.11.2017 14:57

acutally: better remove the whole multilib stuff on 32-bit..

Admin
Andreas Baumann commented on 12.11.2017 15:39
eval "$(
  declare -f package | \
    sed '
      /^.*Resolve multilib conflict/,/^}$/{//p;d;}
    '
)"

Back to first version, I'm not a sed-king (rather the very opposite).

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing