Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 07 May 2016 15:32:11 +0900
From:      "Akinori MUSHA" <knu@iDaemons.org>
To:        freebsd-current@FreeBSD.org
Subject:   Re: Weird portupgrade error on current amd64 [and powerpc64?]
Message-ID:  <86zis2js44.knu@iDaemons.org>
In-Reply-To: <mailpost.1462203880.4904551.53352.mailing.freebsd.current@FreeBSD.cs.nctu.edu.tw>
References:  <CB1F148A-77DB-448C-8453-B65BAF0519DB@dsl-only.net> <mailpost.1462203880.4904551.53352.mailing.freebsd.current@FreeBSD.cs.nctu.edu.tw>

next in thread | previous in thread | raw e-mail | index | archive | help
--pgp-sign-Multipart_Sat_May__7_15:32:08_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 <mar...@dsl-only.net> 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_15:32:08_2016-1
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit
Content-Description: OpenPGP Digital Signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEABECAAYFAlcti+gACgkQkgvvx5/Z4e4+4gCg1hpIyYDsuzbaOvi9eu1b7yP7
ZZsAniEx4h3ufCUbwfMkSgp0PIuH30dB
=eDtv
-----END PGP SIGNATURE-----

--pgp-sign-Multipart_Sat_May__7_15:32:08_2016-1--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86zis2js44.knu>