xine-lib hg fails to build on Fedora 25

Xavier Bachelot <[email protected]> Wed, 28 Dec 2016 14:07:06 +0100
Newsgroups gmane.comp.video.xine.devel
Message-ID <[email protected]>
Hi there,

I'm having trouble compiling latest xine-lib hg on Fedora 25.
Here's an extract of the build log :

make[2]: Entering directory 
'/builddir/build/BUILD/xine-lib-1.2.7/src/xine-utils'
/bin/sh ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. 
-I../../include  -DXINE_LIBRARY_COMPILE -DNDEBUG -D_REENTRANT 
-DXINE_COMPILE   -O3  -ffast-math -fexpensive-optimizations 
-fvisibility=hidden   -pipe  -Wall -Wformat=2 -Wno-format-zero-length 
-Wmissing-format-attribute -Werror-implicit-function-declaration 
-Wstrict-aliasing=2 -Wchar-subscripts -Wmissing-declarations 
-Wmissing-prototypes -Wwrite-strings -Wpointer-arith -g -O2 -g -pipe 
-Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions 
-fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches 
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -Wall 
-Wchar-subscripts -Wnested-externs -Wcast-align -Wmissing-declarations 
-Wmissing-prototypes -Wmissing-format-attribute -Wno-pointer-sign 
-Wformat=2 -Wno-format-zero-length -Wformat-security -Wstrict-aliasing=2 
-Werror=implicit-function-declaration -c -o cpu_accel.lo cpu_accel.c
/bin/sh ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. 
-I../../include  -DXINE_LIBRARY_COMPILE -DNDEBUG -D_REENTRANT 
-DXINE_COMPILE   -O3  -ffast-math -fexpensive-optimizations 
-fvisibility=hidden   -pipe  -Wall -Wformat=2 -Wno-format-zero-length 
-Wmissing-format-attribute -Werror-implicit-function-declaration 
-Wstrict-aliasing=2 -Wchar-subscripts -Wmissing-declarations 
-Wmissing-prototypes -Wwrite-strings -Wpointer-arith -g -O2 -g -pipe 
-Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions 
-fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches 
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -Wall 
-Wchar-subscripts -Wnested-externs -Wcast-align -Wmissing-declarations 
-Wmissing-prototypes -Wmissing-format-attribute -Wno-pointer-sign 
-Wformat=2 -Wno-format-zero-length -Wformat-security -Wstrict-aliasing=2 
-Werror=implicit-function-declaration -c -o color.lo color.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../include 
-DXINE_LIBRARY_COMPILE -DNDEBUG -D_REENTRANT -DXINE_COMPILE -O3 
-ffast-math -fexpensive-optimizations -fvisibility=hidden -pipe -Wall 
-Wformat=2 -Wno-format-zero-length -Wmissing-format-attribute 
-Werror-implicit-function-declaration -Wstrict-aliasing=2 
-Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes 
-Wwrite-strings -Wpointer-arith -g -O2 -g -pipe -Wall 
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions 
-fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches 
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -Wall 
-Wchar-subscripts -Wnested-externs -Wcast-align -Wmissing-declarations 
-Wmissing-prototypes -Wmissing-format-attribute -Wno-pointer-sign 
-Wformat=2 -Wno-format-zero-length -Wformat-security -Wstrict-aliasing=2 
-Werror=implicit-function-declaration -c color.c  -fPIC -DPIC -o 
.libs/color.o
In file included from color.c:66:0:
../../include/config.h:23:25: fatal error: os_internal.h: No such file 
or directory
  #include "os_internal.h"
                          ^
compilation terminated.


 From comparing with an older build log, I think it's missing an include 
-I../../lib

I think I already proved my autotools skills are poor enough, so I'll 
not try to fix this on my own....

Let me know if you need the full build log or whatever.


Regards,
Xavier

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot