[Debian-med-packaging] Bug#952625: libixion: FTBFS: configure: error: Package requirements (spdlog >= 0.16.0) were not met

Rene Engelhard rene at debian.org
Wed Feb 26 17:06:57 GMT 2020


retitle 952625 libspdlog-dev: .pc Requires: fmt which doesn't have a .pc file, breaking pkg-config on spdlog.pc
reassign 952625 libspdlog-dev
affects 952625 src:libixion
found 952625 1:1.5.0+ds-2
thanks

Hi,

On Wed, Feb 26, 2020 at 05:15:19PM +0100, Lucas Nussbaum wrote:
> Source: libixion
> Version: 0.15.0-3
> Severity: serious
> Justification: FTBFS on amd64

No, spdlog broke, see below.

> Relevant part (hopefully):
> > checking for the Boost filesystem library... (cached) yes
> > checking for pkg-config... /usr/bin/pkg-config
> > checking pkg-config is at least version 0.9.0... yes
> > checking for MDDS... yes
> > checking for SPDLOG... no
> > configure: error: Package requirements (spdlog >= 0.16.0) were not met
> > 
> > Package 'fmt', required by 'spdlog', not found
> > 
> > Consider adjusting the PKG_CONFIG_PATH environment variable if you
> > installed software in a non-standard prefix.
> > 
> > Alternatively, you may set the environment variables SPDLOG_CFLAGS
> > and SPDLOG_LIBS to avoid the need to call pkg-config.
> > See the pkg-config man page for more details.
> > 	tail -v -n \+0 config.log

This looks related to the recent spdlog fmt changes, where spdlog
removed the internal fmt?

Thus (clean sid chroot):

# apt install libspdlog-dev
Reading package lists... Done
Building dependency tree... Done
The following additional packages will be installed:
  libfmt-dev libspdlog1
Suggested packages:
  libfmt-doc
The following NEW packages will be installed:
  libfmt-dev libspdlog-dev libspdlog1
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 449 kB of archives.
After this operation, 1869 kB of additional disk space will be used.
Do you want to continue? [Y/n] 
Get:1 http://deb.debian.org/debian sid/main amd64 libfmt-dev amd64 5.3.0+ds-2 [141 kB]
Get:2 http://deb.debian.org/debian sid/main amd64 libspdlog1 amd64 1:1.5.0+ds-2 [143 kB]
Get:3 http://deb.debian.org/debian sid/main amd64 libspdlog-dev amd64 1:1.5.0+ds-2 [166 kB]
Fetched 449 kB in 0s (1233 kB/s)     
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LANG = "de_DE.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
E: Can not write log (Is /dev/pts mounted?) - posix_openpt (19: No such device)
Selecting previously unselected package libfmt-dev.
(Reading database ... 9296 files and directories currently installed.)
Preparing to unpack .../libfmt-dev_5.3.0+ds-2_amd64.deb ...
Unpacking libfmt-dev (5.3.0+ds-2) ...
Selecting previously unselected package libspdlog1:amd64.
Preparing to unpack .../libspdlog1_1%3a1.5.0+ds-2_amd64.deb ...
Unpacking libspdlog1:amd64 (1:1.5.0+ds-2) ...
Selecting previously unselected package libspdlog-dev.
Preparing to unpack .../libspdlog-dev_1%3a1.5.0+ds-2_amd64.deb ...
Unpacking libspdlog-dev (1:1.5.0+ds-2) ...
Setting up libfmt-dev (5.3.0+ds-2) ...
Setting up libspdlog1:amd64 (1:1.5.0+ds-2) ...
Setting up libspdlog-dev (1:1.5.0+ds-2) ...
Processing triggers for libc-bin (2.29-10) ...
root at frodo:/# pkg-config --cflags fmt
bash: pkg-config: command not found
root at frodo:/# apt install pkg-config
Reading package lists... Done
Building dependency tree... 50%
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  bzip2 libdpkg-perl libfile-fcntllock-perl libgdbm-compat4 libgdbm6 libglib2.0-0 libglib2.0-data libicu63 libperl5.30 libxml2 perl
  perl-modules-5.30 shared-mime-info xdg-user-dirs xz-utils
Suggested packages:
  bzip2-doc debian-keyring gnupg | gnupg2 gcc | c-compiler binutils patch git bzr gdbm-l10n perl-doc libterm-readline-gnu-perl
  | libterm-readline-perl-perl make libb-debug-perl liblocale-codes-perl dpkg-dev
The following NEW packages will be installed:
  bzip2 libdpkg-perl libfile-fcntllock-perl libgdbm-compat4 libgdbm6 libglib2.0-0 libglib2.0-data libicu63 libperl5.30 libxml2 perl
  perl-modules-5.30 pkg-config shared-mime-info xdg-user-dirs xz-utils
0 upgraded, 16 newly installed, 0 to remove and 0 not upgraded.
Need to get 21.2 MB of archives.
After this operation, 102 MB of additional disk space will be used.
Get:1 http://deb.debian.org/debian sid/main amd64 perl-modules-5.30 all 5.30.0-9 [2803 kB]
Get:2 http://deb.debian.org/debian sid/main amd64 libgdbm6 amd64 1.18.1-5 [64.5 kB]
Get:3 http://deb.debian.org/debian sid/main amd64 libgdbm-compat4 amd64 1.18.1-5 [44.2 kB]
Get:4 http://deb.debian.org/debian sid/main amd64 libperl5.30 amd64 5.30.0-9 [4008 kB]
Get:5 http://deb.debian.org/debian sid/main amd64 perl amd64 5.30.0-9 [290 kB]
Get:6 http://deb.debian.org/debian sid/main amd64 bzip2 amd64 1.0.8-2 [49.0 kB]
Get:7 http://deb.debian.org/debian sid/main amd64 xz-utils amd64 5.2.4-1+b1 [183 kB]
Get:8 http://deb.debian.org/debian sid/main amd64 libdpkg-perl all 1.19.7 [1414 kB]
Get:9 http://deb.debian.org/debian sid/main amd64 libfile-fcntllock-perl amd64 0.22-3+b6 [35.4 kB]
Get:10 http://deb.debian.org/debian sid/main amd64 libglib2.0-0 amd64 2.62.5-1 [1320 kB]
Get:11 http://deb.debian.org/debian sid/main amd64 libglib2.0-data all 2.62.5-1 [1135 kB]
Get:12 http://deb.debian.org/debian sid/main amd64 libicu63 amd64 63.2-2 [8301 kB]
Get:13 http://deb.debian.org/debian sid/main amd64 libxml2 amd64 2.9.10+dfsg-3 [709 kB]
Get:14 http://deb.debian.org/debian sid/main amd64 pkg-config amd64 0.29-6 [63.5 kB]
Get:15 http://deb.debian.org/debian sid/main amd64 shared-mime-info amd64 1.10-1 [766 kB]
Get:16 http://deb.debian.org/debian sid/main amd64 xdg-user-dirs amd64 0.17-2 [53.8 kB]
Fetched 21.2 MB in 4s (5652 kB/s)        
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LANG = "de_DE.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
E: Can not write log (Is /dev/pts mounted?) - posix_openpt (19: No such device)
Selecting previously unselected package perl-modules-5.30.
(Reading database ... 9437 files and directories currently installed.)
Preparing to unpack .../00-perl-modules-5.30_5.30.0-9_all.deb ...
Unpacking perl-modules-5.30 (5.30.0-9) ...
Selecting previously unselected package libgdbm6:amd64.
Preparing to unpack .../01-libgdbm6_1.18.1-5_amd64.deb ...
Unpacking libgdbm6:amd64 (1.18.1-5) ...
Selecting previously unselected package libgdbm-compat4:amd64.
Preparing to unpack .../02-libgdbm-compat4_1.18.1-5_amd64.deb ...
Unpacking libgdbm-compat4:amd64 (1.18.1-5) ...
Selecting previously unselected package libperl5.30:amd64.
Preparing to unpack .../03-libperl5.30_5.30.0-9_amd64.deb ...
Unpacking libperl5.30:amd64 (5.30.0-9) ...
Selecting previously unselected package perl.
Preparing to unpack .../04-perl_5.30.0-9_amd64.deb ...
Unpacking perl (5.30.0-9) ...
Selecting previously unselected package bzip2.
Preparing to unpack .../05-bzip2_1.0.8-2_amd64.deb ...
Unpacking bzip2 (1.0.8-2) ...
Selecting previously unselected package xz-utils.
Preparing to unpack .../06-xz-utils_5.2.4-1+b1_amd64.deb ...
Unpacking xz-utils (5.2.4-1+b1) ...
Selecting previously unselected package libdpkg-perl.
Preparing to unpack .../07-libdpkg-perl_1.19.7_all.deb ...
Unpacking libdpkg-perl (1.19.7) ...
Selecting previously unselected package libfile-fcntllock-perl.
Preparing to unpack .../08-libfile-fcntllock-perl_0.22-3+b6_amd64.deb ...
Unpacking libfile-fcntllock-perl (0.22-3+b6) ...
Selecting previously unselected package libglib2.0-0:amd64.
Preparing to unpack .../09-libglib2.0-0_2.62.5-1_amd64.deb ...
Unpacking libglib2.0-0:amd64 (2.62.5-1) ...
Selecting previously unselected package libglib2.0-data.
Preparing to unpack .../10-libglib2.0-data_2.62.5-1_all.deb ...
Unpacking libglib2.0-data (2.62.5-1) ...
Selecting previously unselected package libicu63:amd64.
Preparing to unpack .../11-libicu63_63.2-2_amd64.deb ...
Unpacking libicu63:amd64 (63.2-2) ...
Selecting previously unselected package libxml2:amd64.
Preparing to unpack .../12-libxml2_2.9.10+dfsg-3_amd64.deb ...
Unpacking libxml2:amd64 (2.9.10+dfsg-3) ...
Selecting previously unselected package pkg-config.
Preparing to unpack .../13-pkg-config_0.29-6_amd64.deb ...
Unpacking pkg-config (0.29-6) ...
Selecting previously unselected package shared-mime-info.
Preparing to unpack .../14-shared-mime-info_1.10-1_amd64.deb ...
Unpacking shared-mime-info (1.10-1) ...
Selecting previously unselected package xdg-user-dirs.
Preparing to unpack .../15-xdg-user-dirs_0.17-2_amd64.deb ...
Unpacking xdg-user-dirs (0.17-2) ...
Setting up perl-modules-5.30 (5.30.0-9) ...
Setting up xdg-user-dirs (0.17-2) ...
Setting up libglib2.0-0:amd64 (2.62.5-1) ...
No schema files found: doing nothing.
Setting up bzip2 (1.0.8-2) ...
Setting up libicu63:amd64 (63.2-2) ...
Setting up libglib2.0-data (2.62.5-1) ...
Setting up xz-utils (5.2.4-1+b1) ...
update-alternatives: using /usr/bin/xz to provide /usr/bin/lzma (lzma) in auto mode
Setting up libxml2:amd64 (2.9.10+dfsg-3) ...
Setting up libgdbm6:amd64 (1.18.1-5) ...
Setting up shared-mime-info (1.10-1) ...
Setting up libgdbm-compat4:amd64 (1.18.1-5) ...
Setting up libperl5.30:amd64 (5.30.0-9) ...
Setting up perl (5.30.0-9) ...
Setting up libdpkg-perl (1.19.7) ...
Setting up libfile-fcntllock-perl (0.22-3+b6) ...
Setting up pkg-config (0.29-6) ...
Processing triggers for libc-bin (2.29-10) ...
root at frodo:/# pkg-config --cflags spdlog
Package fmt was not found in the pkg-config search path.
Perhaps you should add the directory containing `fmt.pc'
to the PKG_CONFIG_PATH environment variable
Package 'fmt', required by 'spdlog', not found

But:

# cat /usr/lib/x86_64-linux-gnu/pkgconfig/spdlog.pc
prefix=/usr
exec_prefix=${prefix}
includedir=${prefix}/include
libdir=${exec_prefix}/lib/x86_64-linux-gnu

Name: libspdlog
Description: Fast C++ logging library.
URL: https://github.com/gabime/spdlog
Version: 1.5.0
CFlags: -I${includedir} -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL
Libs: -L${libdir} -lspdlog -pthread
Requires: fmt
^^^^^^^^^^^^^

libfmt-dev does not have a .pc file. Thus this isn't resolvable.

root at frodo:/# pkg-config --cflags fmt
Package fmt was not found in the pkg-config search path.
Perhaps you should add the directory containing `fmt.pc'
to the PKG_CONFIG_PATH environment variable
No package 'fmt' found

-> bug in spdlog

Regards,

Rene



More information about the Debian-med-packaging mailing list