reassign -1 pystring 1.2.0-1

Hi,

Thanks for your bug report.

It's a bug of recently upload pystring 1.2.0-1.

pkgconfig/pystring.pc file is generate by meson.build,

[...]
pkgconfig = import('pkgconfig')
pkgconfig.generate(
pystring_lib,
description: 'C++ functions matching the interface and behavior of python 
string methods with std::string',
)
[...]


so the head .h file includedir is set to 

prefix=/usr
includedir=${prefix}/include

But the upstream CMakeLists.txt install .h head files to /usr/include/pystring/:

[...]
install(FILES pystring.h pystring_impl.h
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/${PROJECT_NAME}
[...]


so, the head .h files includedir in pkgconfig/pystring.pc is not 
match the install DESTINATION directory in CMakeLists.txt.

I'll upload a new pystring version to fix this bug.


在 2026/11/19 02:00, Santiago Vila 写道:
> Package: src:opencolorio
> Version: 2.5.1+dfsg-4
> Severity: serious
> Tags: ftbfs forky sid
> 
> Dear maintainer:
> 
> During a rebuild of all packages in unstable, this package failed to build.
> 
> Below you will find the last part of the build log (probably the most
> relevant part, but not necessarily). If required, the full build log
> is available here:
> 
> https://people.debian.org/~sanvila/build-logs/202611/
> 
> About the archive rebuild: The build was made on virtual machines from AWS,
> using sbuild and a reduced chroot with only build-essential packages.
> 
> If you cannot reproduce the bug please contact me privately, as I
> am willing to provide ssh access to a virtual machine where the bug is
> fully reproducible.
> 
> If this is really a bug in one of the build-depends, please use
> reassign and add an affects on src:opencolorio, so that this is still
> visible in the BTS web page for this package.
> 
> Thanks.
> 
> --------------------------------------------------------------------------------
> [...]
> cd /<<PKGBUILDDIR>>/debian/cmake/src/OpenColorIO && /usr/bin 
> [too-long-redacted] phelpers/DisplayViewHelpers.cpp
> [  2%] Building CXX object 
> src/OpenColorIO/CMakeFiles/OpenColorIO.dir/apphelpers/LegacyViewingPipeline.cpp.o
> cd /<<PKGBUILDDIR>>/debian/cmake/src/OpenColorIO && /usr/bin 
> [too-long-redacted] lpers/LegacyViewingPipeline.cpp
> [  2%] Building CXX object 
> src/OpenColorIO/CMakeFiles/OpenColorIO.dir/apphelpers/mergeconfigs/MergeConfigsHelpers.cpp.o
> cd /<<PKGBUILDDIR>>/debian/cmake/src/OpenColorIO && /usr/bin 
> [too-long-redacted] configs/MergeConfigsHelpers.cpp
> /<<PKGBUILDDIR>>/src/OpenColorIO/apphelpers/mergeconfigs/MergeConfigsHelpers.cpp:11:10:
>  fatal error: pystring.h: No such file or directory
>    11 | #include <pystring.h>
>       |          ^~~~~~~~~~~~
> compilation terminated.
> make[4]: *** [src/OpenColorIO/CMakeFiles/OpenColorIO.dir/build.make:138: 
> src/OpenColorIO/CMakeFiles/OpenColorIO.dir/apphelpers/mergeconfigs/MergeConfigsHelpers.cpp.o]
>  Error 1
> make[4]: *** Waiting for unfinished jobs....
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/debian/cmake'
> make[3]: *** [CMakeFiles/Makefile2:2182: 
> src/OpenColorIO/CMakeFiles/OpenColorIO.dir/all] Error 2
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/debian/cmake'
> make[2]: *** [Makefile:149: all] Error 2
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/debian/cmake'
> dh_auto_build: error: cd debian/cmake && make -j2 INSTALL="install 
> --strip-program=true" VERBOSE=1 returned exit code 2
> make[1]: *** [debian/rules:59: override_dh_auto_build-arch] Error 25
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> make: *** [debian/rules:19: binary] Error 2
> dpkg-buildpackage: error: debian/rules binary subprocess failed with exit 
> status 2
> --------------------------------------------------------------------------------
> 

Thanks!

-- 
肖盛文 xiao sheng wen -- Debian Developer(atzlinux)
Debian QA page: https://qa.debian.org/developer.php?login=atzlinux%40debian.org
GnuPG Public Key: 0x00186602339240CB

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to