Bug#243947: gtksourceview build does not recognize DEBBUILDOPTS

James Morrison ja2morri@csclub.uwaterloo.ca (James Morrison), 243947@bugs.debian.org
Thu, 15 Apr 2004 14:41:42 -0400 (EDT)


package: gtksourceview
version: 1.0.0-2
tags: experimental

 gtksourceview does not recognize DEBUILDOPTS passed to the build from
dpkg-buildpackage.

Here is a snippit from the log.  You should be able to see that 
-mcpu=ultrasparc =mtune=ultrasparc -m32 do not exist in any of these lines.
It's the -m32 missing that causes the build failure.

Jim

if /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -DDATADIR=\""/usr/share"\" -DG_LOG_DOMAIN=\"GtkSourceView\" -I.. -I.  -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare  -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/libgnomeprint-2.2 -I/usr/include/libart-2.0      -g -Wall -O2 -MT gtksourceview-marshal.lo -MD -MP -MF ".deps/gtksourceview-marshal.Tpo" \
  -c -o gtksourceview-marshal.lo `test -f 'gtksourceview-marshal.c' || echo './'`gtksourceview-marshal.c; \
then mv -f ".deps/gtksourceview-marshal.Tpo" ".deps/gtksourceview-marshal.Plo"; \
else rm -f ".deps/gtksourceview-marshal.Tpo"; exit 1; \
fi
 cc -DHAVE_CONFIG_H -I. -I. -I.. -DDATADIR=\"/usr/share\" -DG_LOG_DOMAIN=\"GtkSourceView\" -I.. -I. -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/libgnomeprint-2.2 -I/usr/include/libart-2.0 -g -Wall -O2 -MT gtksourceview-marshal.lo -MD -MP -MF .deps/gtksourceview-marshal.Tpo -c gtksourceview-marshal.c  -fPIC -DPIC -o .libs/gtksourceview-marshal.o
if /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -DDATADIR=\""/usr/share"\" -DG_LOG_DOMAIN=\"GtkSourceView\" -I.. -I.  -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare  -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/libgnomeprint-2.2 -I/usr/include/libart-2.0      -g -Wall -O2 -MT gtksourceview-typebuiltins.lo -MD -MP -MF ".deps/gtksourceview-typebuiltins.Tpo" \
  -c -o gtksourceview-typebuiltins.lo `test -f 'gtksourceview-typebuiltins.c' || echo './'`gtksourceview-typebuiltins.c; \
then mv -f ".deps/gtksourceview-typebuiltins.Tpo" ".deps/gtksourceview-typebuiltins.Plo"; \
else rm -f ".deps/gtksourceview-typebuiltins.Tpo"; exit 1; \
fi
 cc -DHAVE_CONFIG_H -I. -I. -I.. -DDATADIR=\"/usr/share\" -DG_LOG_DOMAIN=\"GtkSourceView\" -I.. -I. -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/libgnomeprint-2.2 -I/usr/include/libart-2.0 -g -Wall -O2 -MT gtksourceview-typebuiltins.lo -MD -MP -MF .deps/gtksourceview-typebuiltins.Tpo -c gtksourceview-typebuiltins.c  -fPIC -DPIC -o .libs/gtksourceview-typebuiltins.o
/bin/sh ../libtool --mode=link cc  -g -Wall -O2   -o libgtksourceview-1.0.la -rpath /usr/lib  gtksourcebuffer.lo gtksourceiter.lo gtksourcetag.lo gtksourceview.lo gtksourceundomanager.lo gtktextregion.lo gtksourceregex.lo gtksourcelanguage.lo gtksourcelanguagesmanager.lo gtksourceview-i18n.lo gtksourcetagtable.lo gtksourcestylescheme.lo gtksourcemarker.lo gtksourceprintjob.lo  gtksourceview-marshal.lo gtksourceview-typebuiltins.lo -Wl,--export-dynamic -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lpangox-1.0 -lgnomeprint-2-2 -lart_lgpl_2 -lxml2 -lpthread -lz -lm -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
cc -shared  .libs/gtksourcebuffer.o .libs/gtksourceiter.o .libs/gtksourcetag.o .libs/gtksourceview.o .libs/gtksourceundomanager.o .libs/gtktextregion.o .libs/gtksourceregex.o .libs/gtksourcelanguage.o .libs/gtksourcelanguagesmanager.o .libs/gtksourceview-i18n.o .libs/gtksourcetagtable.o .libs/gtksourcestylescheme.o .libs/gtksourcemarker.o .libs/gtksourceprintjob.o .libs/gtksourceview-marshal.o .libs/gtksourceview-typebuiltins.o  -L/usr/lib /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libpangoxft-1.0.so /usr/lib/libpangox-1.0.so /usr/lib/libgnomeprint-2-2.so /usr/lib/libart_lgpl_2.so /usr/lib/libxml2.so -lpthread -lz -lm /usr/lib/libpango-1.0.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so  -Wl,--export-dynamic -Wl,-soname -Wl,libgtksourceview-1.0.so.0 -o .libs/libgtksourceview-1.0.so.0.0.0
/usr/lib/libgtk-x11-2.0.so: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[5]: *** [libgtksourceview-1.0.la] Error 1
make[5]: Leaving directory `/tmp/buildd/gtksourceview-1.0.0/gtksourceview'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/tmp/buildd/gtksourceview-1.0.0/gtksourceview'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/tmp/buildd/gtksourceview-1.0.0/gtksourceview'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/buildd/gtksourceview-1.0.0'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/buildd/gtksourceview-1.0.0'
make: *** [debian/stamp-makefile-build] Error 2
pbuilder: Failed autobuilding of package