Problem building the netpbm package.  gcc doesn't seem to
recognize the "-flax-vector-conversions" option, but doens't gub
download gcc itself to avoid specific-version compiler problems?

Log attached.

Cheers,
- Graham
must rebuild[linux-x86]: tools::netpbm tools::curl tools::expat tools::git 
gettext tools::flex zlib libpng tools::gmp tools::bison expat tools::python 
python freetype tools::freetype fontconfig glib pango tools::texi2html 
tools::libxml2 tools::gettext tools::rsync tools::guile guile libjpeg 
ghostscript urw-fonts tools::fontforge tools::t1utils tools::bzip2 
tools::fontconfig tools::ghostscript tools::imagemagick lilypond
 *** Stage: pkg_install (cross/gcc-core, linux-x86)

 *** Stage: pkg_install (glibc-core, linux-x86)

building package: tools::netpbm
 *** Stage: untar (netpbm, tools)
 *** Stage: patch (netpbm, tools)
 *** Stage: autoupdate (netpbm, tools)
 *** Stage: configure (netpbm, tools)
 *** Stage: compile (netpbm, tools)
Command barfed: cd /home/lilypond/gub/target/tools/build/netpbm-10.35 && make   
CC=gcc CFLAGS='-O2 -fPIC -flax-vector-conversions' LDFLAGS='-Wl,-rpath 
-Wl,\$$ORIGIN/../lib -L/home/lilypond/gub/target/tools/build/netpbm-10.35/pbm 
-L/home/lilypond/gub/target/tools/build/netpbm-10.35/pgm 
-L/home/lilypond/gub/target/tools/build/netpbm-10.35/pnm 
-L/home/lilypond/gub/target/tools/build/netpbm-10.35/ppm' LADD=-lm 
LINUXSVGALIB=NONE XML2LD=NONE XML2_LIBS=NONE XML2_CFLAGS=NONE X11LIB=NONE 

Tail of target/linux-x86/log/build.log >>>>>>>>
If you don't know what this means, take the default or see doc/INSTALL

regular or merge [regular] ==> 
Do you want libnetpbm to be statically linked or shared?

static or shared [shared] ==> 

What header file defines uint32_t, etc.?

(Doing test compiles to choose a default for you -- ignore errors)
Doing test compile: cc -c -o /tmp/netpbm0.o  /tmp/netpbm0.c

'#include' argument or NONE [<inttypes.h>] ==> (Doing test compiles to 
determine if you have int64 type -- ignore errors)
Doing test compile: cc -c -o /tmp/netpbm0.o  /tmp/netpbm0.c
You do.

Doing test compile: cc -c -o /tmp/netpbm0.o  /tmp/netpbm0.c


The following questions concern the subroutine libraries that are Netpbm
prerequisites.  Every library has a compile-time part (header files)
and a link-time part.  In the case of a shared library, these are both
part of the "development" component of the library, which may be separately
installable from the runtime shared library.  For each library, you must
give the filename of the link library.  If it is not in your linker's
default search path, give the absolute pathname of the file.  In addition,
you will be asked for the directory in which the library's interface headers
reside, and you can respond 'default' if they are in your compiler's default
search path.

If you don't have the library on your system, you can enter 'none' as the
library filename and the builder will skip any part that requires that library.

What is your JPEG (graphics format) library?
library filename or 'none' [libjpeg.so] ==> Where are the interface headers for 
it?
JPEG header directory [default] ==> 
What is your TIFF (graphics format) library?
library filename or 'none' [libtiff.so] ==> Where are the interface headers for 
it?
TIFF header directory [default] ==> 

What is your Z (compression) library?
library filename or 'none' [libz.so] ==> Where are the interface headers for it?
Z header directory [default] ==> 
What is your X11 (X client) library?
library filename or 'none' [/usr/lib/libX11.so] ==> Where are the interface 
headers for it?
X11 header directory [default] ==> 
What is your Svgalib library?
library filename or 'none' [libvga.so] ==> Where are the interface headers for 
it?
Svgalib header directory [default] ==> 
What URL will you use for the main Netpbm documentation page?
This information does not get built into any programs or libraries.
It does not make anything actually install that web page.
It is just for including in legacy man pages.

Documentation URL [http://netpbm.sourceforge.net/doc/] ==> 
Doing test compile: cc -c -o /tmp/netpbm0.o   /tmp/netpbm0.c
Doing test compile: cc -c -o /tmp/netpbm0.o   /tmp/netpbm0.c
Doing test compile: cc -c -o /tmp/netpbm0.o  
-I/home/lilypond/gub/target/tools/root/usr/include /tmp/netpbm0.c

We have created the file 'Makefile.config'.  Note, however, that 
we guessed a lot at your configuration and you may want to look 
at Makefile.config and edit it to your requirements and taste 
before doing the make.

Now you may proceed with 'make'

Running dump_file
  ('3', 
'/home/lilypond/gub/target/tools/status/netpbm-10.35-netpbm-patched-10.35', 'w')
  {'permissions': 420}
 *** Stage: compile (netpbm, tools)
invoking cd /home/lilypond/gub/target/tools/build/netpbm-10.35 && make   CC=gcc 
CFLAGS='-O2 -fPIC -flax-vector-conversions' LDFLAGS='-Wl,-rpath 
-Wl,\$$ORIGIN/../lib -L/home/lilypond/gub/target/tools/build/netpbm-10.35/pbm 
-L/home/lilypond/gub/target/tools/build/netpbm-10.35/pgm 
-L/home/lilypond/gub/target/tools/build/netpbm-10.35/pnm 
-L/home/lilypond/gub/target/tools/build/netpbm-10.35/ppm' LADD=-lm 
LINUXSVGALIB=NONE XML2LD=NONE XML2_LIBS=NONE XML2_CFLAGS=NONE X11LIB=NONE 
/home/lilypond/gub/target/tools/build/netpbm-10.35/Makefile.common:541: 
Makefile.depend: No such file or directory
cat /dev/null >Makefile.depend
make -C lib/ -f 
/home/lilypond/gub/target/tools/build/netpbm-10.35//lib/Makefile \
            SRCDIR=/home/lilypond/gub/target/tools/build/netpbm-10.35 
BUILDDIR=/home/lilypond/gub/target/tools/build/netpbm-10.35 all 
make[1]: Entering directory 
`/home/lilypond/gub/target/tools/build/netpbm-10.35/lib'
/home/lilypond/gub/target/tools/build/netpbm-10.35/Makefile.common:541: 
Makefile.depend: No such file or directory
cat /dev/null >Makefile.depend
make[1]: Leaving directory 
`/home/lilypond/gub/target/tools/build/netpbm-10.35/lib'
make[1]: Entering directory 
`/home/lilypond/gub/target/tools/build/netpbm-10.35/lib'
make -C /home/lilypond/gub/target/tools/build/netpbm-10.35/ pm_config.h
make[2]: Entering directory `/home/lilypond/gub/target/tools/build/netpbm-10.35'
make -C /home/lilypond/gub/target/tools/build/netpbm-10.35/buildtools/ -f 
/home/lilypond/gub/target/tools/build/netpbm-10.35/buildtools/Makefile \
            SRCDIR=/home/lilypond/gub/target/tools/build/netpbm-10.35 
BUILDDIR=/home/lilypond/gub/target/tools/build/netpbm-10.35 typegen 
make[3]: Entering directory 
`/home/lilypond/gub/target/tools/build/netpbm-10.35/buildtools'
/home/lilypond/gub/target/tools/build/netpbm-10.35/Makefile.common:541: 
Makefile.depend: No such file or directory
cat /dev/null >Makefile.depend
make[3]: Leaving directory 
`/home/lilypond/gub/target/tools/build/netpbm-10.35/buildtools'
make[3]: Entering directory 
`/home/lilypond/gub/target/tools/build/netpbm-10.35/buildtools'
gcc -c -O2 -fPIC -flax-vector-conversions -o typegen.o typegen.c
cc1: error: unrecognized command line option "-flax-vector-conversions"
make[3]: *** [typegen.o] Error 1
make[3]: Leaving directory 
`/home/lilypond/gub/target/tools/build/netpbm-10.35/buildtools'
make[2]: *** 
[/home/lilypond/gub/target/tools/build/netpbm-10.35/buildtools/typegen] Error 2
make[2]: Leaving directory `/home/lilypond/gub/target/tools/build/netpbm-10.35'
make[1]: *** [/home/lilypond/gub/target/tools/build/netpbm-10.35/pm_config.h] 
Error 2
make[1]: Leaving directory 
`/home/lilypond/gub/target/tools/build/netpbm-10.35/lib'
make: *** [lib/all] Error 2
Command barfed: cd /home/lilypond/gub/target/tools/build/netpbm-10.35 && make   
CC=gcc CFLAGS='-O2 -fPIC -flax-vector-conversions' LDFLAGS='-Wl,-rpath 
-Wl,\$$ORIGIN/../lib -L/home/lilypond/gub/target/tools/build/netpbm-10.35/pbm 
-L/home/lilypond/gub/target/tools/build/netpbm-10.35/pgm 
-L/home/lilypond/gub/target/tools/build/netpbm-10.35/pnm 
-L/home/lilypond/gub/target/tools/build/netpbm-10.35/ppm' LADD=-lm 
LINUXSVGALIB=NONE XML2LD=NONE XML2_LIBS=NONE XML2_CFLAGS=NONE X11LIB=NONE 

<<<<<<<< Tail of target/linux-x86/log/build.log

Traceback (most recent call last):
  File "bin/gub", line 270, in exceptional_build
    build (settings, options, files)
  File "bin/gub", line 265, in build
    b.build_source_packages (names)
  File "bin/../gub/buildrunner.py", line 228, in build_source_packages
    self.spec_build (spec_name)
  File "bin/../gub/buildrunner.py", line 194, in spec_build
    deferred_runner.execute_deferred_commands ()
  File "bin/../gub/runner.py", line 160, in execute_deferred_commands
    cmd.execute (self.logger)
  File "bin/../gub/commands.py", line 74, in execute
    ignore_errors=self.ignore_errors)
  File "bin/../gub/loggedos.py", line 25, in system
    raise misc.SystemFailed (m)
SystemFailed: Command barfed: cd 
/home/lilypond/gub/target/tools/build/netpbm-10.35 && make   CC=gcc CFLAGS='-O2 
-fPIC -flax-vector-conversions' LDFLAGS='-Wl,-rpath -Wl,\$$ORIGIN/../lib 
-L/home/lilypond/gub/target/tools/build/netpbm-10.35/pbm 
-L/home/lilypond/gub/target/tools/build/netpbm-10.35/pgm 
-L/home/lilypond/gub/target/tools/build/netpbm-10.35/pnm 
-L/home/lilypond/gub/target/tools/build/netpbm-10.35/ppm' LADD=-lm 
LINUXSVGALIB=NONE XML2LD=NONE XML2_LIBS=NONE XML2_CFLAGS=NONE X11LIB=NONE 

cross/gcc conflicts with cross/gcc-core
  non-core cross/gcc already installed
    skipping request to install cross/gcc-core
cross/gcc-doc conflicts with cross/gcc-core
  non-core cross/gcc already installed
    skipping request to install cross/gcc-core
cross/gcc-runtime conflicts with cross/gcc-core
  non-core cross/gcc already installed
    skipping request to install cross/gcc-core
glibc conflicts with glibc-core
  non-core glibc already installed
    skipping request to install glibc-core
glibc-devel conflicts with glibc-core
  non-core glibc already installed
    skipping request to install glibc-core
glibc-doc conflicts with glibc-core
  non-core glibc already installed
    skipping request to install glibc-core
_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to