Same error when I run `make lilypond` (tried a few days ago after your 
commits). It looks like a Python problem, but you get a successful build even 
if you are using the same python version I'm using (2.7.13), as discussed in 
[pull 51](https://github.com/gperciva/gub/pull/51).



---

** [issues:#5420] 'make lilypond' fails in GUB - KeyError: 'glibc-doc'**

**Status:** Accepted
**Labels:** GUB 
**Created:** Thu Sep 20, 2018 02:36 PM UTC by Federico Bruni
**Last Updated:** Sat Dec 22, 2018 04:55 PM UTC
**Owner:** nobody
**Attachments:**

- 
[gub.log](https://sourceforge.net/p/testlilyissues/issues/5420/attachment/gub.log)
 (112.2 kB; text/x-log)


I'm trying to build GUB using Knut's patch (issue [#5384]).
I've used a Ubuntu 16.04 container generated with debootstrap:

```
$ mkdir ubuntu-16.04
$ sudo debootstrap --arch=amd64 --components=main,universe 
--include=ubuntu-keyring,git,ca-certificates,wget,nano,less,openssh-client,systemd-container,build-essential,gcc-multilib,gettext,python,texlive-binaries,texlive-xetex
 xenial ./ubuntu-16.04 http://it.archive.ubuntu.com/ubuntu/
```

and run with systemd-nspawn.
I'm writing this because Knut reported he was able to build GUB in Ubuntu 
16.04, using his patch. I wonder if using a container instead of a (fully 
"isolated") virtual machine may make a difference here. Unfortunately I cannot 
verify it at the moment since I have a problem [booting Ubuntu as virtual 
machine](https://gitlab.gnome.org/GNOME/gnome-boxes/issues/226).

'make bootstrap' run fine, except the download problem described in issue 
[#5417].
'make lilypond' fails. See attached `gub.log`.

```
$ make LILYPOND_BRANCH=stable/2.20 lilypond
make -f lilypond.make
make[1]: Entering directory '/home/dev/gub'
**** nongit-dirs rule
mkdir -p versiondb regtests uploads
**** lilypond-prep rule
python bin/gub --platform=linux-64     
'git://git.sv.gnu.org/lilypond.git?branch=stable/2.20' 
linux-x86::'git://git.sv.gnu.org/lilypond.git?branch=stable/2.20' 
darwin-ppc::'git://git.sv.gnu.org/lilypond.git?branch=stable/2.20' 
darwin-x86::'git://git.sv.gnu.org/lilypond.git?branch=stable/2.20' 
mingw::'git://git.sv.gnu.org/lilypond.git?branch=stable/2.20' 
linux-ppc::'git://git.sv.gnu.org/lilypond.git?branch=stable/2.20' 
freebsd-x86::'git://git.sv.gnu.org/lilypond.git?branch=stable/2.20' 
freebsd-64::'git://git.sv.gnu.org/lilypond.git?branch=stable/2.20'
calculating dependencies
 *** Stage: download (libpng, tools)
downloading 
https://sourceforge.net/projects/libpng/files/libpng12/older-releases/1.2.56/libpng-1.2.56.tar.xz
 -> /home/dev/gub/downloads/libpng/
.............
done (654688)
 *** Stage: download (fontconfig, mingw)
downloading http://fontconfig.org/release/fontconfig-2.12.1.tar.bz2 -> 
/home/dev/gub/downloads/fontconfig/
................................
done (1608901)
 *** Stage: download (gettext, tools)
downloading http://ftp.gnu.org/pub/gnu/gettext/gettext-0.15.tar.gz -> 
/home/dev/gub/downloads/gettext/
..............................................................................................................................................................
done (8081941)
 *** Stage: download (guile, tools)
downloading http://ftp.gnu.org/pub/gnu/guile/guile-1.8.7.tar.gz -> 
/home/dev/gub/downloads/guile/
...............................................................................
done (4026804)
 *** Stage: download (icoutils, tools)
downloading 
http://download.savannah.gnu.org/releases/icoutils/icoutils-0.31.0.tar.bz2 -> 
/home/dev/gub/downloads/icoutils/
...........
done (559836)
 *** Stage: download (libffi, tools)
downloading ftp://sourceware.org/pub/libffi/libffi-3.2.1.tar.gz -> 
/home/dev/gub/downloads/libffi/
...................
done (940837)
 *** Stage: download (glib, tools)
downloading http://ftp.gnome.org/pub/GNOME/sources/glib/2.44/glib-2.44.1.tar.xz 
-> /home/dev/gub/downloads/glib/
............................................................................................................................................
done (7132940)
 *** Stage: download (harfbuzz, linux-ppc)
downloading 
https://www.freedesktop.org/software/harfbuzz/release/harfbuzz-1.3.0.tar.bz2 -> 
/home/dev/gub/downloads/harfbuzz/
...........................
done (1351234)
 *** Stage: download (libiconv, freebsd-64)
downloading http://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.11.tar.gz -> 
/home/dev/gub/downloads/libiconv/
.......................................................................................
done (4430930)
 *** Stage: download (libffi, darwin-x86)
downloading ftp://sourceware.org/pub/libffi/libffi-3.0.13.tar.gz -> 
/home/dev/gub/downloads/libffi/
.................
done (845747)
 *** Stage: download (pango, darwin-x86)
downloading 
http://ftp.gnome.org/pub/GNOME/sources/pango/1.40/pango-1.40.1.tar.xz -> 
/home/dev/gub/downloads/pango/
.....................
done (1051912)
 *** Stage: download (ghostscript, freebsd-x86)
downloading 
https://ftp.osuosl.org/pub/blfs/conglomeration/ghostscript/ghostscript-9.15.tar.bz2
 -> /home/dev/gub/downloads/ghostscript/
....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
done (28826065)
 *** Stage: download (glib, freebsd-x86)
downloading http://ftp.gnome.org/pub/GNOME/sources/glib/2.38/glib-2.38.2.tar.xz 
-> /home/dev/gub/downloads/glib/
....................................................................................................................................
done (6718296)
 *** Stage: download (fonts-urw-core35, tools)
downloading 
http://lilypond.org/downloads/gub-sources/urw-fonts/urw-core35-fonts-91edd6e.tar.xz
 -> /home/dev/gub/downloads/fonts-urw-core35/
....................................................................................................................................................................
done (8380112)
 *** Stage: download (libxml2, tools)
downloading 
http://ftp.gnome.org/pub/GNOME/platform/2.18/2.18.1/sources/libxml2-2.6.27.tar.gz
 -> /home/dev/gub/downloads/libxml2/
..........................................................................................
done (4590835)
 *** Stage: download (fontforge, tools)
downloading 
http://kent.dl.sourceforge.net/project/fontforge/fontforge-source/fontforge_full-20110222.tar.bz2
 -> /home/dev/gub/downloads/fontforge/
.....................................................................................................
done (5126031)
 *** Stage: download (t1utils, tools)
downloading http://www.lcdf.org/type/t1utils-1.34.tar.gz -> 
/home/dev/gub/downloads/t1utils/
....
done (155425)
 *** Stage: download (texi2html, tools)
downloading 
http://download.savannah.gnu.org/releases/texi2html/texi2html-1.82.tar.gz -> 
/home/dev/gub/downloads/texi2html/
................................................................................................................................................
done (7350232)
 *** Stage: download (poppler, tools)
downloading https://poppler.freedesktop.org/poppler-0.49.0.tar.xz -> 
/home/dev/gub/downloads/poppler/
.................................
done (1685860)
 *** Stage: download (extractpdfmark, tools)
downloading 
https://github.com/trueroad/extractpdfmark/releases/download/v1.0.1/extractpdfmark-1.0.1.tar.gz
 -> /home/dev/gub/downloads/extractpdfmark/
......
done (291651)
 *** Stage: download (lilypond, freebsd-x86)
 *** Stage: download (regex, mingw)
downloading 
http://lilypond.org/downloads/gub-sources/regex/regex-2.3.90-1.tar.bz2 -> 
/home/dev/gub/downloads/regex/
.........
done (436224)
 *** Stage: download (osx-lilypad, darwin-x86)
downloading 
http://lilypond.org/downloads/gub-sources/osx-lilypad-universal/osx-lilypad-universal-0.6.3.tar.gz
 -> /home/dev/gub/downloads/osx-lilypad/
..........................................................................................................
done (5384213)
 *** Stage: download (fondu, darwin-ppc)
downloading http://fondu.sourceforge.net/fondu_src-060102.tgz -> 
/home/dev/gub/downloads/fondu/
...
done (131516)
 *** Stage: download (imagemagick, tools)
downloading 
http://www.imagemagick.org/download/releases/ImageMagick-6.5.7-9.tar.xz -> 
/home/dev/gub/downloads/imagemagick/
.........................................................................................................................
done (6184160)
 *** Stage: download (osx-lilypad, darwin-ppc)
downloading 
http://lilypond.org/downloads/gub-sources/osx-lilypad-universal/osx-lilypad-universal-0.4.tar.gz
 -> /home/dev/gub/downloads/osx-lilypad/
.....................................................................................................
done (5147930)
Checking for iconv ... /usr/bin/iconv
Checking for mf ... /usr/bin/mf
Checking for xetex ... /usr/bin/xetex
Checking for gcc ... /usr/bin/gcc
Checking for mpost ... /usr/bin/mpost
Checking for xelatex ... /usr/bin/xelatex
Checking for g++ ... /usr/bin/g++
must rebuild[linux-64]: system::gcc tools::librestrict tools::libtool 
tools::tar tools::m4 tools::perl tools::autoconf system::g++ tools::pkg-config 
tools::zlib tools::file tools::patch tools::make tools::fonts-texgyre 
darwin-ppc::darwin-sdk tools::bzip2 tools::xzutils tools::texinfo 
linux-x86::linux-headers linux-x86::cross/binutils tools::bison tools::flex 
tools::gmp tools::mpfr tools::mpc tools::gawk linux-x86::cross/gcc-core 
linux-x86::glibc-core linux-x86::cross/gcc tools::gzip linux-x86::glibc 
tools::automake darwin-ppc::python darwin-ppc::odcctools darwin-ppc::cross/gcc 
darwin-ppc::libtool darwin-ppc::freetype darwin-ppc::libjpeg 
darwin-ppc::libtiff darwin-ppc::ghostscript system::iconv tools::p7zip 
mingw::mingw-w64-runtime mingw::cross/binutils mingw::cross/gcc mingw::libtool 
tools::expat mingw::expat mingw::zlib mingw::freetype tools::libpng 
tools::freetype mingw::fontconfig tools::curl tools::gettext tools::git 
linux-x86::libtool linux-x86::gettext linux-ppc::linux-headers 
linux-ppc::cross/binutils linux-ppc::cross/gcc-core linux-ppc::glibc-core 
linux-ppc::cross/gcc linux-ppc::glibc linux-ppc::libtool linux-ppc::gettext 
darwin-ppc::gettext darwin-ppc::gmp tools::guile darwin-ppc::guile 
tools::icoutils freebsd-x86::freebsd-runtime freebsd-x86::cross/binutils 
freebsd-x86::cross/gcc freebsd-x86::libtool freebsd-x86::gettext 
freebsd-x86::gmp freebsd-x86::guile linux-ppc::zlib linux-ppc::freetype 
tools::libffi tools::glib linux-ppc::libffi linux-ppc::glib linux-ppc::harfbuzz 
linux-x86::db linux-x86::expat linux-x86::zlib tools::db tools::python 
linux-x86::python freebsd-64::freebsd-runtime freebsd-64::cross/binutils 
freebsd-64::cross/gcc freebsd-64::libtool freebsd-64::zlib freebsd-64::freetype 
freebsd-64::libjpeg freebsd-64::libtiff freebsd-64::gettext 
freebsd-64::libiconv freebsd-64::ghostscript freebsd-64::flex 
darwin-x86::darwin-sdk darwin-x86::python darwin-x86::odcctools 
darwin-x86::cross/gcc darwin-x86::libtool darwin-x86::expat 
darwin-x86::freetype darwin-x86::fontconfig darwin-x86::gettext 
darwin-x86::libffi darwin-x86::glib darwin-x86::harfbuzz darwin-x86::pango 
freebsd-64::expat linux-headers cross/binutils cross/gcc-core glibc-core 
cross/gcc darwin-ppc::expat darwin-ppc::fontconfig mingw::gmp freebsd-x86::flex 
freebsd-x86::expat freebsd-x86::zlib freebsd-x86::freetype 
freebsd-x86::fontconfig freebsd-x86::libjpeg freebsd-x86::libtiff 
freebsd-x86::libiconv freebsd-x86::ghostscript freebsd-x86::libffi 
freebsd-x86::glib freebsd-x86::harfbuzz freebsd-x86::pango freebsd-x86::db 
freebsd-x86::python tools::fonts-urw-core35 tools::libjpeg tools::libxml2 
tools::fontforge tools::t1utils tools::texi2html tools::libtiff 
tools::ghostscript tools::fontconfig tools::poppler tools::extractpdfmark 
system::mf system::mpost system::xetex system::xelatex freebsd-x86::lilypond 
mingw::db linux-ppc::gmp glibc flex libtool expat zlib freetype fontconfig 
gettext libjpeg libtiff ghostscript gmp guile libffi glib harfbuzz pango db 
python lilypond mingw::gettext mingw::regex mingw::guile linux-ppc::libjpeg 
linux-ppc::libtiff linux-ppc::ghostscript mingw::flex linux-x86::flex 
linux-x86::freetype linux-x86::fontconfig linux-x86::libjpeg linux-x86::libtiff 
linux-x86::ghostscript linux-x86::gmp linux-x86::guile linux-x86::libffi 
linux-x86::glib linux-x86::harfbuzz linux-x86::pango linux-x86::lilypond 
freebsd-64::db freebsd-64::python mingw::libffi darwin-x86::osx-lilypad 
freebsd-64::gmp darwin-ppc::libffi mingw::libjpeg mingw::libtiff 
mingw::ghostscript darwin-x86::libjpeg freebsd-64::libffi linux-ppc::db 
linux-ppc::expat linux-ppc::python freebsd-64::fontconfig freebsd-64::guile 
freebsd-64::glib freebsd-64::harfbuzz freebsd-64::pango freebsd-64::lilypond 
darwin-x86::libtiff darwin-x86::ghostscript darwin-ppc::glib 
darwin-ppc::harfbuzz darwin-ppc::fondu linux-ppc::flex linux-ppc::fontconfig 
linux-ppc::guile linux-ppc::pango linux-ppc::lilypond darwin-x86::gmp 
mingw::libiconv mingw::glib mingw::harfbuzz mingw::pango mingw::python 
tools::imagemagick mingw::lilypond darwin-ppc::flex darwin-x86::fondu 
darwin-x86::guile darwin-x86::flex darwin-x86::lilypond darwin-ppc::osx-lilypad 
darwin-ppc::pango darwin-ppc::lilypond
removing outdated[linux-64]: glibc cross/gcc cross/binutils linux-headers 
darwin-x86::cross/gcc darwin-x86::odcctools darwin-x86::python 
darwin-x86::darwin-sdk freebsd-64::cross/gcc freebsd-64::cross/binutils 
freebsd-64::freebsd-runtime freebsd-x86::cross/gcc freebsd-x86::cross/binutils 
freebsd-x86::freebsd-runtime linux-ppc::glibc linux-ppc::cross/gcc 
linux-ppc::cross/binutils linux-ppc::linux-headers tools::git tools::curl 
tools::expat mingw::cross/gcc mingw::cross/binutils mingw::mingw-w64-runtime 
tools::p7zip darwin-ppc::cross/gcc darwin-ppc::odcctools darwin-ppc::python 
tools::automake linux-x86::glibc tools::gzip linux-x86::cross/gcc tools::gawk 
tools::mpc tools::mpfr tools::gmp tools::flex tools::bison 
linux-x86::cross/binutils linux-x86::linux-headers tools::texinfo 
tools::xzutils tools::bzip2 darwin-ppc::darwin-sdk tools::make tools::patch 
tools::file tools::zlib tools::pkg-config tools::autoconf tools::perl tools::m4 
tools::tar tools::libtool tools::librestrict

Tail of log/gub.log >>>>>>>>
    linux-64]: glibc cross/gcc cross/binutils linux-headers 
darwin-x86::cross/gcc darwin-x86::odcctools darwin-x86::python 
darwin-x86::darwin-sdk freebsd-64::cross/gcc freebsd-64::cross/binutils 
freebsd-64::freebsd-runtime freebsd-x86::cross/gcc freebsd-x86::cross/binutils 
freebsd-x86::freebsd-runtime linux-ppc::glibc linux-ppc::cross/gcc 
linux-ppc::cross/binutils linux-ppc::linux-headers tools::git tools::curl 
tools::expat mingw::cross/gcc mingw::cross/binutils mingw::mingw-w64-runtime 
tools::p7zip darwin-ppc::cross/gcc darwin-ppc::odcctools darwin-ppc::python 
tools::automake linux-x86::glibc tools::gzip linux-x86::cross/gcc tools::gawk 
tools::mpc tools::mpfr tools::gmp tools::flex tools::bison 
linux-x86::cross/binutils linux-x86::linux-headers tools::texinfo 
tools::xzutils tools::bzip2 darwin-ppc::darwin-sdk tools::make tools::patch 
tools::file tools::zlib tools::pkg-config tools::autoconf tools::perl tools::m4 
tools::tar tools::libtool tools::librestrict
    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/dev/gub'
GNUmakefile:26: recipe for target 'lilypond' failed
make: *** [lilypond] Error 2
```



---

Sent from sourceforge.net because [email protected] is 
subscribed to https://sourceforge.net/p/testlilyissues/issues/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/testlilyissues/admin/issues/options.  Or, if this is 
a mailing list, you can unsubscribe from the mailing list.
_______________________________________________
Testlilyissues-auto mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/testlilyissues-auto
  • [Lilypond-... Auto mailings of changes to Lily Issues via Testlilyissues-auto
    • [Lily... Auto mailings of changes to Lily Issues via Testlilyissues-auto

Reply via email to