[ATrpms-devel] ATrpms rpm macros [was Re: failure building mythtv for FC5]

D. Hugh Redelmeier hugh at mimosa.com
Fri Aug 31 08:34:10 CEST 2007


| From: Paulo Cavalcanti <promac at gmail.com>

| On 8/30/07, D. Hugh Redelmeier <hugh at mimosa.com> wrote:
| >
| > | From: Axel Thimm <Axel.Thimm at ATrpms.net>
| >
| > | OK, I just uploaded atrpms-rpm-config. It's not blessed, but it's what
| > | I use. E.g. it's a rather stable set of macros that is still labeled
| > | "work in progress". But before the sun dies out I may never be able to
| > | finish it up. Or rephrased: Improvements are welcome :)

I found
  http://dl.atrpms.net/src/f7-i386/atrpms/stable/atrpms-rpm-config-168-1.src.rpm
This is a little older than I expected (2007 August 11) even though
Axel said he just uploaded it.  Not a contradiction, though: he could
have built it August 11 even though he uploaded it today.

I didn't want to use "yum install atrpms-rpm-config" (as Axel
proposed) because:

- my release (FC5) is not supported by atrpms, so I doubt the yum
  would have succeeded.

- I wanted to see what I was installing before I installed it.

I did fetch the SRPM when I found it.  I built it and then installed
it.

| Can you just use the one I posted yesterday for now?
| 
| http://people.atrpms.net/~pcavalcanti/rpms/noarch/atrpms-macros-1.0-3.fc6.lcg.noarch.rpm
| 
| They work. And I blessed them.

I don't know which is more likely to work for me: your package or
Axel's.

- Yours has FC6 in its name.  Not what I want for FC5.

- Yours and Axels cannot co-exist: there are files with the same
  pathname that are different.

Axel's:
-rwxr-xr-x 1 root root 1165 Dec 27  2006 /usr/lib/rpm/atrpms/find-devel.sh
-rwxr-xr-x 1 root root  426 Nov 21  2005 /usr/lib/rpm/atrpms/find-lib.sh
-rwxr-xr-x 1 root root  210 Aug 20  2006 /usr/lib/rpm/atrpms/python_burninversion.sh

Paulo's:
-rwxr-xr-x    1 root    root             1164 Aug 28 09:54 /usr/lib/rpm/atrpms/find-devel.sh
-rwxr-xr-x    1 root    root              425 Aug 28 09:54 /usr/lib/rpm/atrpms/find-lib.sh
-rwxr-xr-x    1 root    root              209 Aug 28 09:54 /usr/lib/rpm/atrpms/python_burninversion.sh

- yours writes /et/rpm/macros which seems scary (I don't know the implications)

  I've created an atrpms user on my machine and wish to put the atrpms
  rpm macros into ~atrpms/.rpmmacros, not in some global setting that
  would affect rpmbuilds by all users.

- a superficial glance at Axel's leads me to beleive that it does not
  define lib_package whereas yours does

So I'm going to try your package, with /etc/rpm/macros renamed
/etc/rpm/macros.atrpms and copied into ~atrpms/.rpmmacros

| Lets give Axel some time and try to solve this issue by ourselves.

Good idea.

| It is 6 PM (my time). Can we continue this discussion after 8 PM?

Sorry, I had a lot of other real-time stuff going on.  So I'm back
when it is the middle of the night (2:30 here in Toronto, 3:30 in 
Rio (I infer that http://w3.impa.br/~roma/ is your page)).

I'm building mythtv-0.20.1-161.src.rpm in the context of your macros.
It will take about an hour (if it works) but I'm not going to wait up
to watch it.

Thanks, Paulo and Axel, for your help.



More information about the atrpms-devel mailing list