Bug#731513: vlc: FTBFS: freetype/ftsynth.h: No such file or directory

2013-12-07 Thread Mateusz Łukasik

W dniu 07.12.2013 o 23:21 Benjamin Drung  pisze:


forwarded 731513 https://trac.videolan.org/vlc/ticket/10019
tags 731513 + pending
thanks

On Fr, 2013-12-06 at 09:41 +0100, Roland Stigge wrote:

vlc FTBFS with new freetype 2.5.1-1 like this:

...
../../doltlibtool  --tag=CC   --mode=compile gcc -std=gnu99  
-DHAVE_CONFIG_H -I. -I../..   
-DMODULE_NAME=$(p="libfreetype_plugin_la-freetype.lo"; p="${p##*/}";  
p="${p#lib}"; echo "${p%_plugin*}")  
-DMODULE_NAME_IS_$(p="libfreetype_plugin_la-freetype.lo"; p="${p##*/}";  
p="${p#lib}"; echo "${p%_plugin*}")  
-DMODULE_STRING=\"$(p="libfreetype_plugin_la-freetype.lo";  
p="${p##*/}"; p="${p#lib}"; echo "${p%_plugin*}")\" -D__PLUGIN__  
-I/usr/include/freetype2   -DHAVE_FONTCONFIG -I/usr/include/fribidi
-DHAVE_FRIBIDI -I../../include -I../../include -D_FORTIFY_SOURCE=2   -g  
-O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat  
-Werror=format-security -mtune=8548 -Wall -Wextra -Wsign-compare  
-Wundef -Wpointer-arith -Wbad-function-cast -Wwrite-strings  
-Wmissing-prototypes -Wvolatile-register-var  
-Werror-implicit-function-declaration -pipe -fvisibility=hidden  
-ffast-math -funroll-loops -fomit-frame-pointer -c -o  
libfreetype_plugin_la-freetype.lo `test -f 'freetype.c' || echo  
'./'`freetype.c
freetype.c:93:30: fatal error: freetype/ftsynth.h: No such file or  
directory

compilation terminated.
make[5]: *** [libfreetype_plugin_la-freetype.lo] Error 1
make[5]: Leaving directory `/«PKGBUILDDIR»/modules/text_renderer'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/«PKGBUILDDIR»/modules/text_renderer'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/«PKGBUILDDIR»/modules'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/«PKGBUILDDIR»'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/«PKGBUILDDIR»'
dh_auto_build: make -j1 returned exit code 2
make: *** [build-arch] Error 2
...

Attaching a patch that fixes this by considering the new location of a  
header

file.


I detected this issue a while ago and filed an upstream bug:
https://trac.videolan.org/vlc/ticket/10019

I probably will wait until the next upstream release is shipped with the
patch included, unless it's urgent to fix the build failure sooner?!

Temporary I [add patch][1] on git if someone really needs rebuild from  
sources.


[1]:  
http://anonscm.debian.org/gitweb/?p=pkg-multimedia/vlc.git;a=blob;f=debian/patches/ftbfs_freetype.patch;h=c38e606896244b4e50edb971fe959c2d0eb7c2a6;hb=HEAD


___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers

Bug#731513: vlc: FTBFS: freetype/ftsynth.h: No such file or directory

2013-12-07 Thread Benjamin Drung
forwarded 731513 https://trac.videolan.org/vlc/ticket/10019
tags 731513 + pending
thanks

On Fr, 2013-12-06 at 09:41 +0100, Roland Stigge wrote:
> vlc FTBFS with new freetype 2.5.1-1 like this:
> 
> ...
> ../../doltlibtool  --tag=CC   --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H 
> -I. -I../..  -DMODULE_NAME=$(p="libfreetype_plugin_la-freetype.lo"; 
> p="${p##*/}"; p="${p#lib}"; echo "${p%_plugin*}") 
> -DMODULE_NAME_IS_$(p="libfreetype_plugin_la-freetype.lo"; p="${p##*/}"; 
> p="${p#lib}"; echo "${p%_plugin*}") 
> -DMODULE_STRING=\"$(p="libfreetype_plugin_la-freetype.lo"; p="${p##*/}"; 
> p="${p#lib}"; echo "${p%_plugin*}")\" -D__PLUGIN__ -I/usr/include/freetype2   
> -DHAVE_FONTCONFIG -I/usr/include/fribidi   -DHAVE_FRIBIDI -I../../include 
> -I../../include -D_FORTIFY_SOURCE=2   -g -O2 -fstack-protector 
> --param=ssp-buffer-size=4 -Wformat -Werror=format-security -mtune=8548 -Wall 
> -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast 
> -Wwrite-strings -Wmissing-prototypes -Wvolatile-register-var 
> -Werror-implicit-function-declaration -pipe -fvisibility=hidden -ffast-math 
> -funroll-loops -fomit-frame-pointer -c -o libfreetype_plugin_la-freetype.lo 
> `test -f 'freetype.c' || echo './'`freetype.c
> freetype.c:93:30: fatal error: freetype/ftsynth.h: No such file or directory
> compilation terminated.
> make[5]: *** [libfreetype_plugin_la-freetype.lo] Error 1
> make[5]: Leaving directory `/«PKGBUILDDIR»/modules/text_renderer'
> make[4]: *** [all] Error 2
> make[4]: Leaving directory `/«PKGBUILDDIR»/modules/text_renderer'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/«PKGBUILDDIR»/modules'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/«PKGBUILDDIR»'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/«PKGBUILDDIR»'
> dh_auto_build: make -j1 returned exit code 2
> make: *** [build-arch] Error 2
> ...
> 
> Attaching a patch that fixes this by considering the new location of a header
> file.

I detected this issue a while ago and filed an upstream bug:
https://trac.videolan.org/vlc/ticket/10019

I probably will wait until the next upstream release is shipped with the
patch included, unless it's urgent to fix the build failure sooner?!

-- 
Benjamin Drung
Debian & Ubuntu Developer

___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers

Processed: Re: Bug#731513: vlc: FTBFS: freetype/ftsynth.h: No such file or directory

2013-12-07 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> forwarded 731513 https://trac.videolan.org/vlc/ticket/10019
Bug #731513 [src:vlc] vlc: FTBFS: freetype/ftsynth.h: No such file or directory
Set Bug forwarded-to-address to 'https://trac.videolan.org/vlc/ticket/10019'.
> tags 731513 + pending
Bug #731513 [src:vlc] vlc: FTBFS: freetype/ftsynth.h: No such file or directory
Added tag(s) pending.
> thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
731513: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=731513
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems

___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers


Bug#731513: vlc: FTBFS: freetype/ftsynth.h: No such file or directory

2013-12-06 Thread Roland Stigge
Source: vlc
Version: 2.1.1-1
Severity: serious
Tags: patch

Hi,

vlc FTBFS with new freetype 2.5.1-1 like this:

...
../../doltlibtool  --tag=CC   --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. 
-I../..  -DMODULE_NAME=$(p="libfreetype_plugin_la-freetype.lo"; p="${p##*/}"; 
p="${p#lib}"; echo "${p%_plugin*}") 
-DMODULE_NAME_IS_$(p="libfreetype_plugin_la-freetype.lo"; p="${p##*/}"; 
p="${p#lib}"; echo "${p%_plugin*}") 
-DMODULE_STRING=\"$(p="libfreetype_plugin_la-freetype.lo"; p="${p##*/}"; 
p="${p#lib}"; echo "${p%_plugin*}")\" -D__PLUGIN__ -I/usr/include/freetype2   
-DHAVE_FONTCONFIG -I/usr/include/fribidi   -DHAVE_FRIBIDI -I../../include 
-I../../include -D_FORTIFY_SOURCE=2   -g -O2 -fstack-protector 
--param=ssp-buffer-size=4 -Wformat -Werror=format-security -mtune=8548 -Wall 
-Wextra -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast 
-Wwrite-strings -Wmissing-prototypes -Wvolatile-register-var 
-Werror-implicit-function-declaration -pipe -fvisibility=hidden -ffast-math 
-funroll-loops -fomit-frame-pointer -c -o libfreetype_plugin_la-freetype.lo 
`test -f 'freetype.c' || echo './'`freetype.c
freetype.c:93:30: fatal error: freetype/ftsynth.h: No such file or directory
compilation terminated.
make[5]: *** [libfreetype_plugin_la-freetype.lo] Error 1
make[5]: Leaving directory `/«PKGBUILDDIR»/modules/text_renderer'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/«PKGBUILDDIR»/modules/text_renderer'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/«PKGBUILDDIR»/modules'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/«PKGBUILDDIR»'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/«PKGBUILDDIR»'
dh_auto_build: make -j1 returned exit code 2
make: *** [build-arch] Error 2
...

Attaching a patch that fixes this by considering the new location of a header
file.

Thanks in advance,

Roland


-- System Information:
Debian Release: 7.0
  APT prefers unreleased
  APT policy: (500, 'unreleased'), (500, 'unstable')
Architecture: powerpcspe (ppc)

Kernel: Linux 3.9.0-dirty (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Index: vlc-2.1.1/modules/text_renderer/freetype.c
===
--- vlc-2.1.1.orig/modules/text_renderer/freetype.c	2013-09-12 17:18:34.0 +0200
+++ vlc-2.1.1/modules/text_renderer/freetype.c	2013-12-05 22:59:07.375288208 +0100
@@ -90,7 +90,7 @@
 #endif
 
 /* Freetype */
-#include 
+#include 
 #include FT_FREETYPE_H
 #include FT_GLYPH_H
 #include FT_STROKER_H
___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers