tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

(x11/libXest for MesaLib) Re: pkgsrc NetBSD 5.2/i386 2013-06-23 00:46



I'm checking by pbulk on NetBSD/i386 5.2, with
limited_list = x11/libXext
(MesaLib wants libXext and libX11). 
I will show here three cases:
(1) freshy checked out
(2) with following variable adjusted
    BUILDLINK_API_DEPENDS.xextproto
(3) with PREFER_PKGSRC adjusted
What am I missing ? Thanks in advance,

(1) Before = as of freshy checked out version

[1/7] Successfully built digest-20121220
[2/7] Successfully built osabi-NetBSD-5.2
[3/7] Successfully built libtool-base-2.4.2nb3
[4/7] Successfully built tradcpp-0.3
[5/7] Successfully built x11-links-0.79
[6/7] Successfully built pkg-config-0.28
[7/7] Failed to build    libXext-1.3.2

with the log
----------------------
checking for XEXT... configure: error: Package requirements (xproto >= 7.0.13 
x11 >= 1.1.99.1 xextproto >= 7.1.99) were not met:
----------------------

(2) After = changes with the first patch

(first patch)
Index: Makefile
===================================================================
RCS file: /cvs/cvsroot/pkgsrc/x11/libXext/Makefile,v
retrieving revision 1.19
diff -u -r1.19 Makefile
--- Makefile    16 Jun 2013 13:34:30 -0000      1.19
+++ Makefile    30 Jun 2013 13:07:33 -0000
@@ -23,6 +23,9 @@
 CONFIGURE_ARGS+=       --disable-malloc0returnsnull
 .endif
 
+.if empty(X11_TYPE:Mmodular)
+BUILD_DEPENDS+=        xextproto-[0-9]*:../../x11/xextproto
+.endif
 .include "../../mk/compiler.mk"
 
 TOOL_DEPENDS+=         tradcpp-[0-9]*:../../devel/tradcpp
@@ -32,7 +35,7 @@
 
 BUILDLINK_API_DEPENDS.libX11+= libX11>=1.2
 .include "../../x11/libX11/buildlink3.mk"
-BUILDLINK_API_DEPENDS.xextproto+=      xextproto>=7.0.99.2
+BUILDLINK_API_DEPENDS.xextproto+=      xextproto>=7.1.99
 .include "../../x11/xextproto/buildlink3.mk"
 BUILDLINK_API_DEPENDS.xproto+=         xproto>=7.0.13
 .include "../../x11/xproto/buildlink3.mk"

----------------------
[1/8] Successfully built digest-20121220
[2/8] Successfully built osabi-NetBSD-5.2
[3/8] Successfully built libtool-base-2.4.2nb3
[4/8] Successfully built xextproto-7.2.1
[5/8] Successfully built tradcpp-0.3
[6/8] Successfully built x11-links-0.79
[7/8] Successfully built pkg-config-0.28
[8/8] Failed to build    libXext-1.3.2

with the log
----------------------
Requested 'xextproto >= 7.1.99' but version of XExtProto is 7.0.5

checking whether malloc(0) returns NULL... no
checking for XEXT... configure: error: Package requirements (xproto >= 7.0.13 
x11 >= 1.1.99.1 xextproto >= 7.1.99) were not met:

Requested 'xextproto >= 7.1.99' but version of XExtProto is 7.0.5


(3) with second patch (and without the first patch)

Index: mk/defaults/mk.conf
===================================================================
RCS file: /cvs/cvsroot/pkgsrc/mk/defaults/mk.conf,v
retrieving revision 1.224
diff -u -r1.224 mk.conf
--- mk/defaults/mk.conf 14 Jun 2013 22:24:01 -0000      1.224
+++ mk/defaults/mk.conf 30 Jun 2013 13:21:12 -0000
@@ -194,7 +194,11 @@
 # Possible: yes, no
 # Default: no
 
-.if (!empty(MACHINE_PLATFORM:MNetBSD-*-*) && \
+.if (!empty(MACHINE_PLATFORM:MNetBSD-5*-*) && \
+       exists(/usr/X11R7/lib/libX11.so))
+# X11R7 installed NetBSD/5.x
+PREFER_PKGSRC?=                glproto dri2proto xextproto xineramaproto 
xproto randrproto
+.elif (!empty(MACHINE_PLATFORM:MNetBSD-*-*) && \
      exists(/usr/X11R7/lib/libX11.so))
 PREFER_PKGSRC?=
 .elif (!empty(MACHINE_PLATFORM:MNetBSD-*-*) && \


[1/26] Successfully built digest-20121220
[2/26] Successfully built libtool-base-2.4.2nb3
[3/26] Successfully built xz-5.0.4
[4/26] Successfully built pkg-config-0.28
[5/26] Successfully built readline-6.2
[6/26] Successfully built libffi-3.0.13
[7/26] Successfully built osabi-NetBSD-5.2
[8/26] Successfully built xmlcatmgr-2.2nb1
[9/26] Successfully built gmake-3.82nb7
[10/26] Successfully built python27-2.7.5
[11/26] Successfully built libgpg-error-1.11
[12/26] Successfully built x11-links-0.79
[13/26] Successfully built libxml2-2.9.1
[14/26] Successfully built perl-5.18.0nb1
[15/26] Successfully built xproto-7.0.24nb1
[16/26] Successfully built libgcrypt-1.5.2
[17/26] Successfully built py27-cElementTree-2.7.5
[18/26] Successfully built xcb-proto-1.8
[19/26] Successfully built libXau-1.0.8
[20/26] Successfully built libxslt-1.1.28nb1
[21/26] Successfully built py27-xcbgen-1.8
[22/26] Successfully built xextproto-7.2.1
[23/26] Successfully built tradcpp-0.3
[24/26] Successfully built libxcb-1.9.1
[25/26] Successfully built libX11-1.6.0
[26/26] Successfully built libXext-1.3.2

(*)
In this mail, the line looks 
[1/26] Starting build of  digest-20121220
are eliminated because of redundency.
---
Makoto Fujiwara, 
Chiba, Japan, Narita Airport and Disneyland prefecture.


Home | Main Index | Thread Index | Old Index