Boost logo

Boost Users :

Subject: Re: [Boost-users] boost 1.51.0 bz2 archive observations
From: Gennady Proskurin (gprspb_at_[hidden])
Date: 2012-09-03 04:18:01


I also fall into this issue. Boost 1.51 archive has extra dot in begining of
paths. Buildroot extracts archive with "strip-components=1" tar argument. For
boost 1.51 it strips first dot ".", which is equal to strip nothing.

$ tar -tf boost_1_50_0.tar.bz2 |head -5
boost_1_50_0/
boost_1_50_0/boost/
boost_1_50_0/boost/accumulators/
boost_1_50_0/boost/accumulators/accumulators.hpp
boost_1_50_0/boost/accumulators/accumulators_fwd.hpp

$ tar -tf boost_1_51_0.tar.bz2 |head -5
./
./boost_1_51_0/
./boost_1_51_0/boost/
./boost_1_51_0/boost/accumulators/
./boost_1_51_0/boost/accumulators/accumulators.hpp

Probably, it is too late to reroll official archive, but I'm sure it must be
fixed in next releases.
May be 1.51.1 should be released for this? :)

On Fri, Aug 31, 2012 at 04:39:03PM +0100, Aras Vaichas wrote:
> Sorry for the cross-posting, but I'm not sure where to put this.
>
> There is a slight difference between the 1.51.0 and 1.50.0 boost bz2 files.
>
> e.g.
> \boost_1_50_0.tar.bz2\boost_1_50_0.tar\boost_1_50_0\
> \boost_1_51_0.tar.bz2\boost_1_51_0.tar\.\boost_1_51_0\
>
> I went looking for this because I updated the Boost version to 1.51.0
> in Buildroot and it failed to find the bootstrap.sh file because it
> wasn't in the expected directory.
>
> e.g.
> /opt/br/output/build$ find -name "bootstrap.sh"
> ./boost-1.51.0/boost_1_51_0/tools/build/v2/bootstrap.sh
> ./boost-1.51.0/boost_1_51_0/bootstrap.sh
> ./boost-1.50.0/tools/build/v2/bootstrap.sh
> ./boost-1.50.0/bootstrap.sh
>
> Buildroot fails to find the boostrap.sh file and the build fails.
>
> When I tried to untar it manually I got an error.
>
> $ tar xjf boost_1_51_0.tar.bz2
> tar: .: Cannot utime: Operation not permitted
> tar: .: Cannot change mode to rwxr-xr-t: Operation not permitted
> tar: Exiting with failure status due to previous errors
>
> 1.50.0 does not have this problem.
>
> regards,
>
> Aras Vaichas
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net