From owner-freebsd-ports@FreeBSD.ORG Sun Jun 16 01:16:50 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 13406F44 for ; Sun, 16 Jun 2013 01:16:50 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-oa0-x230.google.com (mail-oa0-x230.google.com [IPv6:2607:f8b0:4003:c02::230]) by mx1.freebsd.org (Postfix) with ESMTP id D6DE91162 for ; Sun, 16 Jun 2013 01:16:49 +0000 (UTC) Received: by mail-oa0-f48.google.com with SMTP id f4so2105344oah.7 for ; Sat, 15 Jun 2013 18:16:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=+zCv+GGSzM1rWWedmzlQjI4iNF5PHfjzHyHu4IFAvaE=; b=s2fy9vOwGQsHwVfiUbdRFUfiAhhVyL3jK48qeJNdezNUWwm91KQtTR1PuauJZtvnS3 v9ifCngnR2JgJ0yx/T18aouowqSDxhwKJ9UHRt593k9NisHVIl694DkrXjyKs/Q6FiwS g+vGFkjrauEe6fv3haPyWfGgr38+Ycge/rTHzn2yTpC9XCbZmyKFpQ4iW4ZETQYhI6s7 TapIfjo258eyuQxXLzRRj+66zQZagz5JfltGg0hSHj1aXEupgN8QUlPI5QKaiod0uspW CKr5yL/wklayvABBu83VEvtURVWghzzRYt+CbuBoCH/bUelYxQCmOyDWnCSDUPNovfTp yjYA== MIME-Version: 1.0 X-Received: by 10.60.138.234 with SMTP id qt10mr5502983oeb.118.1371345409487; Sat, 15 Jun 2013 18:16:49 -0700 (PDT) Sender: kob6558@gmail.com Received: by 10.76.112.212 with HTTP; Sat, 15 Jun 2013 18:16:49 -0700 (PDT) In-Reply-To: <609568.9341.bm@smtp115.sbc.mail.ne1.yahoo.com> References: <609568.9341.bm@smtp115.sbc.mail.ne1.yahoo.com> Date: Sat, 15 Jun 2013 18:16:49 -0700 X-Google-Sender-Auth: hwse6ko3I7Eg1QVaExtw5LPk23A Message-ID: Subject: Re: Rebuild all ports for perl minor version update? From: Kevin Oberman To: Thomas Mueller Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD Ports ML X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Jun 2013 01:16:50 -0000 On Fri, Jun 14, 2013 at 3:12 AM, Thomas Mueller wrote: > from my priginal post: > > I see in the $PORTSDIR/UPDATING file that perl has been updated. > > perl5.16 has been updated from 5.16.2 to 5.16.3 . > > Since this is only (?) a minor-version update, why should it be necessary > to upgrade all ports that depend on perl? > > portmaster -r perl > > In that case, why didn't they go to perl 5.18? > > Since so many ports depend on perl, and png too, maybe they should have > updated perl and png (to 1.6.x) at the same time, then two massive > portmaster or portupgrade runs could have been done together, as one even > bigger portmaster or portupgrade run? > > John Marino responded: > > > According to OpenBSD's Marc Espie on a pkgsrc list, a lot of > > established scripts will break on perl 5.18. Apparently it is not > > highly backwards compatible. > > > A large % of the perl packages would cease to build if they just moved > > to 5.18. A minor upgrade is definitely better. > > But then why must all FreeBSD ports that depend on perl be rebuilt for a > minor-version upgrade, 5.16.2 to 5.16.3? > > Tom > They don't really need to be re-built, but it is the safest way to go. I never go that way as he risk is EXTREMELY low and the time savings are HUGE. I just posted a much quicker way in the thread on Broken SNMP::Info. Start with "portmaster p5-". Then go check on the remaining files (not directories) under /usr/local/lib/perl5/site_perl/OLD_PERL_VERSION and re-build the ports that installed them (pkg_info -W FILENAME to find them). Also, the changes to the perl ports were for the exact purpose of eliminating the future need to do these rebuilds for minor version updates. -- R. Kevin Oberman, Network Engineer E-mail: rkoberman@gmail.com