lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gub3 binaries, please test


From: John Mandereau
Subject: Re: gub3 binaries, please test
Date: Tue, 11 Nov 2008 17:44:35 +0100

Hi Jan,
On 2008/11/11 16:19 +0100, Jan Nieuwenhuizen wrote:
> Other good news is that the separate bootstrapping and building of tools
> are removed and all platforms can be built in one GUB run, without
> make rule juggling.  Hopefully this gets us more predictable builds ;-)

I've never been able to complete a bootstrap stage in GUB, but I've
immediately started to try GUB3.  You have certainly done a great work
by including much more building dependencies than previous GUB, which
should help to achieve reproducible builds.

It doesn't for me out of the box, though: if I don't set the environment
variable PYTHONPATH=., 'bin/gub --help' or 'make lilypond' crash, e.g.

$ make lilypond
make -f lilypond.make
make[1]: entrant dans le répertoire « /home/lilydev/git/newgub »
python bin/gub  --platform=tools 
Traceback (most recent call last):
  File "bin/gub", line 37, in <module>
    from gub import buildrunner
ImportError: No module named gub
make[1]: *** [tools] Erreur 1
make[1]: quittant le répertoire « /home/lilydev/git/newgub »
make: *** [lilypond] Erreur 2

It looks like my Python doesn't want to import a directory if it's not
specified in the import path.

I use a Fedora 9 x86 64-bit box with
Python 2.5.1 (r251:54863, Jun 15 2008, 18:24:56) 
[GCC 4.3.0 20080428 (Red Hat 4.3.0-8)] on linux2

I'm also having warnings like

checksum failed: tools::curl

for all packages, not only curl.

And the build attempt has just ended on a crash when building Git, which
I'll investigate later (I tried redownloading Git tarball without
success):

rm -f gitk-wish gitk-wish+ && \
        sed -e '1,3s|^exec .* "$0"|exec wish "$0"|' <gitk >gitk-wish+ && \
        chmod +x gitk-wish+ && \
        mv -f gitk-wish+ gitk-wish
rm -f libgit.a && ar rcs libgit.a blob.o commit.o connect.o csum-file.o 
cache-tree.o base85.o date.o diff-delta.o entry.o exec_cmd.o ident.o 
interpolate.o lockfile.o patch-ids.o object.o pack-check.o pack-write.o 
patch-delta.o path.o pkt-line.o sideband.o reachable.o reflog-walk.o quote.o 
read-cache.o refs.o run-command.o dir.o object-refs.o server-info.o setup.o 
sha1_file.o sha1_name.o strbuf.o tag.o tree.o usage.o config.o environment.o 
ctype.o copy.o revision.o pager.o tree-walk.o xdiff-interface.o write_or_die.o 
trace.o list-objects.o grep.o match-trees.o alloc.o merge-file.o path-list.o 
help.o unpack-trees.o diff.o diff-lib.o diffcore-break.o diffcore-order.o 
diffcore-pickaxe.o diffcore-rename.o tree-diff.o combine-diff.o 
diffcore-delta.o log-tree.o color.o wt-status.o archive-zip.o archive-tar.o 
shallow.o utf8.o convert.o attr.o decorate.o progress.o mailmap.o symlinks.o 
remote.o compat/strlcpy.o
gcc -g -O2 -Wall  -DSHA1_HEADER='<openssl/sha.h>' 
-DETC_GITCONFIG='"/home/lilydev/git/newgub/target/tools/root/usr/etc/gitconfig"'
 -DNO_STRLCPY -o git-convert-objects %(rpath)  convert-objects.o libgit.a 
xdiff/lib.a  -lz  -lcrypto
/bin/sh: -c: line 0: syntax error near unexpected token `('
/bin/sh: -c: line 0: `gcc -g -O2 -Wall  -DSHA1_HEADER='<openssl/sha.h>' 
-DETC_GITCONFIG='"/home/lilydev/git/newgub/target/tools/root/usr/etc/gitconfig"'
 -DNO_STRLCPY -o git-convert-objects %(rpath)  convert-objects.o libgit.a 
xdiff/lib.a  -lz  -lcrypto'
make[2]: *** [git-convert-objects] Erreur 2
make[2]: *** Attente des tâches non terminées....
make[2]: quittant le répertoire « 
/home/lilydev/git/newgub/target/tools/build/git-1.5.3.6 »
Command barfed: cd /home/lilydev/git/newgub/target/tools/build/git-1.5.3.6 && 
make  -j2  V=1 SCRIPT_PERL= LDFLAGS='%(rpath)' 

<<<<<<<< Tail of target/tools/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 "/home/lilydev/git/newgub/gub/buildrunner.py", line 225, in 
build_source_packages
    self.spec_build (spec_name)
  File "/home/lilydev/git/newgub/gub/buildrunner.py", line 194, in spec_build
    deferred_runner.execute_deferred_commands ()
  File "/home/lilydev/git/newgub/gub/runner.py", line 160, in 
execute_deferred_commands
    cmd.execute (self.logger)
  File "/home/lilydev/git/newgub/gub/commands.py", line 74, in execute
    ignore_errors=self.ignore_errors)
  File "/home/lilydev/git/newgub/gub/loggedos.py", line 25, in system
    raise misc.SystemFailed (m)
SystemFailed: Command barfed: cd 
/home/lilydev/git/newgub/target/tools/build/git-1.5.3.6 && make  -j2  V=1 
SCRIPT_PERL= LDFLAGS='%(rpath)' 

make[1]: *** [tools] Erreur 1
make[1]: quittant le répertoire « /home/lilydev/git/newgub »
make: *** [lilypond] Erreur 2



> GUB now also has a webpage: http://lilypond.org/gub !

Great!


> Please download and install binaries from
> 
>     http://lilypond.org/download/binaries/gub-third-life/
> 
> and mail a success/failure report here.

Seems to work for me on linux-64 when calling programs with --help --
I'm doing a "make web" with this binary to check it.

Cheers,
John





reply via email to

[Prev in Thread] Current Thread [Next in Thread]