From owner-freebsd-questions@freebsd.org Wed Dec 19 01:55:38 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1BC4D1346F46 for ; Wed, 19 Dec 2018 01:55:38 +0000 (UTC) (envelope-from pschmehl_lists@tx.rr.com) Received: from dnvrco-cmomta02.email.rr.com (dnvrco-outbound-snat.email.rr.com [107.14.73.231]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 109BD92644 for ; Wed, 19 Dec 2018 01:55:36 +0000 (UTC) (envelope-from pschmehl_lists@tx.rr.com) Received: from [192.168.0.5] ([70.121.63.82]) by cmsmtp with ESMTPA id ZR59gOu5FsismZR5CgJ2TI; Wed, 19 Dec 2018 01:55:35 +0000 Date: Tue, 18 Dec 2018 19:55:31 -0600 From: Paul Schmehl Reply-To: Paul Schmehl To: Yuri Pankov , FreeBSD Questions Subject: Re: math/mpft will not build Message-ID: <8FC46F8B4CC06032F50E9744@Pauls-MacBook-Pro.local> In-Reply-To: <643d8581-b22b-805c-898e-b898adf1dd02@yuripv.net> References: <351AD395BEABF2320D98B73A@Pauls-MacBook-Pro.local> <9b1b4ac2-be30-53d5-beb1-f022c3799113@yuripv.net> <643d8581-b22b-805c-898e-b898adf1dd02@yuripv.net> X-Mailer: Mulberry/4.0.8 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-CMAE-Envelope: MS4wfBsqomUfnz7JwRB0RIGua/aPTaDP95/t6puJsAEZNgujqDyEBcSr3ztCfGdSNNJQEPF8D5UBEEKSQbLukKkgX9qJFA2FpRXYUNJ118FP6XjwdrmfV/Ry 3PmxgoOCDvxY/vWHpUDPlYW10zpeui5bfaLeWHkFDjL6EKreivC3sJP/L63B60sfA8fr1MbV1yAYzG1cKDvOSSxuK9Qe3fmpx/hMNggF7cS/myp+0/vbz2aQ X-Rspamd-Queue-Id: 109BD92644 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of pschmehl_lists@tx.rr.com designates 107.14.73.231 as permitted sender) smtp.mailfrom=pschmehl_lists@tx.rr.com X-Spamd-Result: default: False [-4.73 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[pschmehl_lists@tx.rr.com]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:107.14.73.0/24]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[rr.com]; REPLYTO_EQ_FROM(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.01)[cached: dnvrco-cmedge01.email.rr.com]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[231.73.14.107.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_SHORT(-0.90)[-0.902,0]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; IP_SCORE(-1.52)[ipnet: 107.14.73.0/24(-4.17), asn: 7843(-3.33), country: US(-0.08)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:7843, ipnet:107.14.73.0/24, country:US]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Dec 2018 01:55:38 -0000 --On December 19, 2018 at 4:40:22 AM +0300 Yuri Pankov =20 wrote: > Paul Schmehl wrote: >> --On December 19, 2018 at 3:58:27 AM +0300 Yuri Pankov >> wrote: >> >>> 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 = ${PATCHLEVEL} 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 patch09 >>> patch10 patch11 patch12 patch13 >>> >>> And I'm wondering how exactly it's failing the build for you? >>> >>> >> This is the error: >> >> =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 >> >> 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? I just upgraded the server today from 10.4 to 11.0. (The 11.2 fetch kept=20 failing.) Now I'm trying to rebuild all the ports so I can complete the install. > > 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`. > I just tried this, and the build still failed in the same place. Paul Schmehl, Retired My opinions are my own. ******************************************* "It is as useless to argue with those who have renounced the use of reason as to administer medication to the dead." Thomas Jefferson "There are some ideas so wrong that only a very intelligent person could believe in them." George Orwell