Bug 219508

Summary: net/samba: Registering installation samba46-4.6.4 failure: No such file or directory
Product: Ports & Packages Reporter: O. Hartmann <ohartmann>
Component: Individual Port(s)Assignee: freebsd-ports-bugs mailing list <ports-bugs>
Status: Closed FIXED    
Severity: Affects Many People CC: mg
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description O. Hartmann 2017-05-24 16:54:12 UTC
On CURRENT (12.0-CURRENT #3 r318789: Wed May 24 18:03:48 CEST 2017 amd64), port net/samba46 fails to install due to missing files as shown below:

[...]
===>   Registering installation for samba46-4.6.4
pkg-static: Unable to access file /usr/ports/net/samba46/work/stage/usr/local/man/man1/pidl.1.gz:No such file or directory
pkg-static: Unable to access file /usr/ports/net/samba46/work/stage/usr/local/man/man3/Parse::Pidl::Dump.3.gz:No such file or directory
pkg-static: Unable to access file /usr/ports/net/samba46/work/stage/usr/local/man/man3/Parse::Pidl::NDR.3.gz:No such file or directory
pkg-static: Unable to access file /usr/ports/net/samba46/work/stage/usr/local/man/man3/Parse::Pidl::Util.3.gz:No such file or directory
pkg-static: Unable to access file /usr/ports/net/samba46/work/stage/usr/local/man/man3/Parse::Pidl::Wireshark::Conformance.3.gz:No such file or directory
pkg-static: Unable to access file /usr/ports/net/samba46/work/stage/usr/local/man/man3/Parse::Pidl::Wireshark::NDR.3.gz:No such file or directory
*** Error code 74
Comment 1 O. Hartmann 2017-05-24 19:47:27 UTC
Problem is due to ino64 fallout in perl. Recompiling (forced!) of perl and p5-* ports (deleting and reinstalling them when make is used, rebuild via poudriere and reinstallation with pkg) solves the problem!
Comment 2 Marcin Gryszkalis 2018-12-05 20:24:40 UTC
quick workaround - touch missing files and redo make install

# touch /usr/ports/net/samba48/work/stage/usr/local/man/man1/pidl.1.gz
/usr/ports/net/samba48/work/stage/usr/local/man/man3/Parse::Pidl::Dump.3.gz /usr/ports/net/samba48/work/stage/usr/local/man/man3/Parse::Pidl::NDR.3.gz /usr/ports/net/samba48/work/stage/usr/local/man/man3/Parse::Pidl::Util.3.gz /usr/ports/net/samba48/work/stage/usr/local/man/man3/Parse::Pidl::Wireshark::Conformance.3.gz /usr/ports/net/samba48/work/stage/usr/local/man/man3/Parse::Pidl::Wireshark::NDR.3.gz