[Bug 1058378] Re: Got a %endif with no %if

Mike Miller mike.t.miller at gmail.com
Fri Oct 5 01:52:13 UTC 2012


I posed this problem to the rpm devs, here is the result of the
discussion.

http://lists.rpm.org/pipermail/rpm-list/2012-October/001273.html

I tend to agree with their assessment that this is a fix worth keeping
and not a bug. I recommend that you submit a bug report to STLinux at
https://bugzilla.stlinux.com/ to adapt their rpm configuration to work
with rpm >= 4.10.

This error is specific to the way their rpms are constructed and is more
or less easily worked around. It is something that STLinux is going to
have to deal with sooner or later as rpm 4.10 starts to go out with the
latest release of Fedora and other distributions. Let me know if you
need help reporting the problem to them or any other support.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to rpm in Ubuntu.
https://bugs.launchpad.net/bugs/1058378

Title:
  Got a %endif with no %if

Status in “rpm” package in Ubuntu:
  Confirmed

Bug description:
  Ubuntu 12.10 beta2
  rpm 4.10

  When compiling this spec

  Summary: GNU Compiler Collection
  Name:% {_stm_pkg_prefix}-cross-gcc
  % if_target_cpu sh
  Version: 4.5.2
  % else
  % if_target_cpu arm
  Version: 4.5.0
  % else
  Version: 4.2.4
  % endif
  % endif
  Release: 78
  License: GPL / LGPL
  Group: Development / Languages

  Compilation stops with an error

  Got a% endif with no% if

  With version 4.9.9 compiles ok.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rpm/+bug/1058378/+subscriptions




More information about the foundations-bugs mailing list