maintainer-feedback requested: [Bug 264457] print/freetype2: staging fails WITH_DEBUG

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 04 Jun 2022 17:31:52 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-desktop (Team)
<desktop@FreeBSD.org> for maintainer-feedback:
Bug 264457: print/freetype2: staging fails WITH_DEBUG
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264457



--- Description ---
In a poudriere run on c6g.4xlarge AWS instance running 13.1 I have noticed that
freetype cannot stage itself when WITH_DEBUG is set:


[100% 44/44] /usr/local/bin/cmake -E cmake_symlink_library libfre
etyped.so.6.18.3  libfreetyped.so.6 libfreetyped.so && :
=================================================================
==========
=======================<phase: run-depends    >==================
==========
=================================================================
==========
=======================<phase: stage	      >==================
==========
===>  Staging for freetype2-2.12.1
===>   Generating temporary packing list
[  0% 1/1] cd /wrkdirs/usr/ports/print/freetype2/work/.build && /
usr/local/bin/cmake -P cmake_install.cmake
-- Install configuration: "Debug"
-- Installing: /wrkdirs/usr/ports/print/freetype2/work/stage/usr/


...


-- Installing: /wrkdirs/usr/ports/print/freetype2/work/stage/usr/
local/libdata/pkgconfig/freetype2.pc
-- Installing: /wrkdirs/usr/ports/print/freetype2/work/stage/usr/
local/lib/libfreetyped.so.6.18.3
-- Installing:
/wrkdirs/usr/ports/print/freetype2/work/stage/usr/local/lib/libfreetyped.so.6
-- Set runtime path of
"/wrkdirs/usr/ports/print/freetype2/work/stage/usr/local/lib/libfreetyped.so.6.
18.3"
to "/usr/local/lib"
-- Installing:
/wrkdirs/usr/ports/print/freetype2/work/stage/usr/local/lib/libfreetyped.so
-- Installing:
/wrkdirs/usr/ports/print/freetype2/work/stage/usr/local/lib/cmake/freetype/free
type-config.cmake
-- Installing:
/wrkdirs/usr/ports/print/freetype2/work/stage/usr/local/lib/cmake/freetype/free
type-config-debug.cmake
-- Installing:
/wrkdirs/usr/ports/print/freetype2/work/stage/usr/local/lib/cmake/freetype/free
type-config-version.cmake
====> Compressing man pages (compress-man)
===========================================================================
=======================<phase: package	      >============================
===>  Building package for freetype2-2.12.1
pkg-static: Unable to access file
/wrkdirs/usr/ports/print/freetype2/work/stage/usr/local/lib/libfreetype.so:No
such file or directory
pkg-static: Unable to access file
/wrkdirs/usr/ports/print/freetype2/work/stage/usr/local/lib/libfreetype.so.6:No
such file or directory
pkg-static: Unable to access file
/wrkdirs/usr/ports/print/freetype2/work/stage/usr/local/lib/libfreetype.so.6.18
.3:No
such file or directory
*** Error code 1

Looks like they rename the library to "libfreetyped" on DEBUG...