Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Dec 2006 09:08:59 -0600 (CST)
From:      Philip Kizer <pckizer@nostrum.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        farrokhi@FreeBSD.org
Subject:   ports/107245: Invalid distinfo for ports/www/phpmyfaq @ version 1.6.8
Message-ID:  <200612271508.kBRF8xIO092322@shaman.nostrum.com>
Resent-Message-ID: <200612271540.kBRFeHHl054823@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         107245
>Category:       ports
>Synopsis:       Invalid distinfo for ports/www/phpmyfaq @ version 1.6.8
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 27 15:40:17 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Philip Kizer
>Release:        FreeBSD 6.2-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD shaman.nostrum.com 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #8: Sun Oct 29 01:57:14 CDT 2006 root@shaman:/usr/obj/usr/src/sys/CUSTOM i386

	/usr/ports/www/phpmyfaq # grep FreeBSD Makefile 
	# $FreeBSD: ports/www/phpmyfaq/Makefile,v 1.22 2006/12/16 11:46:53 miwi Exp $
	MAINTAINER=     farrokhi@FreeBSD.org

	/usr/ports/www/phpmyfaq # cat distinfo          
	MD5 (phpmyfaq-1.6.8.full.tar.gz) = d53a0a51819995310e0e97c5dc5a7c53
	SHA256 (phpmyfaq-1.6.8.full.tar.gz) = 7b11d22b48b9c8d10acab68217e9f4164be595a585708914e7776fba45dea80b
	SIZE (phpmyfaq-1.6.8.full.tar.gz) = 768078

	/usr/ports/www/phpmyfaq # curl -s -I http://www.phpmyfaq.de/download/phpmyfaq-1.6.8.full.tar.gz | grep Content-Len                  
	Content-Length: 762885

>Description:
	Invalid distinfo for phpmyfaq ports, there is a size mismatch with the
	tarball available from the main site.

	Since I was unsure why the package size changed after the port was
	updated for the new version, I'm opening a PR.
>How-To-Repeat:
	/usr/ports/www/phpmyfaq # portupgrade -w phpmyfaq
	--->  Upgrading 'phpmyfaq-1.6.6' to 'phpmyfaq-1.6.8' (www/phpmyfaq)
	--->  Building '/usr/ports/www/phpmyfaq'

	Define PHPMYFAQ to override default installation place of '/usr/local/www/phpmyfaq'.

	=> phpmyfaq-1.6.8.full.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
	=> Attempting to fetch from http://www.phpmyfaq.de/download/.
	fetch: http://www.phpmyfaq.de/download/phpmyfaq-1.6.8.full.tar.gz: size mismatch: expected 768078, actual 762885
	=> Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/.
	fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/phpmyfaq-1.6.8.full.tar.gz: File unavailable (e.g., file not found, no access)
	=> Couldn't fetch it - please try to retrieve this
	=> port manually into /usr/ports/distfiles/ and try again.
	*** Error code 1

	Stop in /usr/ports/www/phpmyfaq.
	** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.54222.0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=phpmyfaq-1.6.6
	UPGRADE_PORT_VER=1.6.6 make
	** Fix the problem and try again.
	** Listing the failed packages (*:skipped / !:failed)
		! www/phpmyfaq (phpmyfaq-1.6.6) (fetch error)
	--->  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed
	/usr/ports/www/phpmyfaq # 

>Fix:

	Not provided, I didn't see a tarball with the size as recorded in
	distinfo, and I have not pulled the multiple versions from the main
	site to compare if the new size is correct as it was modified just
	yesterday (2006/12/26).


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



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