From owner-freebsd-ports Mon Jul 23 18: 0:10 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 590B137B407 for ; Mon, 23 Jul 2001 18:00:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f6O103P13054; Mon, 23 Jul 2001 18:00:03 -0700 (PDT) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 5808A37B401 for ; Mon, 23 Jul 2001 17:58:49 -0700 (PDT) (envelope-from nobody@FreeBSD.org) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f6O0wn312953; Mon, 23 Jul 2001 17:58:49 -0700 (PDT) (envelope-from nobody) Message-Id: <200107240058.f6O0wn312953@freefall.freebsd.org> Date: Mon, 23 Jul 2001 17:58:49 -0700 (PDT) From: "David A. Koran" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: ports/29184: majordomo "makeseed" pre-install script Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 29184 >Category: ports >Synopsis: majordomo "makeseed" pre-install script >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Jul 23 18:00:03 PDT 2001 >Closed-Date: >Last-Modified: >Originator: David A. Koran >Release: 4.3 >Organization: SoloNet >Environment: FreeBSD ------- 4.3-STABLE FreeBSD 4.3-STABLE #3: Fri Jul 20 15:49:22 EDT 2001 ---@--------:/usr/obj/usr/src/sys/------ i386 >Description: You'll get an "Error 1" and the build will break. The following appears in the "Makefile": pre-install: @ if test -f ${WRKSRC}/majordomo.cf; then :; else \ ${CP} ${WRKSRC}/sample.cf ${WRKSRC}/majordomo.cf; \ /usr/bin/perl ${SCRIPTDIR}/makeseed ${WRKSRC}/majordomo.cf; \ fi ---- however, the script "makeseed" does not exist. Albeit, the distro does not contain a majordomo.cf file but a sample.cf file, so a rebuild after failure will bypass the logic of the "if" statement if you do not issue a clean. >How-To-Repeat: Build current majordomo either via ports upgrade or for first time. >Fix: Upon build failure, reissue a "make all install" to rebuild. This subverts the Makefile logic. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message