Bug#1120868: libfirefox-marionette-perl: FTBFS in trixie

Santiago Vila sanvila at debian.org
Mon Nov 17 18:50:22 GMT 2025


Package: src:libfirefox-marionette-perl
Version: 1.63-1
Severity: serious
Control: fixed -1 1.68-1
Tags: ftbfs trixie

Dear maintainer:

During a rebuild of all packages in trixie, this package failed to build.

[ Note: The bug is marked as fixed with the version in forky/sid, but
  packages in trixie must still build in trixie ].

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/trixie/

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:libfirefox-marionette-perl, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
cp ssh-auth-cmd-marionette blib/script/ssh-auth-cmd-marionette
"/usr/bin/perl" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/ssh-auth-cmd-marionette
Manifying 4 pod documents
Manifying 27 pod documents
Manifying 12 pod documents
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
NO_NETWORK=1 RES_OPTIONS=attempts:0 http_proxy= xvfb-run -a dh_auto_test
	make -j2 test TEST_VERBOSE=1
make[2]: Entering directory '/<<PKGBUILDDIR>>'
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'blib/lib', 'blib/arch')" t/*.t
# Testing Firefox::Marionette 1.63
t/00.load.t ........... 
1..1
ok 1 - use Firefox::Marionette;
ok
# Starting test at Sun Nov 16 07:39:15 2025
[175] Sandbox: CanCreateUserNamespace() clone() failure: EPERM
# Version is Mozilla Firefox 140.4.0esr
# XAUTHORITY is /tmp/xvfb-run.yJhqei/Xauthority
# DISPLAY is :99
# D-Bus is working
# Debian Version is 13.2
# Xvfb deb version is 2:21.1.16-1.3+deb13u1
# grep -r Mem /proc/meminfo
# MemTotal:        7932392 kB
# MemFree:         5624268 kB
# MemAvailable:    7358920 kB
# ulimit -a | grep -i mem
# memory(kbytes)       unlimited
# locked memory(kbytes) 8192
# vmemory(kbytes)      unlimited
# This firefox installation has 0 existing profiles
'/usr/bin/perl --version' did not produce output that could be parsed.  Assuming modern Marionette is available at t/01-marionette.t line 667.
'/usr/bin/perl --version' did not produce output that could be parsed.  Assuming modern Marionette is available at t/01-marionette.t line 667.
'/usr/bin/perl --version' did not produce output that could be parsed.  Assuming modern Marionette is available at t/01-marionette.t line 667.
'/usr/bin/perl --version' did not produce output that could be parsed.  Assuming modern Marionette is available at t/01-marionette.t line 667.
# Initial tests
# Testing has been running for 2 seconds at t/01-marionette.t line 785
** firefox --version
** firefox -marionette -safe-mode -headless -profile /tmp/firefox_marionette_local_b_mUJCCubIb/profile --no-remote --new-instance
[205] Sandbox: CanCreateUserNamespace() clone() failure: EPERM
*** You are running in headless mode.
<< 50:{"applicationType":"gecko","marionetteProtocol":3}
>> 73:[0,1,"WebDriver:NewSession",{"capabilities":{"requiredCapabilities":{}}}]
<< 763:[1,1,null,{"sessionId":"caa9a0ec-d80d-41de-8307-2bdb0887305a","capabilities":{"acceptInsecureCerts":false,"browserName":"firefox","browserVersion":"140.4.0","platformName":"linux","unhandledPromptBehavior":"dismiss and notify","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:140.0) Gecko/20100101 Firefox/140.0","moz:buildID":"20251009121631","moz:headless":true,"moz:platformVersion":"6.12.57+deb13-cloud-amd64","moz:processID":205,"moz:profile":"/tmp/firefox_marionette_local_b_mUJCCubIb/profile","moz:shutdownTimeout":60000,"pageLoadStrategy":"normal","timeouts":{"implicit":0,"pageLoad":300000,"script":30000},"setWindowRect":true,"strictFileInteractability":false,"moz:accessibilityChecks":false,"moz:webdriverClick":true,"moz:windowless":false,"proxy":{}}}]
>> 179:[0,2,"WebAuthn:AddVirtualAuthenticator",{"hasResidentKey":true,"hasUserVerification":true,"isUserConsenting":true,"isUserVerified":true,"protocol":"ctap2","transport":"internal"}]
<< 66:[1,2,null,{"value":"2DLh6iUC8tGGhLswFbPbqlRspnyU3eVOSP4c8bQ1x-E"}]
>> 33:[0,3,"WebDriver:GetCapabilities"]
<< 722:[1,3,null,{"value":{"capabilities":{"acceptInsecureCerts":false,"browserName":"firefox","browserVersion":"140.4.0","platformName":"linux","unhandledPromptBehavior":"dismiss and notify","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:140.0) Gecko/20100101 Firefox/140.0","moz:buildID":"20251009121631","moz:headless":true,"moz:platformVersion":"6.12.57+deb13-cloud-amd64","moz:processID":205,"moz:profile":"/tmp/firefox_marionette_local_b_mUJCCubIb/profile","moz:shutdownTimeout":60000,"pageLoadStrategy":"normal","timeouts":{"implicit":0,"pageLoad":300000,"script":30000},"setWindowRect":true,"strictFileInteractability":false,"moz:accessibilityChecks":false,"moz:webdriverClick":true,"moz:windowless":false,"proxy":{}}}}]
>> 71:[0,4,"WebDriver:ExecuteScript",{"script":"return navigator.userAgent"}]
<< 93:[1,4,null,{"value":"Mozilla/5.0 (X11; Linux x86_64; rv:140.0) Gecko/20100101 Firefox/140.0"}]
>> 29:[0,5,"Marionette:GetContext"]
<< 30:[1,5,null,{"value":"content"}]
>> 48:[0,6,"Marionette:SetContext",{"value":"chrome"}]
<< 927:[1,6,{"error":"unsupported operation","message":"Syst [too-long-redacted] nsport.sys.mjs:494:20\n"},null]
unsupported operation: System access is required to switch to chrome scope. Start Firefox with "-remote-allow-system-access" to enable it. at t/01-marionette.t line 806
>> 50:[0,7,"Marionette:Quit",{"flags":["eAttemptQuit"]}]
<< 60:[1,7,null,{"cause":"shutdown","forced":false,"in_app":true}]
# Tests were run but no plan was declared and done_testing() was not seen.
# Looks like your test exited with -1 just after 25.
t/01-marionette.t ..... 
ok 1 - Read 0 existing profiles
ok 2 - No default profile
ok 3 - No default waterfox profile
ok 4 - Read existing profile if any
ok 5 - Firefox::Marionette->new() threw an exception when launched with an incorrect path to a binary:Failed to open directory '/firefox/is/not':No such file or directory at t/01-marionette.t line 662
ok 6 - Firefox::Marionette->new() threw an exception when launched with a path to a non firefox binary:Firefox exited with a 0 at t/01-marionette.t line 667
ok 7 # skip No profile testing except for RELEASE_TESTING
ok 8 # skip No profile testing except for RELEASE_TESTING
ok 9 # skip No profile testing except for RELEASE_TESTING
ok 10 # skip No profile testing except for RELEASE_TESTING
ok 11 # skip No profile testing except for RELEASE_TESTING
ok 12 # skip No profile testing except for RELEASE_TESTING
ok 13 - Firefox::Marionette::Profile->new() correctly returns a new profile
ok 14 - $profile->get_value('marionette.port') correctly returns 0
ok 15 - $profile->set_value('browser.link.open_newwindow', 2) to force new windows to appear
ok 16 - $profile->set_value('browser.link.open_external', 2) to force new windows to appear
ok 17 - $profile->set_value('browser.block.target_new_window', 'false') to force new windows to appear
[GFX1-]: glxtest: libpci missing
[GFX1-]: glxtest: libEGL missing
[GFX1-]: RenderCompositorSWGL failed mapping default framebuffer, no dt
ok 18 - $firefox->root_directory() is /tmp/firefox_marionette_local_b_mUJCCubIb
ok 19 - $firefox->debug() returns true
ok 20 - Firefox has started in Marionette mode
ok 21 - application/pkcs10 has been added to mime_types
ok 22 - application/pdf was already in mime_types
ok 23 - application/x-gzip was already in mime_types
ok 24 - text/html should not be in mime_types
ok 25 - shows an existing proxy setup
Dubious, test returned 255 (wstat 65280, 0xff00)
All 25 subtests passed 
	(less 6 skipped subtests: 19 okay)
# Running taint checks with PATH set to /usr/bin:/bin:/usr/local/bin
t/02-taint.t .......... 
ok 1 - Firefox launched okay under taint
ok 2 - Firefox exited okay under taint
1..2
ok
t/03-close.t .......... skipped: Author tests not required for installation
t/03-closedir.t ....... skipped: Author tests not required for installation
t/03-fork.t ........... skipped: Author tests not required for installation
t/03-mkdir.t .......... skipped: Author tests not required for installation
t/03-opendir.t ........ skipped: Author tests not required for installation
t/03-read.t ........... skipped: Author tests not required for installation
t/03-seek.t ........... skipped: Author tests not required for installation
t/03-stat.t ........... skipped: Author tests not required for installation
t/03-sysopen.t ........ skipped: Author tests not required for installation
t/04-botd.t ........... skipped: Author tests not required for installation
t/04-browserfeatcl.t .. skipped: Author tests not required for installation
t/04-fingerprint.t .... skipped: Author tests not required for installation
t/04-proxy.t .......... skipped: Author tests not required for installation
t/04-timezone.t ....... skipped: Author tests not required for installation
t/04-webauthn.t ....... skipped: Author tests not required for installation
t/manifest.t .......... skipped: Author tests not required for installation
t/pod-coverage.t ...... skipped: Test::Pod::Coverage 1.04 required for testing POD coverage
t/pod.t ............... skipped: Test::Pod 1.41 required for testing POD

Test Summary Report
-------------------
t/01-marionette.t   (Wstat: 65280 (exited 255) Tests: 25 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
Files=21, Tests=28, 10 wallclock secs ( 0.04 usr  0.02 sys +  5.15 cusr  1.49 csys =  6.70 CPU)
Result: FAIL
Failed 1/21 test programs. 0/28 subtests failed.
make[2]: *** [Makefile:1141: test_dynamic] Error 255
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_test: error: make -j2 test TEST_VERBOSE=1 returned exit code 2
make[1]: *** [debian/rules:10: override_dh_auto_test] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:7: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------



More information about the pkg-perl-maintainers mailing list