From owner-freebsd-ports@FreeBSD.ORG Thu Apr 17 06:00:30 2014 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 33C363C9; Thu, 17 Apr 2014 06:00:30 +0000 (UTC) Received: from mail-ie0-x22e.google.com (mail-ie0-x22e.google.com [IPv6:2607:f8b0:4001:c03::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DB8DF17B3; Thu, 17 Apr 2014 06:00:29 +0000 (UTC) Received: by mail-ie0-f174.google.com with SMTP id rp18so11126666iec.5 for ; Wed, 16 Apr 2014 23:00:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=6Xf2aiUFXhnFfMmMfgTpW/Xqtui0aV5nvBirE9I/Fbs=; b=0Bsv/x9t0ciTaDAjfIOxORWLrXe3dPwn4zpUNVa5VPd++hPYEgUmb3XuVnhns0mHB1 1rOVw2FCrq9PPKny9OOocYe6LhZoV+6CZTQ7SmEuAPuQCzy2kf9CzDPUfZwRI+UhSDjE IZbHYGKVvlSdG7TcmUIMqItI/xmIjQSMYFGdv5U2mDTllpQPHM+Y4tDCPysR1paUWBUi kMYmnWhX7sTAXQF4lW8VR4AI046eZ/knZNsLO3CszkjGkfCHb7kFPTStQCElBBikf2PA rBPnHls7RqNk1pLTWaXmh8BBdEHjBZhfb9pVT7XN+57jR6fMexz+M36/DdJ9KbZheETb 31IA== MIME-Version: 1.0 X-Received: by 10.42.136.130 with SMTP id u2mr5756779ict.51.1397714429166; Wed, 16 Apr 2014 23:00:29 -0700 (PDT) Received: by 10.50.7.74 with HTTP; Wed, 16 Apr 2014 23:00:29 -0700 (PDT) In-Reply-To: <534F32A8.8010206@freebsd.org> References: <534F32A8.8010206@freebsd.org> Date: Thu, 17 Apr 2014 01:00:29 -0500 Message-ID: Subject: Re: Please some help with port options in the new world order. From: Scot Hetzel To: Alfred Perlstein Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD Ports , Baptiste Daroussin , Bryan Drewery X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Apr 2014 06:00:30 -0000 On Wed, Apr 16, 2014 at 8:47 PM, Alfred Perlstein wrote: > Hey folks, > > I'm having a heck of a time with the rsync port in our build system with > latest ports: > commit 08b15d01e41c418b5c5b35fb5b691f5e83d40a95 > Author: wg > Date: Wed Apr 16 23:17:53 2014 +0000 > > devel/py-hgsubversion: update to 1.6 and use auto plist > > > This is the error I am getting: > + chroot /usr/home/alfred/freenas/os-base/amd64/_.w /bin/sh -exc 'env > TARGET=amd64 TARGET_ARCH=amd64 NAS_PORTS_DIRECT=1 > make __MAKE_CONF=/usr/home/alfred/freenas/os-base/amd64/make.conf.build > SRC_BASE=/usr/src WRKDIRPREFIX=/usr/workdir -C > /usr/ports_dir/net/rsync clean all package install BATCH=yes > -DUSE_PACKAGE_DEPENDS WITH+=ACL WITH+=ICONV -DFORCE_PACKAGE > -DFORCE_PKG_REGISTER' > + env TARGET=amd64 TARGET_ARCH=amd64 NAS_PORTS_DIRECT=1 make > __MAKE_CONF=/usr/home/alfred/freenas/os-base/amd64/make.conf.build > SRC_BASE=/usr/src WRKDIRPREFIX=/usr/workdir -C /usr/ports_dir/net/rsync > clean all package install BATCH=yes -DUSE_PACKAGE_DEPENDS WITH+=ACL > WITH+=ICONV -DFORCE_PACKAGE -DFORCE_PKG_REGISTER > ===> Cleaning for rsync-3.1.0_3 > ===> License GPLv3 accepted by the user > ====> You cannot select multiple options from the PTS radio > *** Error code 1 > : : > This USED to work back in an earlier ports tree from 2 months ago by doing > this: > add_port net/rsync OPTIONS_FILE_SET+=ACL OPTIONS_FILE_SET+=ICONV > > However that gives the same error message now from the build ("====> You > cannot select multiple options from the PTS radio"). > > Any tips on getting around this? It's very frustrating. > Try: add_port net/rsync WITH+=ACL WITH+=ICONV WITHOUT+=FLAGS > What is really strange is that OUTSIDE of the nanobsd build doing a simple: > cd /usr/port/net/rsync && make WITH+=ACL WITH+=ICONV > seems to work. > > Any idea why this is happening? > The last commit to the port enabled the FLAGS option by default. Since FLAGS and ACL are listed in OPTIONS_RADIO_PTS, you can only select one of them. The reason it works outside the nanobsd build is that at some point you had disabled the FLAGS option in a previous build of the port. Check the OPTIONSFILE in /var/db/ports/ for this port. -- DISCLAIMER: No electrons were maimed while sending this message. Only slightly bruised.