Fernando de Oliveira wrote:
It has kinda worked with boost-1.57.0, but...
On 14-11-2014 22:31, Bruce Dubbs wrote:
Armin K. wrote:
On 11/14/2014 11:24 PM, Bruce Dubbs wrote:
Fernando de Oliveira wrote:
On 14-11-2014 14:11, Bruce Dubbs wrote:
Fernando de Oliveira wrote:
On 13-11-2014 23:02, Bruce Dubbs wrote:
Fernando de Oliveira wrote:
On 13-11-2014 19:24, Bruce Dubbs wrote:
Fernando de Oliveira wrote:
Three results:
1. Build with boost-1.57.0 fails
2. Build with boost-1.57.0 succeeds, disabling kleopatra
(-DBUILD_kleopatra=OFF)
Then, removed boost and installed boost-1.56.0
3. Build with boost-1.56.0 completes with success.
Removed boost and installed boost-1.57.0, the result 1. was
reproduced.
That explains it. I never installed boost-1.57.0.
Noticed: I *removed* boost-1.56.0, before installing boost-1.57.0.
So, I believe we should revert to older boost?
For others on the list, opinions? Here is a list of packages we have
listed that can use boost:
general/prog/swig.xml: <xref linkend="boost"/> for tests, and any
of the languages mentionned
general/prog/valgrind.xml: <xref linkend="boost"/>,
general/genlib/clucene.xml: <xref linkend="boost"/>
general/genlib/exempi.xml: <xref linkend="boost"/>
kde/add/kdepim.xml: <xref linkend="boost"/>, and
kde/core/kdepimlibs.xml: <xref linkend="boost"/>, and
kde/core/kde-workspace.xml: <xref linkend="boost"/>,
kde/core/akonadi.xml: <xref linkend="boost"/>, and one of:
server/databases/mariadb.xml: <xref linkend="boost"/>,
x/lib/cairomm.xml: <xref linkend="boost"/> and
xsoft/office/abiword.xml: <xref linkend="boost"/>,
xsoft/office/libreoffice.xml: <xref linkend="boost"/>,
xsoft/other/ekiga.xml: <xref linkend="boost"/>,
xsoft/other/gnash.xml: <xref linkend="boost"/>,
xsoft/other/inkscape.xml: <xref linkend="boost"/>,
I have not attempted with boost-1.57.0, but Fernando has run into a lot
of failures with it when building kdepim.
I guess it's the standard error with kdepim that has been haunting Qt4
users for years now. Fedora has fix for Qt4, but you can try fixing
kdepimlibs itself by disabling the tests with the -DKDE4_BUILD_TESTS=OFF
cmake parameter.
I can't duplicate the problem. I installed boost-1.57 and then rebuilt
kdepim and all was fine. There must be some other issue.
Have you removed boost-1.56.0, before installing boost-1.57.0?
No, I just installed over the old one.
Problem is the following. In order to test with boost-1.56.0, the first
time, I had removed 1.56.0, installed 1.57.0, the installeed
("overwriting") 1.56.0, and was surprised that kdepim-4.14.3 was still
finding 1.57.0.
Then all tests I did afterwards were removing one version of boost,
installing the other, before the test.
Today, after your post, I removed boost, installed 1.56.0, the installed
("overwriting") 1.57.0. Now, kdepim built fine, with -j8, in SBU_TIME:
4.86127167.
Now, I have:
$ xzgrep "Boost version"
/home/fernando/Downloads/blfs/kdepim-4.14.3-simulation-2014.11.15-08h28m30s.log.xz
-- Boost version: 1.56.0
$ porg -sFdd boost
105M 10416 11/15/14 08:23 boost-1.56.0
13M 186 11/15/14 08:27 boost-1.57.0
So, in principle, installed boost is 1.57.0, but found boost is 1.56.0,
and the build succeeds.
I get:
$ grep -i boost kdepim-4.14.3.log
-- Boost version: 1.57.0
-- The Boost Topological_sort header was found. Building Kleopatra
* Boost (required version >= 1.34.0) , Boost C++ Libraries ,
<http://www.boost.org>
Boost is required for building most KDEPIM applications
I do have files like:
lrwxrwxrwx 1 root root 25 Nov 14 17:35 libboost_atomic.so ->
libboost_atomic.so.1.57.0
-rwxr-xr-x 1 root root 8716 Oct 26 17:47 libboost_atomic.so.1.56.0
-rwxr-xr-x 1 root root 8935 Nov 14 17:35 libboost_atomic.so.1.57.0
but the 1.56 version won't be found at build time. The build process
only looks at .so files.
Boost is one package that only install 186 files, if a previous versions
has been installed previously 10416 files.
If I remove all boost and install 1.57.0, I obtain 10517 files installed.
Interesting.
ls -R /usr/include/boost |wc -1
13163
There are files in there with dates Sep 13 and Nov 14. If there's a
problem, it's in the headers.
I think you need to completely remove all boost, install 1.57.0, and
then, do the test.
Just checking:
$ ls -lrt /usr/lib/libboost*
and
$ ls -lt /usr/lib/libboost*
will display the files installed at different occasions.
To have an idea of the difference between the two install, first 1.56.0
and second 1.57.0, I created two time stamps, one for when 1.56.0 was
installed, other, respectively, for 1.57.0:
$ ls -l /tmp/foo*
-rw-rw-r-- 1 fernando fernando 0 Nov 15 08:27 /tmp/foo
-rw-rw-r-- 1 fernando fernando 0 Nov 15 08:23 /tmp/foo0
$ sudo find /usr/ -newer /tmp/foo | wc -l
238
$ sudo find /usr/ -newer /tmp/foo0 -not -newer /tmp/foo | wc -l
5687
One of the 238 files is /usr/src/packages.log, so
after boost-1.56.0 installed 5687 files, boost-1.57.0 only installed 237
files.
I'll look at it, but it may not be today.
-- Bruce
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page