From owner-freebsd-ports@freebsd.org Sat Mar 31 22:14:14 2018 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4406BF554F8 for ; Sat, 31 Mar 2018 22:14:14 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-vk0-x22a.google.com (mail-vk0-x22a.google.com [IPv6:2607:f8b0:400c:c05::22a]) (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 CCBB37857C for ; Sat, 31 Mar 2018 22:14:13 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mail-vk0-x22a.google.com with SMTP id b16so6624427vka.5 for ; Sat, 31 Mar 2018 15:14:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=ujX8wcg9G3yRcp4hMTy9oXtxzZkZq5loQyPbHqSGczk=; b=gPkTWBpOy7y4t+TRYQONl6vT88Br1WNiAXB8hybrlDVI+aI95u2XGGPiq6sKjtI9Kk Oyi2/JmHrp/WsW4HgDgeQzi4l2njCyRfdkDVmWnNiSnW5FLnHEwrm7ZREZr1jVHcrSyC lJs4JOD9jn4ATuZ6l6mHqqxhDvSdGSgVNhB39qSuEqUYarujE86D64CjfoyCisPrN9TA JWGuAFrMX0qHeQHjX7b1FFjT/7F5yD9O249vNVNhp0hZnrOYkIxSCSUxq6bx0ba52VNS 2NC3R4yqnTZ6UVrFd82cLsKQP8ui35GOrF4AYQihmld5TPOQq2/SA1QatQVJjICg4vST JlEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=ujX8wcg9G3yRcp4hMTy9oXtxzZkZq5loQyPbHqSGczk=; b=bmcq3bAdKHrPBIOBuEcCErkJ0pT/ubdMYfMNfTQDVNr4DCsQbvuVH0J/oIn6YPS0aS FFEgLuwTBs0wn+F1/Wd3HAaccykDV867zwVQewKbBazLNDTA6jSwvRaIvxEhgR4YFcK5 smPSl0Xcd8LykNB+zDaOFBzeMiHMqzSR+eLOTNS1fZ9FYiFzUW09ULfVeO2++S13rgN9 QryQwXehNSQMR+VgiSfd2VFE2x2PjX+E6sRlLxEJhxPscvfRxi66Tgf3p019HfsvNCOa NvUHf3H2JIwurL+pXoyRN+2xXUqPgRnVaQsTQ6hd82AKnGPLsFJT9PFkLQUhRN6u8Tc1 8/rw== X-Gm-Message-State: ALQs6tD5JNAP1FSfhExD1y+cVpg/y6CXGJsGbJJwPJv56TAWXdRoeXL5 NTZGG1huQcHobfrtJwF4OU41pXPsKXu/hd+BmNo= X-Google-Smtp-Source: AIpwx4/o88ccSAXwjNglU4700yxY9jbdMASvZQcy2uOObcLAUkAIMNlqxc/JXJnR7tNapzXU17EcQCY4jg2RPz1Fkcg= X-Received: by 10.31.124.199 with SMTP id x190mr2295288vkc.115.1522534453150; Sat, 31 Mar 2018 15:14:13 -0700 (PDT) MIME-Version: 1.0 Sender: kob6558@gmail.com Received: by 10.103.91.5 with HTTP; Sat, 31 Mar 2018 15:14:12 -0700 (PDT) In-Reply-To: <23231.60932.88889.811581@jerusalem.litteratus.org> References: <23230.34285.577403.66846@jerusalem.litteratus.org> <20180330194344.GA75894@elch.exwg.net> <23231.49189.726411.702039@jerusalem.litteratus.org> <20180331193720.GB49814@elch.exwg.net> <23231.60932.88889.811581@jerusalem.litteratus.org> From: Kevin Oberman Date: Sat, 31 Mar 2018 15:14:12 -0700 X-Google-Sender-Auth: 3G168IdoI6VoAEa8gc9qZu15Esg Message-ID: Subject: Re: Perl help needed To: Robert Huff Cc: Christoph Moench-Tegeder , FreeBSD Ports ML Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Mar 2018 22:14:14 -0000 On Sat, Mar 31, 2018 at 1:22 PM, Robert Huff wrote: > > Christoph Moench-Tegeder writes: > > > ## Robert Huff (roberthuff@rcn.com): > > > > > On a system with over 850 ports, 32 starting with "p5-", the > > > list of dependent ports portmaster created from > > > "pkg shlib -qR libperl.so.5.24" was over 200, including things like > > > FireFox and llvm50 (llvm is required for mesa-dri). > > > > That sound like "too much". I've 1408 ports installed, of which 90 > > are named p5-*, and "pkg shlib -qR libperl.so.5.26" shows only 32 ports. > > > > Did you rebuild everything along the build-dependencies, or does your > > build tool use the run-depdendencies? > > There had been a time when ports had way too many dependencies > registered, > > if my memory serves right that was because many build-dependencies were > > recorded as run-dependencies (or there was no distinction at all). Is > > that a leftover effect from those times? > > "Insufficient data, Captain." > I followed the instructions for portmaster from > UPDATING/20171103, only changing the version numbers. > Running "pkg shlib -qR libperl.so.5.26" now produces 13 items; > this makes your explanation plausible, if not authoritative. > > Again, thanks. > > > Robert Huff While the method in the instructions is right, it is serious overkill. It not only lists direct dependencies, but ports that depend on libs or other executables that link to libperl. You can save a LOT of time and CPU cycles by updating the obvious candidates (portmaster p5-) to get almost everything and then using "pkg check -B" to find all ports that REALLY link to libperl.so.5.24. All I found was not-snmp (which really IS a perl5 port, but is not prefixed by p5-) and ImageMagick. In retrospect, I probably didn't need to re-install most of the p5- ports as most just call perl5, but have no direct linkages to it. I doubt that more then a handful of ports actually needed to be touched. -- Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683