Login | Register
My pages Projects Community openCollabNet

Discussions > dev > Re: source rpms

Project highlights: Stable Version: 1.6.1, Development Version: 1.7.6

current
Discussion topic

Back to topic list

Re: source rpms

Reply

Author theslack
Full name Jack Neely
Date 2006-11-01 12:09:36 PST
Message Confused as in:

mysql> select * from PACKAGE where package_id=4;
+------------+------​+---------+---------​+-------+----------+​
| package_id | name | version | release | epoch | issource |
+------------+------​+---------+---------​+-------+----------+​
| 4 | nmh | 1.0.4 | 20 | | 1 |
+------------+------​+---------+---------​+-------+----------+​
1 row in set (0.00 sec)

mysql> select * from RPM where package_id=4;
+--------+----------​--+-----------------​--------------------​--------------------​------+--------+----​-----+
| rpm_id | package_id | filename
               | arch | size |
+--------+----------​--+-----------------​--------------------​--------------------​------+--------+----​-----+
| 4 | 4 |
/export/trees/realml​inux-ws4/SRPMS/nmh-1​.0.4-20.src.rpm | x86_64
| 1026786 |
| 299 | 4 |
/export/trees/realml​inux-ws4-amd64/SRPMS​/nmh-1.0.4-20.src.rp​m | x86_64
| 1026786 |
+--------+----------​--+-----------------​--------------------​--------------------​------+--------+----​-----+
2 rows in set (0.00 sec)

Hmm...source packages don't have an arch....oh...stupid RPM!

There a little script in Current called tester.py. Edit it to point
to your RPM files of choice and it will tell you what Current's RPM
wrapper pulls out of the the RPM header. And it tells me that
nmh-1.0.4-20.src.rpm as an arch of x86_64. *sigh*

Jack

On 11/1/06, Jared Greenwald <jared.greenwald@​oracle.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> We're running into a problem with src rpms. The problem seems to be
> that the the dependency scanning sees the gets all confused when the src
> and binary packages are in the same channel. Also, the arch seems to
> get confused when there are i386 src packages in the x86_64 channels.
> Have you seen this?
>
> - -Jared
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.5 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFFSO62u4z7Xptg​TUYRAqqVAJ0bUP/i5Ihb​h4LJ2Zdm6ZnEgNKAsACf​eti4
> YywZ1bJcrO2tQj9NNl6CqLg=
> =2cXP
> -----END PGP SIGNATURE-----
>
> --------------------​--------------------​--------------------​---------
> To unsubscribe, e-mail: dev-unsubscribe@curr​ent.tigris.org
> For additional commands, e-mail: dev-help at current dot tigris dot org
>
>

« Previous message in topic | 2 of 2 | Next message in topic »

Messages

Show all messages in topic

source rpms jaredgreenwald Jared Greenwald 2006-11-01 11:00:06 PST
     Re: source rpms theslack Jack Neely 2006-11-01 12:09:36 PST
Messages per page: