Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Dec 2018 04:40:22 +0300
From:      Yuri Pankov <yuripv@yuripv.net>
To:        Paul Schmehl <pschmehl_lists@tx.rr.com>, FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: math/mpft will not build
Message-ID:  <643d8581-b22b-805c-898e-b898adf1dd02@yuripv.net>
In-Reply-To: <A9C8E0910B0F97C384F78252@Pauls-MacBook-Pro.local>
References:  <351AD395BEABF2320D98B73A@Pauls-MacBook-Pro.local> <9b1b4ac2-be30-53d5-beb1-f022c3799113@yuripv.net> <A9C8E0910B0F97C384F78252@Pauls-MacBook-Pro.local>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--wr4901RHFHdI0CorSBZjSsDwedc05uQyX
Content-Type: multipart/mixed; boundary="3EYCVh2810pDVdwydhCLUo58qjNsiuj1V";
 protected-headers="v1"
From: Yuri Pankov <yuripv@yuripv.net>
To: Paul Schmehl <pschmehl_lists@tx.rr.com>,
 FreeBSD Questions <freebsd-questions@freebsd.org>
Message-ID: <643d8581-b22b-805c-898e-b898adf1dd02@yuripv.net>
Subject: Re: math/mpft will not build
References: <351AD395BEABF2320D98B73A@Pauls-MacBook-Pro.local>
 <9b1b4ac2-be30-53d5-beb1-f022c3799113@yuripv.net>
 <A9C8E0910B0F97C384F78252@Pauls-MacBook-Pro.local>
In-Reply-To: <A9C8E0910B0F97C384F78252@Pauls-MacBook-Pro.local>

--3EYCVh2810pDVdwydhCLUo58qjNsiuj1V
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable

Paul Schmehl wrote:
> --On December 19, 2018 at 3:58:27 AM +0300 Yuri Pankov
> <yuripv@yuripv.net> wrote:
>=20
>> Paul Schmehl wrote:
>>> Can someone explain what this line does? It's keeping math/mpfr from
>>> building, and that causes tons of other ports to fail.
>>>
>>> /usr/bin/jot -s " " -w patch%02d ${PATCHLEVEL} 1 ${PATCHLEVEL}
>>>
>>> I can't even find PATCHLEVEL in the Porters Handbook, and it's not
>>> defined in the port Makefile.
>>
>> PATCHLEVEL is defined just above the line with jot, it looks like this=

>> for me:
>>
>> PATCHLEVEL=3D=C2=A0=C2=A0=C2=A0=C2=A0 13
>> PATCHFILES!=3D=C2=A0=C2=A0=C2=A0 /usr/bin/jot -s " " -w patch%02d ${PA=
TCHLEVEL} 1
>> ${PATCHLEVEL}
>>
>> So it's simply a local variable, and the whole construct is there just=

>> to make it easier to define the list of patches, i.e. when you run it
>> from shell, it outputs the following:
>>
>> $ jot -s " " -w patch%02d 13 1 13
>> patch01 patch02 patch03 patch04 patch05 patch06 patch07 patch08 patch0=
9
>> patch10 patch11 patch12 patch13
>>
>> And I'm wondering how exactly it's failing the build for you?
>>
>>
> This is the error:
>=20
> =3D=3D=3D>=C2=A0 Applying distribution patches for mpfr-4.0.1_2
> No such line 4470 in input file, ignoring
> 3 out of 4 hunks failed--saving rejects to doc/mpfr.info.rej
> *** Error code 1
>=20
> The .rej file is attached.

Not seeing this.  Looking at the Makefile log, I see the dependency on
gpatch dropped with 10.x EOL -- I guess you aren't running 10.x?

And if you aren't, try to exclude possible problems by cleaning up the
patchfiles, i.e. do a `make clean; make distclean`.  If that doesn't
help, paste the full output of `make clean; make patch`.


--3EYCVh2810pDVdwydhCLUo58qjNsiuj1V--

--wr4901RHFHdI0CorSBZjSsDwedc05uQyX
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEE+Gq3PsPeLT4tL/9wk4vgf7Eq4WwFAlwZoYYACgkQk4vgf7Eq
4WyadQgAhHjabT4XduD7j8vgU+Lzhp5bOO57UjIwiyf38S7OpJbuK0pnopg0q5iO
7y1QdOtnj2+iaqiybEK+E5nmIf77KpxBhqSz4xshsPBaPZlMFhmYRLxmcymQ3SlA
dVr886hQUpRWoeWRrhO6E7SFbr8CuqdFHZ0mjz6459jfu01naUKeSxu3YPL8elX5
JhXIwVToQMvYpZqPaSKSwjpYHRaZ9+A0Vxu4gDBtNBTK1dZrkRv8b0MiSfmZzTFf
seqWxYnASsBCr/PT5XyAJlVdTLPuDrNRlC4M0CYGgTpVCPm2qYcL8O2nbN1i2wT3
FcTd6eiLq/rjwkxFBIhOYEiiS9nH8g==
=wvTe
-----END PGP SIGNATURE-----

--wr4901RHFHdI0CorSBZjSsDwedc05uQyX--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?643d8581-b22b-805c-898e-b898adf1dd02>