Bug 53316 - 'Unclosed %if' error trying to rebuild qt-2.3.1 (-3 and -4) from SRPM
Summary: 'Unclosed %if' error trying to rebuild qt-2.3.1 (-3 and -4) from SRPM
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: qt (Show other bugs)
(Show other bugs)
Version: 7.0
Hardware: i686 Linux
Target Milestone: ---
Assignee: Bernhard Rosenkraenzer
QA Contact: Aaron Brown
Depends On:
TreeView+ depends on / blocked
Reported: 2001-09-06 15:07 UTC by Tim Wunder
Modified: 2007-04-18 16:36 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-09-27 13:54:12 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Tim Wunder 2001-09-06 15:07:35 UTC
When I execute rpm --rebuild qt-2.3.1-3.src.rpm, I get an Unclosed %if error. This happens with both qt-2.3.1-3.src.rpm downloaded from 
the kde mirror site and qt-2.3.1-4.src.rpm, downloaded from the rawhide SRPM ftp site

Comment 1 Bernhard Rosenkraenzer 2001-09-09 21:13:45 UTC
Translator messup. %endif was removed after a %description tag by the program 
that injects translations into the RPMs.

This will be fixed in 8.0, simply ignore it for now, it's just a harmless 

Comment 2 Tim Wunder 2001-09-27 13:54:08 UTC
Hmmm. "simply ignore it for now, it's just a harmless warning." OK, how do I ignore it? I execute "rpm --rebuild qt-2.3.1-3.src.rpm" and the rebuild 
FAILS with the error message "Unclosed %if error". How do I go about "ignoring" that? Is there an rpm --rebuild --"ignore that error you're going to 
get" switch?
Or, are you telling me that I can't use rpm to compile qt and should download the source?

Comment 3 Bernhard Rosenkraenzer 2001-09-27 16:32:59 UTC
You can't ignore it because you're using an ancient version of rpm.
The current rpm just displays the warning and goes on.

Either update rpm, or add the %endif after the "%description Xt" section 
manually. (The build system keeps removing it when it injects translations, 
that's why it's broken in the first place).

The fixed package is waiting for the compiler update in the 8.0 environment.

Note You need to log in before you can comment on or make changes to this bug.