From owner-freebsd-perl@FreeBSD.ORG Sat Jun 22 09:12:44 2013 Return-Path: Delivered-To: perl@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 BEE222CC; Sat, 22 Jun 2013 09:12:44 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.friendlyhosting.spb.ru (onlyone.friendlyhosting.spb.ru [46.4.40.135]) by mx1.freebsd.org (Postfix) with ESMTP id 80586132A; Sat, 22 Jun 2013 09:12:44 +0000 (UTC) Received: from lion.home.serebryakov.spb.ru (unknown [IPv6:2001:470:923f:1:801e:eeec:4262:679f]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.friendlyhosting.spb.ru (Postfix) with ESMTPSA id DB9564AC58; Sat, 22 Jun 2013 13:12:41 +0400 (MSK) Date: Sat, 22 Jun 2013 13:12:34 +0400 From: Lev Serebryakov Organization: FreeBSD X-Priority: 3 (Normal) Message-ID: <607933663.20130622131234@serebryakov.spb.ru> To: freebsd-ports@freebsd.org Subject: Re: "portmaster -r perl" rebuild almost everything, including apache24, php53 etc. In-Reply-To: <51C5611D.2000807@passap.ru> References: <1306476328.20130621232328@serebryakov.spb.ru> <51C5611D.2000807@passap.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: perl@FreeBSD.org, Boris Samorodov , apache@FreeBSD.org X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: lev@FreeBSD.org List-Id: maintainer of a number of perl-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Jun 2013 09:12:44 -0000 Hello, Boris. You wrote 22 =D0=B8=D1=8E=D0=BD=D1=8F 2013 =D0=B3., 12:32:29: >> Is it ok? BS> Technically "portmaster -r perl" rebuild all that depends on perl. BS> So you get what you asked for. BS> Should almost whole ports be rebuilded at a minor perl upgrade is BS> another question. And I think that the most resent change in perl I'm surprised, that so many ports, which doesn't contain any perl code after build (like apache24 and php) depends on perl in runtime. Why? I understand, why all p5-* or nod_perl should be rebuild, but why php53 should!? For example, php53 doesn't contains perl dependency directly. Ok, it depend on apache24 in my configuration, let see at apache24. It has USE_PERL5=3Dyes. Let check, does it need it at runtime. % cd /usr/ports/www/apache24 % grep \\.pm pkg-plist % pkg info -lg apache\* | grep -E '/usr/local/(bin|sbin|lib|libexec)' | xar= gs ldd | grep perl ldd: /usr/local/libexec/apache22/httpd.exp: not a dynamic executable ldd: /usr/local/sbin/apachectl: not a dynamic executable ldd: /usr/local/sbin/apxs: not a dynamic executable ldd: /usr/local/sbin/dbmmanage: not a dynamic executable ldd: /usr/local/sbin/envvars: not a dynamic executable ldd: /usr/local/sbin/split-logfile: not a dynamic executable % grep perl /usr/local/sbin/apachectl /usr/local/sbin/apxs /usr/local/sbin/= dbmmanage /usr/local/sbin/envvars /usr/local/sbin/split-logfile /usr/local/sbin/apxs:#!/usr/bin/perl -w /usr/local/sbin/apxs: #= perl variable. /usr/local/sbin/dbmmanage:#!/usr/bin/perl /usr/local/sbin/dbmmanage:# http://www.perl.com/CPAN/modules/by-module/HTTP= D/HTTPD-Tools-x.xx.tar.gz /usr/local/sbin/split-logfile:#!/usr/bin/perl % Ok, apache24 need perl for its scripts and only for scripts, not for perl modules! Should we rebuild it on perl upgrade? I don't think so. Should we rebuild php53, which doesn't depends on these scripts, on perl upgrade? I'm sure, we shouldn't. Should we rebuild phpMyAdmin or Roundcube, pure-php software on perl upgrade!? IT IS MADNESS! --=20 // Black Lion AKA Lev Serebryakov = = = = +++