perl port updates

Adam Weinberger adamw at adamw.org
Sat Aug 24 20:05:10 UTC 2019


> On Aug 24, 2019, at 13:53, Kevin Oberman <rkoberman at gmail.com> wrote:
> 
> Will do.  I was unaware of the "se@"address or I would have. I did complain about this a few years ago on the ports@ list and I never got a response.
> 
> I you use '-f' in portmaster, it will rebuild all ports that use the library directly and any port that uses that port all the way up the tree. It's only when something rather disastrous happens that you need or want to use '-f'. Very few ports actually make use of the shareable library. Most are simply calling the perl interpreter and the perl executable which will use the shareable, but those programs don't link to it. In fact, very few 'p5-' programs do, either. The exceptions are the very few that include C code (a lot do) that call into the libperl.so (fairly uncommon)m and the "pkg shlib" does a very nice job of finding these.

Perhaps the instructions could say that most installations can run portmaster, but if anything stops working (or to be on the safe side) to run portmaster -f.

UPDATING instructions are usually written as one-size-fits-all, but this might be a case where some latitude reduces workload.

Stefan, can you shed some insight here? I’m not current on portmaster’s modern-day behaviour.

# Adam


—
Adam Weinberger
adamw at adamw.org
https://www.adamw.org

> 
>> On Fri, Aug 23, 2019 at 5:10 AM Adam Weinberger <adamw at adamw.org> wrote:
>> On Fri, Aug 23, 2019 at 12:25 AM Kevin Oberman <rkoberman at gmail.com> wrote:
>> >
>> > On Thu, Aug 22, 2019 at 4:56 PM Paul Macdonald via freebsd-ports <
>> > freebsd-ports at freebsd.org> wrote:
>> >
>> > >
>> > > I wonder if i'm not alone in wishing the perl maintainer would update
>> > > UPDATING with the actual up to date commands to do an upgrade,  instead
>> > > of referring to an entry from many moons ago
>> > >
>> > > I'm not lazy, but if it was done once, this would actually save effort
>> > > for 100 boxes for me,   and i suspect save effort for 10's of thousands
>> > > of people ( and avoid easy to make mistakes)
>> > >
>> > > Please take the time to make UPDATING correct ( and actually up to date)
>> > > , it'll save many man hours!
>> > >
>> > > ( i do appreciate their time is valuable too, but there is a
>> > > multiplication effect)
>> > >
>> > >
>> > > sincere thanks
>> > >
>> > > Paul.
>> > >
>> >
>> > It's also annoying that, if I followed the instructions in hte 3 year old
>> > entry, I would have re-installed about 400 ports which would have taken
>> > several hours. By removing the "-f" from the portmaster command reduced the
>> > re-build to about 40 ports, most small p5- ports requiring less than a
>> > minute each. Whole process took under an hour... likely about 15 minutes.
>> > No idea why the portmaster command includes it. portmaster is smart enough
>> > to figure it out correctly and not re-install a bunch of ports that don't
>> > need it.
>> 
>> Nearly all committers use poudriere, so we rely on your input for
>> legacy tool instructions. If the commands should be different, please
>> run it through se at FreeBSD.org (the portmaster maintainer) and give us
>> the correct commands.
>> 
>> # Adam
>> 
>> 
>> -- 
>> Adam Weinberger
>> adamw at adamw.org
>> https://www.adamw.org


More information about the freebsd-ports mailing list