(Adding Thomas to the loop) El 13/03/25 a las 08:13, Helmut Grohne escribió: > Package: libopentelemetry-proto-dev,opentelemetry-cpp-dev > Severity: serious > Tags: trixie sid > User: debian...@lists.debian.org > Usertags: fileconflict > > The packages libopentelemetry-proto-dev and opentelemetry-cpp-dev cannot > be practically coinstalled in trixie. > > mmdebstrap --verbose --variant=apt '' /dev/null 'deb > http://deb.debian.org/debian trixie main' > --include=libopentelemetry-proto-dev,opentelemetry-cpp-dev > > Attempting to do it fails. > > Preparing to unpack .../42-opentelemetry-cpp-dev_1.19.0-1+b1_amd64.deb ... > Unpacking opentelemetry-cpp-dev:amd64 (1.19.0-1+b1) ... > dpkg: error processing archive > /tmp/apt-dpkg-install-jFNI07/42-opentelemetry-cpp-dev_1.19.0-1+b1_amd64.deb > (--unpack): > trying to overwrite > '/usr/include/opentelemetry/proto/collector/logs/v1/logs_service.grpc.pb.h', > which is also in package libopentelemetry-proto-dev (1.5.0-1) > Errors were encountered while processing: > > /tmp/apt-dpkg-install-jFNI07/42-opentelemetry-cpp-dev_1.19.0-1+b1_amd64.deb > E: Sub-process env returned an error code (1) > > These packages look very similar. Do we really need both or should one > of them be removed in favour of the other? > > Helmut >
Thanks for filing this bug, Helmut! And sorry for overlooking at this. opentelemetry-cpp-dev currently includes (part of) the proto header files, that were used to build the -cpp header-only library. IIUC, if we had to remove one of those packages, it would have to be libopentelemetry-proto-dev, in favor of opentelemetry-cpp-dev. But, if openlemetry-proto (as the OTLP protocol implementation in C++) happens to be needed as as dependency of any other package, I would prefer to keep both packages. My plan is to remove the /usr/include/opentelemetry/proto/ files from opentelemetry-cpp-dev. Looking into tango (the main opentelemetry reverse dependency), it only includes/need the header files from the C++ client library. I've actually tested building tango with a "clean" opentelemetry-cpp-dev and it succeeds. Thomas, please tell me if this doesn't make sense to you. Unless there is any objection, I will upload a hopefully fixed opentelemetry-cpp-dev in a couple of days. Cheers, -- Santiago
signature.asc
Description: PGP signature