Package Details: rpm-org 4.13.0-1

Git Clone URL: https://aur.archlinux.org/rpm-org.git (read-only)
Package Base: rpm-org
Description: RPM Package Manager - RPM.org fork, used in major RPM distros
Upstream URL: http://www.rpm.org/
Licenses: GPL2
Conflicts: rpm, rpmextract
Provides: rpm=4.13.0, rpmextract=1.0-4
Submitter: Wintershade
Maintainer: JonnyJD (fpqc)
Last Packager: fpqc
Votes: 107
Popularity: 3.155979
First Submitted: 2009-09-20 15:51
Last Updated: 2016-11-23 03:11

Dependencies (10)

Required by (115)

Sources (4)

Latest Comments

fpqc commented on 2016-11-23 03:11

JonnyJD okay, everything's fixed and uploaded for 4.13. You can remove me as a maintainer now!

JonnyJD commented on 2016-11-22 22:02

fpqc added as co-maintainer

fpqc commented on 2016-11-22 21:40

@JonnyJD could you add me as a co-maintainer?

fpqc commented on 2016-11-22 10:20

I submitted an updated pkgbuild rpm-org-413 and requested a merge, don't know if that works.

The Arch AUR maintainers seem really angry at me because I made a duplicate and requested a merge. Could you grant me access to this one?

fpqc commented on 2016-11-22 08:41

@JonnyJD The problem is with bfd.h. Here is the fix, since binutils has marked it as WONTFIX. I made a patch. I don't know how to submit the updated pkgbuild to the AUR.

diff --git a/tools/sepdebugcrcfix.c b/tools/sepdebugcrcfix.c
index cd7fa02..03db7af 100644
--- a/tools/sepdebugcrcfix.c
+++ b/tools/sepdebugcrcfix.c
@@ -28,7 +28,19 @@
#include <error.h>
#include <libelf.h>
#include <gelf.h>
+#ifndef PACKAGE
+#define PACKAGE
+#ifndef PACKAGE_VERSION
+#define PACKAGE_VERSION
#include <bfd.h>
+#undef PACKAGE_VERSION
+#else
+#include <bfd.h>
+#endif
+#undef PACKAGE
+#else
+#include <bfd.h>
+#endif

#define _(x) x
#define static_assert(expr) \

JonnyJD commented on 2016-11-20 18:16

I did upgrade to 4.12.0.2 and using github for downloads.

Also note that the lua-5.3.patch is not needed in 4.13.0 anymore, whoever wants to upgrade the PKGBUILD.

JonnyJD commented on 2016-11-20 18:15

Hm, I still didn't have time to get 4.13.0 to build,
current problem:
Preprocessing /var/abs/local/_src/_suse/rpm-org/src/rpm-4.13.0/lib/rpmtag.h...
In file included from tools/sepdebugcrcfix.c:31:0:
/usr/include/bfd.h:35:2: error: #error config.h must be included before this header
#error config.h must be included before this header

That is potentially a problem on my system with (an old) binutils and I currently can't update my system.
If anybody wants to do test/build 4.13.0 correctly I can give maintainership.

nashgul commented on 2016-11-13 09:59

Patch file:
--- rpm-org/PKGBUILD 2016-02-13 01:47:46.000000000 +0100
+++ rpm-org-updated/PKGBUILD 2016-11-13 08:26:43.706666666 +0100
@@ -5,7 +5,7 @@
# Author: Wintershade <Wintershade AT google mail DOT com>

pkgname=rpm-org
-pkgver=4.12.0.1
+pkgver=4.12.0.2
_pkgver=$pkgver
#_pkgver=4.12.0-rc1
pkgrel=3
@@ -19,10 +19,9 @@
conflicts=('rpm' 'rpmextract')
options=('!libtool')
provides=("rpm=${pkgver}" 'rpmextract=1.0-4')
-#source=(http://rpm.org/releases/testing/rpm-${_pkgver}.tar.bz2
-source=(http://rpm.org/releases/rpm-4.12.x/rpm-${pkgver}.tar.bz2
+source=(https://github.com/rpm-software-management/rpm/releases/download/rpm-${pkgver}-release/rpm-${pkgver}.tar.bz2
rpmextract.sh rpmlib-filesystem-check.patch lua-5.3.patch)
-sha1sums=('d416bdb249b246b00b2d5d34c66e7f5a68a62524'
+sha1sums=('f32216a3bb342fff7a0e3c7d9fa452b7eaae19da'
'74849919207885ae024f1ab8ed68a76474d67ad7'
'0c5fa516dde1f10211af896c729e4b00c313e12b'
'e8efa065eb42648ac431a48b083888ae77e8ae4b')

nashgul commented on 2016-11-13 07:30

This works for me:
[usuario@openvas AUR]$ diff rpm-org-old/PKGBUILD rpm-org-updated/PKGBUILD
8c8
< pkgver=4.12.0.1
---
> pkgver=4.12.0.2
22,23c22
< #source=(http://rpm.org/releases/testing/rpm-${_pkgver}.tar.bz2
< source=(http://rpm.org/releases/rpm-4.12.x/rpm-${pkgver}.tar.bz2
---
> source=(https://github.com/rpm-software-management/rpm/releases/download/rpm-${pkgver}-release/rpm-${pkgver}.tar.bz2
25c24
< sha1sums=('d416bdb249b246b00b2d5d34c66e7f5a68a62524'
---
> sha1sums=('f32216a3bb342fff7a0e3c7d9fa452b7eaae19da'

andreas_baumann commented on 2016-09-23 14:06

configure: error: missing required NSPR / NSS header

conftest.c:71:18: fatal error: nspr.h: No such file or directory
#include <nspr.h>

But nspr.h is in /usr/include/nspr/nspr.h

Some suggestions:
- nspr should be listed as dependency
- pkg-config should be listed as build dependency (otherwise configure
CPPFLAGS=`pkg-config` just silently failes ad the include directories
are empty)

All comments