From owner-freebsd-questions@freebsd.org Wed Dec 19 01:15:55 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 8EFEA13458D4 for ; Wed, 19 Dec 2018 01:15:55 +0000 (UTC) (envelope-from pschmehl_lists@tx.rr.com) Received: from dnvrco-cmomta01.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 6476B904DD for ; Wed, 19 Dec 2018 01:15:53 +0000 (UTC) (envelope-from pschmehl_lists@tx.rr.com) Received: from [192.168.0.5] ([70.121.63.82]) by cmsmtp with ESMTPA id ZQScg3cVAP088ZQSfg1JGG; Wed, 19 Dec 2018 01:15:47 +0000 Date: Tue, 18 Dec 2018 19:15:42 -0600 From: Paul Schmehl Reply-To: Paul Schmehl To: Yuri Pankov , FreeBSD Questions Subject: Re: math/mpft will not build Message-ID: In-Reply-To: <9b1b4ac2-be30-53d5-beb1-f022c3799113@yuripv.net> References: <351AD395BEABF2320D98B73A@Pauls-MacBook-Pro.local> <9b1b4ac2-be30-53d5-beb1-f022c3799113@yuripv.net> X-Mailer: Mulberry/4.0.8 (Mac OS X) MIME-Version: 1.0 X-CMAE-Envelope: MS4wfC5nnPdpYFgA8PxiRrPssgR1F1sp9t215soHrWl2meW9WNhQaPIRDRO9HtHZCj0H2gwNTqm3H6sGgG3slr2N+WmUz9TYDyLpZM38W5kYRdQKtSOGhJPB OLGGblYh8tv8gEEfvAYNyjc4y7BV8/PVz/J41s5RWU2ZU9lxu1n0Nm4Ha59RDwW4Owvmfp2uVuopfNVUHe/oMHVXPCV6xOAqUxoi19FTgpxgpOj7xqoiIigr X-Rspamd-Queue-Id: 6476B904DD 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.62 / 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]; HAS_ATTACHMENT(0.00)[]; MIME_GOOD(-0.10)[multipart/mixed,text/plain]; 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.93)[-0.926,0]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:7843, ipnet:107.14.73.0/24, country:US]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(-1.48)[ipnet: 107.14.73.0/24(-4.07), asn: 7843(-3.26), country: US(-0.08)]; MIME_UNKNOWN(0.10)[video/x-fl] Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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:15:55 -0000 --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= 13 > PATCHFILES!= /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: ===> 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. 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