Bug#1028687: termbox: FTBFS: ValueError: invalid mode: 'rUb'

2023-01-19 Thread Sebastiaan Couwenberg

Control: tags -1 patch

A patch has been committed in git:


https://salsa.debian.org/debian/termbox/-/commit/814a247912b907d66adb8b761c616e1f1a5f471f

Kind Regards,

Bas

--
 GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1



Bug#1028687: termbox: FTBFS: ValueError: invalid mode: 'rUb'

2023-01-14 Thread Lucas Nussbaum
Source: termbox
Version: 1.1.2+dfsg-4
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[1]: Entering directory '/<>'
> python3 waf configure \
>   --prefix=/usr \
>   --libdir=usr/lib/x86_64-linux-gnu/
> Waf: The wscript in '/<>' is unreadable
> Traceback (most recent call last):
>   File "/<>/waflib/Scripting.py", line 88, in waf_entry_point
> set_main_module(os.path.join(Context.run_dir,Context.WSCRIPT_FILE))
>   File "/<>/waflib/Scripting.py", line 113, in set_main_module
> Context.g_module=Context.load_module(file_path)
>  ^^
>   File "/<>/waflib/Context.py", line 324, in load_module
> code=Utils.readf(path,m='rU')
>  
>   File "/<>/waflib/Utils.py", line 108, in readf
> f=open(fname,m)
>   ^
> ValueError: invalid mode: 'rUb'
> make[1]: *** [debian/rules:11: override_dh_auto_configure] Error 2


The full build log is available from:
http://qa-logs.debian.net/2023/01/13/termbox_1.1.2+dfsg-4_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=ign=7=7=only=ftbfs-20230113=lu...@debian.org=1=1=1=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.