From owner-freebsd-bugs@FreeBSD.ORG Sun Jun 29 14:27:34 2008 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7013B10656B7 for ; Sun, 29 Jun 2008 14:27:34 +0000 (UTC) (envelope-from matthias.andree@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id AF7318FC19 for ; Sun, 29 Jun 2008 14:27:33 +0000 (UTC) (envelope-from matthias.andree@gmx.de) Received: (qmail invoked by alias); 29 Jun 2008 14:00:51 -0000 Received: from f054172176.adsl.alicedsl.de (EHLO m2a2.dyndns.org) [78.54.172.176] by mail.gmx.net (mp047) with SMTP; 29 Jun 2008 16:00:51 +0200 X-Authenticated: #428038 X-Provags-ID: V01U2FsdGVkX1/fYv1lztzfcmsF/LSmVq123g36soRd+5zEXqrW0n rFXFfGJYbewvfJ Received: from localhost (localhost [127.0.0.1]) by merlin.emma.line.org (Postfix) with ESMTP id D5C8E200A30; Sun, 29 Jun 2008 16:00:48 +0200 (CEST) X-Virus-Scanned: amavisd-new at emma.line.org Received: from m2a2.dyndns.org ([127.0.0.1]) by localhost (m2a2.dyndns.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VvJo-f4aKU44; Sun, 29 Jun 2008 16:00:48 +0200 (CEST) Received: by merlin.emma.line.org (Postfix, from userid 500) id 9F2B8200A94; Sun, 29 Jun 2008 16:00:48 +0200 (CEST) Date: Sun, 29 Jun 2008 16:00:48 +0200 From: Matthias Andree To: bug-followup@FreeBSD.org, freebsd-bugs@freebsd.org Message-ID: <20080629140048.GA13513@merlin.emma.line.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-PGP-Key: http://home.pages.de/~mandree/keys/GPGKEY.asc User-Agent: Mutt/1.5.18 (2008-06-25) X-Y-GMX-Trusted: 0 Cc: wxs@freebsd.org Subject: HOW TO SOLVE? implicit yet unrecorded dependencies (was: ports/124372: [PATCH] archivers/rpm: unbreak build) X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Jun 2008 14:27:34 -0000 OK, figured it out, the culprit is devel/autoconf213 that depended on gawk (it checks mawk and gawk before checking nawk) without properly recording the dependency, thus there was no way for the ports system to know gawk (that was installed at the time I installed autoconf213, but no longer at the time I installed rpm later) was an inherited build dependency. Will file a new patch against autoconf213 and Cc: its maintainer. PROBLEM: It's always dangerous to let autoconf'ed packages go hunting for packages - I wonder if there's a good way to automatically complain if ports depend on ${LOCALBASE} or ${PREFIX} stuff if they don't register a dependency on the providing package. If there is, it should go into ports/Mk/bsd.port.mk. -- Matthias Andree