Re: Default Boost Versions for "R", may have to be 1.50

2012-10-31 Thread Dmitrijs Ledkovs
On 27 October 2012 00:12, Dmitrijs Ledkovs  wrote:
> On 17 October 2012 17:51, Scott Kitterman  wrote:
>> We had a bit of a discussion about this on #ubuntu-motu yesterday and, among
>> those discussing it (who are the ones who usually do most of the work on a
>> Boost transition), we concluded staying in line with Debian and keeping 1.49
>> as the default Boost is what we should do for "R".  As with Quantal, 
>> Boost1.50
>> will be available in Universe for developers or packages that need the newer
>> features, but it won't be in Main and should not generally be used for
>> packages unless it's really needed.
>>
>> The good news is that means there there is nothing that needs doing for Boost
>> before "R" opens for development.
>>
>
> Now the bad news.
>
> The new eglibc 2.16 defines TIME_UTC macro which is part of C11 and
> clashes with boost::TIME_UTC which means boost1.49 does not compile
> any more.
> (anything using boost/thread/xtime.hpp template or explicitly using
> boost::TIME_UTC)
> Luckily this is fixed in boost1.50 by means of renaming the macro to
> boost::TIME_UTC_
> There are rdeps which actually use boost::TIME_UTC macro all of them
> need to transition to boost1.50 and boost::TIME_UTC_
>

If it was not obvious from the doko's archive opening email, for the
record here is the update on boost.

We applied a patch to undefine TIME_UTC in boost1.49 package, if
TIME_UTC is defined. This preserves existing boost1.49 api and keeps
it buildable with the eglibc2.16 in raring. This workaround means that
we are keeping boost1.49 as the default boost as per original plan.

Regards,

Dmitrijs.

-- 
ubuntu-devel mailing list
ubuntu-devel@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel


Re: Default Boost Versions for "R", may have to be 1.50

2012-10-26 Thread Dmitrijs Ledkovs
On 17 October 2012 17:51, Scott Kitterman  wrote:
> We had a bit of a discussion about this on #ubuntu-motu yesterday and, among
> those discussing it (who are the ones who usually do most of the work on a
> Boost transition), we concluded staying in line with Debian and keeping 1.49
> as the default Boost is what we should do for "R".  As with Quantal, Boost1.50
> will be available in Universe for developers or packages that need the newer
> features, but it won't be in Main and should not generally be used for
> packages unless it's really needed.
>
> The good news is that means there there is nothing that needs doing for Boost
> before "R" opens for development.
>

Now the bad news.

The new eglibc 2.16 defines TIME_UTC macro which is part of C11 and
clashes with boost::TIME_UTC which means boost1.49 does not compile
any more.
(anything using boost/thread/xtime.hpp template or explicitly using
boost::TIME_UTC)
Luckily this is fixed in boost1.50 by means of renaming the macro to
boost::TIME_UTC_
There are rdeps which actually use boost::TIME_UTC macro all of them
need to transition to boost1.50 and boost::TIME_UTC_

Reference:
https://svn.boost.org/trac/boost/ticket/6940
https://bugzilla.redhat.com/show_bug.cgi?id=825039

Regards,

Dmitrijs.

-- 
ubuntu-devel mailing list
ubuntu-devel@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel


Re: Default Boost Versions for "R"

2012-10-17 Thread Dmitrijs Ledkovs
On 17 October 2012 19:16, Ma Xiaojun  wrote:
> Q: 1.50
> R: 1.49
> ?

No.
Q & R - Default (main): 1.49
Q & R - Available (universe): 1.50

Please note that many gcc-4.7 fail-to-build-from-source bugfixes from
1.50 have been cherry-picked into the current 1.49 packages.
The new 1.50 api / abis are only in the 1.50 packages.

Regards,

Dmitrijs.

-- 
ubuntu-devel mailing list
ubuntu-devel@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel


Re: Default Boost Versions for "R"

2012-10-17 Thread Scott Kitterman
On Wednesday, October 17, 2012 01:16:49 PM Ma Xiaojun wrote:
> Q: 1.50
> R: 1.49
> ?

$ rmadison boost-defaults|grep quantal
boost-defaults |   1.49.0.1 |   quantal | source

Both boost1.49 and boost1.50 are in Quantal (and will be in "R"), but 1.49 is 
the default boost (the one upon which the unversioned boost packages depend) 
and the one that Ubuntu packages should generally be using.

Scott K

-- 
ubuntu-devel mailing list
ubuntu-devel@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel


Re: Default Boost Versions for "R"

2012-10-17 Thread Ma Xiaojun
Q: 1.50
R: 1.49
?

-- 
ubuntu-devel mailing list
ubuntu-devel@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel


Re: Default Boost Versions for "R"

2012-10-17 Thread Didier Roche

Le 17/10/2012 18:51, Scott Kitterman a écrit :

We had a bit of a discussion about this on #ubuntu-motu yesterday and, among
those discussing it (who are the ones who usually do most of the work on a
Boost transition), we concluded staying in line with Debian and keeping 1.49
as the default Boost is what we should do for "R".  As with Quantal, Boost1.50
will be available in Universe for developers or packages that need the newer
features, but it won't be in Main and should not generally be used for
packages unless it's really needed.

The good news is that means there there is nothing that needs doing for Boost
before "R" opens for development.


Thanks for the follow up, I'll keep the unity team informed about it.

Cheers,
Didier

--
ubuntu-devel mailing list
ubuntu-devel@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel


Default Boost Versions for "R"

2012-10-17 Thread Scott Kitterman
We had a bit of a discussion about this on #ubuntu-motu yesterday and, among 
those discussing it (who are the ones who usually do most of the work on a 
Boost transition), we concluded staying in line with Debian and keeping 1.49 
as the default Boost is what we should do for "R".  As with Quantal, Boost1.50 
will be available in Universe for developers or packages that need the newer 
features, but it won't be in Main and should not generally be used for 
packages unless it's really needed.

The good news is that means there there is nothing that needs doing for Boost 
before "R" opens for development.

Scott K

-- 
ubuntu-devel mailing list
ubuntu-devel@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel