From owner-freebsd-ports@FreeBSD.ORG Wed Mar 23 02:46:20 2005 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 666FC16A4CE; Wed, 23 Mar 2005 02:46:20 +0000 (GMT) Received: from mail.efacilitas.de (efacilitas.de [213.133.110.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6259643D46; Wed, 23 Mar 2005 02:46:19 +0000 (GMT) (envelope-from bkoenig@cs.tu-berlin.de) Received: from mail.alpha-tierchen.de (port-212-202-39-77.dynamic.qsc.de [212.202.39.77]) by mail.efacilitas.de (Postfix) with ESMTP id D74DA123939; Wed, 23 Mar 2005 03:45:28 +0100 (CET) Received: from localhost (unknown [127.0.0.1]) by mail.alpha-tierchen.de (Postfix) with ESMTP id E9B62CCD823; Wed, 23 Mar 2005 03:45:49 +0100 (CET) Received: from mail.alpha-tierchen.de ([127.0.0.1]) by localhost (alpha-tierchen.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 20328-03; Wed, 23 Mar 2005 03:45:48 +0100 (CET) Received: from [192.168.1.2] (alpha.local [192.168.1.2]) by mail.alpha-tierchen.de (Postfix) with ESMTP id 22CF5CCD800; Wed, 23 Mar 2005 03:45:48 +0100 (CET) Message-ID: <4240D891.6040708@cs.tu-berlin.de> Date: Wed, 23 Mar 2005 03:46:41 +0100 From: =?ISO-8859-15?Q?Bj=F6rn_K=F6nig?= User-Agent: Mozilla Thunderbird 1.0 (X11/20050318) X-Accept-Language: de-DE, de, en-us, en MIME-Version: 1.0 To: portmgr@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: amavisd-new at alpha-tierchen.de cc: ports@freebsd.org cc: knu@FreeBSD.org Subject: sometimes port installation fails with DEPENDS_TARGET=package X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Mar 2005 02:46:20 -0000 Hello, I have problems with the installation of ports with sysutils/portupgrade which might concern not this program itself. Let's make an example. I often install ports and create packages for other machines with portinstall -p audio/liba52 which basically does something like cd /usr/ports/audio/liba52 make DEPENDS_TARGET=package . The port audio/liba52 depends on math/djbfft whereas package creation of this port is forbidden. math/djbfft won't built. The problem actually is that the build process doesn't stop at this point. It returns to audio/liba52 and continues to build it ignoring that a dependency port was not installed. This causes errors in all probability. My suggestion is that the portmgr team changes the behaviour insofar that the build process will stop cleanly. In this case I would be glad if Akinori Musha creates a workaround that portinstall will continue installing software. Another solution would be that a port will be installed nevertheless in face of the definition DEPENDS_TARGET=package and that a package can't be created. Akinori would be out of the woods. Thanks in advance Regards Björn # cd audio/liba52 # make DEPENDS_TARGET=package [...] ===> Vulnerability check disabled, database not found ===> Extracting for liba52-0.7.4_1 => Checksum OK for a52dec-0.7.4.tar.gz. ===> Patching for liba52-0.7.4_1 ===> liba52-0.7.4_1 depends on file: /usr/local/lib/libdjbfft.a - not found ===> Verifying package for /usr/local/lib/libdjbfft.a in /usr/ports/math/djbfft ===> djbfft-0.76_1 may not be packaged: Forbidden - we have patches to the distribution.. ===> Returning to build of liba52-0.7.4_1 ===> liba52-0.7.4_1 depends on executable: gmake - found ===> liba52-0.7.4_1 depends on file: /usr/local/bin/libtool13 - found ===> Configuring for liba52-0.7.4_1 [...] cc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -pipe -I/usr/local/include -O -pipe -fomit-frame-pointer -prefer-non-pic -c imdct.c -fPIC -DPIC -o .libs/imdct.lo cc: unrecognized option `-prefer-non-pic' imdct.c:32:26: djbfft/fftc4.h: No such file or directory imdct.c: In function `a52_imdct_init': imdct.c:423: error: `fftc4_un128' undeclared (first use in this function) imdct.c:423: error: (Each undeclared identifier is reported only once imdct.c:423: error: for each function it appears in.) imdct.c:424: error: `fftc4_un64' undeclared (first use in this function) gmake[1]: *** [imdct.lo] Fehler 1 gmake[1]: Leaving directory `/usr/ports/audio/liba52/work/a52dec-0.7.4/liba52' gmake: *** [all-recursive] Fehler 1 *** Error code 2 Stop in /usr/ports/audio/liba52.