[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Pkg-fonts-devel] Bug#671971: fontforge: FTBFS: ../libtool: 1: eval: base_compile+= -c: not found



tags 671971 + patch
thanks

* Lucas Nussbaum <lucas@lucas-nussbaum.net>, 2012-05-08, 14:10:
/bin/sh ../libtool --mode=compile gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -I/usr/include/freetype2/ -I/usr/include/freetype2 -I/usr/include/libxml2/ -I/usr/include/cairo -pthread -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2   -pthread -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12   -D_FORTIFY_SOURCE=2 -I/usr/include/python2.7 -I../inc -I../inc -I/usr/pkg/include -I/usr/pkg/include/giflib -Wmissing-prototypes -Wunused -Wimplicit -Wreturn-type -Wparentheses -Wformat -Wchar-subscripts -DHAVE_CONFIG_H -c ArabicForms.c
../libtool: 1: eval: base_compile+= gcc: not found
../libtool: 1: eval: base_compile+= -g: not found
../libtool: 1: eval: base_compile+= -O2: not found

The attached patch fixes this bug. After applying it you can also safely drop CONFIG_SHELL export from debian/rules.

--
Jakub Wilk
Description: define SHELL in makefiles
Author: Jakub Wilk <jwilk@debian.org>
Bug-Debian: http://bugs.debian.org/671971
Forwarded: no
Last-Update: 2012-05-13

--- a/plugins/Makefile.in
+++ b/plugins/Makefile.in
@@ -10,6 +10,7 @@
 libdir = @libdir@
 plugindir = $(sharedir)/plugins
 
+SHELL = @SHELL@
 LIBTOOL = @LIBTOOL@
 INSTALL = @INSTALL@
 CC = @CC@
--- a/Makefile.dynamic.in
+++ b/Makefile.dynamic.in
@@ -14,6 +14,7 @@
 srcdir = @srcdir@
 top_builddir = .
 
+SHELL = @SHELL@
 LIBTOOL = @LIBTOOL@
 INSTALL = @INSTALL@
 INSTALL_DATA = @INSTALL_DATA@
--- a/Unicode/Makefile.dynamic.in
+++ b/Unicode/Makefile.dynamic.in
@@ -11,6 +11,7 @@
 GU_REVISION=2
 GU_AGE=0
 
+SHELL = @SHELL@
 LIBTOOL = @LIBTOOL@
 CC = @CC@
 
--- a/fontforge/Makefile.dynamic.in
+++ b/fontforge/Makefile.dynamic.in
@@ -10,6 +10,7 @@
 libdir = @libdir@
 plugindir = $(sharedir)/plugins
 
+SHELL = @SHELL@
 LIBTOOL = @LIBTOOL@
 CC = @CC@
 O = @O_EXTENSION@
--- a/gdraw/Makefile.dynamic.in
+++ b/gdraw/Makefile.dynamic.in
@@ -12,6 +12,7 @@
 GD_REVISION=10
 GD_AGE=0
 
+SHELL = @SHELL@
 LIBTOOL = @LIBTOOL@
 CC = @CC@
 
--- a/gutils/Makefile.dynamic.in
+++ b/gutils/Makefile.dynamic.in
@@ -16,6 +16,7 @@
 GFTP_REVISION=0
 GFTP_AGE=0
 
+SHELL = @SHELL@
 LIBTOOL = @LIBTOOL@
 CC = @CC@
 

Reply to: