Skip to contentSkip to conversation

Debian packaging fixes

PATCH Applied Benjamin Drung 3 participants 10 messages Nov 14, 2017 – Nov 17, 2017 6 messages not in the archive InfiniBand

lore
Share & tools
lore
#0 lore raw

cover Debian packaging fixes

rdma-core 15-1 was accepted in Debian unstable and it failed to build on some architectures:
https://buildd.debian.org/status/package.php?p=rdma-core

This series tries to address some.

Signature · 18 lines
Benjamin Drung
System Developer
Debian & Ubuntu Developer

ProfitBricks GmbH
Greifswalder Str. 207
D - 10405 Berlin

Email: [email protected]
URL: https://www.profitbricks.de

Sitz der Gesellschaft: Berlin
Registergericht: Amtsgericht Charlottenburg, HRB 125506 B
Geschäftsführer: Achim Weiss, Matthias Steinberg
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): 20171114113330.2715-1-benjamin.drung-EIkl63zCoXaH+58JC4qpiA@public.gmane.org

#2 lore raw

PATCH 1/3 debian: Do not build ibacm for non-Linux architectures

rdma-core is tied to the Linux kernel. Thus we do not want to build it on non-Linux architectures (like hurd-i386, kfreebsd-amd64, and kfreebsd-i386). The build was tried on the non-Linux architectures, because ibacm was marked to build on any architecture. Therefore also mark ibacm as linux-any.

---
 debian/control | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
debian/control +1 -1
index fef59ad5..5fee479c 100644
@@ -44,7 +44,7 @@ Description: RDMA core userspace infrastructure and documentation
     standard socket interface.
 
 Package: ibacm
-Architecture: any
+Architecture: linux-any
 Depends: lsb-base (>= 3.2-14~),
          rdma-core (>= 15),
          ${misc:Depends},
Signature · 6 lines
2.14.1

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#3 lore raw

PATCH 2/3 debian: Do not require valgrind if not available

In reply to a message not in the archive

valgrind is not available for all architectures. Since valgrind is an optional build dependency, do not require it for those architectures.

---
 debian/control | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
debian/control +1 -1
index 5fee479c..c5f7a052 100644
@@ -15,7 +15,7 @@ Build-Depends: cmake (>= 2.8.11),
                ninja-build,
                pkg-config,
                python,
-               valgrind
+               valgrind [!alpha !armel !hppa !m68k !powerpcspe !sh4 !sparc64]
 Standards-Version: 4.1.0
 Vcs-Git: https://github.com/linux-rdma/rdma-core.git
 Vcs-Browser: https://github.com/linux-rdma/rdma-core
Signature · 6 lines
2.14.1

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#4 lore raw

PATCH 3/3 debian: Update changelog to include Debian upload

In reply to a message not in the archive

rdma-core 15-1 was accepted in Debian. Include the changelog from that upload.

---
 debian/changelog | 15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)
debian/changelog +11 -4
index 9ee7fe16..10ee3c7d 100644
@@ -1,7 +1,14 @@
 rdma-core (16-1) unstable; urgency=low
 
-  * New version.
-  * Adding debian/copyright.
-  * Close ITP (Closes: #848971).
+  * New upstream release.
 
- -- Jason Gunthorpe <jgg-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>  Mon, 12 Sep 2016 13:44:24 -0600
+ -- Jason Gunthorpe <jgg-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>  Tue, 14 Nov 2017 12:24:09 +0100
+
+rdma-core (15-1) unstable; urgency=medium
+
+  * New upstream version. ibverbs-providers combines the source packages
+    libcxgb3, libipathverbs, libmlx4, libmlx5, libmthca, and libnes.
+    rdma-core also combines the source packages ibacm, libibcm, libibumad,
+    libibverbs, librdmacm, and srptools (Closes: #848971)
+
+ -- Benjamin Drung <[email protected]>  Mon, 18 Sep 2017 11:00:39 +0200
Signature · 6 lines
2.14.1

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): 20171114113330.2715-4-benjamin.drung-EIkl63zCoXaH+58JC4qpiA@public.gmane.org

#6 lore raw

Re: [PATCH rdma-core 3/3] debian: Update changelog to include Debian upload

Quoted 2 lines · Benjamin Drung

rdma-core 15-1 was accepted in Debian. Include the changelog from that upload.

I was thinking we'd keep the distro changelogs some place else? We are not going to try and store RH or suse changelogs for instance.

Not a big deal for this one, obviously.

Jason
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): 20171114202823.GQ4263-uk2M96/[email protected]

#8 lore raw

Re: [PATCH rdma-core 3/3] debian: Update changelog to include Debian upload

Am Dienstag, den 14.11.2017, 13:28 -0700 schrieb Jason Gunthorpe:

Quoted 10 lines · Benjamin Drung
Quoted 3 lines

rdma-core 15-1 was accepted in Debian. Include the changelog from that
upload.

I was thinking we'd keep the distro changelogs some place else? We are
not going to try and store RH or suse changelogs for instance.

Not a big deal for this one, obviously.

The advantage to include the changelog entries from Debian in the master tree is that users can see that the packaging is the same and that it is up-to-date. And user can see which version Debian package version corresponds to the version from the master branch.

I can often find debian packaging from upstream projects that either use their complete own packaging or a very outdated fork of the packaging from Debian.

Signature · 18 lines
Benjamin Drung
System Developer
Debian & Ubuntu Developer

ProfitBricks GmbH
Greifswalder Str. 207
D - 10405 Berlin

Email: [email protected]
URL: https://www.profitbricks.de

Sitz der Gesellschaft: Berlin
Registergericht: Amtsgericht Charlottenburg, HRB 125506 B
Geschäftsführer: Achim Weiss, Matthias Steinberg
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): [email protected]

#10 lore raw

Re: [PATCH rdma-core 3/3] debian: Update changelog to include Debian upload

Quoted 3 lines · Benjamin Drung

I can often find debian packaging from upstream projects that either use their complete own packaging or a very outdated fork of the packaging from Debian.

But it creates a technical problem, eg now that you are going to make a -2, where will the changelog commit go?

Ideally the changelog commit should match the actual git tree that was used to produce the debian source tar ball. Otherwise things start to get very confusing :)

Jason
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): 20171114204244.GU4263-uk2M96/[email protected]

#12 lore raw

Re: [PATCH rdma-core 3/3] debian: Update changelog to include Debian upload

Am Dienstag, den 14.11.2017, 13:42 -0700 schrieb Jason Gunthorpe:

Quoted 9 lines · Benjamin Drung
Quoted 5 lines

I can often find debian packaging from upstream projects that either
use their complete own packaging or a very outdated fork of the packaging from Debian.

But it creates a technical problem, eg now that you are going to make a -2, where will the changelog commit go?

When all commits for -2 are accepted in the master branch, I would update debian/changelog to have the 15-2 entry between 15-1 and 16-1.

An alternative would be to just have one changelog entry in the master branch and document the basis, e.g.:

rdma-core (16-1) unstable; urgency=low

* New upstream release.
* Packaging is based on rdma-core 15-2 from Debian
* Downgrade debhelper to >= 9 to support Debian 7 & 8

-- Jason Gunthorpe <jgg-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org> Tue, 14 Nov 2017 12:24:09 +0100

Quoted 6 lines

Ideally the changelog commit should match the actual git tree that was
used to produce the debian source tar ball. Otherwise things start to get very confusing :)

Jason

Signature · 18 lines
Benjamin Drung
System Developer
Debian & Ubuntu Developer

ProfitBricks GmbH
Greifswalder Str. 207
D - 10405 Berlin

Email: [email protected]
URL: https://www.profitbricks.de

Sitz der Gesellschaft: Berlin
Registergericht: Amtsgericht Charlottenburg, HRB 125506 B
Geschäftsführer: Achim Weiss, Matthias Steinberg
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): [email protected]

#14 lore raw

Re: [PATCH rdma-core 3/3] debian: Update changelog to include Debian upload

Quoted 2 lines · Benjamin Drung

When all commits for -2 are accepted in the master branch, I would update debian/changelog to have the 15-2 entry between 15-1 and 16-1.

Ok, lets try it like that

Quoted 2 lines

An alternative would be to just have one changelog entry in the master branch and document the basis, e.g.:

This is closer to what I was originally thinking

Jason
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html