Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Aug 2018 11:33:13 +0200
From:      Niclas Zeising <zeising@freebsd.org>
To:        Mathieu Arnold <mat@FreeBSD.org>, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r476508 - head/x11/xorgproto
Message-ID:  <35056151-dab2-62d1-fe39-0ecc4533a94c@freebsd.org>
In-Reply-To: <712db841-43a3-96be-8c6c-579084b9b8c9@freebsd.org>
References:  <201808061220.w76CKd8v046156@repo.freebsd.org> <712db841-43a3-96be-8c6c-579084b9b8c9@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 08/11/18 11:23, Niclas Zeising wrote:
> On 08/06/18 14:20, Mathieu Arnold wrote:
>> Author: mat
>> Date: Mon Aug=C2=A0 6 12:20:39 2018
>> New Revision: 476508
>> URL: https://svnweb.freebsd.org/changeset/ports/476508
>>
>> Log:
>> =C2=A0=C2=A0 Fix Xprint build issue.
>> =C2=A0=C2=A0 For some reason, the Xprint.man patch is supposed to get =
into a=20
>> subdirectory
>> =C2=A0=C2=A0 that does not exist:
>> =C2=A0=C2=A0=C2=A0=C2=A0 --------------------------
>> =C2=A0=C2=A0=C2=A0=C2=A0 |--- man/Xprint.man.orig=C2=A0=C2=A0=C2=A0 20=
18-07-24 10:46:56 UTC
>> =C2=A0=C2=A0=C2=A0=C2=A0 |+++ man/Xprint.man
>> =C2=A0=C2=A0=C2=A0=C2=A0 --------------------------
>> =C2=A0=C2=A0=C2=A0=C2=A0 (Creating file Xprint.man...)
>> =C2=A0=C2=A0=C2=A0=C2=A0 Patching file Xprint.man using Plan A...
>> =C2=A0=C2=A0=C2=A0=C2=A0 Empty context always matches.
>> =C2=A0=C2=A0=C2=A0=C2=A0 Hunk #1 succeeded at 1.
>> =C2=A0=C2=A0=C2=A0=C2=A0 done
>> =C2=A0=C2=A0 So patch extracts it in the first existing directory, and=
 then the=20
>> build fails:
>> =C2=A0=C2=A0=C2=A0=C2=A0 make[1]: don't know how to make man/Xprint.7.=
 Stop
>> =C2=A0=C2=A0=C2=A0=C2=A0 make[1]: stopped in=20
>> /wrkdirs/usr/ports/x11/xorgproto/work/xorgproto-2018.4
>> =C2=A0=C2=A0=C2=A0=C2=A0 *** Error code 1
>> =C2=A0=C2=A0=C2=A0=C2=A0 Stop.
>> =C2=A0=C2=A0 Sponsored by:=C2=A0=C2=A0=C2=A0 Absolight
>>
>> Modified:
>> =C2=A0=C2=A0 head/x11/xorgproto/Makefile=C2=A0=C2=A0 (contents, props =
changed)
>>
>> Modified: head/x11/xorgproto/Makefile
>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=20
>>
>> --- head/x11/xorgproto/Makefile=C2=A0=C2=A0=C2=A0 Mon Aug=C2=A0 6 11:2=
3:41 2018=C2=A0=C2=A0=C2=A0 (r476507)
>> +++ head/x11/xorgproto/Makefile=C2=A0=C2=A0=C2=A0 Mon Aug=C2=A0 6 12:2=
0:39 2018=C2=A0=C2=A0=C2=A0 (r476508)
>> @@ -14,4 +14,7 @@ CONFIGURE_ARGS=3D --without-fop \
>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 --without-xsltp=
roc \
>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 --enable-legacy
>> +pre-patch:
>> +=C2=A0=C2=A0=C2=A0 @${MKDIR} ${WRKSRC}/man
>> +
>> =C2=A0 .include <bsd.port.mk>
>>
>=20
> Strangely, I've never ran into this issue.=C2=A0 I created the patch po=
inting=20
> to the directory, and it gets extracted, built and installed fine.=C2=A0=
 Are=20
> there differences in how patch handles nonexistent directories on=20
> dfifferent versions of FreeBSD?


Hi!
So, I just tried some more, in a bunch of different versions.  In all my=20
jails, with poudriere, the man directory gets created and the patch is=20
extracted there as it should be.  How are you building the port/package?
I'm just curious as to why we see this different behavior.  This went=20
through an exp-run without issue, but something strange is happening here=
.
Regards
--=20
Niclas



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?35056151-dab2-62d1-fe39-0ecc4533a94c>