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