Bug#1103310: emacspeak: FTBFS with the nocheck build profile
Santiago Vila
sanvila at debian.org
Wed Apr 16 13:23:01 BST 2025
Package: src:emacspeak
Version: 53.0+dfsg-4
Severity: important
Tags: trixie sid ftbfs
User: debian-qa at lists.debian.org
Usertags: ftbfs-nocheck-profile
Dear maintainer:
During a rebuild of all packages in unstable using the nocheck build profile,
your package failed to build:
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean
debian/rules override_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
debconf-updatepo
/usr/bin/make clean
rm -f *.elc emacspeak-loaddefs.el
/usr/bin/make --directory servers/native-espeak clean
make[2]: Entering directory '/<<PKGBUILDDIR>>/servers/native-espeak'
rm -f *.so *.o
make[2]: Leaving directory '/<<PKGBUILDDIR>>/servers/native-espeak'
[... snipped ...]
[morch now loaded
[maudio buffered in 256 sample-frame blocks
[mwriting 1024-byte blks of shorts to ../y-answer.wav (WAV)
SECTION 1:
[mftable 1:
ftable 1: 8192 points, scalemax 1.000
.--'''''-._
_-' '._
_- -
- '.
.' '_
- .
_' -
. '_
- .
_'_____________________________________-________________________________________
'_ -
_ _'
. _
- .
'. _'
- .
'. _'
'_ _-
'. _-
'-.______.-'
ftable 2:
ftable 2: 1024 points, scalemax 1.000
_______________________________________________________________________________
ftable 21:
ftable 21: 8 points, scalemax 1.000
________
ftable 25:
ftable 25: 8 points, scalemax 4.000
_ _
_ _
-- --
ftable 29:
ftable 29: 8 points, scalemax 4.000
_ _
__
----
ftable 22:
ftable 22: 8 points, scalemax 2.000
_
_ _ _ _
________
ftable 26:
ftable 26: 8 points, scalemax 4.000
_ _ _
-- -
_ _
ftable 30:
ftable 30: 8 points, scalemax 5.000
_ __
_ _ _
_
_
ftable 23:
ftable 23: 8 points, scalemax 1.000
_ _ _ __
________
ftable 24:
ftable 24: 8 points, scalemax 1.000
_ ____
________
ftable 27:
ftable 27: 8 points, scalemax 1.000
_ __ __
________
ftable 28:
ftable 28: 8 points, scalemax 1.000
_ __ _
________
ftable 31:
ftable 31: 8 points, scalemax 1.000
__
________
ftable 32:
ftable 32: 8 points, scalemax 1.000
_____ __
________
new alloc for instr 1:
[mB 0.000 .. 0.250 T 0.250 TT 0.250 M: 7476.2 7476.2
Score finished in csoundPerform().
inactive allocs returned to freespace
end of score. overall amps:[m 7476.2 7476.2
overall samples out of range:[m 0[m 0[m
0 errors in performance
[mElapsed time at end of performance: real: 0.003s, CPU: 0.003s
[m512 1024 sample blks of shorts written to ../y-answer.wav (WAV)
UnifiedCSD: yank-object.csd
Elapsed time at end of orchestra compile: real: 0.001s, CPU: 0.001s
[msorting score ...
... done
Elapsed time at end of score sort: real: 0.001s, CPU: 0.001s
[m--Csound version 6.18 (double samples) 2025-01-31
[commit: none]
[mlibsndfile-1.2.2
[mgraphics suppressed, ascii substituted
sr = 44100.0,[m kr = 4410.000,[m ksmps = 10
[m0dBFS level = 1.0,[m A4 tuning = 440.0
[morch now loaded
[maudio buffered in 256 sample-frame blocks
[mwriting 1024-byte blks of shorts to ../yank-object.wav (WAV)
SECTION 1:
[mnew alloc for instr 1:
[mfile hrtf-44100-left.dat (188416 bytes) loaded into memory
file hrtf-44100-right.dat (188416 bytes) loaded into memory
B 0.000 .. 0.100 T 0.100 TT 0.100 M: 0.21647 0.13249
new alloc for instr 1:
[mB 0.100 .. 0.250 T 0.250 TT 0.250 M: 0.13752 0.08517
B 0.250 .. 0.350 T 0.350 TT 0.350 M: 0.00004 0.00007
Score finished in csoundPerform().
inactive allocs returned to freespace
end of score. overall amps:[m 0.21647 0.13249
overall samples out of range:[m 0[m 0[m
0 errors in performance
[mElapsed time at end of performance: real: 0.005s, CPU: 0.005s
[m512 1024 sample blks of shorts written to ../yank-object.wav (WAV)
UnifiedCSD: yes-answer.csd
Elapsed time at end of orchestra compile: real: 0.002s, CPU: 0.002s
[msorting score ...
... done
Elapsed time at end of score sort: real: 0.002s, CPU: 0.002s
[m--Csound version 6.18 (double samples) 2025-01-31
[commit: none]
[mlibsndfile-1.2.2
[mgraphics suppressed, ascii substituted
sr = 44100.0,[m kr = 4410.000,[m ksmps = 10
[m0dBFS level = 32768.0,[m A4 tuning = 440.0
[morch now loaded
[maudio buffered in 256 sample-frame blocks
[mwriting 1024-byte blks of shorts to ../yes-answer.wav (WAV)
SECTION 1:
[mftable 1:
ftable 1: 8192 points, scalemax 1.000
.--'''''-._
_-' '._
_- -
- '.
.' '_
- .
_' -
. '_
- .
_'_____________________________________-________________________________________
'_ -
_ _'
. _
- .
'. _'
- .
'. _'
'_ _-
'. _-
'-.______.-'
ftable 2:
ftable 2: 1024 points, scalemax 1.000
_______________________________________________________________________________
ftable 21:
ftable 21: 8 points, scalemax 1.000
________
ftable 25:
ftable 25: 8 points, scalemax 4.000
_ _
_ _
-- --
ftable 29:
ftable 29: 8 points, scalemax 4.000
_ _
__
----
ftable 22:
ftable 22: 8 points, scalemax 2.000
_
_ _ _ _
________
ftable 26:
ftable 26: 8 points, scalemax 4.000
_ _ _
-- -
_ _
ftable 30:
ftable 30: 8 points, scalemax 5.000
_ __
_ _ _
_
_
ftable 23:
ftable 23: 8 points, scalemax 1.000
_ _ _ __
________
ftable 24:
ftable 24: 8 points, scalemax 1.000
_ ____
________
ftable 27:
ftable 27: 8 points, scalemax 1.000
_ __ __
________
ftable 28:
ftable 28: 8 points, scalemax 1.000
_ __ _
________
ftable 31:
ftable 31: 8 points, scalemax 1.000
__
________
ftable 32:
ftable 32: 8 points, scalemax 1.000
_____ __
________
new alloc for instr 1:
[mB 0.000 .. 0.500 T 0.500 TT 0.500 M: 7476.2 7476.2
Score finished in csoundPerform().
inactive allocs returned to freespace
end of score. overall amps:[m 7476.2 7476.2
overall samples out of range:[m 0[m 0[m
0 errors in performance
[mElapsed time at end of performance: real: 0.004s, CPU: 0.004s
[m512 1024 sample blks of shorts written to ../yes-answer.wav (WAV)
/usr/bin/make --directory=etc tips.html applications.html
make[2]: Entering directory '/<<PKGBUILDDIR>>/etc'
xsltproc tips.xsl tips.xml > tips.html
tips.xml:3: warning: failed to load external entity "/usr/share/xml/docbook/schema/dtd/4.5/docbookx.dtd"
"/usr/share/xml/docbook/schema/dtd/4.5/docbookx.dtd">
^
xsltproc applications.xml > applications.html
make[2]: Leaving directory '/<<PKGBUILDDIR>>/etc'
if [ ! -d /<<PKGBUILDDIR>>/debian/backup ] ; then \
mkdir /<<PKGBUILDDIR>>/debian/backup ; \
fi
for file in $(rgrep -l "\" 'no-error" lisp/*) ; do \
cp $file /<<PKGBUILDDIR>>/debian/backup/ ; \
sed -i "s/\"[^ ]*\" 'no-error/() 'no-error/" $file ; \
done
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh: command-omitted: The call to "debian/rules override_dh_auto_test-indep" was omitted due to "DEB_BUILD_OPTIONS=nocheck"
dh: command-omitted: The call to "dh_auto_test -Nemacspeak" was omitted due to "DEB_BUILD_OPTIONS=nocheck"
create-stamp debian/debhelper-build-stamp
dh_prep
debian/rules override_dh_auto_install-indep
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_install
make -j2 install DESTDIR=/<<BUILDDIR>>/emacspeak-53.0\+dfsg/debian/tmp AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true"
To run this Emacspeak build, add this line to the top of your .emacs:
(load-file "/<<PKGBUILDDIR>>/lisp/emacspeak-setup.el")
If using espeak or outloud for TTS,
type make <engine> to first build that speech-server.
Package maintainers: see etc/install.org for instructions.
# Upstream stopped providing an install target. Instead it recommends to
# "copy the resulting emacspeak directory to the install location". So,
# let's do that, but prevent the debian sub dir to be copied, as I fear
# that would lead to some level of recursive copying.
#
# Also strip out personal tvr stuff.
#
# For now, also don't install the bash-utils, as it requires some thinking
# and tweaking for Debian to function properly.
#
# And, to avoid clutter from etc/, lets do that via emacspeak.install
mkdir -p /<<PKGBUILDDIR>>/debian/tmp/usr/share/emacs/site-lisp/emacspeak
cp -pR $(find . -maxdepth 1 -type d ! -name .\* ! -name bash-utils ! -name debian ! -name etc ! -name tvr -o -type f) /<<PKGBUILDDIR>>/debian/tmp/usr/share/emacs/site-lisp/emacspeak
# Obviously, now we need to remove the stuff we don't want here.
find /<<PKGBUILDDIR>>/debian/tmp/usr/share/emacs/site-lisp/emacspeak -name \*~ -delete
find /<<PKGBUILDDIR>>/debian/tmp/usr/share/emacs/site-lisp/emacspeak -name \*.elc -delete
find /<<PKGBUILDDIR>>/debian/tmp/usr/share/emacs/site-lisp/emacspeak -depth -name .\* -exec rm -r {} \;
# Doesn't seem to make sense in a Debian package where we use emacspeak.sh
# instead
rm /<<PKGBUILDDIR>>/debian/tmp/usr/share/emacs/site-lisp/emacspeak/run
rm /<<PKGBUILDDIR>>/debian/tmp/usr/share/emacs/site-lisp/emacspeak/runq
# Already compiled and shipped in emacspeak-espeak-server
rm -r /<<PKGBUILDDIR>>/debian/tmp/usr/share/emacs/site-lisp/emacspeak/servers/native-espeak
# Should be made into a proper package
rm -r /<<PKGBUILDDIR>>/debian/tmp/usr/share/emacs/site-lisp/emacspeak/servers/linux-outloud
# Files for Mac, not for Debian
rm -r /<<PKGBUILDDIR>>/debian/tmp/usr/share/emacs/site-lisp/emacspeak/servers/mac
rm -r /<<PKGBUILDDIR>>/debian/tmp/usr/share/emacs/site-lisp/emacspeak/servers/log-mac
# Source files
rm -r /<<PKGBUILDDIR>>/debian/tmp/usr/share/emacs/site-lisp/emacspeak/sounds/3d/src
# Original convertion script, but useless now
rm /<<PKGBUILDDIR>>/debian/tmp/usr/share/emacs/site-lisp/emacspeak/sounds/pan-chimes/apply-pan.sh
# Let it generated at configuration
rm /<<PKGBUILDDIR>>/debian/tmp/usr/share/emacs/site-lisp/emacspeak/lisp/emacspeak-loaddefs.el
rm: cannot remove '/<<PKGBUILDDIR>>/debian/tmp/usr/share/emacs/site-lisp/emacspeak/lisp/emacspeak-loaddefs.el': No such file or directory
make[1]: *** [debian/rules:123: override_dh_auto_install-indep] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:21: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202504/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:emacspeak, so that this is still
visible in the BTS web page for this package.
Notes:
* When a package is built with the nocheck profile, it means:
- DEB_BUILD_OPTIONS=nocheck
(the tests should be skipped during the build)
- DEB_BUILD_PROFILES=nocheck
(Build-Depends marked <!nocheck> are not installed)
- The contents of the package is allowed to be different than normal
* This category of bugs was going to be RC for trixie, but
according to the Release Managers it's a little bit late in the
release cycle to introduce a bunch of RC bugs of this type.
* In addition to the above, this package also fails when
using DEB_BUILD_OPTIONS=nocheck alone. In this mode:
- DEB_BUILD_OPTIONS=nocheck
(the tests should be skipped during the build)
- Build-Depends marked <!nocheck> are installed as normal
- The contents of the package should not change compared
to a regular build
Thanks.
More information about the Pkg-a11y-devel
mailing list