Bug#1028802: openlayers: FTBFS: ValueError: invalid mode: 'U'

Lucas Nussbaum lucas at debian.org
Sat Jan 14 12:41:57 GMT 2023


Source: openlayers
Version: 2.13.1+ds2-9
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at 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 '/<<PKGBUILDDIR>>'
> dh_auto_build
> cd build && ./build.py full.cfg OpenLayers.js
> No jsmin
> No closure_ws
> No minimize
> Merging libraries.
> Importing: OpenLayers/StyleMap.js
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/build/./build.py", line 163, in <module>
>     build(args[0], args[1], options=options)
>   File "/<<PKGBUILDDIR>>/build/./build.py", line 65, in build
>     merged = mergejs.run(sourceDirectory, None, configFilename)
>              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/build/../tools/mergejs.py", line 186, in run
>     content = open(fullpath, "U").read() # TODO: Ensure end of line @ EOF?
>               ^^^^^^^^^^^^^^^^^^^
> ValueError: invalid mode: 'U'
> make[1]: *** [debian/rules:13: override_dh_auto_build] Error 1


The full build log is available from:
http://qa-logs.debian.net/2023/01/13/openlayers_2.13.1+ds2-9_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230113;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230113&fusertaguser=lucas@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.



More information about the Pkg-grass-devel mailing list