Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Jan 2013 13:22:12 +0200
From:      Volodymyr Kostyrko <c.kworr@gmail.com>
To:        =?UTF-8?B?UmVuw6kgTGFkYW4=?= <rene@freebsd.org>
Cc:        freebsd-chromium@freebsd.org
Subject:   Re: www/chromium fails to build on current stable
Message-ID:  <51011964.5080601@gmail.com>
In-Reply-To: <51010153.7040908@freebsd.org>
References:  <510029B6.2070106@gmail.com> <51010153.7040908@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
24.01.2013 11:39, René Ladan:
> On 23-01-2013 19:19, Volodymyr Kostyrko wrote:
>> Hi all.
>>
>> I have no luck updating chromium. The build fails with:
>>
>>    CXX(target)
>> out/Release/obj.target/printing/printing/printing_context_gtk.o
>> In file included from printing/backend/print_backend_cups.cc:16:
>> /usr/local/include/gcrypt.h:1344:2: error: 'gcry_ac_data_read_cb_t' is
>> deprecated [-Werror,-Wdeprecated-declarations]
>>          gcry_ac_data_read_cb_t cb;
>>          ^
>> /usr/local/include/gcrypt.h:1309:23: note: 'gcry_ac_data_read_cb_t'
>> declared here
>> typedef gpg_error_t (*gcry_ac_data_read_cb_t) (void *opaque,
>>                        ^
>
> [...]
>
> Do you happen to have -Werror defined somewhere (e.g. in
> /etc/make.conf)?  The build does produce some warnings (see [1], big):

The quoted sample was taken from clang, without codecs. As far as I 
recall clang defaults to -Werror.

I fixed my previous problem with gssapi by changing include path in 
net/http/http_auth_gssapi_posix.h, but now I get:

   CXX(target) out/Release/obj.target/browser/base/prefs/pref_value_map.o
chrome/test/perf/perf_test.cc: In function 'std::string 
perf_test::MemoryUsageInfoToString(const string&, const 
ChromeProcessList&, base::ProcessId)':
chrome/test/perf/perf_test.cc:290:10: error: variable 
'browser_virtual_size' set but not used [-Werror=unused-but-set-variable]
chrome/test/perf/perf_test.cc:291:10: error: variable 
'browser_working_set_size' set but not used 
[-Werror=unused-but-set-variable]
cc1plus: all warnings being treated as errors

And if I remove them I get:

   CXX(target) 
out/Release/obj.target/browser/chrome/browser/history/history_extension_api.o
chrome/test/perf/perf_test.cc: In function 'std::string 
perf_test::MemoryUsageInfoToString(const string&, const 
ChromeProcessList&, base::ProcessId)':
chrome/test/perf/perf_test.cc:322:7: error: 'browser_virtual_size' was 
not declared in this scope
chrome/test/perf/perf_test.cc:323:7: error: 'browser_working_set_size' 
was not declared in this scope

I hadn't specified WERROR anywhere and I have nothing about /ERROR/ in 
my env.

-- 
Sphinx of black quartz, judge my vow.



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