reopen 462844
thanks

Hi Guido,

On Fri, Feb 08, 2008 at 05:32:14PM +0000, Guido Trotter wrote:
>  cpu (1.4.3-10) unstable; urgency=low
>  .
>    * Compile with -DLDAP_DEPRECATED to use ldap_get_values() (closes: #462844)
>    * Acknowledge NMU
>    * Update FSF address in copyright file, and add copyright notice
>    * Update Standards Version
>  .

It appears that this bug has not actually been fixed.  The package is
failing to build on all the autobuilders, with the same error as before. 
The problem is this:

@@ -26,6 +26,7 @@
 
 config.status: configure
        dh_testdir
+       export CFLAGS
        # Add here commands to configure the package.
        ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
                    --prefix=/usr \

This only exports a value of CFLAGS that is already set as a shell variable,
but CFLAGS is only being set as a *make* variable.  What you need to do is
this:

 CFLAGS = -Wall -g -DLDAP_DEPRECATED
 export CFLAGS

I assume this worked for you when building locally because you set this
variable while testing the package, polluting your build env and hiding this
error.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
[EMAIL PROTECTED]                                     [EMAIL PROTECTED]



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to