Your message dated Thu, 29 Oct 2009 16:26:51 +0100
with message-id <[email protected]>
and subject line Re: Bug#553164: rpm: macrofiles ignored in rpmconfig.
has caused the Debian Bug report #553164,
regarding rpm: macrofiles ignored in rpmconfig.
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
553164: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=553164
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: rpm
Version: 4.7.1-10
Severity: normal

Hi,

I'm trying to get an RPM build to work on Debian that works OK on a
RedHat system.  The build process writes in the current working
directory
(/home/mph45/svn/pscsg/gridservices/FTS/tier1-fts-config/trunk) an
rpmconfig file:

    macrofiles:     
/usr/lib/rpm/macros:/usr/lib/rpm/%{_target}/macros:/etc/rpm/macros.specspo:/etc/rpm/macros.prelink:/etc/rpm/macros.solve:/etc/rpm/macros.up2date:/etc/rpm/macros:/etc/rpm/%{_target}/macros:/home/mph45/svn/pscsg/gridservices/FTS/tier1-fts-config/trunk/rpmmacros

and an rpmmacros file:

    %_topdir        
/home/mph45/svn/pscsg/gridservices/FTS/tier1-fts-config/trunk
    %_sourcedir %{_topdir}/src
    %_specdir   %{_topdir}
    %_srcrpmdir   %{_topdir}/rpm
    %_rpmdir   %{_topdir}/rpm

It then runs rpmbuild like:

    rpmbuild -ba \
    
--rcfile=/usr/lib/rpm/rpmrc:/home/mph45/svn/pscsg/gridservices/FTS/tier1-fts-config/trunk/rpmconfig
 \
    tier1-fts-config.spec

However, despite being listed in the rpmconfig the generated rpmmacros
file isn't read, and the build fails.  If I copy this rpmmacros file to
~/.rpmmacros, the build process works fine.

Is macrofiles not supported?

Thanks,
Matt

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.25 (PREEMPT)
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages rpm depends on:
ii  debconf [debconf-2.0]  1.5.27            Debian configuration management sy
ii  libc6                  2.9-27            GNU C Library: Shared libraries
ii  libelf1                0.143-1           library to read and write ELF file
ii  libnss3-1d             3.12.4-1          Network Security Service libraries
ii  libpopt0               1.15-1            lib for parsing cmdline parameters
ii  librpm0                4.7.1-10          RPM shared library
ii  librpmbuild0           4.7.0-9           RPM build shared library
ii  librpmio0              4.7.1-10          RPM IO shared library
ii  perl                   5.10.1-5          Larry Wall's Practical Extraction 
ii  rpm-common             4.7.1-10          common files for RPM
ii  zlib1g                 1:1.2.3.3.dfsg-15 compression library - runtime

Versions of packages rpm recommends:
ii  rpm2cpio                      4.7.1-10   tool to convert RPM package to CPI

Versions of packages rpm suggests:
ii  alien                         8.78       convert and install rpm and other 
pn  elfutils                      <none>     (no description available)
pn  rpm-i18n                      <none>     (no description available)

-- debconf information:
  rpm/upgrade-failed:



--- End Message ---
--- Begin Message ---
Dne Thu, 29 Oct 2009 15:19:14 +0000
Matt Hodges <[email protected]> napsal(a):

> >>>>> Michal Čihař writes:
> 
>  > Ah okay, when it was deprecated in time of 4.6, it will be most
>  > likely disabled in 4.7 which we have right now in Debian. So you will
>  > probably have to find another way to configure this.
> 
> Yes.  Sorry I didn't figure that out earlier.

No problem, I did not know it either.

Closing the bug report as it as feature and not a bug ;-).

-- 
        Michal Čihař | http://cihar.com | http://blog.cihar.com

Attachment: signature.asc
Description: PGP signature


--- End Message ---

Reply via email to