[Bug 264457] print/freetype2: staging fails WITH_DEBUG

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 04 Jun 2022 17:31:52 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264457

            Bug ID: 264457
           Summary: print/freetype2: staging fails WITH_DEBUG
           Product: Ports & Packages
           Version: Latest
          Hardware: arm64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: desktop@FreeBSD.org
          Reporter: saper@saper.info
          Assignee: desktop@FreeBSD.org
             Flags: maintainer-feedback?(desktop@FreeBSD.org)
 Attachment #234449 text/plain
         mime type:

Created attachment 234449
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=234449&action=edit
freetype2-2.12.1 build log

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/freetype-config.cmake
-- Installing:
/wrkdirs/usr/ports/print/freetype2/work/stage/usr/local/lib/cmake/freetype/freetype-config-debug.cmake
-- Installing:
/wrkdirs/usr/ports/print/freetype2/work/stage/usr/local/lib/cmake/freetype/freetype-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...

-- 
You are receiving this mail because:
You are the assignee for the bug.