Created attachment 181677 [details] patch_handbrake-1.0.7 Patch for update handbrake-1.0.3_2 to 1.0.7 Tested on FreeBSD 10.3-RELEASE-p17 amd64
And you ignore the CCACHE error.....
(In reply to w.schwarzenfeld from comment #1) Try add to your /etc/make.conf: .if ${.CURDIR:M*/ports/multimedia/handbrake} NO_CCACHE=yes .endif
What I don't want is a long long /etc/make.conf.
(In reply to w.schwarzenfeld from comment #3) I agree with you, but I do not have your problem with ccache, and I can not repeat this error :(
Thanks for new PR. 'patch_handbrake-1.0.7' works fine on my 11.0R amd64. There is no problem for me.
(In reply to naito.yuichiro from comment #5) OK Thanks for test new patch!
I built the patch with ccache in following cases. All of them have been finished successfully. In my poudriere, I built on following FreeBSD versions and archs. (1) 11.0R amd64 (2) 11.0R i386 (3) 10.3R amd64 (4) 10.3R i386 Without poudriere, I built with following gcc versions and ccache. (5) gcc49 & ccache (6) gcc5 & ccache (7) gcc6 & ccache I have never seen ccache's error log. How about make a request to apply the patch to ports tree?
(In reply to naito.yuichiro from comment #7) Thanks for the work you've done!
Do it. It does not matter . I build it with NO_CCACHE=yes in /etc/make.conf. But I attach a screenlog from build.
Created attachment 181778 [details] screenlog_handbrake_port
(In reply to w.schwarzenfeld from comment #9) Please, show your /etc/make.conf ...
Created attachment 181779 [details] etc_make_conf_txt
(In reply to w.schwarzenfeld from comment #12) Why is this? Remove it!!! WITH_CCACHE_BUILD=yes Use only PATH, like: PATH=/usr/local/libexec/ccache:/sbin:/bin:/usr/sbin:/usr/bin … A try again ...
If I do this, it does not use ccache.
(In reply to w.schwarzenfeld from comment #14) Why? CCACHE will be used!
I don't know why. it is not be used without WITH_CCACHE:BUILD=yes.
(In reply to w.schwarzenfeld from comment #16) You do not understand the principle of ccache! Set the correct PATH variable!!!
Where? in /etc/make.conf. It is set in the shellrc.
How are your settings? In /etc/make.conf and the shellrc (does not matter which one).
(In reply to w.schwarzenfeld from comment #19) Before update to new version handbrake: 1. Rebuild ccache 2. Remove “WITH_CCACHE_BUILD=yes” 3. Set correct PATH for use ccache 4. Check your environment (/usr/local/libexec/ccache must be first!!!): # env | grep ^PATH PATH=/usr/local/libexec/ccache:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin If ALL correct, try build handbrake again …
(In reply to naito.yuichiro from comment #7) Naito, thanks for the patch (multimedia/handbrake/files/patch-version.txt ) for the 1.0.3 handbrake! You really MAINTAINER for this port! Take it for the support! Goog luck! ;)
Ok, that was a mean error. /usr/local/libexec/ccache was on the end of the PATH variable. Not on the begin. Yes, works thanks and sorry.
(In reply to w.schwarzenfeld from comment #22) No problem! Good luck! ;)
testbuilds are fine.
Committed, thanks!
A commit references this bug: Author: pi Date: Fri Apr 14 18:08:42 UTC 2017 New revision: 438531 URL: https://svnweb.freebsd.org/changeset/ports/438531 Log: multimedia/handbrake: update 1.0.3 -> 1.0.7 PR: 218558 Changes: https://github.com/HandBrake/HandBrake/releases Submitted by: Vladimir Omelchuk <admin@vladiom.com.ua> Reviewed by: naito.yuichiro@gmail.com Changes: head/multimedia/handbrake/Makefile head/multimedia/handbrake/distinfo head/multimedia/handbrake/files/patch-version.txt
(In reply to Kurt Jaeger from comment #25) Kurt, thanks for the update port! Good luck!