Bug#1115753: cdogs-sdl: FTBFS: make[1]: *** [debian/rules:17: src/proto/msg.pb.c] Error 1
Lucas Nussbaum
lucas at debian.org
Fri Sep 19 20:17:16 BST 2025
Source: cdogs-sdl
Version: 2.1.0+dfsg-2
Severity: serious
Justification: FTBFS
Tags: forky sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20250919 ftbfs-forky
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
The full build log is available from:
http://qa-logs.debian.net/2025/09/19/cdogs-sdl_2.1.0+dfsg-2_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20250919;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20250919&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.
--
Relevant part of the build log (hopefully):
> make[1]: Entering directory '/build/reproducible-path/cdogs-sdl-2.1.0+dfsg'
> cd src/proto && protoc --nanopb_out=. msg.proto
>
> **********************************************************************
> *** Could not import the Google protobuf Python libraries ***
> *** ***
> *** Easiest solution is often to install the dependencies via pip: ***
> *** pip install protobuf grpcio-tools ***
> **********************************************************************
>
> Traceback (most recent call last):
> File "/usr/bin/protoc-gen-nanopb", line 7, in <module>
> from nanopb_generator import *
> File "/usr/bin/nanopb_generator.py", line 22, in <module>
> from nanopb.generator.nanopb_generator import main_cli, main_plugin
> File "/usr/lib/python3/dist-packages/nanopb/generator/nanopb_generator.py", line 36, in <module>
> import google.protobuf.compiler.plugin_pb2 as plugin_pb2
> File "/usr/lib/python3/dist-packages/google/protobuf/compiler/plugin_pb2.py", line 17, in <module>
> DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%google/protobuf/compiler/plugin.proto\x12\x18google.protobuf.compiler\x1a google/protobuf/descriptor.proto\"F\n\x07Version\x12\r\n\x05major\x18\x01 \x01(\x05\x12\r\n\x05minor\x18\x02 \x01(\x05\x12\r\n\x05patch\x18\x03 \x01(\x05\x12\x0e\n\x06suffix\x18\x04 \x01(\t\"\xba\x01\n\x14\x43odeGeneratorRequest\x12\x18\n\x10\x66ile_to_generate\x18\x01 \x03(\t\x12\x11\n\tparameter\x18\x02 \x01(\t\x12\x38\n\nproto_file\x18\x0f \x03(\x0b\x32$.google.protobuf.FileDescriptorProto\x12;\n\x10\x63ompiler_version\x18\x03 \x01(\x0b\x32!.google.protobuf.compiler.Version\"\xc1\x02\n\x15\x43odeGeneratorResponse\x12\r\n\x05\x65rror\x18\x01 \x01(\t\x12\x1a\n\x12supported_features\x18\x02 \x01(\x04\x12\x42\n\x04\x66ile\x18\x0f \x03(\x0b\x32\x34.google.protobuf.compiler.CodeGeneratorResponse.File\x1a\x7f\n\x04\x46ile\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x17\n\x0finsertion_point\x18\x02 \x01(\t\x12\x0f\n\x07\x63ontent\x18\x0f \x01(\t\x12?\n\x13generated_code_info\x18\x10 \x01(\x0b\x32\".google.protobuf.GeneratedCodeInfo\"8\n\x07\x46\x65\x61ture\x12\x10\n\x0c\x46\x45\x41TURE_NONE\x10\x00\x12\x1b\n\x17\x46\x45\x41TURE_PROTO3_OPTIONAL\x10\x01\x42W\n\x1c\x63om.google.protobuf.compilerB\x0cPluginProtosZ)google.golang.org/protobuf/types/pluginpb')
> File "/usr/lib/python3/dist-packages/google/protobuf/descriptor_pool.py", line 217, in AddSerializedFile
> file_desc_proto = descriptor_pb2.FileDescriptorProto.FromString(
> serialized_file_desc_proto)
> File "/usr/lib/python3/dist-packages/google/protobuf/internal/python_message.py", line 801, in FromString
> message.MergeFromString(s)
> ~~~~~~~~~~~~~~~~~~~~~~~^^^
> File "/usr/lib/python3/dist-packages/google/protobuf/internal/python_message.py", line 1128, in MergeFromString
> if self._InternalParse(serialized, 0, length) != length:
> ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/google/protobuf/internal/python_message.py", line 1195, in InternalParse
> pos = field_decoder(buffer, new_pos, end, self, field_dict)
> File "/usr/lib/python3/dist-packages/google/protobuf/internal/decoder.py", line 715, in DecodeRepeatedField
> current_depth += 1
> ^^^^^^^^^^^^^
> UnboundLocalError: cannot access local variable 'current_depth' where it is not associated with a value
> --nanopb_out: protoc-gen-nanopb: Plugin failed with status code 1.
> make[1]: *** [debian/rules:17: src/proto/msg.pb.c] Error 1
More information about the Pkg-games-devel
mailing list