Bug 640687 - Invalid configure arguments in spec
Summary: Invalid configure arguments in spec
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: SDL
Version: 6.0
Hardware: All
OS: Linux
low
low
Target Milestone: rc
: ---
Assignee: Petr Pisar
QA Contact: Lukáš Zachar
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-10-06 15:44 UTC by Petr Pisar
Modified: 2012-04-03 15:20 UTC (History)
4 users (show)

Fixed In Version: SDL-1.2.14-3.el6
Doc Type: Bug Fix
Doc Text:
Cause Building SDL package from source RPM package. Consequence `configure' script reported invalid options. Fix Unrecognized configure options have been removed from spec file. Result All options defined in spec file are recognized by SDL configure script.
Clone Of: 581056
Environment:
Last Closed: 2012-04-03 15:20:20 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2012:0446 0 normal SHIPPED_LIVE SDL bug fix update 2012-04-03 19:16:33 UTC

Description Petr Pisar 2010-10-06 15:44:22 UTC
+++ This bug was initially created as a clone of Bug #581056 +++

SDL's spec file includes two invalid (in latest SDL) configure options:

--disable-debug
--enable-dlopen

I think they should be removed from the file.

--- Additional comment from ppisar on 2010-08-12 16:08:45 GMT ---

Seems valid. rpmdiff does not show any differences.

--- Additional comment from updates on 2010-08-12 16:41:05 GMT ---

SDL-1.2.14-7.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/SDL-1.2.14-7.fc13

--- Additional comment from ppisar on 2010-08-12 16:49:03 GMT ---

Committed as 1.2.13-13 to F12, but built. This is just a cosmetic issue and we will not bump new release solely because of it.

Comment 1 Petr Pisar 2010-10-06 15:49:18 UTC
Output from build process:

+ ./configure --build=x86_64-unknown-linux-gnu --host=x86_64-unknown-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-video-svga --disable-video-ggi --disable-video-aalib --disable-debug --enable-sdl-dlopen --enable-dlopen --enable-arts-shared --enable-esd-shared --enable-pulseaudio-shared --enable-alsa --disable-video-ps3 --disable-rpath
configure: WARNING: unrecognized options: --disable-dependency-tracking, --disable-debug, --enable-dlopen

Simple fix:

diff --git a/SDL.spec b/SDL.spec
index c95acee..b47f8ee 100644
--- a/SDL.spec
+++ b/SDL.spec
@@ -89,9 +89,7 @@ libtoolize
 autoconf
 %configure \
    --disable-video-svga --disable-video-ggi --disable-video-aalib \
-   --disable-debug \
    --enable-sdl-dlopen \
-   --enable-dlopen \
    --enable-arts-shared \
    --enable-esd-shared \
    --enable-pulseaudio-shared \

Comment 2 RHEL Program Management 2011-01-07 15:30:59 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unfortunately unable to
address this request at this time. Red Hat invites you to
ask your support representative to propose this request, if
appropriate and relevant, in the next release of Red Hat
Enterprise Linux. If you would like it considered as an
exception in the current release, please ask your support
representative.

Comment 3 RHEL Program Management 2011-07-05 23:42:21 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unfortunately unable to
address this request at this time. Red Hat invites you to
ask your support representative to propose this request, if
appropriate and relevant, in the next release of Red Hat
Enterprise Linux. If you would like it considered as an
exception in the current release, please ask your support
representative.

Comment 8 Petr Pisar 2012-01-10 17:03:59 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Cause
    Building SDL package from source RPM package.
Consequence
    `configure' script reported invalid options.
Fix
    Unrecognized configure options have been removed from
    spec file.
Result
    All options defined in spec file are recognized by SDL
    configure script.

Comment 9 Lukáš Zachar 2012-02-21 14:53:50 UTC
No configure warning in the new version.

Comment 10 errata-xmlrpc 2012-04-03 15:20:20 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2012-0446.html


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