RPM Community Forums

Mailing List Message of <rpm-devel>

Re: [CVS] RPM: rpm-5_1: rpm/ CHANGES rpm/lib/ fsm.c librpm.vers rpminstall...

From: Jeff Johnson <n3npq@mac.com>
Date: Mon 06 Oct 2008 - 21:53:06 CEST
Message-id: <C90EF61C-9A12-4ED2-8700-B8168A713FEA@mac.com>

On Oct 6, 2008, at 3:43 PM, Ralf S. Engelschall wrote:

> On Mon, Oct 06, 2008, Jeff Johnson wrote:
>
>> This was the last fix stopping rpm-5.1.5 release afaik.
>
> Cool. I'll try to release 5.1.5 at the weekend -- once I was able to
> first perform my usual amount of portability and run-time tests. I'll
> drop a note once I'll start with the testing. Until this time feel  
> free
> to still commit more fixes to the 5.1 branch...
>

BTW, I'm seeing some issues using devtool system on Fedora 10beta with  
this code in configure.ac:

AC_ARG_ENABLE(build-debug,
     AS_HELP_STRING([--enable-build-debug], [build RPM instrumented  
for debugging]), [dnl
     if test ".$enableval" = .yes; then
         if test ".`$CC --version 2>&1 | grep 'GCC'`" != .; then
             dnl # GNU GCC (usually "gcc")
             CFLAGS="$CFLAGS -O0 -g3"
         elif test ".`$CC -V 2>&1 | grep 'Sun C'`" != .; then
             dnl # Sun Studio (usually "cc")
             CFLAGS="$CFLAGS -xO0 -g"
         elif test ".`$CC -help 2>&1 | grep 'Intel Corporation'`" ! 
= .; then
             dnl # Intel C/C++ Compiler (usually "icc")
             CFLAGS="$CFLAGS -O0 -g"
         else
             CFLAGS="$CFLAGS -g"
         fi
     fi
])

What's happing is that -O2 is later overridden with -O0 -g3 if
--enable-build-debug is added (as it has been since forever by me).

What I'd like to see is "-O2 -g" so that "make install" includes
debugging symbols. Whether that behavior is conditioned on
--enable-build-debug (or not), I really don't care.

There's also some OSSP UUID foolishness on Fedora 10 beta,
Kerberos pkgconfig seems to be specifying -I/usr/include/uuid
and the Wrong Thing Happens in the lua/rpmio uuid wrappers.

Not a real issue, jssue imho, just Fedora foolishness, but ...

There's also a test for MakeMaker that might be usefully added to  
AutoFu.
OTOH its also perfectly OK to assume that perl implies MakeMaker
is installed imho.

hth

73 de Jeff




>                                       Ralf S. Engelschall
>                                       rse@engelschall.com
>                                       www.engelschall.com
>
> ______________________________________________________________________
> RPM Package Manager                                    http://rpm5.org
> Developer Communication List                        rpm-devel@rpm5.org
Received on Mon Oct 6 21:53:57 2008
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.