From owner-freebsd-haskell@freebsd.org Mon Feb 24 08:32:01 2020 Return-Path: Delivered-To: freebsd-haskell@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 775EE25594F for ; Mon, 24 Feb 2020 08:32:01 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell1.rawbw.com (shell1.rawbw.com [198.144.192.42]) by mx1.freebsd.org (Postfix) with ESMTP id 48QwKF1CG7z4Y5M; Mon, 24 Feb 2020 08:32:00 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from yv.noip.me (c-73-189-35-76.hsd1.ca.comcast.net [73.189.35.76]) (authenticated bits=0) by shell1.rawbw.com (8.15.1/8.15.1) with ESMTPSA id 01O8VxMF018087 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Mon, 24 Feb 2020 00:31:59 -0800 (PST) (envelope-from yuri@rawbw.com) X-Authentication-Warning: shell1.rawbw.com: Host c-73-189-35-76.hsd1.ca.comcast.net [73.189.35.76] claimed to be yv.noip.me Subject: Re: Why does the port with USES=cabal and USE_CABAL= fail with unknown dependencies? To: Gleb Popov Cc: freebsd-haskell@freebsd.org References: <5fe819e2-6181-9903-1d53-8f76bd745b76@rawbw.com> From: Yuri Message-ID: <0063f3a0-b884-ca5e-044b-6110bfd63779@rawbw.com> Date: Mon, 24 Feb 2020 00:31:58 -0800 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.3.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Rspamd-Queue-Id: 48QwKF1CG7z4Y5M X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-6.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-0.996,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[] X-BeenThere: freebsd-haskell@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD-specific Haskell issues and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Feb 2020 08:32:01 -0000 On 2020-02-23 22:55, Gleb Popov wrote: > > 1. Define PORTNAME, PORTVERSION and USES=cabal > 2. Run `make cabal-extract`. This will fetch the package using > devel/hs-cabal-install > 3. Run `make cabal-extract-deps`. This will fetch and build all > package dependencies, including transitive ones. > 4. Run make `make-use-cabal`. This will generate intial USE_CABAL > string. Copy&paste it into the port. > 5. Run make `make-use-cabal-revs`. This will check packages from > current USE_CABAL for available revisions and generate new string. > Copy&paste it into the port. > 6. Run `make makesum && make clean` and try building the port the > usual way. This worked, thanks! Yuri