From owner-freebsd-ports@freebsd.org Fri Sep 15 07:42:25 2017 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 87B30E05304 for ; Fri, 15 Sep 2017 07:42:25 +0000 (UTC) (envelope-from matt.xtaz@gmail.com) Received: from mail-wr0-x230.google.com (mail-wr0-x230.google.com [IPv6:2a00:1450:400c:c0c::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 19D8B809F0 for ; Fri, 15 Sep 2017 07:42:25 +0000 (UTC) (envelope-from matt.xtaz@gmail.com) Received: by mail-wr0-x230.google.com with SMTP id r74so1080136wrb.13 for ; Fri, 15 Sep 2017 00:42:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-disposition:in-reply-to:user-agent; bh=2XeyzQ5kib8YVkSyhMvlRy84djEsrGttD3vofipV6Es=; b=plyPL48bQThoGPDZxwmcij34bNA5Fwc7nbs+b7k0821nm1HxpPvsiaicNH8nlS1DgW S4il+i/IWvHcjk6ES4hJRPMP6QLQfLOFeOfBMe2K8Pg9ZqppfyZf4CjtLSyhBEBc24tH x9d8MLw5CejbRyT5vwPPi9+RGUyLfHjTxKJonCpF3szDJJxsPRlg63HTCrbtzOjvoR5U Vj719n+jCS5k08ANi0Hh/QRmD8awwz4bCxmfOelugwaZ/5YchD2EcYSLkAXurbNXzFuf uPZKzMjAEXeRLuM4vCEcwFhJoRlDMH309fS/oalSH9wsqGotGxHqp6xM0bEL3FOf4JKA irLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-disposition :in-reply-to:user-agent; bh=2XeyzQ5kib8YVkSyhMvlRy84djEsrGttD3vofipV6Es=; b=StJ0faNmCtBHvPW22F7G47vuKPbrLvovFK234HyfqsF4MNbzXggfNg2wogmRUP1YVb LOp2+EqodcmFVC9vj49cTIKRI6uNmzD06ROAo8RfgB9Qwfn/7gRkB/ZokaynMoUXPNpf HFtuWRbGmYRuRITqESNySZ7ipAntir2D1aXc1Qby8aOtr8BDsC4J8d9zRC2gaAp7QV2h /egOKx7y7/yYIrynu/9PZtLSMJfy1WG9KyFee9Z6KaCshdzasXMOZ2cIe3aKKuEowXON 7TgNKBJIlZsvWGXYCIfwkjQmMr8zjoQH8siHAjgonJPyGnSPPcljUdPrnDGJFX3L4Pnd SSqg== X-Gm-Message-State: AHPjjUjecCpKY1pZxmp900SY6vWdROtmjVVZhEZXmfMCgYy2B2+cHhsz pdSqxRsE5MPe2R2BJ3I= X-Google-Smtp-Source: ADKCNb7VvcM9u5bXK+FDfB4pbl5DK4dIMcjkGDFdKtEcYDl1zyHFshIp9/ZXYVc3Ikm7lAwFuTFrqQ== X-Received: by 10.223.195.87 with SMTP id e23mr23086135wrg.77.1505461343582; Fri, 15 Sep 2017 00:42:23 -0700 (PDT) Received: from gmail.com (tao.xtaz.uk. [2001:8b0:fe33::10]) by smtp.gmail.com with ESMTPSA id c1sm208368wre.84.2017.09.15.00.42.22 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 15 Sep 2017 00:42:23 -0700 (PDT) Date: Fri, 15 Sep 2017 08:42:20 +0100 From: Matt Smith To: Thomas Mueller Cc: freebsd-ports@freebsd.org Subject: Re: synth install ... builds but does not always install named packages Message-ID: <20170915074220.GA1995@gmail.com> Mail-Followup-To: Matt Smith , Thomas Mueller , freebsd-ports@freebsd.org References: <8C.42.25924.3928BB95@dnvrco-omsmta02> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <8C.42.25924.3928BB95@dnvrco-omsmta02> User-Agent: Mutt/1.9.0 (2017-09-02) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Sep 2017 07:42:25 -0000 On Sep 15 07:34, Thomas Mueller wrote: >I am building up a system (FreeBSD 11.1-STABLE amd64) using synth, but even when the packages build and appear in /var/synth/live_packages/All , some of the packages don't install. > >When I type "which gnumeric", "which bison", "which abiword", I just get a blank, and the executable files don't appear in /usr/local/bin . > >This happened with math/gnumeric, editors/abiword-docs, among others. > >I subsequently installed those packages by typing "synth install math/gnumeric" and "synth install editors/abiword-docs", but how do I find all the others that built and are listed in /var/synth/live_packages/All but did not install? > >I see > >"ls -l /var/synth/live_packages/All" has 657 lines, while > >"pkg info -a" produces 544 lines. > >I piped to "more", then hit G to go to the end, then Ctrl-G, which showed the number of lines. > >This may not tell the whole story, but makes me believe there is a disparity, and ask how to find and install those packages that built but didn't install. > >Has anybody else been stung by this bug? > >Tom > Do you actually want those packages installed? The usual reason is that they are build dependencies only required for building another package and therefore they are in the repo but not installed. If they are run dependencies actually required for another package to run then they should be installed. Freshports is a good site for looking at this. http://www.freshports.org/ If you search for something it tells you what is build and what is run. Alternatively you can look at the ports Makefile for lines such as BUILD_DEPENDS, RUN_DEPENDS, LIB_DEPENDS etc. -- Matt