RPM Community Forums

Mailing List Message of <rpm-devel>

Re: src.rpms have arch/os dependencies in current CVS

From: Bernhard Rosenkraenzer <bero@arklinux.org>
Date: Thu 18 Oct 2007 - 23:27:56 CEST
Message-Id: <200710182327.56794.bero@arklinux.org>
On Tuesday 16 October 2007, Jeff Johnson wrote:
> > The version on the box that spewed the error messages is 4.4.1, but
> > the problem occurs only with src.rpms built with current CVS, so I'm
> > assuming current CVS puts OS and arch markings even into src.rpms. Didn't
> > get to debbuging it yet though...
>
> Hmmm, something subtle then. srpm's have had arch/os tags for ages.
>
> Lemme see if I can see what the problem is. 4.4.2 is likely similar
> to 4.4.1.

I've also been able to reproduce this trying to install an rpm5 src.rpm using 
rpm 4.4.5, so it's probably something that has been around in rpm4 for a long 
time...

> FYI: rpm -qp --yaml foo*.rpm will show all header contents in rather
> readable form.

That's useful... Here's the diff between --yaml output of 2 identical packages 
(rpm4 version diffed against rpm5 version from identical sources and spec) - 
I don't see anything problematic though...:

--- rpm4        2007-10-18 23:23:28.000000000 +0200
+++ rpm5        2007-10-18 23:23:15.000000000 +0200
@@ -1,15 +1,15 @@
 - !!omap
   Headeri18ntable:
     - C
-  Sigsize: 41812
-  Pkgid: !!binary L3p8YNz5E6T87WwSKNhcrA==
-  Hdrid: 3ebbf36e94af662c356d8b0695f342e50df147ba
+  Sigsize: 41738
+  Pkgid: !!binary zQ6GMo14NcvqA68RlB+sdg==
+  Hdrid: b76e066ca04f10346029655e4ade9ea34634f43e
   N: firmware-zd1211
   V: 1.4
   R: 1ark
   Summary: Firmware for Zydas ZD1211 wireless chips
   Description: Firmware needed to run ZyDas 1211 wireless chips
-  Buildtime: 1192742581
+  Buildtime: 1192742548
   Buildhost: localhost.localdomain
   Size: 40039
   License: GPL
@@ -50,18 +50,9 @@
@@ -50,18 +50,9 @@
     - 4294967295
     - 4294967295
   Archivesize: 40440
-  Requireflags:
-    - 16777226
-    - 16777226
-  Requirename:
-    - rpmlib(CompressedFileNames)
-    - rpmlib(PayloadIsBzip2)
-  Requireversion:
-    - 3.0.4-1
-    - 3.0.5-1
-  Rpmversion: 4.4.5
+  Rpmversion: 5.0.DEVEL
   Changelogtime:
-    - 1192708800
+    - 1192701600
   Changelogname:
     - Bernhard Rosenkraenzer <bero@arklinux.org> 1.4-1ark
   Changelogtext:
@@ -69,13 +60,13 @@
     - 1.4
   Buildarchs:
     - noarch
-  Cookie: localhost.localdomain 1192742581
+  Cookie: localhost.localdomain 1192742548
   Filedevices:
     - 2050
     - 2050
   Fileinodes:
-    - 585810
-    - 586631
+    - 2947078
+    - 2947007
   Filelangs:
     - ~
     - ~
@@ -90,4 +81,10 @@
   Payloadformat: cpio
   Payloadcompressor: bzip2
   Payloadflags: 9
+  Filecontexts:
+    - ~
+    - ~
+  Filedigestalgos:
+    - 1
+    - 1
Received on Thu Oct 18 23:34:20 2007
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.