Re: gub3 build failure

2008-12-15 Thread Jan Nieuwenhuizen
Op vrijdag 12-12-2008 om 06:18 uur [tijdzone -0800], schreef Graham
Percival:

 Problem building the netpbm package.  gcc doesn't seem to
 recognize the -flax-vector-conversions option,

What happens if you remove that option?  It would be nice if this
option is only needed for gccs that are so new that they are
too strict with vector conversions?  We could then add some
code like in 

   gub/specs/librestrict.py


  but doens't gub
 download gcc itself to avoid specific-version compiler problems?

Yes, but not for target/tools/*.  Using a gub-compiled gcc there
could be more robust, but would be a lot of work still, esp.
bootstrapping this could be tricky.  We still use all kinds
of dependencies (glibc, zlib, whatnot from /usr to build tools/).

Jan.

-- 
Jan Nieuwenhuizen jann...@gnu.org | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien   | http://www.lilypond.org



___
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: gub3 build failure

2008-12-15 Thread Reinhold Kainhofer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Am Montag, 15. Dezember 2008 schrieb Jan Nieuwenhuizen:
 Op vrijdag 12-12-2008 om 06:18 uur [tijdzone -0800], schreef Graham

 Percival:
  Problem building the netpbm package.  gcc doesn't seem to
  recognize the -flax-vector-conversions option,

 What happens if you remove that option?  It would be nice if this
 option is only needed for gccs that are so new that they are
 too strict with vector conversions?  We could then add some
 code like in

gub/specs/librestrict.py

I've now upgraded the server to kubuntu intrepid, so I can't test this any 
more... With intrepid (gcc 4.3.x instead of 4.2.4 in hardy) the netpbm builds 
without problems.

Cheers,
Reinhold
- -- 
- --
Reinhold Kainhofer, Vienna University of Technology, Austria
email: reinh...@kainhofer.com, http://reinhold.kainhofer.com/
 * Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/
 * K Desktop Environment, http://www.kde.org, KOrganizer maintainer
 * Chorvereinigung Jung-Wien, http://www.jung-wien.at/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)

iD8DBQFJRlOSTqjEwhXvPN0RAtGaAJsH+QgOFs2Qq4JydFDB6R4Mjp9gjACfcJTc
bhcWsgbxhrYjApMWiLfSJ54=
=vgL9
-END PGP SIGNATURE-


___
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel


gub3 build failure

2008-12-12 Thread Graham Percival
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 

Re: gub3 build failure

2008-12-12 Thread Han-Wen Nienhuys
It uses compiled GCC for the cross compiler, but 'local' packages
(like netpbm) get compiled with local GCC.  As a workaround, you can
installn netpbm from the distribution and disable it in gub.

On Fri, Dec 12, 2008 at 12:18 PM, Graham Percival
gra...@percival-music.ca wrote:
 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

 ___
 lilypond-devel mailing list
 lilypond-devel@gnu.org
 http://lists.gnu.org/mailman/listinfo/lilypond-devel





-- 
Han-Wen Nienhuys - han...@xs4all.nl - http://www.xs4all.nl/~hanwen


___
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: gub3 build failure

2008-12-12 Thread Reinhold Kainhofer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Am Freitag, 12. Dezember 2008 schrieb Han-Wen Nienhuys:
 It uses compiled GCC for the cross compiler, but 'local' packages
 (like netpbm) get compiled with local GCC.  As a workaround, you can
 installn netpbm from the distribution and disable it in gub.

 On Fri, Dec 12, 2008 at 12:18 PM, Graham Percival

 gra...@percival-music.ca wrote:
  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.

It seems that this version of netpbm needs quite a recent compiler (i.e. gcc 
4.2.4 from KUbuntu hardy does NOT work!). I've tried it on my office machine, 
running KUbuntu intrepid with gcc 4.3.2, and there the netpbm package worked 
just fine.

I've planned to upgrade my server to intrepid anyway, so this is just one more 
reason to do it now...

Cheers,
Reinhold
- -- 
- --
Reinhold Kainhofer, Vienna University of Technology, Austria
email: reinh...@kainhofer.com, http://reinhold.kainhofer.com/
 * Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/
 * K Desktop Environment, http://www.kde.org, KOrganizer maintainer
 * Chorvereinigung Jung-Wien, http://www.jung-wien.at/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)

iD8DBQFJQoOkTqjEwhXvPN0RAs1wAJ9nEz/KYrzsWTz/KDVfDx7yNLncEgCggFSj
m5morcE7etVmrTxqbzJxe1E=
=UFt+
-END PGP SIGNATURE-


___
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel