Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Jan 2013 22:26:40 +0100
From:      =?ISO-8859-1?Q?Ren=E9_Ladan?= <rene@freebsd.org>
To:        Evan Martin <evan@chromium.org>
Cc:        Volodymyr Kostyrko <c.kworr@gmail.com>, freebsd-chromium@freebsd.org
Subject:   Re: www/chromium fails to build on current stable
Message-ID:  <5101A710.6060606@freebsd.org>
In-Reply-To: <CAFzwtj1rGtcGaVZCyVPXFtRvc92FJKjbk4ZMWpfHZ3Keeo4C6w@mail.gmail.com>
References:  <510029B6.2070106@gmail.com> <CAFzwtj1rGtcGaVZCyVPXFtRvc92FJKjbk4ZMWpfHZ3Keeo4C6w@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
We have CFLAGS += -Wo-error in the port Makefile.

On 24-01-2013 18:45, Evan Martin wrote:
> Not sure if this helps any, but I do know that the Chromium Makefiles
> default to adding -Werror itself, which you must disable with a
> build-time flag.
> 
> Search for "werror" on
> https://code.google.com/p/chromium/wiki/LinuxBuildInstructions
> 
> On Wed, Jan 23, 2013 at 10:19 AM, Volodymyr Kostyrko <c.kworr@gmail.com> 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,
>>                       ^
>> /usr/local/include/gcrypt.h:1358:2: error: 'gcry_ac_data_write_cb_t' is
>> deprecated [-Werror,-Wdeprecated-declarations]
>>         gcry_ac_data_write_cb_t cb;
>>         ^
>> /usr/local/include/gcrypt.h:1314:23: note: 'gcry_ac_data_write_cb_t'
>> declared here
>> typedef gpg_error_t (*gcry_ac_data_write_cb_t) (void *opaque,
>>                       ^
>> /usr/local/include/gcrypt.h:1393:3: error: 'gcry_md_algo_t' is deprecated
>> [-Werror,-Wdeprecated-declarations]
>>   gcry_md_algo_t md;
>>   ^
>> /usr/local/include/gcrypt.h:1387:28: note: 'gcry_md_algo_t' declared here
>> typedef enum gcry_md_algos gcry_md_algo_t _GCRY_ATTR_INTERNAL;
>>                            ^
>> /usr/local/include/gcrypt.h:1401:3: error: 'gcry_md_algo_t' is deprecated
>> [-Werror,-Wdeprecated-declarations]
>>   gcry_md_algo_t md;
>>   ^
>> /usr/local/include/gcrypt.h:1387:28: note: 'gcry_md_algo_t' declared here
>> typedef enum gcry_md_algos gcry_md_algo_t _GCRY_ATTR_INTERNAL;
>>                            ^
>> 4 errors generated.
>>
>> Or with:
>>
>>   CXX(target) out/Release/obj.target/net/net/http/http_auth_gssapi_posix.o
>> In file included from ./net/http/http_auth_gssapi_posix.h:8:0,
>>                  from net/http/http_auth_gssapi_posix.cc:5:
>> /usr/include/gssapi.h:3:2: error: #warning "this file includes <gssapi.h>
>> which is deprecated, use <gssapi/gssapi.h> instead" [-Werror=cpp]
>> cc1plus: all warnings being treated as errors
>>
>> clang32, lang/gcc, current 9-STABLE.
>>
>> --
>> Sphinx of black quartz, judge my vow.
>> _______________________________________________
>> freebsd-chromium@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-chromium
>> To unsubscribe, send any mail to "freebsd-chromium-unsubscribe@freebsd.org"
> _______________________________________________
> freebsd-chromium@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-chromium
> To unsubscribe, send any mail to "freebsd-chromium-unsubscribe@freebsd.org"
> 




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