From owner-freebsd-x11@FreeBSD.ORG Wed Apr 29 14:56:31 2015 Return-Path: Delivered-To: x11@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9DF5C3EE; Wed, 29 Apr 2015 14:56:31 +0000 (UTC) Received: from slim.berklix.org (slim.berklix.org [94.185.90.68]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 19F6D19FF; Wed, 29 Apr 2015 14:56:30 +0000 (UTC) Received: from mart.js.berklix.net (p5DCBCA19.dip0.t-ipconnect.de [93.203.202.25]) (authenticated bits=128) by slim.berklix.org (8.14.5/8.14.5) with ESMTP id t3TEuIUh092113; Wed, 29 Apr 2015 16:56:18 +0200 (CEST) (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (fire.js.berklix.net [192.168.91.41]) by mart.js.berklix.net (8.14.3/8.14.3) with ESMTP id t3TEuFIK014276; Wed, 29 Apr 2015 16:56:15 +0200 (CEST) (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (localhost [127.0.0.1]) by fire.js.berklix.net (8.14.7/8.14.7) with ESMTP id t3TEu3S1017625; Wed, 29 Apr 2015 16:56:15 +0200 (CEST) (envelope-from jhs@berklix.com) Message-Id: <201504291456.t3TEu3S1017625@fire.js.berklix.net> To: Jung-uk Kim cc: Baptiste Daroussin , x11@FreeBSD.org Subject: Re: patch for From: "Julian H. Stacey" Organization: http://berklix.com BSD Unix Linux Consultants, Munich Germany User-agent: EXMH on FreeBSD http://berklix.com/free/ X-URL: http://www.berklix.com In-reply-to: Your message "Mon, 27 Apr 2015 16:56:19 -0400." <553EA273.7020802@FreeBSD.org> Date: Wed, 29 Apr 2015 16:56:03 +0200 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Apr 2015 14:56:31 -0000 Jung-uk Kim wrote: > On 04/27/2015 14:30, Julian H. Stacey wrote: > > Baptiste Daroussin wrote: > >> On Mon, Apr 27, 2015 at 02:55:13PM +0200, Julian H. Stacey > >> wrote: > >>> Hi x11@freebsd.org, cc: anholt@FreeBSD.org as creator as no > >>> MAINTAINER=3D ) =20 I wrote this patch after graphics/dri > >>> failed. Comments please ? =20 > >>> http://berklix.com/~jhs/src/bsd/fixes/FreeBSD/ports/gen/graphics/dri/Make= > >> > >>> > file.REL=3D10.1-RELEASE.diff > >>> =20 *** 10.1-RELEASE/ports/graphics/dri/Makefile Mon Apr 27 > >>> 14:34:42 2015 --- new-generic/ports/graphics/dri/Makefile Mon > >>> Apr 27 14:36:27 2015 *************** *** 12,17 **** --- 12,25 > >>> ---- LIB_DEPENDS=3D libdrm.so:${PORTSDIR}/graphics/libdrm \ > >>> libexpat.so:${PORTSDIR}/textproc/expat2 =20 + LIB_DEPENDS+=3D > >>> ${PORTSDIR}/textproc/py-libxml2 + # LIB_DEPENDS+=3D > >>> lib/python2.7/site-packages/libxml2mod.so:${PORTSDIR}= > >> /textproc/py-libxml2 > >>> + # To avoid error: + # checking python2 module: libxml2... > >>> no + # configure: error: failed to find required module > >>> libxml2 + # =3D=3D=3D> Script "configure" failed > >>> unexpectedly. + # Please report the problem to > >>> x11@FreeBSD.org [maintainer] and att= > >> ach the > >>> +=20 USES+=3D gettext:build USE_XORG=3D glproto x11 xext > >>> xxf86vm xdamage xfixes dri2proto > >> > >> I removed Eric as he is not working on this, the maintainer is > >> x11@ > >> > >> This patch is wrong the syntax for libdepend is really not the > >> proper synta= x. > >> > >> Btw this is certainly not a build depend you do expect here but a > >> BUILD_DEP= ENDS > >> > >> Best regards, Bapt > > > > Ah, Yes ! Thanks. So BUILD_DEPENDS+= > > ${PORTSDIR}/textproc/py-libxml2 would suffice, but maybe it should > > be longer ? maybe similar to BUILD_DEPENDS+= \ > > lib/python2.7/site-packages/libxml2mod.so:\ > > ${PORTSDIR}/textproc/py-libxml2 I tried to find what that something > > should be, by doing cd /usr/ports/textproc/py-libxml2; make clean ; > > make deinstall cd /usr/ports/graphics/dri; make clean; make But I > > failed to find whatever it was, so not sure if BUILD_DEPENDS is > > needed, or if it was just some local aberation here. > > > > PS Apologies for truncated "Subject: patch for" instead of > > "Subject: patch for graphics/dri/Makefile" > > It looks like your patch is based on a quite old ports tree. No, src/ & ports/ are both latest 10.1-RELEASE, but bits of my local/ are older ** > In fact, > I can't reproduce the problem. Thanks for trying, I can't either, as I wrote above: "so not sure if BUILD_DEPENDS is needed, or if it was just some local aberation here" > Can you please update your ports tree > and try again? I'm sorry, but I can't install a new current /usr/ports, make & install, ** As I've already been running & fixing on 10.1-RELEASE for some days trying to build the 1000 ports & dependencies I use. Jumping to current ports, would exchange lots of old (solved here) problems for lots of new problems. What I'm trying to do is build latest 10.1-RELEASE & where that breaks, test/retrofit bits from current ports. To try to help detect the problem, or what problem was, I ran: cd /pri/FreeBSD/branches/amd64/-current/ports setenv PORTSDIR /pri/FreeBSD/branches/amd64/-current/ports cat ../../.ctm_status # ports-cur 10882 ls -l ../../.ctm_status # 16 Apr 29 10:51 (TZ=+02:00) cd graphics/dri; make ... Package 'libdrm_radeon' has version '2.4.52', required version is '>= 2.4.56' ... & as explained I dont want to upgrade rest of system beyond 10.1 yet. & I dont seem to be able to reproduce the problem, so cas eclosed I guess, Thanks Baptiste & Kim. BTW Your (Kim) mailer garbled quoting my posting, I suggest you turn off your auto formatter. Cheers, Julian -- Julian Stacey, BSD Linux Unix C Sys Eng Consultant Munich http://berklix.com Indent previous with "> ". Reply Below as a play script. Send plain text, Not quoted-printable, HTML, or base64.