Re: [HEADSUP] Default Perl changed to 5.24.
On 2016-11-05 15:33, tech-lists wrote: On 05/11/2016 14:18, Tijl Coosemans wrote: It's probably caused by pkg not copying hardlinks: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213255 What version of pkg are we using? Mine is 1.9.3 My problems were because of 1.8.7. With 1.9.3 (and 1.9.1) everything seems fine. ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: [HEADSUP] Default Perl changed to 5.24.
On 2016-11-05 15:18, Tijl Coosemans wrote: It's probably caused by pkg not copying hardlinks: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213255 Hi, Wonderful! This is exactly my problem. Using pkg add installs all the files. Thanks a lot. Regards, Piotr ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: [HEADSUP] Default Perl changed to 5.24.
On 2016-11-05 14:51, tech-lists wrote: Everything? Could you try any other port that creates links? Are links created? By "links" do you mean "installed usable links into /usr/local/bin" then yes. A little earlier today I built and installed libreoffice from ports, without issue. $ ls -lah libre* lrwxr-xr-x 1 root wheel42B 5 Nov 12:53 libreoffice@ -> /usr/local/lib/libreoffice/program/soffice Lucky you :-) I have got a problem with hard links. Like the ones created by perl: -rwxr-xr-x 3 root wheel 7536 Aug 19 18:55 perl -rwxr-xr-x 3 root wheel 7536 Aug 19 18:55 perl5 -rwxr-xr-x 3 root wheel 7536 Aug 19 18:55 perl5.20.3 Only perl is created, perl5 and perl5.20.3 not. I noticed the same with freeze. Only fcat is created under /usr/local/bin. There should be 3 hard links too. Postfix caused me some problems too. For example qmgr (hard link again) was missing under /usr/local/libexec/postfix. ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: [HEADSUP] Default Perl changed to 5.24.
On 2016-11-05 10:58, tech-lists wrote: It looks like the same problem I encountered with 5.20 under 10.3 (just one box). Links are not created during port building (with other than perl too). With perl, two links are missing under /usr/local/bin. Creating them manually allows for a successful building of a port that depends on perl. I fixed my problem by doing this, in /usr/local/bin : ln -s ./perl /usr/local/bin/perl5.24.1 and then running: portupgrade -f `pkg shlib -qR libperl.so.5.20` I think maybe the problem you had was a little different because in my case, portupgrade could not update any port until that symlink was added, so the "make install" phase was never reached. Instead of calling perl, it looks for /usr/local/bin/perl5.24.1 which of course didn't exist. Also, in my case, the bin/perl updated link *was* created[1] following the instructions in UPDATING, just not the bin/perl5.24.1 link. Previously: ===> p5-NetAddr-IP-4.078 depends on package: perl5>=5.24<5.25 - found ===> Configuring for p5-NetAddr-IP-4.078 env: /usr/local/bin/perl5.24.1: No such file or directory *** Error code 127 Stop. make: stopped in /storage/usr/ports/net-mgmt/p5-NetAddr-IP It looks the same. I have created the link and every perl port could build. The problem is not only perl does not create links. Now everything builds. Everything? Could you try any other port that creates links? Are links created? ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: [HEADSUP] Default Perl changed to 5.24.
On 2016-11-05 00:00, tech-lists wrote: On 04/11/2016 22:58, tech-lists wrote: On 03/11/2016 15:00, Mathieu Arnold wrote: I followed the instructions in /usr/ports/UPDATING for portupgrade. I have found that numerous ports will not build: edit: the error I get now when I try to rebuild an affected port singly is: ===> p5-Socket-2.021 depends on package: perl5>=5.24<5.25 - found ===> Configuring for p5-Socket-2.021 env: /usr/local/bin/perl5.24.1: No such file or directory *** Error code 127 Stop. make: stopped in /storage/usr/ports/net/p5-Socket Hi, It looks like the same problem I encountered with 5.20 under 10.3 (just one box). Links are not created during port building (with other than perl too). With perl, two links are missing under /usr/local/bin. Creating them manually allows for a successful building of a port that depends on perl. If you can, look at my post from October 23rd (links not created by make install). Regards, Piotr ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
links not created by make install
Hi All, Tell me where / how to diagnose the error please. I have got a system upgraded from 10.1. Problems started with rebuilding ports depending on perl. bin/perl5 and bin/perl5.20.3 were missing. It looks like port building does not create links (after perl the same was with postfix, freeze). Regular files are OK. Freeze is a simple port, best to investigate. Everything looks good at first: tar tvf work/pkg/freeze-2.5_2.txz ... /usr/local/bin/fcat ... /usr/local/bin/freeze link to /usr/local/bin/fcat [...] ls -l work/stage/usr/local/bin -r-xr-xr-x 4 root wheel 22912 Oct 23 17:30 fcat -r-xr-xr-x 4 root wheel 22912 Oct 23 17:30 freeze [...] cat work/.PLIST.flattened /usr/local/bin/fcat /usr/local/bin/freeze [...] However there are no freeze and unfreeze under bin after make install. Only fcat is in /usr/local/bin. While playing with the port I receive errors when deinstalling tries to remove links: [smtpin.ibles.waw.pl] [1/1] Deleting files for freeze-2.5_2: 9% freeze-2.5_2: missing file /usr/local/bin/freeze [...] I cannot find what is going wrong when installing (even with -d flags). How should I debug this? Where and how to look for a cause of this problem? Regards, Piotr ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"