links not created by make install

Baptiste Daroussin bapt at FreeBSD.org
Sun Oct 23 18:41:53 UTC 2016


On Sun, Oct 23, 2016 at 08:15:34PM +0200, Piotr Szafarczyk wrote:
> 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?

I have just tried with the current freeze pkg and I cannot reproduce, everything
work fine: hardlinks are properly created and all the files are properly removed
with pkg delete.

Best regards,
Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20161023/3796d4ac/attachment.sig>


More information about the freebsd-ports mailing list