Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 May 2013 11:14:43 +0200
From:      =?UTF-8?B?UmVuw6kgTGFkYW4=?= <rene@freebsd.org>
To:        Volodymyr Kostyrko <c.kworr@gmail.com>
Cc:        chromium@freebsd.org
Subject:   Re: [CFT] chromium 27 (updated)
Message-ID:  <5194A383.4030801@freebsd.org>
In-Reply-To: <51949867.1070601@gmail.com>
References:  <51926BC3.3070809@freebsd.org> <51949867.1070601@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 16-05-2013 10:27, Volodymyr Kostyrko wrote:
> 
> 
> 14.05.2013 19:52, René Ladan:
>> Hi,
>>
>> I have uploaded a new version of the patch at
>> ftp://rene-ladan.nl/pub/freebsd/chromium-27.diff
>> SHA256 = acc3416b7a3271143b4b6c1fa9d094cd6a24774f9c225ab7003bd289799e1722
>>
>> This updates chromium to 27.0.1453.81 and incorporates the npapi (flash)
>> and some other fixes.
>>
>> I tested it to compile succesfully on FreeBSD 8.4 with the GCC46 option.
>>
>> I intend to commit this soon.
> 
> Can I chime in?
> 
>> uname -a
> FreeBSD ar1l0u 9.1-STABLE FreeBSD 9.1-STABLE #13 r250591M: Mon May 13
> 10:31:21 EEST 2013     arcade@ar1l0u:/usr/obj/usr/src/sys/MINIMAL  amd64
> 
> WITH_LIBCPLUSPLUS, WITH_CLANG_IS_CC
> 
>> clang -v
> FreeBSD clang version 3.2 (tags/RELEASE_32/final 170710) 20121221
> Target: x86_64-unknown-freebsd9.1
> Thread model: posix
> 
> Compilation fails with:
> 
>   CXX(target) out/Release/obj.target/gio/geni/libgio_loader.o
> In file included from printing/backend/print_backend_cups.cc:16:
> /usr/local/include/gcrypt.h:1353: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:1318: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:1367: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:1323: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:1402:3: error: 'gcry_md_algo_t' is
> deprecated [-Werror,-Wdeprecated-declarations]
>   gcry_md_algo_t md;
>   ^
> /usr/local/include/gcrypt.h:1396: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:1410:3: error: 'gcry_md_algo_t' is
> deprecated [-Werror,-Wdeprecated-declarations]
>   gcry_md_algo_t md;
>   ^
> /usr/local/include/gcrypt.h:1396:28: note: 'gcry_md_algo_t' declared here
> typedef enum gcry_md_algos gcry_md_algo_t _GCRY_ATTR_INTERNAL;
>                            ^
> 4 errors generated.
> 
> Building with gcc4.6 in turn gives:
> 
>   CXX(target) out/Release/obj.target/net/net/http/http_auth_handler.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
> 
It looks like you somehow modify CFLAGS yourself (in /etc/make.conf ?),
the port adds -Wno-error to it to not treat warning as errors.
Building/running with WITH_LIBCPLUSPLUS is not tested yet, it would be
interesting to read about the results.

René



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