Menu

#5384 Various fixes to GUB: - update broken download links - add missing dependencies - fix building of 'make' on glibc 2.27 systems - teach our ancient glibc that make 4.x exists - minor fixes

Verified
GUB (16)
push
Maintainability
2018-10-15
2018-07-16
No

Various fixes to GUB:
- update broken download links
- add missing dependencies
- fix 'make' for glibc 2.27 systems
- teach our ancient glibc that make 4.x exists
- fix 'db delete failing' problem on openSuSE Tumbleweed

Status on some selected distributions:

ubuntu-14.04.5 LTS:
'make lilypond LILYPOND_BRANCH=stable/2.20' succeeds

ubuntu-16.04.4 LTS:
'make lilypond LILYPOND_BRANCH=stable/2.20' succeeds

ubuntu-18.04 LTS and openSuSE Tumbleweed
'make bootstrap' succeeds, but crossbuilding guile still fails during 'make lilypond LILYPOND_BRANCH=stable/2.20'

Signed-off-by: Knut Petersen knut_petersen@t-online.de

http://codereview.appspot.com/369750043

Related

Issues: #5420

Discussion

<< < 1 2 (Page 2 of 2)
  • Federico Bruni

    Federico Bruni - 2018-09-13

    If I enter target/tools/build/glib-2.44.1/ and run make I get this:

    make[2]: Entering directory '/home/fede/src/gub/target/tools/build/glib-2.44.1/glib'
    /bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I/home/fede/src/gub/target/tools/src/glib-2.44.1/glib -I..  -I.. -I../glib -I/home/fede/src/gub/target/tools/src/glib-2.44.1/glib -I/home/fede/src/gub/target/tools/src/glib-2.44.1  -DG_LOG_DOMAIN=\"GLib\" -DG_DISABLE_CAST_CHECKS -DGLIB_COMPILATION -DPCRE_STATIC -pthread -Wall -Wstrict-prototypes -Werror=declaration-after-statement -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format=2 -Werror=missing-include-dirs -fvisibility=hidden -I/home/fede/src/gub/target/tools/root/usr/include -MT libglib_2_0_la-gdate.lo -MD -MP -MF .deps/libglib_2_0_la-gdate.Tpo -c -o libglib_2_0_la-gdate.lo `test -f 'gdate.c' || echo '/home/fede/src/gub/target/tools/src/glib-2.44.1/glib/'`gdate.c
    libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I/home/fede/src/gub/target/tools/src/glib-2.44.1/glib -I.. -I.. -I../glib -I/home/fede/src/gub/target/tools/src/glib-2.44.1/glib -I/home/fede/src/gub/target/tools/src/glib-2.44.1 -DG_LOG_DOMAIN=\"GLib\" -DG_DISABLE_CAST_CHECKS -DGLIB_COMPILATION -DPCRE_STATIC -pthread -Wall -Wstrict-prototypes -Werror=declaration-after-statement -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format=2 -Werror=missing-include-dirs -fvisibility=hidden -I/home/fede/src/gub/target/tools/root/usr/include -MT libglib_2_0_la-gdate.lo -MD -MP -MF .deps/libglib_2_0_la-gdate.Tpo -c /home/fede/src/gub/target/tools/src/glib-2.44.1/glib/gdate.c  -fPIC -DPIC -o .libs/libglib_2_0_la-gdate.o
    /home/fede/src/gub/target/tools/src/glib-2.44.1/glib/gdate.c: In function 'g_date_strftime':
    /home/fede/src/gub/target/tools/src/glib-2.44.1/glib/gdate.c:2497:7: error: format not a string literal, format string not checked [-Werror=format-nonliteral]
           tmplen = strftime (tmpbuf, tmpbufsize, locale_format, &tm);
           ^~~~~~
    cc1: some warnings being treated as errors
    make[2]: *** [Makefile:1797: libglib_2_0_la-gdate.lo] Error 1
    make[2]: Leaving directory '/home/fede/src/gub/target/tools/build/glib-2.44.1/glib'
    make[1]: *** [Makefile:2463: all-recursive] Error 1
    make[1]: Leaving directory '/home/fede/src/gub/target/tools/build/glib-2.44.1/glib'
    make: *** [Makefile:1176: all] Error 2
    
     
  • Anonymous

    Anonymous - 2018-09-16

    Federico

    I cannot tell if this means Knut's path is now 'pushed' or if it should be 'needs work' or if we need to raise another tracker.

    James

     
  • Federico Bruni

    Federico Bruni - 2018-09-17
     
  • Federico Bruni

    Federico Bruni - 2018-09-17

    James, let's keep the tag push until Phil apply the patch file I sent. Perhaps Phil is still waiting for Knut's reply. I don't know...
    When the patch is applied on Github I'll update this issue.

     
  • Federico Bruni

    Federico Bruni - 2018-09-24

    I cannot run gub successfully in Ubuntu 16.04 using Knut's patch. I get the error described in issue [#5420]. I used a 64-bit image... I wonder if Phil and Knut are using a 32 bit system, which may explain why it works for them.

     

    Related

    Issues: #5420

  • Federico Bruni

    Federico Bruni - 2018-09-27

    I've tried also Ubuntu 16.04 32 bit image in a VM, but using the same 64bit hardware. I'm always stuck at the glib-doc stage as described in issue [#5420]:

    Tail of log/gub.log >>>>>>>>
        linux-64::glibc linux-64::cross/gcc linux-64::cross/binutils linux-64::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 glibc tools::gzip cross/gcc cross/binutils linux-headers tools::git tools::gettext tools::curl tools::expat mingw::cross/gcc tools::gawk mingw::cross/binutils mingw::mingw-w64-runtime tools::p7zip tools::texinfo darwin-ppc::cross/gcc tools::mpc tools::mpfr tools::gmp tools::xzutils tools::bzip2 darwin-ppc::odcctools darwin-ppc::python tools::flex tools::bison tools::automake 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: set di istruzioni per l'obiettivo "packages" non riuscito
    make[1]: *** [packages] Errore 1
    make[1]: uscita dalla directory "/home/dev/gub"
    GNUmakefile:26: set di istruzioni per l'obiettivo "lilypond" non riuscito
    make: *** [lilypond] Errore 2
    
     

    Related

    Issues: #5420

  • Federico Bruni

    Federico Bruni - 2018-10-15
    • status: Started --> Verified
     
  • Federico Bruni

    Federico Bruni - 2018-10-15

    I'm closing this, as PR has been merged on Github:
    https://github.com/gperciva/gub/pull/46

     
<< < 1 2 (Page 2 of 2)