ports/157652: port print/cmpsfont checksum mismath, trailing garbage in .gz, file missing

Donche.Pieter pdon at macos.cmi.ua.ac.be
Mon Jun 6 10:10:08 UTC 2011


>Number:         157652
>Category:       ports
>Synopsis:       port print/cmpsfont checksum mismath, trailing garbage in .gz, file missing
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 06 10:10:06 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Donche.Pieter
>Release:        FreeBSD 8.2-RELEASE amd64
>Organization:
Uni ANtwerpen
>Environment:
System: FreeBSD macos.cmi.ua.ac.be 8.2-RELEASE FreeBSD 8.2-RELEASE #11: Wed Mar 23 12:44:00 CET 2011 root at macos.cmi.ua.ac.be:/usr/obj/usr/src/sys/GENERICQ amd64
>Description:

While upgrading ports, I got following error with cmpsfont:

--->  Upgrading 'cmpsfont-1.0_6' to 'cmpsfont-1.0_7' (print/cmpsfont)
--->  Build of print/cmpsfont started at: Mon, 30 May 2011 09:01:07 +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 
Make sure the Makefile and distinfo file (/usr/ports/print/cmpsfont/distinfo)
are up to date.  If you are absolutely sure you want to override this
check, type "make NO_CHECKSUM=yes [other args]".
*** Error code 1
Stop in /usr/ports/print/cmpsfont.
*** Error code 1
Stop in /usr/ports/print/cmpsfont.
--->  Build of print/cmpsfont ended at: Mon, 30 May 2011 09:01:10 +0200 (consum
ed 00:00:02)
--->  Upgrade of print/cmpsfont ended at: Mon, 30 May 2011 09:01:10 +0200 (cons
umed 00:00:02)
--->  ** Upgrade tasks 9: 0 done, 0 ignored, 0 skipped and 1 failed

Someone in freebsd-questions at freebsd.org  suggested to do

cd /usr/ports/print/cmpsfont
make fetch
make makesum
 
I waited a week for a correction to appear in the ports collection
but the files in /usr/ports/print/cmpsfont didn't change

So, I tried  
# cd /usr/ports/print/cmpsfont
# make fetch
# make makesum

(the file /usr/ports/print/cmpsfont/distinfo was indeed changed)

but now when doing portupgrade, I get:

[Updating the portsdb <format:bdb_btree> in /usr/ports ... - 22512 port entries found .........1000.........2000.........3000.........4000.........5000.........6000.........7000.........8000.........9000.........10000.........11000.........12000.........13000.........14000.........15000.........16000.........17000.........18000.........19000.........20000.........21000.........22000..... ..... done]
--->  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, is there something wrong with that .gz file ?

===>  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.ME /usr/ports/print/cmpsfont/work/cmpsfont/cmsample.tex  /usr/local/share/fonts/cmpsfont/
install: /usr/ports/print/cmpsfont/work/cmpsfont/READ.ME: No such file or directory
*** 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-31922-924kw4-0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=cmpsfont-1.0_6 UPGRADE_PORT_VER=1.0_6 make DEPENDS_TARGET=package reinstall
--->  Restoring the old version
** Fix the installation problem and try again.
[Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 422 packages found (-0 +1) . done]
** Listing the failed packages (-:ignored / *:skipped / !:failed)
        ! print/cmpsfont (cmpsfont-1.0_6)       (install error)

The file /usr/ports/distfiles/cmps-unix.tar.gz
is a file that hasn't changed in 12 years ...
-rw-r--r--  1 root  wheel  1917739 Sep 30  1997 /usr/ports/distfiles/cmps-unix.tar.gz
Its size is equal to what is in /usr/ports/print/cmpsfont/distinfo
SHA256 (cmps-unix.tar.gz) = 1ae488b0f1d71d375c4bfeea2ef96315787eefe2aedbee5720dd595746a460a6
SIZE (cmps-unix.tar.gz) = 1917739

What is wrong ? and how to fix ??
>How-To-Repeat:
	# portupgrade print/cmpsfont
>Fix:



>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list