From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Jun 6 10:10:08 2011 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6F7CA106566C for ; Mon, 6 Jun 2011 10:10:07 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E1CDA8FC18 for ; Mon, 6 Jun 2011 10:10:06 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p56AA6CP078153 for ; Mon, 6 Jun 2011 10:10:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p56AA6RR078152; Mon, 6 Jun 2011 10:10:06 GMT (envelope-from gnats) Resent-Date: Mon, 6 Jun 2011 10:10:06 GMT Resent-Message-Id: <201106061010.p56AA6RR078152@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Donche.Pieter" Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C9950106566B for ; Mon, 6 Jun 2011 10:02:42 +0000 (UTC) (envelope-from pdon@macos.cmi.ua.ac.be) Received: from macos.cmi.ua.ac.be (macos.cmi.ua.ac.be [143.129.75.1]) by mx1.freebsd.org (Postfix) with ESMTP id 3360E8FC17 for ; Mon, 6 Jun 2011 10:02:41 +0000 (UTC) Received: from macos.cmi.ua.ac.be (localhost [127.0.0.1]) by macos.cmi.ua.ac.be (8.14.4/8.14.4) with ESMTP id p569h8PE019254 for ; Mon, 6 Jun 2011 11:43:08 +0200 (CEST) (envelope-from pdon@macos.cmi.ua.ac.be) Received: (from pdon@localhost) by macos.cmi.ua.ac.be (8.14.4/8.14.4/Submit) id p569h80c019253; Mon, 6 Jun 2011 11:43:08 +0200 (CEST) (envelope-from pdon) Message-Id: <201106060943.p569h80c019253@macos.cmi.ua.ac.be> Date: Mon, 6 Jun 2011 11:43:08 +0200 (CEST) From: "Donche.Pieter" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/157652: port print/cmpsfont checksum mismath, trailing garbage in .gz, file missing X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Donche.Pieter" List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Jun 2011 10:10:08 -0000 >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@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@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 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 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 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: