From owner-freebsd-current@freebsd.org Sat May 7 05:38:08 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BF550B31729 for ; Sat, 7 May 2016 05:38:08 +0000 (UTC) (envelope-from knu@iDaemons.org) Received: from mail.musha.org (v055125.ppp.asahi-net.or.jp [124.155.55.125]) by mx1.freebsd.org (Postfix) with ESMTP id 6E9C511E1 for ; Sat, 7 May 2016 05:38:07 +0000 (UTC) (envelope-from knu@iDaemons.org) Received: by mail.musha.org (Postfix, from userid 58) id 3r1xzQ658KzjZQZ; Sat, 7 May 2016 14:29:38 +0900 (JST) X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on daemon.musha.org X-Spam-Level: X-Spam-Status: No, score=-0.4 required=13.0 tests=AWL,BAYES_00, CONTENT_TYPE_PRESENT, FAKEDWORD_BACKQUOTE, FAKEDWORD_ONE, FAKEDWORD_VERTICALLINE, ONLY1HOPDIRECT,QENCPTR1,RP_MATCHES_RCVD,SPF_HELO_FAIL,SPF_SOFTFAIL autolearn=no autolearn_force=no version=3.4.1 Received: from daemon.musha.org (daemon.local.idaemons.org [192.168.11.11]) by mail.musha.org (Postfix) with ESMTP id 3r1xzQ0w7PzjZQW; Sat, 7 May 2016 14:29:38 +0900 (JST) Date: Sat, 07 May 2016 14:29:38 +0900 Message-ID: <861t5el9kt.knu@iDaemons.org> From: "Akinori MUSHA" To: freebsd-current@FreeBSD.org Cc: junchoon@dec.sakura.ne.jp Subject: Re: Weird portupgrade error on current amd64 [and powerpc64?] In-Reply-To: References: Organization: Associated I. Daemons X-PGP-Public-Key: finger knu@FreeBSD.org X-PGP-Fingerprint: 081D 099C 1705 861D 4B70 B04A 920B EFC7 9FD9 E1EE MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: multipart/signed; boundary="pgp-sign-Multipart_Sat_May__7_14:29:35_2016-1"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Sat, 07 May 2016 11:16:08 +0000 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 May 2016 05:38:08 -0000 --pgp-sign-Multipart_Sat_May__7_14:29:35_2016-1 Content-Type: text/plain; charset=US-ASCII This looks like a bug in file 5.26. I've just filed an issue on the tracker of file(1): http://bugs.gw.com/view.php?id=543 File 5.26 turned out to have some other nasty bugs like the following, so I'd recommend you avoid it. http://bugs.gw.com/view.php?id=540 Fortunately the port is still at 5.25, so you could replace /usr/bin/file with the one from the port: pkg install file ln -sf /usr/local/bin/file /usr/bin/ However, /usr/lib/libmagic.* cannot be safely replaced like this, so you can only wait for the next update or have to manually revert /usr/src/contrib/file/ and reinstall it from /usr/src/usr.bin/file/. On Mon, 02 May 2016 23:55:47 +0900, junc...@dec.sakura.ne.jp (Tomoaki AOKI) wrote: > > Hi. > > Today I encountered this problem on stable/10 and could determine the > problematic commit is r298920, "Update file to 5.26". > > This commit is MFC of r298192, and reverting it fixes the issue on > head, too. > > What I did (for stable/10) is... > > 1) Running at r298836: No problem. > 2) Update to r298920: Problem is reproduced! > 3) Downgrade to previous commit (r298889): No problem. > > 3) was done by `zfs rollback` to r298836 state, `svnlite up r298889', > and proceeded usual rebuilding procedure. > > Fortunately, there was only 3 commits between r298836 and r298920, > and I got right one in first attempt. > > But unfortunately, fixing portupgrade[-devel] or file/libmagic beyonds > my hand. :-< > > > On Tue, 26 Apr 2016 11:16:14 -0700 > Mark Millard wrote: > > > https://lists.freebsd.org/pipermail/freebsd-ports/2016-April/102983.html reported a "Broken pipe" problem with portupgrade on 11.0-CURRENT on amd64. > > > > FYI: I had the/a "Broken pipe" portupgrade problem on powerpc64 under 11.0-CURRENT -r298518 on 2016-Apr-23 updating from /usr/ports -r413230 to -r413919. If this might be the same I do not know. The relevant part of the script log is: > > > > > ====> Compressing man pages (compress-man) > > > ---> Backing up the old version > > > ---> Uninstalling the old version > > > [Reading data from pkg(8) ... - 68 packages found - done] > > > ---> Deinstalling 'perl5-5.22.1_7' > > > [Reading data from pkg(8) ... - 68 packages found - done] > > > ** Listing the failed packages (-:ignored / *:skipped / !:failed) > > > ! perl5-5.22.1_7 (Broken pipe) > > > ---> Skipping 'ports-mgmt/portlint' (portlint-2.16.8) because a requisite package 'perl5-5.22.1_7' (lang/perl5.22) failed (specify -k to force) > > > > ruby was still lang/ruby21 at the time. > > > > I used portmaster instead and everything worked fine. > > > > === > > Mark Millard > > markmi at dsl-only.net > > > > _______________________________________________ > > freebsd...@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-current > > To unsubscribe, send any mail to "freebsd-curre...@freebsd.org" > > > > > -- > Tomoaki AOKI junc...@dec.sakura.ne.jp > _______________________________________________ > freebsd...@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-curre...@freebsd.org" > -- Akinori MUSHA / https://akinori.org/ --pgp-sign-Multipart_Sat_May__7_14:29:35_2016-1 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit Content-Description: OpenPGP Digital Signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEABECAAYFAlctfT8ACgkQkgvvx5/Z4e5esACdETYqVMI6J+HJclfVgCKnyXbN PtYAnRuVEO6w4Dj/h+R4rZUnqKLqYUqg =f5FB -----END PGP SIGNATURE----- --pgp-sign-Multipart_Sat_May__7_14:29:35_2016-1--