Skip to contentSkip to conversation

Small fix for ceph.spec

DISCUSSION Patrick McGarry 6 participants 6 messages Jul 29, 2013 – Jul 30, 2013 4 messages not in the archive

lore
Share & tools
lore
#2 lore raw
In reply to a message not in the archive

Thanks Erik!

Adding ceph-devel since it has a patch on it.

Best Regards,

Patrick McGarry
Director, Community || Inktank
http://ceph.com || http://inktank.com
@scuttlemonkey || @ceph || @inktank

Quoted 5 lines · Erik Logtenberg

Hi,

The spec file used for building rpm's misses a build time dependency on snappy-devel. Please see attached patch to fix.

Quoted 10 lines

Kind regards,

Erik.

_______________________________________________
ceph-users mailing list [email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

_______________________________________________
ceph-users mailing list [email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

#3 lore raw
In reply to a message not in the archive

---------- Forwarded message ----------
From: Erik Logtenberg <[email protected]>
Date: Mon, Jul 29, 2013 at 7:07 PM
Subject: [ceph-users] Small fix for ceph.spec
To: [email protected]

Hi,

The spec file used for building rpm's misses a build time dependency on snappy-devel. Please see attached patch to fix.

Kind regards,

Erik.

_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

ceph.spec renamed from ceph.spec-orig +1 -0
@@ -42,6 +42,7 @@
 BuildRequires:  libxml2-devel
 BuildRequires:  libuuid-devel
 BuildRequires:  leveldb-devel > 1.2
+BuildRequires:  snappy-devel
 
 #################################################################################
 # specific
#5 lore raw
In reply to a message not in the archive

Hi,

I think this is a bug in packaging of the leveldb package in this case since the spec-file already sets dependencies on on leveldb-devel.

leveldb depends on snappy, therefore the leveldb package should set a dependency on snappy-devel for leveldb-devel (check the SUSE spec file for leveldb:
https://build.opensuse.org/package/view_file/home:dalgaaf:ceph:extra/leveldb/leveldb.spec?expand=1).
This way the RPM build process will pick up the correct packages needed to build ceph.

Which distro do you use?

Danny

Am 30.07.2013 01:33, schrieb Patrick McGarry:

Quoted 21 lines

---------- Forwarded message ----------
From: Erik Logtenberg <[email protected]>
Date: Mon, Jul 29, 2013 at 7:07 PM
Subject: [ceph-users] Small fix for ceph.spec
To: [email protected]

Hi,

The spec file used for building rpm's misses a build time dependency on snappy-devel. Please see attached patch to fix.

Kind regards,

Erik.

_______________________________________________
ceph-users mailing list [email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

#7 lore raw
In reply to a message not in the archive

Hi,

Fedora, in this case Fedora 19, x86_64.

Kind regards,

Erik.

Quoted 38 lines · Danny Al-Gaaf

Hi,

I think this is a bug in packaging of the leveldb package in this case since the spec-file already sets dependencies on on leveldb-devel.

leveldb depends on snappy, therefore the leveldb package should set a dependency on snappy-devel for leveldb-devel (check the SUSE spec file for leveldb:
https://build.opensuse.org/package/view_file/home:dalgaaf:ceph:extra/leveldb/leveldb.spec?expand=1).
This way the RPM build process will pick up the correct packages needed to build ceph.

Which distro do you use?

Danny

Am 30.07.2013 01:33, schrieb Patrick McGarry:

Quoted 21 lines

---------- Forwarded message ----------
From: Erik Logtenberg <[email protected]>
Date: Mon, Jul 29, 2013 at 7:07 PM
Subject: [ceph-users] Small fix for ceph.spec
To: [email protected]

Hi,

The spec file used for building rpm's misses a build time dependency on snappy-devel. Please see attached patch to fix.

Kind regards,

Erik.

_______________________________________________
ceph-users mailing list [email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

#8 lore raw

Hi,

then the Fedora package is broken. If you check the spec file of:

http://dl.fedoraproject.org/pub/fedora/linux/updates/19/SRPMS/leveldb-1.12.0-3.fc19.src.rpm

You can see the spec-file sets a:

BuildRequires: snappy-devel

But not the corresponding "Requires: snappy-devel" for the devel package.

You should report this issue to your distribution, it needs to be fixed there instead of adding a workaround to the ceph spec.

Regards,

Danny

Am 30.07.2013 09:42, schrieb Erik Logtenberg:

Quoted 49 lines

Hi,

Fedora, in this case Fedora 19, x86_64.

Kind regards,

Erik.

Quoted 38 lines · Danny Al-Gaaf

Hi,

I think this is a bug in packaging of the leveldb package in this case since the spec-file already sets dependencies on on leveldb-devel.

leveldb depends on snappy, therefore the leveldb package should set a dependency on snappy-devel for leveldb-devel (check the SUSE spec file for leveldb:
https://build.opensuse.org/package/view_file/home:dalgaaf:ceph:extra/leveldb/leveldb.spec?expand=1).
This way the RPM build process will pick up the correct packages needed to build ceph.

Which distro do you use?

Danny

Am 30.07.2013 01:33, schrieb Patrick McGarry:

Quoted 21 lines

---------- Forwarded message ----------
From: Erik Logtenberg <[email protected]>
Date: Mon, Jul 29, 2013 at 7:07 PM
Subject: [ceph-users] Small fix for ceph.spec
To: [email protected]

Hi,

The spec file used for building rpm's misses a build time dependency on snappy-devel. Please see attached patch to fix.

Kind regards,

Erik.

_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

#9 lore raw

Hi,

I will report the issue there as well. Please note that Ceph seems to support Fedora 17, even though that release is considered end-of-life by Fedora. This issue with the leveldb package cannot be fixed for Fedora 17, only for 18 and 19.
So if Ceph wants to continue supporting Fedora 17, adding this workaround seems to be the only way to get this (rather minor) bug fixed.

Kind regards,

Erik.

Quoted 70 lines · Danny Al-Gaaf

Hi,

then the Fedora package is broken. If you check the spec file of:

http://dl.fedoraproject.org/pub/fedora/linux/updates/19/SRPMS/leveldb-1.12.0-3.fc19.src.rpm

You can see the spec-file sets a:

BuildRequires: snappy-devel

But not the corresponding "Requires: snappy-devel" for the devel package.

You should report this issue to your distribution, it needs to be fixed there instead of adding a workaround to the ceph spec.

Regards,

Danny

Am 30.07.2013 09:42, schrieb Erik Logtenberg:

Quoted 49 lines

Hi,

Fedora, in this case Fedora 19, x86_64.

Kind regards,

Erik.

Quoted 38 lines · Danny Al-Gaaf

Hi,

I think this is a bug in packaging of the leveldb package in this case since the spec-file already sets dependencies on on leveldb-devel.

leveldb depends on snappy, therefore the leveldb package should set a dependency on snappy-devel for leveldb-devel (check the SUSE spec file for leveldb:
https://build.opensuse.org/package/view_file/home:dalgaaf:ceph:extra/leveldb/leveldb.spec?expand=1).
This way the RPM build process will pick up the correct packages needed to build ceph.

Which distro do you use?

Danny

Am 30.07.2013 01:33, schrieb Patrick McGarry:

Quoted 21 lines

---------- Forwarded message ----------
From: Erik Logtenberg <[email protected]>
Date: Mon, Jul 29, 2013 at 7:07 PM
Subject: [ceph-users] Small fix for ceph.spec
To: [email protected]

Hi,

The spec file used for building rpm's misses a build time dependency on snappy-devel. Please see attached patch to fix.

Kind regards,

Erik.

_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com