Package: mozart-gtk
Version: 20040429-5
Severity: wishlist

Your package fails to compile on a MIPS box with a 64-bit kernel and
32-bit userland because it cannot detect the host system.  When I
build with "linux32" [1] (i.e. the system shows up as mips rather than
mips64) it works.

The really odd thing is that the host string shown during
configuration is exactly the same in both cases, so I've no idea why
one fails and not the other...

[mips64 is not a Debian supported thing; buildds will run with
linux32.  Nevertheless, it would be nice to support mips64 since other
people might use it]


[1]
Package: linux32
Description: Wrapper to set the execution domain
 the linux32 tools allows 64bit systems with support for 32 bit
 applications to set the personality to the 32 bit native type.


Build failure with mips64:
> Automatic build of mozart-gtk_20040429-5 on bigsur by sbuild/mips 1.94
...
> cd /build/tbm/mozart-gtk-20040429/BUILD && 
> /build/tbm/mozart-gtk-20040429/mozart-gtk-1.1/configure \
>               --host=mips-linux-gnu \
>               --build=mips-linux-gnu \
>               --with-gtk-canvas-dir=/usr
> creating cache ./config.cache
> checking host system type... mips-unknown-linux-gnu
> checking for oztool... /usr/bin/oztool
> checking for ozdoc... /usr/bin/ozdoc
> sh: /usr/lib/mozart/platform/unknown-unknown/oztool.sh: No such file or 
> directory
> checking for gmake... no
> checking for make... make
> checking whether make sets ${MAKE}... yes
> checking for a BSD compatible install... /usr/bin/install -c
> checking for mkinstalldirs... 
> /build/tbm/mozart-gtk-20040429/mozart-gtk-1.1/mkinstalldirs
> checking for c++... c++
> checking whether the C++ compiler (c++ -O ) works... yes
> checking whether the C++ compiler (c++ -O ) is a cross-compiler... no
> checking whether we are using GNU C++... yes
> checking whether c++ accepts -g... yes
> checking c++ version is at least 2.7... yes (4.1.0)
> checking how to run the C++ preprocessor... c++ -E
> checking for ozc... /usr/bin/ozc
> checking for ozl... /usr/bin/ozl
> checking for ozengine... /usr/bin/ozengine
> checking for flex... flex
> checking for yywrap in -lfl... yes
> checking flex version is at least 2.5.3... yes (2.5.4)
> checking for bison... bison -y
> checking bison -y version is at least 1.25... yes (2.1)
> checking for cpp... /usr/bin/cpp
> checking for tricky preprocessor options... 
> checking for -s option to oztool ld... no
> checking for gtk-config... /usr/bin/gtk-config
> checking gtk c flags... -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 
> -I/usr/lib/glib/include
> checking for options to filter from gtk c flags... keeping: 
> -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
> checking gtk lib flags... -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic 
> -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm
> checking for imlib-config... /usr/bin/imlib-config
> checking imlib c flags... -I/usr/X11R6/include
> checking for options to filter from imlib c flags... keeping: 
> -I/usr/X11R6/include
> checking imlib lib flags... -L/usr/lib -lImlib -ljpeg -ltiff -lungif -lpng 
> -lz -lm -lXext -L/usr/X11R6/lib -lSM -lICE -lXext -lX11
> checking for libart-config... /usr/bin/libart-config
> checking libart c flags... -I/usr/include/gnome-1.0
> checking for options to filter from libart c flags... keeping: 
> -I/usr/include/gnome-1.0
> checking libart lib flags... -L/usr/lib -lart_lgpl -lm
> checking for GTK+ version... 1.2.10
> checking for --with-gtk-canvas-dir... canvas directory = /usr
> updating cache ./config.cache
> creating ./config.status
> creating Makefile
> dh_testdir
> /usr/bin/make -C /build/tbm/mozart-gtk-20040429/BUILD
> make[1]: Entering directory `/build/tbm/mozart-gtk-20040429/BUILD'
> cpp -I/usr/X11R6/include -I/usr/include/gnome-1.0 -I/usr/include/gtk-1.2 
> -I/usr/include/glib-1.2 -I/usr/lib/glib/include  -D__IEEE_LITTLE_ENDIAN 
> -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include 
> -I/usr/include -I/usr/include/gnome-1.0 -I/usr/X11R6/include 
> /build/tbm/mozart-gtk-20040429/mozart-gtk-1.1/gtkdefs.c > gtkraw.c
> flex -olex.yy.cc /build/tbm/mozart-gtk-20040429/mozart-gtk-1.1/c.flex
> bison -y -d /build/tbm/mozart-gtk-20040429/mozart-gtk-1.1/c.bison
> conflicts: 1 shift/reduce
> cp y.tab.h c.bison.tab.hh
> OZTOOL_CXX="c++" \
>       /usr/bin/oztool c++  -O  -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 
> -I/usr/lib/glib/include -I/usr/include -I/usr/include/gnome-1.0 
> -I/usr/X11R6/include -I/build/tbm/mozart-gtk-20040429/mozart-gtk-1.1 -I. \
>       -c lex.yy.cc -o lex.yy.o
> sh: /usr/lib/mozart/platform/unknown-unknown/oztool.sh: No such file or 
> directory
> make[1]: *** [lex.yy.o] Error 127

And running with linux32 (i.e. "mips):


> cd /home/tbm/src/mozart-gtk-20040429/BUILD && 
> /home/tbm/src/mozart-gtk-20040429/mozart-gtk-1.1/configure \
>                 --host=mips-linux-gnu \
>                 --build=mips-linux-gnu \
>                 --with-gtk-canvas-dir=/usr
> creating cache ./config.cache
> checking host system type... mips-unknown-linux-gnu
> checking for oztool... /usr/bin/oztool
> checking for ozdoc... /usr/bin/ozdoc
> checking for gmake... no
> checking for make... make

Odd.
-- 
Martin Michlmayr
http://www.cyrius.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to