From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3112 invoked by alias); 7 Aug 2002 06:56:03 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 3087 invoked by uid 71); 7 Aug 2002 06:56:02 -0000 Resent-Date: 7 Aug 2002 06:56:02 -0000 Resent-Message-ID: <20020807065602.3086.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-To: nobody@gcc.gnu.org Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, abindus@wanadoo.fr Received: (qmail 31334 invoked by uid 61); 7 Aug 2002 06:52:44 -0000 Message-Id: <20020807065244.31333.qmail@sources.redhat.com> Date: Tue, 06 Aug 2002 23:56:00 -0000 From: abindus@wanadoo.fr Reply-To: abindus@wanadoo.fr To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: c++/7517: g++ incompatible options and multiple compilations X-SW-Source: 2002-08/txt/msg00127.txt.bz2 List-Id: >Number: 7517 >Category: c++ >Synopsis: g++ incompatible options and multiple compilations >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Tue Aug 06 23:56:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Pascal Bonfils >Release: 1 >Organization: >Environment: Linux 2.4.18-3 >Description: unable to build a rpm from source because it seems that some compilation options are not any more supported together : > > g++: ne peut spécifier -o avec -c ou -S et de multiples compilations this could be translated as : g++ : do not specify -o with -c or -S and multiple compilations. This a common problem with many source rpm's. >How-To-Repeat: rpm --rebuild qcad-1.4.16-1.src.rpm >Fix: >Release-Note: >Audit-Trail: >Unformatted: ----gnatsweb-attachment---- Content-Type: text/plain; name="bug.txt" Content-Disposition: inline; filename="bug.txt" rpm --rebuild qcad-1.4.16-1.src.rpm Installing qcad-1.4.16-1.src.rpm Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.69864 + umask 022 + cd /usr/src/redhat/BUILD + cd /usr/src/redhat/BUILD + rm -rf qcad-1.4.16-src + /bin/gzip -dc /usr/src/redhat/SOURCES/qcad-1.4.16-src.tar.gz + tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd qcad-1.4.16-src ++ /usr/bin/id -u + '[' 0 = 0 ']' + /bin/chown -Rhf root . ++ /usr/bin/id -u + '[' 0 = 0 ']' + /bin/chgrp -Rhf root . + /bin/chmod -Rf a+rX,g-w,o-w . + echo 'Patch #0 (qcad-datadir.patch):' Patch #0 (qcad-datadir.patch): + patch -p1 -s + echo 'Patch #1 (qcad-pl.po.patch):' Patch #1 (qcad-pl.po.patch): + patch -p1 -s + echo 'Patch #2 (qcad-Makefile.patch):' Patch #2 (qcad-Makefile.patch): + patch -p1 -s + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.39156 + umask 022 + cd /usr/src/redhat/BUILD + cd qcad-1.4.16-src + /usr/bin/make 'CXXFLAGS=%{rpmcflags} -fno-rtti -fno-exceptions -DNO_DEBUG -DDATADIR=\"/usr/X11R6/share/\"' 'INCPATH=-I/usr/X11R6/include -I/usr/X11R6/include/qt' MOC=moc 'LDFLAGS=%{rpmldflags}' qcad g++ -c %{rpmcflags} -fno-rtti -fno-exceptions -DNO_DEBUG -DDATADIR=\"/usr/X11R6/share/\" -I/usr/X11R6/include -I/usr/X11R6/include/qt -o exprparser.o exprparser.cpp g++: ne peut spécifier -o avec -c ou -S et de multiples compilations make: *** [exprparser.o] Erreur 1 error: Bad exit status from /var/tmp/rpm-tmp.39156 (%build)