[Bug 288681] x11-wm/compiz-plugins-main: fails to build since upgrade of devel/compiz-bcop 0.8.8_5

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 05 Aug 2025 17:51:29 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=288681

            Bug ID: 288681
           Summary: x11-wm/compiz-plugins-main: fails to build since
                    upgrade of devel/compiz-bcop 0.8.8_5
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: spamfest@optonline.net
                CC: portmaster@bsdforge.com
                CC: portmaster@bsdforge.com

port fails to build in poudriere, throwing the following error:

[poudriere.xxx.xxx.xxx] Extracting compiz-bcop-0.8.8_5: ... done
===>   compiz-plugins-main-0.8.8_12 depends on file:
/usr/local/libdata/pkgconfig/bcop.pc - not found
*** Error code 1

Stop.
make: stopped in /usr/ports/x11-wm/compiz-plugins-main

This has occurred since an update to 0devel/compiz-bcop 0.8.8_5 which changes
the default install directory from /usr/local/libdata/pkgconfig/ to
/usr/local/share/pkgconfig/

I have tested a patch for the Makefile which builds successfully

--- Makefile.orig       2025-08-04 17:06:17.713852000 -0400
+++ Makefile    2025-08-04 17:06:36.228925000 -0400
@@ -15,7 +15,7 @@
                libpangocairo-1.0.so:x11-toolkits/pango \
                libstartup-notification-1.so:x11/startup-notification
 BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/compiz.pc:x11-wm/compiz \
-               ${LOCALBASE}/libdata/pkgconfig/bcop.pc:devel/compiz-bcop
+               ${LOCALBASE}/share/pkgconfig/bcop.pc:devel/compiz-bcop
 RUN_DEPENDS:=  ${BUILD_DEPENDS}

 GNU_CONFIGURE= yes


Poudriere environment:

=>> Building x11-wm/compiz-plugins-main
build started at Tue Aug  5 12:56:56 EDT 2025
port directory: /usr/ports/x11-wm/compiz-plugins-main
package name: compiz-plugins-main-0.8.8_12
building for: FreeBSD poudriere.pbn.bnl.gov 14.3-RELEASE-p1 FreeBSD
14.3-RELEASE-p1 amd64
maintained by: portmaster@BSDforge.com
Makefile datestamp: -rw-r--r--  1 root wheel 1161 Aug  4 21:06
/usr/ports/x11-wm/compiz-plugins-main/Makefile
Ports top last git commit: 19f94a13395
Ports top unclean checkout: no
Port dir last git commit: 3068854dd02
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.2
Host OSVERSION: 1403000
Jail OSVERSION: 1403000
Job Id: 10

---Begin Environment---
SHELL=/bin/sh
OSVERSION=1403000
UNAME_v=FreeBSD 14.3-RELEASE-p1
UNAME_r=14.3-RELEASE-p1
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
MAKE_OBJDIR_CHECK_WRITABLE=0
LOCALBASE=/usr/local
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.2
MASTERMNT=/poudriere/data/.m/143amd64-default/ref
LC_COLLATE=C
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=xterm-color
OUTPUT_REDIRECTED_STDERR=4
OUTPUT_REDIRECTED=1
PWD=/poudriere/data/.m/143amd64-default/10/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=143amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/poudriere/data/.m/143amd64-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.2
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

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