Source: collectd
Version: 5.12.0-18
Severity: normal
Tags: patch
User: debian-loonga...@lists.debian.org
Usertags: loong64
Hi maintainers,
Compiling the collectd failed for loong64 in the Debian Package
Auto-Building environment.
The build error log is as follows(at the configure stage),
```
gps . . . . . . . . . yes
gpu_nvidia . . . . . no (disabled on command line)
grpc . . . . . . . . no (libgrpc++ not found) (dependency error)
hddtemp . . . . . . . no (disabled on command line)
hugepages . . . . . . yes
......
configure: error: "Some plugins are missing dependencies - see the
summary above for details"
-e
.....
```
The full log can be found at
https://buildd.debian.org/status/logs.php?pkg=collectd&ver=5.12.0-18&arch=loong64.
After analyzing, I found that maybe there is missing loong64 dependency
for libgrpc++-dev in d/control.
Please consider the patch I attached.
I have built collectd successfully in my local ENV and all test cases
passed.
```
================================================
Testsuite summary for collectd 5.12.0.git
================================================
# TOTAL: 34
# PASS: 34
# SKIP: 0
# XFAIL: 0
# FAIL: 0
# XPASS: 0
# ERROR: 0
================================================
......
dpkg-genbuildinfo -O../collectd_5.12.0-18_loong64.buildinfo
dpkg-genchanges -O../collectd_5.12.0-18_loong64.changes
dpkg-genchanges: info: not including original source code in upload
dpkg-source --after-build .
```
Your opinions are welcome.
Thanks,
Dandan Zhang
diff -Nru collectd-5.12.0/debian/control collectd-5.12.0/debian/control
--- collectd-5.12.0/debian/control 2024-04-19 22:49:01.000000000 +0000
+++ collectd-5.12.0/debian/control 2024-04-19 22:49:01.000000000 +0000
@@ -21,7 +21,7 @@
libgeom-dev [kfreebsd-any],
libgcrypt20-dev,
libglib2.0-dev,
- libgrpc++-dev [amd64 arm64 armel armhf i386 mips64el mipsel ppc64el s390x],
+ libgrpc++-dev [amd64 arm64 armel armhf i386 loong64 mips64el mipsel ppc64el
s390x],
libgps-dev,
libhiredis-dev,
libi2c-dev [!hurd-any],
@@ -32,7 +32,7 @@
libmicrohttpd-dev,
libjansson-dev,
libmodbus-dev,
- libmongoc-dev [!loong64],
+ libmongoc-dev,
libmnl-dev [linux-any],
libnotify-dev,
libopenipmi-dev,
@@ -60,7 +60,7 @@
default-jdk [!hppa !sparc !kfreebsd-i386 !kfreebsd-amd64],
protobuf-c-compiler,
protobuf-compiler,
- protobuf-compiler-grpc [amd64 arm64 armel armhf i386 mips64el mipsel ppc64el
s390x loong64 powerpc ppc64],
+ protobuf-compiler-grpc [amd64 arm64 armel armhf i386 loong64 mips64el mipsel
ppc64el s390x powerpc ppc64],
python3-dev,
riemann-c-client,
libqpid-proton11-dev,