Source: thunderbird
Version: 1:102.6.0-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20230113 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[2]: Entering directory '/<<PKGBUILDDIR>>'
> # run autoconf for all configure files
> if [ "Z2.13" != Z ] || [ ! -e /<<PKGBUILDDIR>>/configure ]; then \
>       cd /<<PKGBUILDDIR>> && `which autoconf2.13 || which autoconf`; fi
> if [ "Z2.13" != Z ] || [ ! -e /<<PKGBUILDDIR>>/js/src/configure ]; then \
>       cd /<<PKGBUILDDIR>>/js/src && `which autoconf2.13 || which autoconf`; fi
> # copy the mozconfig files
> cp debian/mozconfig.* .
> # Disable debug symbols when building on 32-bits machines, because
> # a) the rust compiler can't deal with it in the available address
> # space, and b) the linker can't deal with it in the available address
> # space either.
> echo 'mk_add_options MOZ_OBJDIR=/<<PKGBUILDDIR>>/obj-thunderbird' >> 
> mozconfig.thunderbird
> echo 'ac_add_options --prefix=/<<PKGBUILDDIR>>/debian/tmp/usr' >> 
> mozconfig.default
> # configure the various build settings for thunderbird
> DIST= python3 ./mach -v configure
> WARNING: The directory '/sbuild-nonexistent/.cache/pip' or its parent 
> directory is not owned or is not writable by the current user. The cache has 
> been disabled. Check the permissions and owner of that directory. If 
> executing pip with sudo, you should use sudo's -H flag.
> WARNING: The directory '/sbuild-nonexistent/.cache/pip' or its parent 
> directory is not owned or is not writable by the current user. The cache has 
> been disabled. Check the permissions and owner of that directory. If 
> executing pip with sudo, you should use sudo's -H flag.
> created virtual environment CPython3.11.1.final.0-64 in 23ms
>   creator 
> CPython3Posix(dest=/<<PKGBUILDDIR>>/obj-thunderbird/_virtualenvs/build, 
> clear=False, no_vcs_ignore=False, global=False)
>   activators 
> BashActivator,CShellActivator,FishActivator,PowerShellActivator,PythonActivator
> Creating global state directory from environment variable: 
> /<<PKGBUILDDIR>>/debian/.mozbuild
> Running "pip check" to verify compatibility between the system Python and the 
> "mach" site.
> Running "pip check" to verify compatibility between the system Python and the 
> "build" site.
> Error running mach:
> 
>     ['-v', 'configure']
> 
> The error occurred in code that was called by the mach command. This is either
> a bug in the called code itself or in the way that mach is calling it.
> You can invoke |./mach busted| to check if this issue is already on file. If 
> it
> isn't, please use |./mach busted file configure| to report it. If |./mach 
> busted| is
> misbehaving, you can also inspect the dependencies of bug 1543241.
> 
> If filing a bug, please include the full output of mach, including this error
> message.
> 
> The details of the failure are as follows:
> 
> ValueError: invalid mode: 'rU'
> 
>   File "/<<PKGBUILDDIR>>/python/mozbuild/mozbuild/build_commands.py", line 
> 255, in configure
>     return driver.configure(
>            ^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/python/mozbuild/mozbuild/controller/building.py", 
> line 1650, in configure
>     self._write_mozconfig_json()
>   File "/<<PKGBUILDDIR>>/python/mozbuild/mozbuild/controller/building.py", 
> line 1769, in _write_mozconfig_json
>     with FileAvoidWrite(mozconfig_json) as fh:
>   File "/<<PKGBUILDDIR>>/python/mozbuild/mozbuild/util.py", line 353, in 
> __exit__
>     self.close()
>   File "/<<PKGBUILDDIR>>/python/mozbuild/mozbuild/util.py", line 277, in close
>     existing = _open(self.name, self.mode)
>                ^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/python/mozbuild/mozbuild/util.py", line 63, in _open
>     return io.open(path, mode, encoding="utf-8", newline="\n")
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> make[2]: *** [debian/rules:111: override_dh_auto_configure] Error 1


The full build log is available from:
http://qa-logs.debian.net/2023/01/13/thunderbird_102.6.0-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230113;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230113&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

Reply via email to