Re: Weird portupgrade error on current amd64 [and powerpc64?]

From: Tomoaki AOKI <junchoon_at_dec.sakura.ne.jp>
Date: Sat, 7 May 2016 21:35:15 +0900
Thanks for your investigation.
I left comment about this on bugzilla

  https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209211

and related thread in The FreeBSD Forums.

  https://forums.freebsd.org/threads/55989/#post-319345

Regards.


On Sat, 07 May 2016 15:32:11 +0900
"Akinori MUSHA" <knu_at_iDaemons.org> wrote:

> 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..._at_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..._at_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..._at_freebsd.org mailing list
> > > https://lists.freebsd.org/mailman/listinfo/freebsd-current
> > > To unsubscribe, send any mail to "freebsd-curre..._at_freebsd.org"
> > >
> >
> >
> > --
> > Tomoaki AOKI    junc..._at_dec.sakura.ne.jp
> > _______________________________________________
> > freebsd..._at_freebsd.org mailing list
> > https://lists.freebsd.org/mailman/listinfo/freebsd-current
> > To unsubscribe, send any mail to "freebsd-curre..._at_freebsd.org"
> >
> 
> --
> Akinori MUSHA / https://akinori.org/


-- 
Tomoaki AOKI    junchoon_at_dec.sakura.ne.jp
Received on Sat May 07 2016 - 10:35:25 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:04 UTC