[pkg-php-pear] Bug#1129165: shaarli: FTBFS: Failed asserting that two strings are equal.
Santiago Vila
sanvila at debian.org
Fri Feb 27 00:56:02 GMT 2026
Package: src:shaarli
Version: 0.16.1+dfsg-1
Severity: serious
Tags: ftbfs forky sid
Dear maintainer:
During a rebuild of all packages in unstable, this package failed to build.
Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:
https://people.debian.org/~sanvila/build-logs/202602/
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 cannot 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:shaarli, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean --with apache2 --with phpcomposer
dh_auto_clean
make -j2 clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_clean
rm -f debian/debhelper-build-stamp
rm -rf debian/.debhelper/
rm -f -- debian/shaarli.substvars debian/files
rm -fr -- debian/shaarli/ debian/tmp/
find . \( \( \
\( -path .\*/.git -o -path .\*/.svn -o -path .\*/.bzr -o -path .\*/.hg -o -path .\*/CVS -o -path .\*/.pc -o -path .\*/_darcs \) -prune -o -type f -a \
\( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \
-o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \
-o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \
-o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \
\) -exec rm -f {} + \) -o \
\( -type d -a \( -name autom4te.cache -o -name __pycache__ \) -prune -exec rm -rf {} + \) \)
debian/rules binary
dh binary --with apache2 --with phpcomposer
dh_update_autotools_config
dh_autoreconf
dh_auto_configure
debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
phpab \
--output autoload.php \
--template debian/autoload.php.tpl \
*.php application plugins
phpab %development% - Copyright (C) 2009 - 2026 by Arne Blankerts and Contributors
Scanning file index.php
Scanning file init.php
Scanning file shaarli_version.php
Scanning directory application
Scanning directory plugins
Autoload file autoload.php generated.
mkdir --parents vendor
phpab \
--output vendor/autoload.php \
--template debian/autoload.php.tpl \
*.php application tests plugins
phpab %development% - Copyright (C) 2009 - 2026 by Arne Blankerts and Contributors
Scanning file autoload.php
Scanning file index.php
Scanning file init.php
Scanning file shaarli_version.php
Scanning directory application
Scanning directory tests
Scanning directory plugins
Autoload file vendor/autoload.php generated.
make translate
make[2]: Entering directory '/<<PKGBUILDDIR>>'
----------------------
Compile translation files
----------------------
357 translated messages.
164 translated messages.
362 translated messages, 1 untranslated message.
384 translated messages, 3 fuzzy translations.
363 translated messages.
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make htmldoc
make[2]: Entering directory '/<<PKGBUILDDIR>>'
sphinx-build -b html -c doc/ doc/md/ doc/html/
Running Sphinx v8.2.3
loading translations [en]... done
making output directory... done
Converting `source_suffix = ['.md']` to `source_suffix = {'.md': 'restructuredtext'}`.
myst v4.0.1: MdParserConfig(commonmark_only=False, gfm_only=False, enable_extensions={'fieldlist'}, disable_syntax=[], all_links_external=False, links_external_new_tab=False, url_schemes=('http', 'https', 'mailto', 'ftp'), ref_domains=None, fence_as_directive=set(), number_code_blocks=[], title_to_header=False, heading_anchors=0, heading_slug_func=None, html_meta={description lang=en: ..., charset: ...}, footnote_sort=True, footnote_transition=True, words_per_minute=200, substitutions={}, linkify_fuzzy_links=True, dmath_allow_labels=True, dmath_allow_space=True, dmath_allow_digits=True, dmath_double_inline=False, update_mathjax=True, mathjax_classes='tex2jax_process|mathjax_process|math|output_area', enable_checkboxes=False, suppress_warnings=[], highlight_code_blocks=True)
building [mo]: targets for 0 po files that are out of date
writing output...
building [html]: targets for 14 source files that are out of date
updating environment: [new config] 14 added, 0 changed, 0 removed
reading sources... [ 7%] Backup-and-restore
reading sources... [ 14%] Community-and-related-software
reading sources... [ 21%] Docker
reading sources... [ 29%] Installation
reading sources... [ 36%] Plugins
reading sources... [ 43%] REST-API
reading sources... [ 50%] Reverse-proxy
reading sources... [ 57%] Server-configuration
reading sources... [ 64%] Shaarli-configuration
reading sources... [ 71%] Troubleshooting
reading sources... [ 79%] Upgrade-and-migration
reading sources... [ 86%] Usage
reading sources... [ 93%] dev/Development
reading sources... [100%] index
/<<PKGBUILDDIR>>/doc/md/Backup-and-restore.md.md:1: WARNING: Document headings start at H2, not H1 [myst.header]
/<<PKGBUILDDIR>>/doc/md/REST-API.md.md:83: WARNING: Non-consecutive header level increase; H3 to H5 [myst.header]
/<<PKGBUILDDIR>>/doc/md/REST-API.md.md:100: WARNING: Non-consecutive header level increase; H3 to H5 [myst.header]
/<<PKGBUILDDIR>>/doc/md/REST-API.md.md:110: WARNING: Non-consecutive header level increase; H3 to H5 [myst.header]
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
copying assets...
copying static files...
Writing evaluated template result to /<<PKGBUILDDIR>>/doc/html/_static/basic.css
Writing evaluated template result to /<<PKGBUILDDIR>>/doc/html/_static/documentation_options.js
Writing evaluated template result to /<<PKGBUILDDIR>>/doc/html/_static/language_data.js
copying static files: done
copying extra files...
copying extra files: done
copying assets: done
writing output... [ 7%] Backup-and-restore
writing output... [ 14%] Community-and-related-software
writing output... [ 21%] Docker
writing output... [ 29%] Installation
writing output... [ 36%] Plugins
writing output... [ 43%] REST-API
writing output... [ 50%] Reverse-proxy
writing output... [ 57%] Server-configuration
writing output... [ 64%] Shaarli-configuration
writing output... [ 71%] Troubleshooting
writing output... [ 79%] Upgrade-and-migration
writing output... [ 86%] Usage
writing output... [ 93%] dev/Development
writing output... [100%] index
WARNING: in rendering Backup-and-restore.html: Got configuration for 'top_of_page_button': this is deprecated.
WARNING: in rendering Community-and-related-software.html: Got configuration for 'top_of_page_button': this is deprecated.
WARNING: in rendering Docker.html: Got configuration for 'top_of_page_button': this is deprecated.
WARNING: in rendering Installation.html: Got configuration for 'top_of_page_button': this is deprecated.
WARNING: in rendering Plugins.html: Got configuration for 'top_of_page_button': this is deprecated.
WARNING: in rendering REST-API.html: Got configuration for 'top_of_page_button': this is deprecated.
WARNING: in rendering Reverse-proxy.html: Got configuration for 'top_of_page_button': this is deprecated.
WARNING: in rendering Server-configuration.html: Got configuration for 'top_of_page_button': this is deprecated.
WARNING: in rendering Shaarli-configuration.html: Got configuration for 'top_of_page_button': this is deprecated.
WARNING: in rendering Troubleshooting.html: Got configuration for 'top_of_page_button': this is deprecated.
WARNING: in rendering Upgrade-and-migration.html: Got configuration for 'top_of_page_button': this is deprecated.
WARNING: in rendering Usage.html: Got configuration for 'top_of_page_button': this is deprecated.
WARNING: in rendering dev/Development.html: Got configuration for 'top_of_page_button': this is deprecated.
WARNING: in rendering index.html: Got configuration for 'top_of_page_button': this is deprecated.
generating indices... genindex WARNING: in rendering genindex.html: Got configuration for 'top_of_page_button': this is deprecated.
done
writing additional pages... search WARNING: in rendering search.html: Got configuration for 'top_of_page_button': this is deprecated.
opensearch done
copying images... [ 20%] images/07-installation.jpg
copying images... [ 40%] images/edit_icon.png
copying images... [ 60%] images/rss-filter-1.png
copying images... [ 80%] images/rss-filter-2.png
copying images... [100%] dev/images/poedit-1.jpg
dumping search index in English (code: en)... done
dumping object inventory... done
build succeeded, 20 warnings.
The HTML pages are in doc/html.
rm -rf doc/html/.doctrees
find doc/html/ -type f -exec chmod a-x '{}' \;
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
rm \
doc/html/_static/doctools.js \
doc/html/_static/language_data.js \
doc/html/_static/searchtools.js \
doc/html/_static/sphinx_highlight.js
mkdir --parents assets/default/css
sass assets/default/scss/shaarli.scss > assets/default/css/shaarli.css
webpack
[baseline-browser-mapping] The data in this module is over two months old. To ensure accurate Baseline data, please update: `npm i baseline-browser-mapping at latest -D`
(node:140) [DEP0180] DeprecationWarning: fs.Stats constructor is deprecated.
(Use `node --trace-deprecation ...` to show where the warning was created)
assets by path js/*.js 181 KiB
asset js/shaarli.min.js 94.3 KiB [emitted] [minimized] (name: shaarli) 1 related asset
asset js/metadata.min.js 75.6 KiB [emitted] [minimized] (name: metadata) 1 related asset
asset js/thumbnails.min.js 5.36 KiB [emitted] [minimized] (name: thumbnails)
asset js/shaare_batch.min.js 3.13 KiB [emitted] [minimized] (name: shaare_batch)
asset js/pluginsadmin.min.js 1.73 KiB [emitted] [minimized] (name: pluginsadmin)
asset js/thumbnails_update.min.js 925 bytes [emitted] [minimized] (name: thumbnails_update)
asset js/markdown.min.js 0 bytes [emitted] [minimized] (name: markdown)
assets by path img/*.png 65.4 KiB
asset img/favicon.png 40.6 KiB [emitted] [from: assets/default/img/favicon.png] (auxiliary name: shaarli)
asset img/apple-touch-icon.png 17.8 KiB [emitted] [from: assets/default/img/apple-touch-icon.png] (auxiliary name: shaarli)
asset img/sad_star.png 6.93 KiB [emitted] [from: assets/default/img/sad_star.png] (auxiliary name: shaarli)
assets by path css/*.css 122 KiB
asset css/shaarli.min.css 118 KiB [emitted] (name: shaarli)
asset css/markdown.min.css 4.04 KiB [emitted] (name: markdown)
runtime modules 4.5 KiB 23 modules
orphan modules 127 KiB [orphan] 7 modules
cacheable modules 192 KiB (javascript) 65.4 KiB (asset) 122 KiB (css/mini-extract)
modules by layer 192 KiB (javascript) 65.4 KiB (asset)
javascript modules 192 KiB 11 modules
asset modules 65.4 KiB
./assets/default/img/sad_star.png 6.93 KiB [built] [code generated]
+ 2 modules
css modules 122 KiB
modules by path ./ 77.7 KiB
css ../../../usr/share/nodejs/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[1]!./debian/pure-extras/pure-extras.css 4.98 KiB [built] [code generated]
+ 2 modules
modules by path ../../../usr/share/ 43.9 KiB
css ../../../usr/share/nodejs/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[1]!../../../usr/share/purecss/css/purecss.css 42.1 KiB [built] [code generated]
css ../../../usr/share/nodejs/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[1]!../../../usr/share/nodejs/awesomplete/awesomplete.css 1.83 KiB [built] [code generated]
webpack 5.97.1 compiled successfully in 2630 ms
assets by path img/ 216 KiB
assets by path img/*.png 16.2 KiB
asset img/logo.png 5.33 KiB [emitted] [from: assets/vintage/img/logo.png] (auxiliary name: shaarli)
+ 13 assets
asset img/Paper_texture_v5_by_bashcorpo_w1000.jpg 124 KiB [emitted] [from: assets/vintage/img/Paper_texture_v5_by_bashcorpo_w1000.jpg] (auxiliary name: shaarli)
asset img/favicon.ico 75.1 KiB [emitted] [from: assets/vintage/img/favicon.ico] (auxiliary name: shaarli)
assets by path js/*.js 91.3 KiB
asset js/metadata.min.js 75.6 KiB [emitted] [minimized] (name: metadata) 1 related asset
asset js/shaarli.min.js 9.38 KiB [emitted] [minimized] (name: shaarli)
asset js/thumbnails.min.js 5.36 KiB [emitted] [minimized] (name: thumbnails)
asset js/thumbnails_update.min.js 925 bytes [emitted] [minimized] (name: thumbnails_update)
asset js/markdown.min.js 0 bytes [emitted] [minimized] (name: markdown)
assets by path css/*.css 30 KiB
asset css/shaarli.min.css 25.9 KiB [emitted] (name: shaarli)
asset css/markdown.min.css 4.04 KiB [emitted] (name: markdown)
Entrypoint shaarli 35.3 KiB (216 KiB) = css/shaarli.min.css 25.9 KiB js/shaarli.min.js 9.38 KiB 16 auxiliary assets
Entrypoint markdown 4.04 KiB = css/markdown.min.css 4.04 KiB js/markdown.min.js 0 bytes
Entrypoint thumbnails 5.36 KiB = js/thumbnails.min.js
Entrypoint metadata 75.6 KiB = js/metadata.min.js
Entrypoint thumbnails_update 925 bytes = js/thumbnails_update.min.js
runtime modules 6.09 KiB 29 modules
orphan modules 34.1 KiB [orphan] 7 modules
cacheable modules 216 KiB (asset) 159 KiB (javascript) 30 KiB (css/mini-extract)
modules by path ./assets/vintage/ 216 KiB (asset) 2.81 KiB (javascript) 24.1 KiB (css/mini-extract)
asset modules 216 KiB 16 modules
modules by path ./assets/vintage/css/*.css 100 bytes (javascript) 24.1 KiB (css/mini-extract) 4 modules
./assets/vintage/js/base.js 2.72 KiB [built] [code generated]
modules by path ./assets/common/ 6.88 KiB (javascript) 4.04 KiB (css/mini-extract)
modules by path ./assets/common/js/*.js 6.83 KiB 3 modules
modules by path ./assets/common/css/*.css 50 bytes (javascript) 4.04 KiB (css/mini-extract) 2 modules
modules by path ../../../usr/share/nodejs/ 150 KiB (javascript) 1.83 KiB (css/mini-extract)
modules by path ../../../usr/share/nodejs/awesomplete/ 14.9 KiB (javascript) 1.83 KiB (css/mini-extract) 2 modules
../../../usr/share/nodejs/blazy/blazy.js 12.6 KiB [built] [code generated]
../../../usr/share/nodejs/he/he.js 122 KiB [built] [code generated]
webpack 5.97.1 compiled successfully in 2297 ms
uglifyjs plugins/qrcode/qr-1.1.3.js > plugins/qrcode/qr-1.1.3.min.js
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_test
make -j2 test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
----------------------
Compile translation files
----------------------
357 translated messages.
164 translated messages.
362 translated messages, 1 untranslated message.
384 translated messages, 3 fuzzy translations.
363 translated messages.
-------
PHPUNIT
-------
PHPUnit 13.0.0 by Sebastian Bergmann and contributors.
Runtime: PHP 8.4.16
Configuration: /<<PKGBUILDDIR>>/phpunit.xml
DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD 63 / 994 ( 6%)
DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD 126 / 994 ( 12%)
DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD 189 / 994 ( 19%)
DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD 252 / 994 ( 25%)
DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDSDD 315 / 994 ( 31%)
DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDFDDDDFDDDDDDDDDDDDDDDDDDDDDDD 378 / 994 ( 38%)
DDDDDDDDDDSSDDDDDDDDDDDDDDDSDDDDDDDDDDDDDSDSDDDDDDDDSDSDDDDSDSD 441 / 994 ( 44%)
DDDDDDDDDDDDDSSDDDDDDDDDSSDDDDDDDDDDDDDDDDDDDDDDDDDDDSSDDDDDSSD 504 / 994 ( 50%)
DDDDDDDDDDDDDSSSDDDDDDDDDDDDDDDDDDDDDDSDDDDDDDDDDDDDDDDSSSSSSDD 567 / 994 ( 57%)
DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD 630 / 994 ( 63%)
DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD 693 / 994 ( 69%)
DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD 756 / 994 ( 76%)
DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD 819 / 994 ( 82%)
DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD 882 / 994 ( 88%)
DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD 945 / 994 ( 95%)
DDDDDDDDDDDDWDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD 994 / 994 (100%)
Time: 00:00.545, Memory: 36.00 MB
There were 2 failures:
1) Shaarli\Formatter\BookmarkMarkdownExtraFormatterTest::testFormatExtrraDescription
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
'... SPACES ! </p>\n
-<h1 class="class">Header</h1></div>'
+<h1>Header {.class}</h1></div>'
/<<PKGBUILDDIR>>/tests/formatter/BookmarkMarkdownExtraFormatterTest.php:134
/usr/bin/phpunit:104
2) Shaarli\Formatter\BookmarkMarkdownFormatterTest::testFormatDescriptionWithSearchHighlight
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'...ttps://other.domain.tld"><span class="search-highlight">yet another link</span></a></p></div>'
+'...ttps://other.domain.tld">yet another link</a></p></div>'
/<<PKGBUILDDIR>>/tests/formatter/BookmarkMarkdownFormatterTest.php:175
/usr/bin/phpunit:104
FAILURES!
Tests: 994, Assertions: 4005, Failures: 2, Warnings: 3, Deprecations: 70, PHPUnit Deprecations: 6, PHPUnit Notices: 297, Skipped: 44.
make[1]: *** [Makefile:76: test] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
rm -fr -- /tmp/dh-xdg-rundir-khpZGsQ_
dh_auto_test: error: make -j2 test returned exit code 2
make: *** [debian/rules:5: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------
More information about the pkg-php-pear
mailing list