Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Dec 2018 14:24:47 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 234099] sysutils/fusefs-webdavfs: Optimize build with poudriere and ccache to avoid runaway processes
Message-ID:  <bug-234099-7788@https.bugs.freebsd.org/bugzilla/>

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

            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@freebsd.org
          Reporter: freebsd_ports@k-worx.org
                CC: eugen@freebsd.org
          Assignee: eugen@freebsd.org
             Flags: maintainer-feedback?(eugen@freebsd.org)
 Attachment #200196 maintainer-approval?(eugen@freebsd.org)
             Flags:
                CC: eugen@freebsd.org

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

Hello,

attached is a patch that optimizes the build of sysutils/fusefs-webdavfs wh=
en
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' so=
urce
files in ${WRKDIR}. This also decreases the overall build time.

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

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



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