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 1 root wheel 7592 Feb 2 02:43 /usr/local/bin/perl* -rwxr-xr-x 1 root wheel 8328 Dec 3 02:30 /usr/local/bin/perl.pkgsave* lrwxr-xr-x 1 root wheel 25 Feb 9 22:58 /usr/local/bin/perl5.32.0@ -> /usr/local/bin/perl5.32.1 lrwxr-xr-x 1 root wheel 4 Dec 3 02:30 /usr/local/bin/perl5.32.0.pkgsave@ -> perl lrwxr-xr-x 1 root wheel 4 Feb 2 02:43 /usr/local/bin/perl5.32.1@ -> perl -rwxr-xr-x 2 root wheel 45270 Feb 2 02:43 /usr/local/bin/perlbug* -rwxr-xr-x 2 root wheel 45270 Dec 3 02:30 /usr/local/bin/perlbug.pkgsave* -rwxr-xr-x 1 root wheel 274 Feb 2 02:43 /usr/local/bin/perldoc* -rwxr-xr-x 1 root wheel 274 Dec 3 02:30 /usr/local/bin/perldoc.pkgsave* -rwxr-xr-x 1 root wheel 10831 Feb 2 02:43 /usr/local/bin/perlivp* -rwxr-xr-x 1 root wheel 10831 Dec 3 02:30 /usr/local/bin/perlivp.pkgsave* lrwxr-xr-x 1 root wheel 46 Jan 14 07:37 /usr/local/bin/perltex@ -> ../share/texmf-dist/scripts/perltex/perltex.pl -rwxr-xr-x 2 root wheel 45270 Feb 2 02:43 /usr/local/bin/perlthanks* -rwxr-xr-x 2 root wheel 45270 Dec 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 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>
