Package: libip4tc-dev
Version: 1.8.4-1
Severity: serious

Hi,

for some background, see the related bug report
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=946149#10

libiptc.pc was moved from libiptc-dev to libip4tc-dev and
libiptc-dev is now an empty dummy package (which is scheduled to be
removed).

I think this move was incorrect.

The libiptc-dev package should remain and continue shipping libiptc.pc.
The libiptc-dev package should continue to depend on libip4tc-dev and
libip6tc-dev.
I assume moving the header files from libiptc-dev to libip4tc-dev is
find though.

So, why should libiptc-dev remain?

libiptc.pc contains:
Requires:      libip4tc libip6tc

So, for libiptc.pc to be functional, libip4tc-dev and libip6tc-dev need
to be installed.
Making libip4tc-dev depend on libip6tc-dev doesn't really make sense. If
you do that, you can just as well merge libip6tc-dev and libip4tc-dev
into a single libiptc-dev package which contains all development files.

We basically have two sensible options:

1/ Have a single libiptc-dev package which contains all development files
2/ Have a libip6tc-dev package which contains all development files
related to libip6tc, have a libip4tc-dev package which contains all
development files related to libip4tc and have libiptc-dev (convenience)
package which contains libiptc.pc and depends on both libip6tc-dev and 
libip4tc-dev


The current setup breaks packages which have a pkg-config check for
libiptc, like systemd:



Determining dependency 'libiptc' with pkg-config executable 
'/usr/bin/pkg-config'
PKG_CONFIG_PATH:
Called `/usr/bin/pkg-config --modversion libiptc` -> 0
1.8.4
PKG_CONFIG_PATH:
Called `/usr/bin/pkg-config --cflags libiptc` -> 1

pkg-config error with 'libiptc': Could not generate cargs for libiptc:
Package libip6tc was not found in the pkg-config search path.
Perhaps you should add the directory containing `libip6tc.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libip6tc', required by 'libiptc', not found

Could not generate cargs for libiptc:
Package libip6tc was not found in the pkg-config search path.
Perhaps you should add the directory containing `libip6tc.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libip6tc', required by 'libiptc', not found

CMake binary for MachineChoice.HOST is not cached
CMake binary missing from cross or native file, or env var undefined.
Trying a default CMake fallback at cmake
Trying CMake binary cmake for machine MachineChoice.HOST at ['/usr/bin/cmake']
Found CMake: /usr/bin/cmake (3.15.4)
Extracting basic cmake information
Try CMake generator: auto
Called `/usr/bin/cmake --trace-expand .` in 
/home/michael/debian/build-area/systemd-244/build-deb/meson-private/cmake_libiptc
 -> 0
  -- Module search paths:    ['/', '/opt', '/usr', '/usr/local']
  -- CMake root:             /usr/share/cmake-3.15
  -- CMake architectures:    ['x86_64-linux-gnu']
  -- CMake lib search paths: ['lib', 'lib32', 'lib64', 'libx32', 'share', 
'lib/x86_64-linux-gnu']
Run-time dependency libiptc found: NO (tried cmake)

meson.build:1036:8: ERROR: Could not generate cargs for libiptc:
Package libip6tc was not found in the pkg-config search path.
Perhaps you should add the directory containing `libip6tc.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libip6tc', required by 'libiptc', not found




-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.3.0-3-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_WARN
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), 
LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libip4tc-dev depends on:
ii  libip4tc2  1.8.4-1
ii  libiptc0   1.8.4-1

libip4tc-dev recommends no packages.

libip4tc-dev suggests no packages.

-- no debconf information

Reply via email to