Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Feb 2021 10:38:27 +0100
From:      Per Gunnarsson <mustafejen@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   pkg/ports mixup
Message-ID:  <7feeb08c-09bd-5246-996d-11e9a18a5457@gmail.com>

next in thread | raw e-mail | index | archive | help
Hello!

This was originally intended as a problem report.

textproc/p5-XML-Parser configure error (could be pkg/ports mixup of
lang/perl5.32)

When trying to compile pulseaudio, configure complained about not finding=

the perl version in the hashbang.

This happened after first doing a package upgrade, updating the ports
tree and trying to build the port.

I worked around it bu adding a link:

usr/local/bin/perl5.32.0@ -> /usr/local/bin/perl5.32.1



[per@konjak /usr/ports/audio/pulseaudio]$ dir /usr/local/bin/perl*
-rwxr-xr-x=C2=A0 1 root=C2=A0 wheel=C2=A0=C2=A0 7592 Feb=C2=A0 2 02:43 /u=
sr/local/bin/perl*
-rwxr-xr-x=C2=A0 1 root=C2=A0 wheel=C2=A0=C2=A0 8328 Dec=C2=A0 3 02:30 /u=
sr/local/bin/perl.pkgsave*
lrwxr-xr-x=C2=A0 1 root=C2=A0 wheel=C2=A0=C2=A0=C2=A0=C2=A0 25 Feb=C2=A0 =
9 22:58 /usr/local/bin/perl5.32.0@
-> /usr/local/bin/perl5.32.1
lrwxr-xr-x=C2=A0 1 root=C2=A0 wheel=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 4 Dec=C2=
=A0 3 02:30
/usr/local/bin/perl5.32.0.pkgsave@ -> perl
lrwxr-xr-x=C2=A0 1 root=C2=A0 wheel=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 4 Feb=C2=
=A0 2 02:43 /usr/local/bin/perl5.32.1@
-> perl
-rwxr-xr-x=C2=A0 2 root=C2=A0 wheel=C2=A0 45270 Feb=C2=A0 2 02:43 /usr/lo=
cal/bin/perlbug*
-rwxr-xr-x=C2=A0 2 root=C2=A0 wheel=C2=A0 45270 Dec=C2=A0 3 02:30
/usr/local/bin/perlbug.pkgsave*
-rwxr-xr-x=C2=A0 1 root=C2=A0 wheel=C2=A0=C2=A0=C2=A0 274 Feb=C2=A0 2 02:=
43 /usr/local/bin/perldoc*
-rwxr-xr-x=C2=A0 1 root=C2=A0 wheel=C2=A0=C2=A0=C2=A0 274 Dec=C2=A0 3 02:=
30
/usr/local/bin/perldoc.pkgsave*
-rwxr-xr-x=C2=A0 1 root=C2=A0 wheel=C2=A0 10831 Feb=C2=A0 2 02:43 /usr/lo=
cal/bin/perlivp*
-rwxr-xr-x=C2=A0 1 root=C2=A0 wheel=C2=A0 10831 Dec=C2=A0 3 02:30
/usr/local/bin/perlivp.pkgsave*
lrwxr-xr-x=C2=A0 1 root=C2=A0 wheel=C2=A0=C2=A0=C2=A0=C2=A0 46 Jan 14 07:=
37 /usr/local/bin/perltex@ ->
=2E./share/texmf-dist/scripts/perltex/perltex.pl
-rwxr-xr-x=C2=A0 2 root=C2=A0 wheel=C2=A0 45270 Feb=C2=A0 2 02:43 /usr/lo=
cal/bin/perlthanks*
-rwxr-xr-x=C2=A0 2 root=C2=A0 wheel=C2=A0 45270 Dec=C2=A0 3 02:30
/usr/local/bin/perlthanks.pkgsave*

Now I wonder if pkg installs another version of perl than ports.

I have read somewhere that it's either ports or packages, but in case
one is running a FreeBSD desktop
there is a lot less to compile if one first do a pkg upgrade, then
update the ports tree and build ports with changed configurations.

This happened on:
FreeBSD konjak 13.0-CURRENT FreeBSD 13.0-CURRENT #3
main-c255545-g82397d791966: Tue Feb=C2=A0 9 03:16:56 CET 2021







Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7feeb08c-09bd-5246-996d-11e9a18a5457>