Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Jun 2011 13:05:59 +0200
From:      n dhert <ndhertbsd@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   cmpsfont-1.0_7 checksum mismatch
Message-ID:  <BANLkTi=0jMEhpKh8Pi%2BVc8JBOX2bTsHVJg@mail.gmail.com>
In-Reply-To: <BANLkTi=KH2e=-PYruQyvy8VGSGmAvswwUQ@mail.gmail.com>
References:  <BANLkTikn0rUoAVeny72pyxqRu1W7qzBr-Q@mail.gmail.com> <20110531012301.GA5085@orange.esperance-linux.co.uk> <001901cc1f38$4dfe8fe0$e9fbafa0$@on.ca> <BANLkTi=KH2e=-PYruQyvy8VGSGmAvswwUQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
I tried
# cd /usr/ports/print/cmpsfont
# make fetch
# make makesum
which created a different /usr/ports/print/cmpsfont/distinfo file (different
SHA256 value)
but I get:

--->  Upgrading 'cmpsfont-1.0_6' to 'cmpsfont-1.0_7' (print/cmpsfont)
--->  Building '/usr/ports/print/cmpsfont'

===>  Cleaning for cmpsfont-1.0_7
===>  Vulnerability check disabled, database not found
===>  License check disabled, port has not defined LICENSE
===>  Extracting for cmpsfont-1.0_7
=> SHA256 Checksum OK for cmps-unix.tar.gz.
gzip: /usr/ports/distfiles//cmps-unix.tar.gz: trailing garbage ignored

  This worries me ...

===>  Patching for cmpsfont-1.0_7
===>   cmpsfont-1.0_7 depends on file: /usr/local/bin/type1inst - found
===>  Configuring for cmpsfont-1.0_7
===>  Building for cmpsfont-1.0_7
/usr/bin/touch /usr/ports/print/cmpsfont/work/cmpsfont/pfb/fonts.dir
(cd /usr/ports/print/cmpsfont/work/cmpsfont/pfb; /usr/local/bin/type1inst
-nolog
 -quiet)
--->  Backing up the old version
--->  Uninstalling the old version
--->  Deinstalling 'cmpsfont-1.0_6'
pkg_delete: package 'cmpsfont-1.0_6' is required by these other packages
and may not be deinstalled (but I'll delete it anyway):
dvipsk-tetex-5.95a_5
teTeX-base-3.0_21
teTeX-texmf-3.0_6
[Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 421 packages
found (
-1 +0) (...) done]
--->  Installing the new version via the port
===>  Installing for cmpsfont-1.0_7
===>   Generating temporary packing list
===>  Checking if print/cmpsfont already installed
/bin/mkdir -p /usr/local/share/fonts/cmpsfont/afm
install  -o root -g wheel -m 444
/usr/ports/print/cmpsfont/work/cmpsfont/afm/* /
usr/local/share/fonts/cmpsfont/afm
/bin/mkdir -p /usr/local/share/fonts/cmpsfont/type1
install  -o root -g wheel -m 444
/usr/ports/print/cmpsfont/work/cmpsfont/pfb/* /
usr/local/share/fonts/cmpsfont/type1
install  -o root -g wheel -m 444
/usr/ports/print/cmpsfont/work/cmpsfont/READ.M
E /usr/ports/print/cmpsfont/work/cmpsfont/cmsample.tex
/usr/local/share/fonts/c
mpsfont/
install: /usr/ports/print/cmpsfont/work/cmpsfont/READ.ME: No such file or
direct
ory
*** Error code 71
Stop in /usr/ports/print/cmpsfont.
*** Error code 1
Stop in /usr/ports/print/cmpsfont.
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portupgrade20110606-31
922-924kw4-0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=cmpsfont-1.0_6
UPGRADE_PO
RT_VER=1.0_6 make DEPENDS_TARGET=package reinstall
--->  Restoring the old version
** Fix the installation problem and try again.

Whats wrong here and how to fix ?

2011/5/31 Matt Emmerton <matt@gsicomp.on.ca>

> On Mon, May 30, 2011 at 08:48:18AM +0200, n dhert wrote:
> >
> > There seems to be an error with the recently (5 days ago) distributed
> > new
> > 1.0_7 version of  cmpsfont:
> >
> > --->  Upgrading 'cmpsfont-1.0_6' to 'cmpsfont-1.0_7' (print/cmpsfont)
> > ---> Build of print/cmpsfont started at: Mon, 30 May 2011 08:29:15
> > ---> +0200  Building '/usr/ports/print/cmpsfont'
> > ===>  Cleaning for cmpsfont-1.0_7
> > ===>  Vulnerability check disabled, database not found ===>  License
> > check disabled, port has not defined LICENSE ===>  Extracting for
> > cmpsfont-1.0_7 => SHA256 Checksum mismatch for cmps-unix.tar.gz.
> > ===>  Refetch for 1 more times files: cmps-unix.tar.gz ===>
> > Vulnerability check disabled, database not found ===>  License check
> > disabled, port has not defined LICENSE => cmps-unix.tar.gz doesn't
> > seem to exist in /usr/ports/distfiles/.
> > => Attempting to fetch
> > http://ftp.ctex.org/pub/tex/fonts/type1/cmps-unix.tar.gz
> > ===>  Vulnerability check disabled, database not found ===>  License
> > check disabled, port has not defined LICENSE => SHA256 Checksum
> > mismatch for cmps-unix.tar.gz.
> > ===>  Giving up on fetching files: cmps-unix.tar.gz
> >
> > How to deal with it?
> > Or wait for a better version?
>
> send-pr(1) or drop the maintainer an email (he's probably forgotten to
> update the distinfo).
>
> If you must have the port *now* you can edit the port with the new checksum
> calculated using sha256(1).
> (Edit /usr/ports/print/cmpsfont/distinfo)
>
> ----------
>
> Or this:
>
> cd /usr/ports/print/cmpsfont
> make fetch
> make makesum
>
> --
> Matt Emmerton
>
>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTi=0jMEhpKh8Pi%2BVc8JBOX2bTsHVJg>