openSuSE Tumbleweed build failure

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

openSuSE Tumbleweed build failure

Knut Petersen
Hi everybody!

openSuSE tumbleweed (that means e.g. texlive 2017 and gcc 7.1.1) with current guile 1.8 built from git and dblatex 0.3.10 builds lilypond master without problems.

The same system builds a lilypond 2.18.2 binary but fails during make doc with lilypond segfaulting:

    make[3]: Entering directory '/home/knut/sources/lily/build/input/regression'
    mkdir -p ./out-www
    touch ./out-www/dummy.dep
    echo '*' > ./out-www/.gitignore
    /usr/bin/python -tt /home/knut/sources/lily/scripts/build/create-version-itexi.py > out-www/version.itexi
    /usr/bin/python -tt /home/knut/sources/lily/scripts/build/create-weblinks-itexi.py > out-www/weblinks.itexi
    LILYPOND_VERSION=2.18.2 /usr/bin/python -tt /home/knut/sources/lily/scripts/lilypond-book.py -I /home/knut/sources/lily/input/regression --process='/home/knut/sources/lily/build/out/bin/lilypond -dbackend=eps --formats=ps,png,pdf -djob-count=11 -dinclude-eps-fonts -dgs-load-fonts
    --header=doctitle --header=doctitlecs --header=doctitlede --header=doctitlees --header=doctitlefr --header=doctitlehu --header=doctitleit --header=doctitleja --header=doctitlenl --header=doctitlezh --header=texidoc --header=texidoccs --header=texidocde --header=texidoces --header=texidocfr
    --header=texidochu --header=texidocit --header=texidocja --header=texidocnl --header=texidoczh -dcheck-internal-types -ddump-signatures -danti-alias-factor=2' --output=./out-www --format=texi-html --loglevel=WARN  --lily-output-dir /home/knut/sources/lily/build/out/lybook-db
    --redirect-lilypond-output /home/knut/sources/lily/input/regression/AAA-intro-regression.tely
    /home/knut/sources/lily/build/scripts/build/out/lys-to-tely --name=./out-www/collated-files.tely --title="LilyPond Regression Tests" --author="Han-Wen Nienhuys and Jan Nieuwenhuizen" --input-filename=out-www/collated-files.list
    LILYPOND_VERSION=2.18.2 /usr/bin/python -tt /home/knut/sources/lily/scripts/lilypond-book.py -I /home/knut/sources/lily/input/regression --process='/home/knut/sources/lily/build/out/bin/lilypond -I /home/knut/sources/lily/input/regression  -dbackend=eps --formats=ps,png,pdf -djob-count=11
    -dinclude-eps-fonts -dgs-load-fonts --header=doctitle --header=doctitlecs --header=doctitlede --header=doctitlees --header=doctitlefr --header=doctitlehu --header=doctitleit --header=doctitleja --header=doctitlenl --header=doctitlezh --header=texidoc --header=texidoccs --header=texidocde
    --header=texidoces --header=texidocfr --header=texidochu --header=texidocit --header=texidocja --header=texidocnl --header=texidoczh -dcheck-internal-types -ddump-signatures -danti-alias-factor=2' --output=./out-www --format=texi-html --loglevel=WARN --lily-output-dir
    /home/knut/sources/lily/build/out/lybook-db --redirect-lilypond-output out-www/collated-files.tely
    /home/knut/sources/lily/build/scripts/build/out/extract_texi_filenames -I ./out-www -I /home/knut/sources/lily/input/regression  -q -o /home/knut/sources/lily/build/./out-www/xref-maps out-www/AAA-intro-regression.texi
    command failed: /home/knut/sources/lily/build/out/bin/lilypond -I /home/knut/sources/lily/input/regression  -dbackend=eps --formats=ps,png,pdf -djob-count=11 -dinclude-eps-fonts -dgs-load-fonts --header=doctitle --header=doctitlecs --header=doctitlede --header=doctitlees --header=doctitlefr
    --header=doctitlehu --header=doctitleit --header=doctitleja --header=doctitlenl --header=doctitlezh --header=texidoc --header=texidoccs --header=texidocde --header=texidoces --header=texidocfr --header=texidochu --header=texidocit --header=texidocja --header=texidocnl --header=texidoczh
    -dcheck-internal-types -ddump-signatures -danti-alias-factor=2 -I "/home/knut/sources/lily/build/out/lybook-db"  -I  "."  -I  ".." -I  "/home/knut/sources/lily/build/input/regression"  -I "/home/knut/sources/lily/input/regression" --formats=eps -deps-box-padding=3.000000  -dread-file-list
    -dno-strip-output-dir "/home/knut/sources/lily/build/out/lybook-db/snippet-names-7631296499380870844.ly"
    Child returned 1
    Error ignored by lilylib
    Error trapped by lilypond-book

    Please see /home/knut/sources/lily/build/out/lybook-db/snippet-names-7631296499380870844.log

    make[3]: *** [/home/knut/sources/lily/./make/ly-rules.make:30: out-www/collated-files.texi] Error 1
    make[3]: Leaving directory '/home/knut/sources/lily/build/input/regression'
    make[2]: *** [/home/knut/sources/lily/stepmake/stepmake/generic-targets.make:166: WWW-1] Error 2
    make[2]: Leaving directory '/home/knut/sources/lily/build/input'
    make[1]: *** [/home/knut/sources/lily/stepmake/stepmake/generic-targets.make:166: WWW-1] Error 2
    make[1]: Leaving directory '/home/knut/sources/lily/build'
    make: *** [/home/knut/sources/lily/stepmake/stepmake/generic-targets.make:184: doc-stage-1] Fehler 2


cat /home/knut/sources/lily/build/out/lybook-db/snippet-names-7631296499380870844.log gives (empty lines removed):

    Forking into jobs:  (8983 8982 8981 8980 8979 8978 8977 8976 8975 8974 8973)
    job 10 terminated with signal: 11
    job 9 terminated with signal: 11
    job 8 terminated with signal: 11
    job 7 terminated with signal: 11
    job 6 terminated with signal: 11
    job 5 terminated with signal: 11
    job 4 terminated with signal: 11
    job 3 terminated with signal: 11
    job 2 terminated with signal: 11
    job 1 terminated with signal: 11
    job 0 terminated with signal: 11
    fatal error: Children (10 9 8 7 6 5 4 3 2 1 0) exited with errors.

Any idea?

Knut

_______________________________________________
bug-lilypond mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/bug-lilypond
dak
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: openSuSE Tumbleweed build failure

dak
Knut Petersen <[hidden email]> writes:

> Hi everybody!
>
> openSuSE tumbleweed (that means e.g. texlive 2017 and gcc 7.1.1) with
> current guile 1.8 built from git and dblatex 0.3.10 builds lilypond
> master without problems.
>
> The same system builds a lilypond 2.18.2 binary but fails during make
> doc with lilypond segfaulting:

[...]

> Any idea?

Same as with Fedora et al.

Cherry-pick

commit 93f3d637efbc038b837cf64fae0872e873e4f039
Author: David Kastrup <[hidden email]>
Date:   Fri Sep 2 23:11:53 2016 +0200

    Issue 4965: Create and use Grob::parent_relative
   
    This function checks for the existence of a Grob parent before
    calculating a coordinate relative to it.  This should hopefully
    clean up the most relevant problems caused by issue 4814
    and the original GCC 6 optimization causing it.

and

commit b0dce76daf27721ba157cd2ac5d7662d4c8d75f8
Author: Guido Aulisi <[hidden email]>
Date:   Fri Jul 22 15:26:29 2016 +0200

    Issue 4814: grob.cc segfaults with gcc6
   
    From the release notes of GCC 6:
   
        Optimizations remove null pointer checks for this
   
        When optimizing, GCC now assumes the this pointer can never be null,
        which is guaranteed by the language rules. Invalid programs which
        assume it is OK to invoke a member function through a null
        pointer (possibly relying on checks like this != NULL) may crash or
        otherwise fail at run time if null pointer checks are optimized
        away. With the -Wnull-dereference option the compiler tries to warn
        when it detects such invalid code.
   
        If the program cannot be fixed to remove the undefined behavior then
        the option -fno-delete-null-pointer-checks can be used to disable
        this optimization. That option also disables other optimizations
        involving pointers, not only those involving this.
   
    As a consequence, we cannot call a member function on a prospective null
    pointer (which actually is a bad idea for a number of other reasons,
    like when anything tries accessing the vtable) and then try sorting out
    the condition in the routine itself.
   
    This problem was first observed with Fedora 24.  The Ubuntu GCC6
    prerelease does not show this problem; presumably the respective
    optimization has been disabled in the Ubuntu/Debian packaging because of
    affecting other programs.
   
    Commit-message-by: David Kastrup <[hidden email]>
    Signed-off-by: David Kastrup <[hidden email]>


--
David Kastrup

_______________________________________________
bug-lilypond mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/bug-lilypond
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: openSuSE Tumbleweed build failure

Knut Petersen
Hi David!
> Cherry-pick
> [...]
> commit 93f3d637efbc038b837cf64fae0872e873e4f039
> [...]
> commit b0dce76daf27721ba157cd2ac5d7662d4c8d75f8

Thanks, that helped to build a working lilypond 2.18.2

make doc still fails because ghostscript is unable to
translate ps files that use certain fonts to pdf ( e.g.
Roboto Regluar and Roboto Bold) if -dgs-load-fonts
is not used.

Knut

_______________________________________________
bug-lilypond mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/bug-lilypond
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: openSuSE Tumbleweed build failure

James Lowe
Knut

On Mon, 24 Jul 2017 12:32:02 +0200
Knut Petersen <[hidden email]> wrote:

> Hi David!
> > Cherry-pick
> > [...]
> > commit 93f3d637efbc038b837cf64fae0872e873e4f039
> > [...]
> > commit b0dce76daf27721ba157cd2ac5d7662d4c8d75f8  
>
> Thanks, that helped to build a working lilypond 2.18.2
>
> make doc still fails because ghostscript is unable to
> translate ps files that use certain fonts to pdf ( e.g.
> Roboto Regluar and Roboto Bold) if -dgs-load-fonts
> is not used.
>

https://sourceforge.net/p/testlilyissues/issues/4882

?

James

_______________________________________________
bug-lilypond mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/bug-lilypond
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: openSuSE Tumbleweed build failure

Knut Petersen
Am 25.07.2017 um 12:47 schrieb James:

>
>>> Cherry-pick
>>> [...]
>>> commit 93f3d637efbc038b837cf64fae0872e873e4f039
>>> [...]
>>> commit b0dce76daf27721ba157cd2ac5d7662d4c8d75f8
>> Thanks, that helped to build a working lilypond 2.18.2
>>
>> make doc still fails because ghostscript is unable to
>> translate ps files that use certain fonts to pdf ( e.g.
>> Roboto Regluar and Roboto Bold) if -dgs-load-fonts
>> is not used.
>>
> https://sourceforge.net/p/testlilyissues/issues/4882

Interesting. What a mess.
> ?

Those two patches cherry-picked and gs-load-fonts changed
to #t in lily.scm will build 2.18.2 on an current opensuse tumbleweed
system. Guile 1.8 and ghostscript built from git.

Usage of Roboto Regular and Roboto Bold also requires
-dgs-load-fonts on current lilypond master on my system.

Knut



_______________________________________________
bug-lilypond mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/bug-lilypond
Loading...