Package: python3-graph-tool
Version: 2.58+ds-1~bpo12+1
Severity: normal
X-Debbugs-Cc: gerion.ent...@flump.de

Dear Maintainer,

The python3-graph-tool package installs the file 
/usr/lib/x86_64-linux-gnu/pkgconfig/graph-tool-py3.11.pc.
This file contains an include path:
-I/usr/lib/python3.11/dist-packages/graph_tool/include

However, this path is wrong, since graph-tool is installed under:
/usr/lib/python3/dist-packages/graph_tool/include
(without the minor version specifier)

This seems to be a Debian specific problem. I installed graph-tool on a Gentoo 
system, too, without problems.
In Gentoo, however, a /usr/lib/python3 directory does not exist at all.

* What led up to the situation?

We develop a tool that depends on graph-tool, links against it and, thus, uses 
the pkgconfig file for the building process.

* What exactly did you do (or not do) that was effective (or ineffective)?

We added an exception for Debian systems in the tool's build system to include 
the python3 path as well.

* What was the outcome of this action?

The compiler finds the graph-tool headers again.

* What outcome did you expect instead?

Normally, the build system should use the pkgconfig file as is to find all 
necessary headers.

Best,
Gerion

-- System Information:
Debian Release: 12.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.1.0-20-amd64 (SMP w/64 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), 
LANGUAGE=de_DE:en_EN:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python3-graph-tool depends on:
ii  libboost-context1.74.0                               1.74.0+ds1-21
ii  libboost-iostreams1.74.0                             1.74.0+ds1-21
ii  libboost-python1.74.0 [libboost-python1.74.0-py311]  1.74.0+ds1-21
ii  libboost-regex1.74.0 [libboost-regex1.74.0-icu72]    1.74.0+ds1-21
ii  libc6                                                2.36-9+deb12u7
ii  libcairomm-1.0-1v5                                   1.14.4-2
ii  libexpat1                                            2.5.0-1
ii  libgcc-s1                                            12.2.0-14
ii  libgmp10                                             2:6.2.1+dfsg1-1.1
ii  libgomp1                                             12.2.0-14
ii  libpython3.11                                        3.11.2-6
ii  libstdc++6                                           12.2.0-14
ii  python3                                              3.11.2-1+b1
ii  python3-numpy [python3-numpy-abi9]                   1:1.24.2-1
ii  python3-scipy                                        1.10.1-2

Versions of packages python3-graph-tool recommends:
ii  gir1.2-gtk-3.0      3.24.38-2~deb12u1
ii  python3-cairo       1.20.1-5+b1
ii  python3-gi          3.42.2-3+b1
ii  python3-gi-cairo    3.42.2-3+b1
ii  python3-gv          2.42.2-7+b3
ii  python3-matplotlib  3.6.3-1+b1

Versions of packages python3-graph-tool suggests:
pn  mencoder  <none>

-- no debconf information

Reply via email to