[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1079791: libonnxruntime-dev: pkgconfig file has broken includedir



Package: libonnxruntime-dev
Version: 1.16.3+dfsg-6
Severity: normal

It appears that the libonxxruntime-dev package ships a pkgconfig
file that has a broken includedir, which makes other applications
that use pkgconfig to locate this library fail to build.

```
❯ cat /usr/lib/aarch64-linux-gnu/pkgconfig/libonnxruntime.pc
prefix=/usr
bindir=${prefix}/
mandir=${prefix}/
docdir=${prefix}/
libdir=${prefix}/lib/aarch64-linux-gnu
includedir=${prefix}//onnxruntime

Name: onnxruntime
Description: ONNX runtime
URL: https://github.com/microsoft/onnxruntime
Version: 1.16.3
Libs: -L${libdir} -lonnxruntime
Cflags: -I${includedir}

❯ pkg-config --cflags libonnxruntime
-I/usr/onnxruntime
```


-- System Information:
Debian Release: trixie/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'testing'), (100, 'unstable')
Architecture: arm64 (aarch64)

Kernel: Linux 6.10.3-arm64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libonnxruntime-dev depends on:
ii  libonnxruntime1.16.3  1.16.3+dfsg-6

libonnxruntime-dev recommends no packages.

libonnxruntime-dev suggests no packages.

-- no debconf information

Reply to: