From owner-freebsd-ports Sat Apr 29 2:10: 7 2000 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 045B337B7C1 for ; Sat, 29 Apr 2000 02:10:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id CAA39570; Sat, 29 Apr 2000 02:10:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from picalon.gun.de (picalon.gun.de [192.109.159.1]) by hub.freebsd.org (Postfix) with ESMTP id C98FF37B6FB for ; Sat, 29 Apr 2000 02:00:29 -0700 (PDT) (envelope-from andreas@klemm.gtn.com) Received: (from uucp@localhost) by picalon.gun.de (8.9.3/8.9.3) id LAA09489 for FreeBSD-gnats-submit@FreeBSD.org; Sat, 29 Apr 2000 11:00:26 +0200 (MET DST) Message-Id: <200004290859.KAA57952@klemm.gtn.com> Date: Sat, 29 Apr 2000 10:59:04 +0200 (CEST) From: Andreas Klemm Reply-To: andreas@klemm.gtn.com To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.2 Subject: ports/18291: ports collection make macro oddities: make fetch fails after version upgrade Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 18291 >Category: ports >Synopsis: make makesum fetches new sources, make fetch not >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Apr 29 02:10:00 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Andreas Klemm >Release: FreeBSD-5.0 >Organization: FreeBSD >Environment: FreeBSD titan.klemm.gtn.com 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Fri Apr 21 19:59:37 CEST 2000 root@titan.klemm.gtn.com:/usr/src/sys/compile/TITAN i386 >Description: When updating a port for a new release, it's not possible to simply type "make" or "make fetch", since this fails in "make fetch", see below. You have to type in "make makesum", which results in a working make fetch and which updates the md5 file. Old behaviour was more consistant. You couls either simply type in "make" or "make fetch" You got the new sources. When proceeding, you get the md5 checksum mismatch, which you can easily resolve with a "make makesum". This is consistent and intuitive. I think its inconsistent now, because a make fetch, which is needed anyway to get the new sources, always fails. >How-To-Repeat: Now (when upgrading zebra and other ports) I update the version in Makefile and then do a make: andreas@titan{1070} $ make >> zebra-0.86.tar.gz is not in /home/andreas/src/freefall/myports/akl/net/zebra/files/md5. >> Either /home/andreas/src/freefall/myports/akl/net/zebra/files/md5 is out of date, or >> zebra-0.86.tar.gz is spelled incorrectly. *** Error code 1 Don't know what design issues have been discussed or implemented But I think old behaviour is more consistent, since new behaviour doesn't allow to split the required actions in two single parts - make fetch (which fails on the commandline) - make makesum >Fix: ??? >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message