Bug 238045

Summary: devel/ccache: portmaster fails to update when CCACHE enable
Product: Ports & Packages Reporter: korsani
Component: Individual Port(s)Assignee: Bryan Drewery <bdrewery>
Status: Closed FIXED    
Severity: Affects Only Me CC: se
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
See Also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237979

Description korsani 2019-05-22 08:36:30 UTC
Hi,
When I use :
portmaster -avD -P -bg

I have :
make: "/usr/ports/devel/ccache/Makefile" line 90: MAINTAINER NOTE: Cannot have any BUILD_DEPENDS for default ccache packages

It begins 2 days ago.

I have this in my make.conf

WITH_CCACHE_BUILD=yes

But portmaster works if I comment the above line.
Comment 1 korsani 2019-05-23 09:28:19 UTC
It fails to compile too :


# portmaster security/libressl sysutils/lsof devel/binutils net/openntpd

===>>> Working on:
        security/libressl
        sysutils/lsof
        devel/binutils
        net/openntpd


===>>> security/libressl 1/4
===>>> Gathering distinfo list for installed ports


===>>> Currently installed version: libressl-2.9.1
===>>> Port directory: /usr/ports/security/libressl

===>>> Launching 'make checksum' for security/libressl in background
===>>> Gathering dependency list for security/libressl from ports
make: "/usr/ports/devel/ccache/Makefile" line 90: MAINTAINER NOTE: Cannot have any BUILD_DEPENDS for default ccache packages
make: "/usr/ports/devel/ccache/Makefile" line 90: MAINTAINER NOTE: Cannot have any BUILD_DEPENDS for default ccache packages

===>>> Is /usr/ports/devel/ccache/Makefile missing?
===>>> Aborting update

===>>> Update for security/libressl failed
===>>> Aborting update
Comment 2 Bryan Drewery freebsd_committer freebsd_triage 2019-06-10 22:48:30 UTC
Can you please change devel/ccache/Makefile .error line to this:
    .error MAINTAINER NOTE: Cannot have any BUILD_DEPENDS for default ccache packages: ${BUILD_DEPENDS}

Then let me know what the new error says. I am not sure why any
BUILD_DEPENDS would be set here.
Comment 3 korsani 2019-06-10 22:53:42 UTC
Hi, 

Here is the result :

===>>> ccache-3.5.dev.20180926_1
make: "/usr/ports/devel/ccache/Makefile" line 90: MAINTAINER NOTE: Cannot have any BUILD_DEPENDS for default ccache packages: /usr/local/bin/a2x:textproc/asciidoc autoconf>=2.69:devel/autoconf  automake>=1.16.1:devel/automake gmake:devel/gmake pkgconf>=1.3.0_1:devel/pkgconf
make: "/usr/ports/devel/ccache/Makefile" line 90: MAINTAINER NOTE: Cannot have any BUILD_DEPENDS for default ccache packages: /usr/local/bin/a2x:textproc/asciidoc autoconf>=2.69:devel/autoconf  automake>=1.16.1:devel/automake gmake:devel/gmake pkgconf>=1.3.0_1:devel/pkgconf

===>>> Is /usr/ports/devel/ccache/Makefile missing?
===>>> Aborting update
Comment 4 Bryan Drewery freebsd_committer freebsd_triage 2019-06-10 23:27:56 UTC
How about the output from this?
   make -C /usr/ports/devel/ccache -V IGNORE
Comment 5 Bryan Drewery freebsd_committer freebsd_triage 2019-06-10 23:28:17 UTC
You might need to remove the .error to see the IGNORE output.
Comment 6 korsani 2019-06-11 09:10:47 UTC
Hi,

I commented the .error line:

[root@corum(0):~/](0)# make -C /usr/ports/devel/ccache -V IGNORE
MEMCACHED cannot be combined with WITH_CCACHE_BUILD.  Use devel/ccache-memcached
[root@corum(0):~/](0)# make -C /usr/ports/devel/ccache-memcached -V IGNORE                                                                                               

[root@corum(0):~/](0)#
Comment 7 Bryan Drewery freebsd_committer freebsd_triage 2019-06-13 22:14:18 UTC
I removed this error
Comment 8 commit-hook freebsd_committer freebsd_triage 2019-06-13 22:14:23 UTC
A commit references this bug:

Author: bdrewery
Date: Thu Jun 13 22:14:10 UTC 2019
New revision: 504139
URL: https://svnweb.freebsd.org/changeset/ports/504139

Log:
  Remove the .error as it is causing unintended side effects.

  PR:		238045

Changes:
  head/devel/ccache/Makefile