[kde-freebsd] [PATCH] x11-wm/kompmgr depends on various xorg libs
Mel
mel at rachie.is-a-geek.net
Sun May 4 21:49:46 CEST 2008
>Submitter-Id: current-users
>Organization:
>Confidential: no
>Synopsis: [PATCH] x11-wm/kompmgr depends on various xorg libs
>Severity: non-critical
>Priority: low
>Category: ports
>Class: sw-bug
>Release: FreeBSD 7.0-STABLE i386
>Environment:
System: FreeBSD portbuild-7.x.rachie.is-a-geek.net 7.0-STABLE FreeBSD 7.0-STABLE #6: Thu May 1 08:13:00 AKDT 2008 root at smoochies.rachie.is-a-geek.net:/usr/obj/usr/src/sys/GENERIC-ULE i386
>Description:
Xorg deps are not recorded for mentioned port, failing mostly on Xcomposite, since that's
the one that's not available by the time it gets compiled.
>How-To-Repeat:
Build kompmgr or something that depends on it, in x/kde free environment
Below is a condensed log of installing audio/amarok in a mostly clean environment, with:
make -DBATCH -DUSE_PACKAGE_DEPENDS install
Mostly clean means:
shells/bash
devel/cscope
ftp/curl
devel/gettext
converters/libiconv
devel/libtool15
lang/perl5.8
editors/vim
ports-mgmt/portaudit
devel/gmake
were the only ports installed before starting this.
===> Found saved configuration for amarok-1.4.8_3
===> Extracting for amarok-1.4.8_3
=> MD5 Checksum OK for amarok-1.4.8.tar.bz2.
=> SHA256 Checksum OK for amarok-1.4.8.tar.bz2.
===> amarok-1.4.8_3 depends on file: /usr/local/bin/ruby18 - not found
<cut to end of kdebase build>
/bin/sh /usr/local/bin/libtool --silent --tag=CC --mode=link cc -DNDEBUG -O2 -O2 -fno-strict-aliasing -pipe -D_GNU_SOURCE -rpath=/usr/lib:/usr/local/lib -o kdmctl kdmctl.o -Wl,-export-dynamic -L/usr/local/lib -ljpeg -L/usr/local/lib
gmake[4]: Leaving directory `/usr/obj/usr/ports/x11/kdebase3/work/kdebase-3.5.8/kdm/kfrontend'
gmake[3]: Leaving directory `/usr/obj/usr/ports/x11/kdebase3/work/kdebase-3.5.8/kdm/kfrontend'
gmake[2]: Leaving directory `/usr/obj/usr/ports/x11/kdebase3/work/kdebase-3.5.8/kdm'
gmake[2]: Entering directory `/usr/obj/usr/ports/x11/kdebase3/work/kdebase-3.5.8'
gmake[2]: Nothing to be done for `all-am'.
gmake[2]: Leaving directory `/usr/obj/usr/ports/x11/kdebase3/work/kdebase-3.5.8'
gmake[1]: Leaving directory `/usr/obj/usr/ports/x11/kdebase3/work/kdebase-3.5.8'
===> Installing for kdebase-3.5.8_1
===> kdebase-3.5.8_1 depends on file: /usr/local/env/xdg-env.sh - not found
===> Verifying install for /usr/local/env/xdg-env.sh in /usr/ports/misc/kde-xdg-env
===> Extracting for kde-xdg-env-1.0_3,1
===> Patching for kde-xdg-env-1.0_3,1
===> Configuring for kde-xdg-env-1.0_3,1
===> Installing for kde-xdg-env-1.0_3,1
===> Generating temporary packing list
===> Checking if misc/kde-xdg-env already installed
/bin/mkdir -p /usr/local/env
install -o root -g wheel -m 555 /usr/obj/usr/ports/misc/kde-xdg-env/work/xdg-env.sh /usr/local/env
===> Registering installation for kde-xdg-env-1.0_3,1
===> Returning to build of kdebase-3.5.8_1
===> kdebase-3.5.8_1 depends on file: /usr/local/bin/moc - found
===> kdebase-3.5.8_1 depends on executable: kompmgr - not found
===> Verifying install for kompmgr in /usr/ports/x11-wm/kompmgr
===> Extracting for kdebase-kompmgr-3.5.8
=> MD5 Checksum OK for KDE/kdebase-3.5.8.tar.bz2.
=> SHA256 Checksum OK for KDE/kdebase-3.5.8.tar.bz2.
===> Patching for kdebase-kompmgr-3.5.8
===> kdebase-kompmgr-3.5.8 depends on file: /usr/local/bin/moc - found
===> kdebase-kompmgr-3.5.8 depends on shared library: kimproxy - found
===> Configuring for kdebase-kompmgr-3.5.8
===> Building for kdebase-kompmgr-3.5.8
cd /usr/obj/usr/ports/x11-wm/kompmgr/work/kdebase-3.5.8/kwin/kompmgr && cc -O2 -fno-strict-aliasing -pipe -I/usr/local/include -L/usr/local/lib -lX11 -lXdamage -lXfixes -lXrender -lXcomposite -lm -o kompmgr kompmgr.c
kompmgr.c:48:39: error: X11/extensions/Xcomposite.h: No such file or directory
kompmgr.c: In function 'error':
kompmgr.c:2168: error: 'X_CompositeRedirectSubwindows' undeclared (first use in this function)
kompmgr.c:2168: error: (Each undeclared identifier is reported only once
kompmgr.c:2168: error: for each function it appears in.)
kompmgr.c: In function 'main':
kompmgr.c:2629: error: 'COMPOSITE_NAME' undeclared (first use in this function)
kompmgr.c:2697: error: 'CompositeRedirectAutomatic' undeclared (first use in this function)
kompmgr.c:2701: error: 'CompositeRedirectManual' undeclared (first use in this function)
*** Error code 1
Stop in /usr/ports/x11-wm/kompmgr.
*** Error code 1
Stop in /usr/ports/x11/kdebase3.
*** Error code 1
Stop in /usr/ports/audio/amarok.
>Fix:
The patch for rev 1.19 of the port's Makefile suggest use of USE_XORG but since I find
no mention of that var in the port's Makefile, Makefile.kde or bsd.kde.mk, I patched
it in the port's makefile.
--- Makefile.orig 2008-04-28 23:31:30.000000000 +0000
+++ Makefile 2008-05-04 19:32:01.000000000 +0000
@@ -19,6 +19,7 @@
USE_KDELIBS_VER=3
PREFIX= ${KDE_PREFIX}
+USE_XORG= x11 xdamage xrender xcomposite xfixes
USE_BZIP2= yes
WRKSRC= ${WRKDIR}/kdebase-${PORTVERSION}
More information about the kde-freebsd
mailing list