www/chromium fails to build on current stable
Volodymyr Kostyrko
c.kworr at gmail.com
Thu Jan 24 11:22:17 UTC 2013
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.
More information about the freebsd-chromium
mailing list