List:General Discussion« Previous MessageNext Message »
From:Michael Widenius Date:September 17 1999 10:36pm
Subject:3.23.3 source rpm broken?
View as plain text  
>>>>> "Richard" == Richard Ellerbrock <richarde@stripped> writes:

Richard> The source rpm for 3.23.3 appears to be broken. A rpm --rebuild gives the
> following error on Redhat 6.0:
Richard> sh: -fomit-frame-pointer: command not found
Richard> Bad exit status from /var/tmp/rpm-tmp.74157 (%build)

Richard> The other rpm's are ok.


Richard> --
Richard> Richard Ellerbrock
Richard> richarde@stripped

Hi!

THanks for the bug report;  We will look this up for 3.23.4


Note that the build entry for 3.23.3 looks like the following:

BuildMySQL() {
# The --enable-assembler simply does nothing on systems that does not
# support assembler speedups.
sh -c  "PATH=\"${MYSQL_BUILD_PATH:-\"/bin:/usr/bin\"}\" \
        CC=\"${MYSQL_BUILD_CC:-egcs}\" \
        CFLAGS=\"${MYSQL_BUILD_CFLAGS:-\"-O6 -fomit-frame-pointer\"}\" \
        CXX=\"${MYSQL_BUILD_CXX:-egcs}\" \
        CXXFLAGS=\"${MYSQL_BUILD_CXXFLAGS:-\"-O6 -fomit-frame-pointer \
                  -felide-constructors -fno-exceptions -fno-rtti\"}\" \
        ./configure \
            $* \
            --enable-assembler \
            --with-mysqld-user=%{mysqld_user} \
            --with-unix-socket-path=/var/lib/mysql/mysql.sock \
            --prefix=/ \
            --exec-prefix=/usr \
            --libexecdir=/usr/sbin \
            --sysconfdir=/etc \
            --datadir=/usr/share \
            --localstatedir=/var/lib/mysql \
            --infodir=/usr/info \
            --includedir=/usr/include \
            --mandir=/usr/man \
            --with-comment=\"Official MySQL RPM\";
            # Add this for more debugging support
            # --with-debug
            "

It may work if you change the start of the above to:

sh -c  'PATH=${MYSQL_BUILD_PATH:-"/bin:/usr/bin"} \
        CC=${MYSQL_BUILD_CC:-egcs} \
        CFLAGS=${MYSQL_BUILD_CFLAGS:-"-O6 -fomit-frame-pointer"} \
        CXX=${MYSQL_BUILD_CXX:-egcs} \
        CXXFLAGS=${MYSQL_BUILD_CXXFLAGS:-"-O6 -fomit-frame-pointer \
                  -felide-constructors -fno-exceptions -fno-rtti"} \
        ./configure \
.....

Regards,
Monty
Thread
3.23.3 source rpm broken?Richard Ellerbrock16 Sep
  • 3.23.3 source rpm broken?Michael Widenius18 Sep
Re: 3.23.3 source rpm broken?Richard Ellerbrock21 Sep