Re: links not created by make install

2016-10-23 Thread Baptiste Daroussin
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


signature.asc
Description: PGP signature


links not created by make install

2016-10-23 Thread Piotr Szafarczyk

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"