Monday, November 06, 2023

audio/solfege build failure (Re: [Security] ghostscript/gnu 10.02.1)

>>> Building on localhost under audio/solfege
BDEPENDS = [devel/gmake;lang/python/3.10;devel/py-gobject3;sysutils/coreutils;textproc/txt2man;print/lilypond,-main;devel/gettext,-tools]
DIST = [audio/solfege:solfege-3.23.4.tar.gz]
FULLPKGNAME = solfege-3.23.4p2
RDEPENDS = [devel/py-gobject3;x11/gtk+3;devel/desktop-file-utils;lang/python/3.10;audio/vorbis-tools;audio/lame;audio/timidity;audio/mpg123]
(Junk lock obtained for localhost at 1699295490.19)
>>> Running depends in audio/solfege at 1699295490.21
last junk was in multimedia/motion
/usr/sbin/pkg_add -aI -Drepair coreutils-9.3 lilypond-2.24.2 txt2man-1.5.6p3
was: /usr/sbin/pkg_add -aI -Drepair coreutils-9.3 gettext-tools-0.22.3 gmake-4.4.1 lilypond-2.24.2 py3-gobject3-3.46.0 python-3.10.13 txt2man-1.5.6p3
/usr/sbin/pkg_add -aI -Drepair coreutils-9.3 lilypond-2.24.2 txt2man-1.5.6p3
>>> Running show-prepare-results in audio/solfege at 1699295492.46
===> audio/solfege
===> Building from scratch solfege-3.23.4p2
===> solfege-3.23.4p2 depends on: gettext-tools-* -> gettext-tools-0.22.3
===> solfege-3.23.4p2 depends on: py3-gobject3-* -> py3-gobject3-3.46.0
===> solfege-3.23.4p2 depends on: lilypond-* -> lilypond-2.24.2
===> solfege-3.23.4p2 depends on: coreutils-* -> coreutils-9.3
===> solfege-3.23.4p2 depends on: txt2man-* -> txt2man-1.5.6p3
===> solfege-3.23.4p2 depends on: python->=3.10,<3.11 -> python-3.10.13
===> solfege-3.23.4p2 depends on: gmake-* -> gmake-4.4.1
coreutils-9.3
gettext-tools-0.22.3
gmake-4.4.1
lilypond-2.24.2
py3-gobject3-3.46.0
python-3.10.13
txt2man-1.5.6p3
(Junk lock released for localhost at 1699295494.00)
distfiles size=5148412
>>> Running patch in audio/solfege at 1699295494.02
===> audio/solfege
===> Checking files for solfege-3.23.4p2
`/data/distfiles/solfege-3.23.4.tar.gz' is up to date.
>> (SHA256) solfege-3.23.4.tar.gz: OK
===> Extracting for solfege-3.23.4p2
===> Patching for solfege-3.23.4p2
===> Applying OpenBSD patch patch-default_config
Hmm... Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- default.config.orig Sun Sep 15 16:04:41 2013
|+++ default.config Mon Sep 16 21:39:33 2013
--------------------------
Patching file default.config using Plan A...
Hunk #1 succeeded at 54.
Hunk #2 succeeded at 69.
done
===> Applying OpenBSD patch patch-run-solfege_py_in
Hmm... Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|Index: run-solfege.py.in
|--- run-solfege.py.in.orig
|+++ run-solfege.py.in
--------------------------
Patching file run-solfege.py.in using Plan A...
Hunk #1 succeeded at 41.
done
===> Applying OpenBSD patch patch-system_rc
Hmm... Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- system.rc.orig Tue Jul 2 10:01:23 2013
|+++ system.rc Tue Jul 2 10:06:19 2013
--------------------------
Patching file system.rc using Plan A...
Hunk #1 succeeded at 1.
done
sed -i "s,cp,/usr/local/bin/gcp,g" /tmp/pobj/solfege-3.23.4/solfege-3.23.4/Makefile.in
===> Compiler link: clang -> /usr/bin/clang
===> Compiler link: clang++ -> /usr/bin/clang++
===> Compiler link: cc -> /usr/bin/cc
===> Compiler link: c++ -> /usr/bin/c++
>>> Running configure in audio/solfege at 1699295495.01
===> audio/solfege
===> Generating configure for solfege-3.23.4p2
===> Configuring for solfege-3.23.4p2
Using /tmp/pobj/solfege-3.23.4/config.site (generated)
cd /tmp/pobj/solfege-3.23.4/solfege-3.23.4 && /usr/bin/perl /usr/ports/infrastructure/bin/pkg_subst -DMODPY_PYCACHE=__pycache__/ -DMODPY_COMMENT= -DMODPY_ABI3SO=.abi3 -DMODPY_PYC_MAGIC_TAG=cpython-310. -DMODPY_BIN=/usr/local/bin/python3.10 -DMODPY_EGG_VERSION= -DMODPY_VERSION=3.10 -DMODPY_BIN_SUFFIX= -DMODPY_PY_PREFIX=py3- -DMODPY_PYOEXTENSION=opt-1.pyc -DARCH=amd64 -DBASE_PKGPATH=audio/solfege -DFLAVOR_EXT= -DFULLPKGNAME=solfege-3.23.4p2 -DHOMEPAGE=https://www.gnu.org/software/solfege/ -DLOCALBASE=/usr/local -DLOCALSTATEDIR=/var -DMACHINE_ARCH=amd64 -DMAINTAINER=The\ OpenBSD\ ports\ mailing-list\ \<ports@openbsd.org\> -DPREFIX=/usr/local -DRCDIR=/etc/rc.d -DSYSCONFDIR=/etc -DTRUEPREFIX=/usr/local -DX11BASE=/usr/X11R6 -DPKGSTEM=solfege -i -B /tmp/pobj/solfege-3.23.4 default.config run-solfege.py.in system.rc && sed -i "s,/bin/bash,/bin/sh,g" /tmp/pobj/solfege-3.23.4/solfege-3.23.4/exercises/standard/lesson-files/bin/csound-play-harmonic-interval.sh
configure: WARNING: unrecognized options: --disable-silent-rules, --disable-gtk-doc
configure: loading site script /tmp/pobj/solfege-3.23.4/config.site
checking for gcc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... (cached) o
checking whether we are using the GNU C compiler... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for cc option to accept ISO C89... none needed
checking whether /usr/local/bin/python3.10 version is >= 3.0... yes
checking for /usr/local/bin/python3.10 version... 3.1
checking for /usr/local/bin/python3.10 platform... openbsd7
checking for /usr/local/bin/python3.10 script directory... ${prefix}/lib/python3.10/site-packages
checking for /usr/local/bin/python3.10 extension module directory... ${exec_prefix}/lib/python3.10/site-packages
checking how to run the C preprocessor... cc -E
checking for headers required to compile python extensions... not found
checking for a BSD-compatible install... /tmp/pobj/solfege-3.23.4/bin/install -c
checking whether gmake sets $(MAKE)... yes
checking for swig... no
checking for lilypond... /usr/local/bin/lilypond
checking for git... notfound
checking for gs... /usr/local/bin/gs
checking for txt2man... /usr/local/bin/txt2man
./configure[3698]: -version: not found
checking for xgettext... /usr/local/bin/xgettext
checking for msgfmt... /usr/local/bin/msgfmt
checking for msgmerge... /usr/local/bin/msgmerge
checking for msggrep... /usr/local/bin/msggrep
checking for makeinfo... /usr/bin/makeinfo
checking for sed... (cached) /usr/bin/sed
checking for cat... /bin/cat
checking for xml2po... no
checking for xsltproc... /usr/local/bin/xsltproc
checking for /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/html/chunk.xsl... no
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking sys/soundcard.h usability... no
checking sys/soundcard.h presence... no
checking for sys/soundcard.h... no
checking for ANSI C header files... (cached) yes
checking for fcntl.h... (cached) yes
checking for sys/ioctl.h... (cached) yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... (cached) yes
checking whether cc needs -traditional... no
configure: creating ./config.status
config.status: creating run-solfege.py
config.status: creating solfege/buildinfo.py
config.status: creating topdocs/defs.texi
config.status: creating windowsinstaller.iss
config.status: creating Makefile
config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting
config.status: creating autopackage/default.apspec
config.status: creating help/C/solfege.xml
config.status: creating config.h
configure: WARNING: unrecognized options: --disable-silent-rules, --disable-gtk-doc
configure:
configure: Please remember to rerun configure if you change swig versions!
configure:
configure: xml2po was not found. This is no big deal, but it mean that the
configure: translated user manuals will not be updated if you make changes
configure: to the english manual.
>>> Running build in audio/solfege at 1699295497.28
===> audio/solfege
===> Building for solfege-3.23.4p2
/usr/local/bin/msgfmt po/ca.po -o po/ca.mo
/usr/local/bin/msgfmt po/cs.po -o po/cs.mo
/usr/local/bin/msgfmt po/da.po -o po/da.mo
/usr/local/bin/msgfmt po/de.po -o po/de.mo
/usr/local/bin/msgfmt po/eo.po -o po/eo.mo
/usr/local/bin/msgfmt po/es.po -o po/es.mo
/usr/local/bin/msgfmt po/et.po -o po/et.mo
/usr/local/bin/msgfmt po/fa.po -o po/fa.mo
/usr/local/bin/msgfmt po/fi.po -o po/fi.mo
/usr/local/bin/msgfmt po/fr.po -o po/fr.mo
/usr/local/bin/msgfmt po/gl.po -o po/gl.mo
/usr/local/bin/msgfmt po/hr.po -o po/hr.mo
/usr/local/bin/msgfmt po/hu.po -o po/hu.mo
/usr/local/bin/msgfmt po/it.po -o po/it.mo
/usr/local/bin/msgfmt po/nb.po -o po/nb.mo
/usr/local/bin/msgfmt po/nl.po -o po/nl.mo
/usr/local/bin/msgfmt po/pl.po -o po/pl.mo
/usr/local/bin/msgfmt po/pt_BR.po -o po/pt_BR.mo
/usr/local/bin/msgfmt po/ru.po -o po/ru.mo
/usr/local/bin/msgfmt po/sv.po -o po/sv.mo
/usr/local/bin/msgfmt po/tr.po -o po/tr.mo
/usr/local/bin/msgfmt po/vi.po -o po/vi.mo
/usr/local/bin/msgfmt po/zh_CN.po -o po/zh_CN.mo
/usr/local/bin/python3.10 tools/generate_theory_ly.py --all
gmake all
gmake[1]: Entering directory '/tmp/pobj/solfege-3.23.4/solfege-3.23.4'
mkdir -p share/locale/ca/LC_MESSAGES
cp po/ca.mo share/locale/ca/LC_MESSAGES/solfege.mo
mkdir -p share/locale/cs/LC_MESSAGES
cp po/cs.mo share/locale/cs/LC_MESSAGES/solfege.mo
mkdir -p share/locale/da/LC_MESSAGES
cp po/da.mo share/locale/da/LC_MESSAGES/solfege.mo
mkdir -p share/locale/de/LC_MESSAGES
cp po/de.mo share/locale/de/LC_MESSAGES/solfege.mo
mkdir -p share/locale/eo/LC_MESSAGES
cp po/eo.mo share/locale/eo/LC_MESSAGES/solfege.mo
mkdir -p share/locale/es/LC_MESSAGES
cp po/es.mo share/locale/es/LC_MESSAGES/solfege.mo
mkdir -p share/locale/et/LC_MESSAGES
cp po/et.mo share/locale/et/LC_MESSAGES/solfege.mo
mkdir -p share/locale/fa/LC_MESSAGES
cp po/fa.mo share/locale/fa/LC_MESSAGES/solfege.mo
mkdir -p share/locale/fi/LC_MESSAGES
cp po/fi.mo share/locale/fi/LC_MESSAGES/solfege.mo
mkdir -p share/locale/fr/LC_MESSAGES
cp po/fr.mo share/locale/fr/LC_MESSAGES/solfege.mo
mkdir -p share/locale/gl/LC_MESSAGES
cp po/gl.mo share/locale/gl/LC_MESSAGES/solfege.mo
mkdir -p share/locale/hr/LC_MESSAGES
cp po/hr.mo share/locale/hr/LC_MESSAGES/solfege.mo
mkdir -p share/locale/hu/LC_MESSAGES
cp po/hu.mo share/locale/hu/LC_MESSAGES/solfege.mo
mkdir -p share/locale/it/LC_MESSAGES
cp po/it.mo share/locale/it/LC_MESSAGES/solfege.mo
mkdir -p share/locale/nb/LC_MESSAGES
cp po/nb.mo share/locale/nb/LC_MESSAGES/solfege.mo
mkdir -p share/locale/nl/LC_MESSAGES
cp po/nl.mo share/locale/nl/LC_MESSAGES/solfege.mo
mkdir -p share/locale/pl/LC_MESSAGES
cp po/pl.mo share/locale/pl/LC_MESSAGES/solfege.mo
mkdir -p share/locale/pt_BR/LC_MESSAGES
cp po/pt_BR.mo share/locale/pt_BR/LC_MESSAGES/solfege.mo
mkdir -p share/locale/ru/LC_MESSAGES
cp po/ru.mo share/locale/ru/LC_MESSAGES/solfege.mo
mkdir -p share/locale/sv/LC_MESSAGES
cp po/sv.mo share/locale/sv/LC_MESSAGES/solfege.mo
mkdir -p share/locale/tr/LC_MESSAGES
cp po/tr.mo share/locale/tr/LC_MESSAGES/solfege.mo
mkdir -p share/locale/vi/LC_MESSAGES
cp po/vi.mo share/locale/vi/LC_MESSAGES/solfege.mo
mkdir -p share/locale/zh_CN/LC_MESSAGES
cp po/zh_CN.mo share/locale/zh_CN/LC_MESSAGES/solfege.mo
/usr/local/bin/lilypond -I ../../C/ly --png -d backend=eps -o help/C/ly/inverting-intervals help/C/ly/inverting-intervals.ly
Changing working directory to: `help/C/ly'
Processing `help/C/ly/inverting-intervals.ly'
Parsing...
/tmp/pobj/solfege-3.23.4/solfege-3.23.4/help/C/ly/inverting-intervals.ly:11:25: warning: deprecated: missing `.' in property path LyricText.self-alignment-X
\override LyricText
#'self-alignment-X = #-0.9
Interpreting music...
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Converting to PNG...
warning: `(gs -q -dNODISPLAY -dNOSAFER -dNOPAUSE -dBATCH -dAutoRotatePages=/None -dPrinted=false /tmp/lilypond-tmp-9697095)' failed (256)

/usr/local/share/lilypond/2.24.2/ly/init.ly:65:2: error: Guile signaled an error for the expression beginning here
#
(let ((book-handler (if (defined? 'default-toplevel-book-handler)
Throw to key `ly-file-failed' with args `()'.
gmake[1]: *** [help/Makefile:155: help/C/ly/inverting-intervals.png] Error 1
gmake[1]: Leaving directory '/tmp/pobj/solfege-3.23.4/solfege-3.23.4'
gmake: *** [Makefile:76: genfiles] Error 2
*** Error 2 in audio/solfege (/usr/ports/infrastructure/mk/bsd.port.mk:3021 '/tmp/pobj/solfege-3.23.4/.build_done': @cd /tmp/pobj/solfege-3....)
*** Error 2 in audio/solfege (/usr/ports/infrastructure/mk/bsd.port.mk:2664 'build': @lock=solfege-3.23.4p2; export _LOCKS_HELD=" solfege-3...)
===> Exiting audio/solfege with an error
*** Error 1 in /usr/ports (infrastructure/mk/bsd.port.subdir.mk:144 'build': @: ${echo_msg:=echo}; : ${target:=build}; for i in ; do eval...)
>>> Ended at 1699295508.78
max_stuck=0.88/depends=2.25/show-prepare-results=1.56/patch=1.00/configure=2.26/build=11.52
Error: job failed with 512 on localhost at 1699295508
On Thu, Nov 02, 2023 at 07:13:45PM +0100, Volker Schlecht wrote:
> ghostscript released a patch release addressing some vaguely specified
> security bugs.
> From the changelog, it looks like there's at least a buffer overflow and an
> integer overflow that got fixed, so I think we want those fixes ASAP:
>
> https://git.ghostscript.com/?p=ghostpdl.git;a=shortlog;h=refs/tags/ghostpdl-10.02.1
>
> Built and tested on amd64. ok?

I see the following build failure of audio/solfege with ghostscript
10.02.1 but not with 10.02.0, full log attached:

warning: `(gs -q -dNODISPLAY -dNOSAFER -dNOPAUSE -dBATCH -dAutoRotatePages=/None -dPrinted=false /tmp/lilypond-tmp-9697095)' failed (256)

/usr/local/share/lilypond/2.24.2/ly/init.ly:65:2: error: Guile signaled an error for the expression beginning here
#
(let ((book-handler (if (defined? 'default-toplevel-book-handler)
Throw to key `ly-file-failed' with args `()'.
gmake[1]: *** [help/Makefile:155: help/C/ly/inverting-intervals.png] Error 1
gmake[1]: Leaving directory '/tmp/pobj/solfege-3.23.4/solfege-3.23.4'
gmake: *** [Makefile:76: genfiles] Error 2

No comments:

Post a Comment