All of lore.kernel.org
 help / color / mirror / Atom feed
* Ceph 0.94.8 for Precise has build issues
@ 2016-08-29 14:44 Alfredo Deza
  2016-08-29 15:39 ` Erwan Velu
  0 siblings, 1 reply; 2+ messages in thread
From: Alfredo Deza @ 2016-08-29 14:44 UTC (permalink / raw)
  To: ceph-devel, ceph-maintainers@ceph.com

0.94.8 was released a few days ago, but Precise will refuse to build
correctly with the following error:

In file included from ./include/types.h:21:0,
                 from ./msg/msg_types.h:20,
                 from ./common/entity_name.h:24,
                 from ./common/config.h:26,
                 from ./common/dout.h:20,
                 from ./common/debug.h:18,
                 from erasure-code/jerasure/ErasureCodeJerasure.cc:18:
./include/uuid.h:14:42: fatal error: boost/random/random_device.hpp:
No such file or directory

This is not an issue specific to the environment where we try Precise
builds (Jenkins)  as it is also present in the Precise gitbuilder [0]

It looks like there is an inconsistency in the package versions for libboost.

The debian/control file specifies a version of libboost-dev >= 1.42,
but there are changes in library paths that Ceph relies that are
present in 1.47 and above [1]. Precise has a few libboost versions
including 1.46 and 1.48, since 1.46 meets the requirement in the
control file it gets installed.

I have tried changing the control file at build time (completely
non-ideal) but still facing the same issue:

-               libboost-dev (>= 1.42),
+               libboost-dev (>= 1.48),

If someone else can chime in on how to properly fix this for Precise
would be great. If it means a change in the Ceph source it will mean
that we will be required to get 0.94.9 out with that fix (0.94.8 is
already tagged)

-Alfredo

[0] http://gitbuilder.sepia.ceph.com/gitbuilder-ceph-deb-precise-amd64-basic/log.cgi?log=838cd35201e4fe1339e16d987cc33e873524af90
[1] http://www.boost.org/doc/libs/1_46_0/doc/html/boost/random_device.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Ceph 0.94.8 for Precise has build issues
  2016-08-29 14:44 Ceph 0.94.8 for Precise has build issues Alfredo Deza
@ 2016-08-29 15:39 ` Erwan Velu
  0 siblings, 0 replies; 2+ messages in thread
From: Erwan Velu @ 2016-08-29 15:39 UTC (permalink / raw)
  To: Alfredo Deza; +Cc: ceph-devel, ceph-maintainers

I'm not a Ubuntu expert by I found that :

The 1.48 version of -dev package depends on libboost1.46-dev
1.48 package doesn't provide any content (http://us.archive.ubuntu.com/ubuntu/pool/main/b/boost-defaults/libboost-dev_1.48.0.2_amd64.deb)

As a result, we get a 1.46 which doesn't have the random_device.hpp.

That's very confusing and explains what you are reporting.

Anyone have ideas why it's done like that ?

----- Mail original -----
De: "Alfredo Deza" <adeza@redhat.com>
À: "ceph-devel" <ceph-devel@vger.kernel.org>, ceph-maintainers@ceph.com
Envoyé: Lundi 29 Août 2016 16:44:38
Objet: Ceph 0.94.8 for Precise has build issues

0.94.8 was released a few days ago, but Precise will refuse to build
correctly with the following error:

In file included from ./include/types.h:21:0,
                 from ./msg/msg_types.h:20,
                 from ./common/entity_name.h:24,
                 from ./common/config.h:26,
                 from ./common/dout.h:20,
                 from ./common/debug.h:18,
                 from erasure-code/jerasure/ErasureCodeJerasure.cc:18:
./include/uuid.h:14:42: fatal error: boost/random/random_device.hpp:
No such file or directory

This is not an issue specific to the environment where we try Precise
builds (Jenkins)  as it is also present in the Precise gitbuilder [0]

It looks like there is an inconsistency in the package versions for libboost.

The debian/control file specifies a version of libboost-dev >= 1.42,
but there are changes in library paths that Ceph relies that are
present in 1.47 and above [1]. Precise has a few libboost versions
including 1.46 and 1.48, since 1.46 meets the requirement in the
control file it gets installed.

I have tried changing the control file at build time (completely
non-ideal) but still facing the same issue:

-               libboost-dev (>= 1.42),
+               libboost-dev (>= 1.48),

If someone else can chime in on how to properly fix this for Precise
would be great. If it means a change in the Ceph source it will mean
that we will be required to get 0.94.9 out with that fix (0.94.8 is
already tagged)

-Alfredo

[0] http://gitbuilder.sepia.ceph.com/gitbuilder-ceph-deb-precise-amd64-basic/log.cgi?log=838cd35201e4fe1339e16d987cc33e873524af90
[1] http://www.boost.org/doc/libs/1_46_0/doc/html/boost/random_device.html
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-08-29 15:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-29 14:44 Ceph 0.94.8 for Precise has build issues Alfredo Deza
2016-08-29 15:39 ` Erwan Velu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.