Source: ubuntu-dev-tools
Version: 0.192
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20230216 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>>'
> ./run-linters
> Running black...
> --- build/scripts-3.11/grep-merges    2023-02-17 01:30:48.860507 +0000
> +++ build/scripts-3.11/grep-merges    2023-02-17 01:30:49.805230 +0000
> @@ -52,11 +52,10 @@
>          "universe",
>          "universe-manual",
>          "multiverse",
>          "multiverse-manual",
>      ):
> -
>          url = f"https://merges.ubuntu.com/{component}.json";
>          try:
>              headers, page = Http().request(url)
>          except HttpLib2Error as e:
>              Logger.exception(e)
> would reformat build/scripts-3.11/grep-merges
> --- /<<PKGBUILDDIR>>/ubuntutools/misc.py      2023-02-01 11:45:15 +0000
> +++ /<<PKGBUILDDIR>>/ubuntutools/misc.py      2023-02-17 01:30:49.837949 +0000
> @@ -242,11 +242,11 @@
>      filesize = path.stat().st_size
>      if size and size != filesize:
>          Logger.error("File %s incorrect size, got %s expected %s", path, 
> filesize, size)
>          return False
>  
> -    for (alg, checksum) in checksums.items():
> +    for alg, checksum in checksums.items():
>          hash_ = hashlib.new(alg)
>          with path.open("rb") as f:
>              while True:
>                  block = f.read(hash_.block_size)
>                  if len(block) == 0:
> would reformat /<<PKGBUILDDIR>>/ubuntutools/misc.py
> --- grep-merges       2023-02-01 11:45:15 +0000
> +++ grep-merges       2023-02-17 01:30:50.160956 +0000
> @@ -52,11 +52,10 @@
>          "universe",
>          "universe-manual",
>          "multiverse",
>          "multiverse-manual",
>      ):
> -
>          url = f"https://merges.ubuntu.com/{component}.json";
>          try:
>              headers, page = Http().request(url)
>          except HttpLib2Error as e:
>              Logger.exception(e)
> would reformat grep-merges
> --- build/scripts-3.11/ubuntu-upload-permission       2023-02-17 
> 01:30:48.864507 +0000
> +++ build/scripts-3.11/ubuntu-upload-permission       2023-02-17 
> 01:30:50.219040 +0000
> @@ -89,11 +89,10 @@
>      component = spph.getComponent()
>      if args.list_uploaders and (
>          pocket != "Release"
>          or series.status in ("Experimental", "Active Development", 
> "Pre-release Freeze")
>      ):
> -
>          component_uploader = 
> archive.getUploadersForComponent(component_name=component)[0]
>          Logger.info("All upload permissions for %s:", args.package)
>          Logger.info("")
>          Logger.info("Component (%s)", component)
>          Logger.info("============%s", "=" * len(component))
> would reformat build/scripts-3.11/ubuntu-upload-permission
> --- ubuntu-upload-permission  2023-02-01 11:45:15 +0000
> +++ ubuntu-upload-permission  2023-02-17 01:30:50.476410 +0000
> @@ -89,11 +89,10 @@
>      component = spph.getComponent()
>      if args.list_uploaders and (
>          pocket != "Release"
>          or series.status in ("Experimental", "Active Development", 
> "Pre-release Freeze")
>      ):
> -
>          component_uploader = 
> archive.getUploadersForComponent(component_name=component)[0]
>          Logger.info("All upload permissions for %s:", args.package)
>          Logger.info("")
>          Logger.info("Component (%s)", component)
>          Logger.info("============%s", "=" * len(component))
> would reformat ubuntu-upload-permission
> --- /<<PKGBUILDDIR>>/ubuntutools/lp/lpapicache.py     2023-02-01 11:45:15 
> +0000
> +++ /<<PKGBUILDDIR>>/ubuntutools/lp/lpapicache.py     2023-02-17 
> 01:30:50.905615 +0000
> @@ -410,11 +410,11 @@
>      def binaryFileProperties(self, filename_or_url):
>          if not self._binary_prop_dict:
>              urls = self.binaryFileUrls()
>              props = self.getBinaryProperties()
>              self._binary_prop_dict = dict(zip(urls, props))
> -            for (key, value) in copy(self._binary_prop_dict).items():
> +            for key, value in copy(self._binary_prop_dict).items():
>                  filename = os.path.basename(urlparse(key).path)
>                  self._binary_prop_dict[filename] = value
>          return self._binary_prop_dict.get(filename_or_url, {})
>  
>  
> would reformat /<<PKGBUILDDIR>>/ubuntutools/lp/lpapicache.py
> 
> Oh no! 💥 💔 💥
> 6 files would be reformatted, 97 files would be left unchanged.
> make[1]: *** [debian/rules:10: override_dh_auto_test] Error 1


The full build log is available from:
http://qa-logs.debian.net/2023/02/16/ubuntu-dev-tools_0.192_unstable.log

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