[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gub error
From: |
John Karl |
Subject: |
gub error |
Date: |
Tue, 11 Oct 2016 12:45:34 +0200 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 |
I'm trying to learn a little bit about how to do development work. My
main impetus to this is the recent (and ongoing) problem with long
compile times on OSX since v2.19.47.
So I installed VirtualBox on my OSX 10.11.6 machine
++ uname -a
Linux debian 3.16.0-4-686-pae #1 SMP Debian 3.16.7-ckt25-1
(2016-03-06) i686 GNU/Linux
++ df -k .
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda1 68657688 9331368 55815588 15% /
`
and installed lilydev (lilydev-4.1-i386.hybrid.iso). I then
successfully built lilypond v2.19.49:
+ cd
+ pwd
/home/pat
+ which lilypond
/home/pat/lilypond-git/build/lily/out/lilypond
+ lilypond --version
GNU LilyPond 2.19.49
Copyright (c) 1996--2015 by
Han-Wen Nienhuys <address@hidden>
Jan Nieuwenhuizen <address@hidden>
and others.
This program is free software. It is covered by the GNU General Public
License and you are welcome to change it and/or distribute copies of it
under certain conditions. Invoke as `lilypond --warranty' for more
information.
+ ls -al /home/pat/lilypond-git/build/lily/out/lilypond
-rwxr-xr-x 1 pat pat 61742292 Oct 7 07:28
/home/pat/lilypond-git/build/lily/out/lilypond
+ file /home/pat/lilypond-git/build/lily/out/lilypond
/home/pat/lilypond-git/build/lily/out/lilypond: ELF 32-bit LSB
executable, Intel 80386, version 1 (GNU/Linux), dynamically linked,
interpreter /lib/ld-linux.so.2, for GNU/Linux 2.6.32,
BuildID[sha1]=59a07788647c43ebabff475f45b906c959665193, not stripped
I believe it was during this phase that I encountered a problem with a
missing "unzip" program, which I rectified using apt-get.
I also successfully used this lilypond to compile a simple lilypond file.
But what I needed was a version of lilypond v2.19.49 for OSX. As I
understand the docs, that means installing gub, which I did, following
the instructions in the Contributor's guide v2.19.48, section 11.4:
git clone git://github.com/gperciva/gub.git
cd gub
make bootstrap (I added: > make_bootstrap.out 2>&1)
There were no instructions where this should be done; I did it in my home directory. The
"make bootstrap" step
seemed to complete ok; the final line of make_bootstrap.out was "done."
However, I did see some ominous messages containing the word "conflicts":
++ egrep -in conflict make_bootstrap.out
539: cross/gcc-core conflicts with cross/gcc-doc
541: glibc-core conflicts with glibc-doc
764: cross/gcc-core conflicts with cross/gcc-doc
766: glibc-core conflicts with glibc-doc
846: cross/gcc-core conflicts with cross/gcc-doc
848: glibc-core conflicts with glibc-doc
Looking around the first set of conflicts:
printing lines 536 thru 544 of make_bootstrap.out
*** Stage: pkg_install (glibc, linux-x86)
done
cross/gcc-core conflicts with cross/gcc-doc
removing cross/gcc-core
glibc-core conflicts with glibc-doc
removing glibc-core
calculating dependencies
*** Stage: download (darwin-sdk, darwin-ppc)
Later, during the "make lilypond", the make terminates abnormally with the
following messages:
+ tail -26 make_lilypond.out
uninstalling package: glibc-doc
<<<<<<<< Tail of log/gub.log
Traceback (most recent call last):
File "bin/gub", line 233, in exceptional_build
build (settings, options, files)
File "bin/gub", line 229, in build
b.build_source_packages (names)
File "bin/../gub/buildrunner.py", line 330, in build_source_packages
self.uninstall_specs (outdated_installed)
File "bin/../gub/buildrunner.py", line 309, in uninstall_specs
self.uninstall_spec (self.specs[name])
File "bin/../gub/buildrunner.py", line 299, in uninstall_spec
self.manager (pkg.platform ()).uninstall_package (pkg.name ())
File "bin/../gub/gup.py", line 340, in uninstall_package
FileManager.uninstall_package (self, name)
File "bin/../gub/gup.py", line 175, in uninstall_package
lst = self.package_installed_files (name)
File "bin/../gub/gup.py", line 81, in package_installed_files
lst = self._package_file_db[name]
KeyError: 'glibc-doc'
gub.make:63: recipe for target 'packages' failed
make[1]: *** [packages] Error 1
make[1]: Leaving directory '/home/pat/gub'
GNUmakefile:26: recipe for target 'lilypond' failed
make: *** [lilypond] Error 2
So there seems to be a connection with the conflicts during the bootstrap phase.
Can anyone give me a clue here? Thanks
I'm attaching compressed versions of make_bootstrap.out and make_lilypond.out.
make_bootstrap.out.zip
Description: Zip archive
make_lilypond.out.zip
Description: Zip archive