[Bug 234099] sysutils/fusefs-webdavfs: Optimize build with poudriere and ccache to avoid runaway processes

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Dec 17 14:24:50 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234099

            Bug ID: 234099
           Summary: sysutils/fusefs-webdavfs: Optimize build with
                    poudriere and ccache to avoid runaway processes
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: eugen at freebsd.org
          Reporter: freebsd_ports at k-worx.org
                CC: eugen at freebsd.org
          Assignee: eugen at freebsd.org
             Flags: maintainer-feedback?(eugen at freebsd.org)
 Attachment #200196 maintainer-approval?(eugen at freebsd.org)
             Flags:
                CC: eugen at freebsd.org

Created attachment 200196
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=200196&action=edit
fusefs-webdavfs-optimize-build-with-poudriere-and-ccache.patch

Hello,

attached is a patch that optimizes the build of sysutils/fusefs-webdavfs when
poudriere is used together with ccache.

Problem description:
~~~~~~~~~~~~~~~~~~~~
When poudriere is used with ccache the directory of ccache is mounted by
default as .ccache in ${WRKDIR}.

If the cache is very large and contains many small files the build of
sysutils/fusefs-webdavfs may fail in the patch stage because the 'grep -Flr'
command dives also into ${WRKDIR}/.ccache and thus takes too much time to
finish.


The attached patch remedies the problem by searching/editing only '*.go' source
files in ${WRKDIR}. This also decreases the overall build time.

QA:
~~~
- poudriere (11.2-RELEASE amd64) -> OK

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list