On Mon, Dec 29, 2008 at 4:18 PM, Alexander 'Leo' Bergolth <
[email protected]> wrote:

> Hi!
>
> On F10, there seems to be a macro expansion loop in macros.kmdl. (See
> the error below.)
>
> The error seems to be related to the definition of kmdl_name:
>
> Using
>  rpmbuild --define 'kmdl_userland 1' --define 'kmdl_name x' ...
> or
>  rpmbuild --define 'kmdl_name x' ...
>
> works fine but
>
>  rpmbuild --define 'kmdl_userland 1' --define '_kpkgname x' ...
>
> ... also shows the max-recursion error.
>
> Cheers,
> --leo
>
> -------------------- 8< --------------------
> + exec rpmbuild --define '_topdir /home/software/perl/DBD-Oracle' -bb
> perl-DBD-Oracle.spec
> error: Recursion depth(17) greater than max(16)
>  15<                               (empty)
>  14<                             /lib/modules/
>  13<                           (empty)
>  12<                         (empty)
>  11<                       (empty)
>  10<                     (empty)
>  13<                           uname -r
>  12<                         2.6.27.7-134.fc10.i686.PAE/build
>  11<                       /lib/modules/2.6.27.7-134.fc10.i686.PAE...
>  10<                     2.6.27.7-134.fc10.i686.PAE
>  14<                             grep -i fedora.core /etc/redhat-r...
>  13<                           f
>  14<                             %{VERSION}' /etc/redhat-release |...
>  13<                           10
>  12<                         10 | sed -e's,\.,_,g'
>  11<                       f10
>  10<                     f10
> error: Recursion depth(17) greater than max(16)
>  15<                               (empty)
>  14<                             /lib/modules/
>  13<                           (empty)
>  12<                         (empty)
>  11<                       (empty)
>  10<                     (empty)
>  9<                   (empty)
>  8<                 (empty)
>  7<               (empty)
>  6<             %{_kpkgname}-kmdl--debuginfo"
>  5<           debuginfo
>  5<           perl-DBD-Oracle
>  8<                 %{_kpkgname}" = "%{_kpkgname}" && echo 1 || e...
>  7<               1
>  14<                             grep -i fedora.core /etc/redhat-r...
>  13<                           f
>  14<                             %{VERSION}' /etc/redhat-release |...
>  13<                           10
>  12<                         10 | sed -e's,\.,_,g'
>  11<                       f10
>  10<                     f10
> error: Recursion depth(17) greater than max(16)
>  15<                               (empty)
>  14<                             /lib/modules/
>  13<                           (empty)
>  12<                         (empty)
>  11<                       (empty)
>  10<                     (empty)
>  13<                           uname -r
>  12<                         2.6.27.7-134.fc10.i686.PAE/build
>  11<                       /lib/modules/2.6.27.7-134.fc10.i686.PAE...
>  10<                     2.6.27.7-134.fc10.i686.PAE
>  14<                             grep -i fedora.core /etc/redhat-r...
>  13<                           f
>  14<                             %{VERSION}' /etc/redhat-release |...
>  13<                           10
>  12<                         10 | sed -e's,\.,_,g'
>  11<                       f10
>  10<                     f10
> error: Recursion depth(17) greater than max(16)
>  15<                               (empty)
>  14<                             /lib/modules/
>  13<                           (empty)
>  12<                         (empty)
>  11<                       (empty)
>  10<                     (empty)
>  9<                   (empty)
>  8<                 (empty)
>  7<               (empty)
>  6<             %{_kpkgname}-kmdl--debuginfo"
>  5<           debuginfo
>  5<           perl-DBD-Oracle
>  8<                 %{_kpkgname}" = "%{_kpkgname}" && echo 1 || e...
>  7<               1
>  14<                             grep -i fedora.core /etc/redhat-r...
>  13<                           f
>  14<                             %{VERSION}' /etc/redhat-release |...
>  13<                           10
>  12<                         10 | sed -e's,\.,_,g'
>  11<                       f10
>  10<                     f10
> error: Recursion depth(17) greater than max(16)
>  15<                               (empty)
>  14<                             /lib/modules/
>  13<                           (empty)
>  12<                         (empty)
>  11<                       (empty)
>  10<                     (empty)
>  13<                           uname -r
>  12<                         2.6.27.7-134.fc10.i686.PAE/build
>  11<                       /lib/modules/2.6.27.7-134.fc10.i686.PAE...
>  10<                     2.6.27.7-134.fc10.i686.PAE
>  14<                             grep -i fedora.core /etc/redhat-r...
>  13<                           f
>  14<                             %{VERSION}' /etc/redhat-release |...
>  13<                           10
>  12<                         10 | sed -e's,\.,_,g'
>  11<                       f10
>  10<                     f10
> error: Recursion depth(17) greater than max(16)
>  15<                               (empty)
>  14<                             /lib/modules/
>  13<                           (empty)
>  12<                         (empty)
>  11<                       (empty)
>  10<                     (empty)
>  9<                   (empty)
>  8<                 (empty)
>  7<               (empty)
>  6<             %{_kpkgname}-kmdl--debuginfo"
>  5<           debuginfo
>  5<           (empty)
>  4<         (empty)
>  3<       %endif
>  2<     %endif
>  2<     (empty)
>  1<   (empty)
>  0<
> %ifnarch noarch
> %package debuginfo
> Summary: Debug information for package perl-DBD-Oracle
> Group: Development/Debug
> %description debuginfo
> This package provides debug information for package perl-DBD-Oracle.
> Debug information is useful when developing applications that use this
> package or when debugging this package.
> %files debuginfo -f debugfiles.list
> %defattr(-,root,root)
> %endif
>
>
>
> %install
> LANG=C
> export LANG
> unset DISPLAY || :
> Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.EVt1ts
> + umask 022
> + cd /home/software/perl/DBD-Oracle/BUILD
> + LANG=C
> + export LANG
> + unset DISPLAY
> + cd /home/software/perl/DBD-Oracle/BUILD
> + rm -rf DBD-Oracle-1.22
> + /usr/bin/gzip -dc
> /home/software/perl/DBD-Oracle/SOURCES/DBD-Oracle-1.22.tar.gz
> [...]
>
> --
> e-mail   ::: Leo.Bergolth (at) wu-wien.ac.at
> fax      ::: +43-1-31336-906050
> location ::: Computer Center | Vienna University of Economics | Austria
>
>
>

I also have seen this problem.



-- 
Paulo Roma Cavalcanti
LCG - UFRJ
_______________________________________________
atrpms-devel mailing list
[email protected]
http://lists.atrpms.net/mailman/listinfo/atrpms-devel

Reply via email to