Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Nov 2017 01:26:46 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 223658] Sunlnk in the ports/distfiles directory will fail during make clean
Message-ID:  <bug-223658-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D223658

            Bug ID: 223658
           Summary: Sunlnk in the ports/distfiles directory will fail
                    during make clean
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Ports Framework
          Assignee: portmgr@FreeBSD.org
          Reporter: takefu@airport.fm
                CC: freebsd-ports-bugs@FreeBSD.org

Created attachment 187982
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D187982&action=
=3Dedit
patch-Mk_bsd.port.mk.patch

Sunlnk in the ports/distfiles directory will fail during make clean
This is a rare case.
Add writing ' '-f nosunlnk ' ' to/usr/ports/mk/bsd.port.mk install_script to
settle.

In the case of print/texinfo, it becomes the following.

# env LANG=3DC ls -ol /usr/ports/distfiles/texinfo/6.5/texi2dvi
-rw-r--r--  1 root  wheel  sunlnk 61668 Jul  5 17:58
/usr/ports/distfiles/texinfo/6.5/texi2dvi

# make clean
=3D=3D=3D>  Cleaning for texinfo-6.5,1
rm: /usr/ports/print/texinfo/work/texinfo-6.5/util/texi2dvi: Operation not
permitted
rm: /usr/ports/print/texinfo/work/texinfo-6.5/util: Directory not empty
rm: /usr/ports/print/texinfo/work/texinfo-6.5: Directory not empty
rm: /usr/ports/print/texinfo/work/stage/usr/local/bin/texi2dvi: Operation n=
ot
permitted
rm: /usr/ports/print/texinfo/work/stage/usr/local/bin: Directory not empty
rm: /usr/ports/print/texinfo/work/stage/usr/local/share/texinfo/htmlxref.cn=
f:
Operation not permitted
rm: /usr/ports/print/texinfo/work/stage/usr/local/share/texinfo: Directory =
not
empty
rm: /usr/ports/print/texinfo/work/stage/usr/local/share: Directory not empty
rm: /usr/ports/print/texinfo/work/stage/usr/local: Directory not empty
rm: /usr/ports/print/texinfo/work/stage/usr: Directory not empty
rm: /usr/ports/print/texinfo/work/stage: Directory not empty
rm: /usr/ports/print/texinfo/work: Directory not empty
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/print/texinfo
*** Error code 1

Stop.
make: stopped in /usr/ports/print/texinfo

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-223658-13>