clone 442338 -1
reassign -1 libcurl4-gnutls-dev
retitle -1 CURLE_FTP_USER_PASSWORD_INCORRECT gone, CURLE_OBSOLETE10 not working
severity -1 grave
found -1 7.17.0-1
block 442338 by -1
thanks

Hi,


Frank Lichtenheld wrote:
> your package failed to build from source.

because curl broke afais.

> [...]
> | Making: ../../../unxlngs.pro/slo/ftpcontent.obj
> | g++  -fmessage-length=0 -c -O2 -fno-strict-aliasing   -DCURL_NO_OLDIES -I.  
> -I../../../unxlngs.pro/inc/ucpftp -I../inc -I../../../inc/pch -I../../../inc 
> -I../../../unx/inc -I../../../unxlngs.pro/inc -I. 
> -I/build/buildd/openoffice.org-2.3.0~rc3/ooo-build/build/OOG680_m5/solver/680/unxlngs.pro/inc/stl
>  
> -I/build/buildd/openoffice.org-2.3.0~rc3/ooo-build/build/OOG680_m5/solver/680/unxlngs.pro/inc/external
>  
> -I/build/buildd/openoffice.org-2.3.0~rc3/ooo-build/build/OOG680_m5/solver/680/unxlngs.pro/inc
>  
> -I/build/buildd/openoffice.org-2.3.0~rc3/ooo-build/build/OOG680_m5/solenv/unxlngs/inc
>  
> -I/build/buildd/openoffice.org-2.3.0~rc3/ooo-build/build/OOG680_m5/solenv/inc 
> -I/build/buildd/openoffice.org-2.3.0~rc3/ooo-build/build/OOG680_m5/res 
> -I/build/buildd/openoffice.org-2.3.0~rc3/stlport/stlport 
> -I/build/buildd/openoffice.org-2.3.0~rc3/stlport/include/stlport 
> -I/build/buildd/openoffice.org-2.3.0~rc3/stlport/include/stlport 
> -I/build/buildd/openoffice.org-2.3.0~rc3/ooo-build/build/OOG680_m5/solenv/inc/Xp31
>  -I/usr/lib/jvm/java-gcj/include -I/usr/include     
> -I/build/buildd/openoffice.org-2.3.0~rc3/ooo-build/build/OOG680_m5/solver/680/unxlngs.pro/inc/offuh
>  -I. -I../../../res -I. -pipe  -g1 -Wreturn-type -Wno-ctor-dtor-privacy   
> -fPIC -DLINUX -DUNX -DVCL -DGCC -DC300 -DSPARC -DCVER=C300 -DNPTL -DGLIBC=2 
> -D_PTHREADS -D_REENTRANT -DSPARC -DNEW_SOLAR -D_USE_NAMESPACE=1 
> -DSTLPORT_VERSION=400 -DHAVE_GCC_VISIBILITY_FEATURE -D__DMAKE -DUNIX 
> -DCPPU_ENV=gcc3 -DGXX_INCLUDE_PATH=/usr/include/c++/4.2 -DSUPD=680 -DPRODUCT 
> -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DGSTREAMER -DCUI 
> -DSOLAR_JAVA -DOOG680=OOG680   -DSHAREDLIB -D_DLL_   -fexceptions 
> -fno-enforce-eh-specs -DEXCEPTIONS_ON  -o 
> ../../../unxlngs.pro/slo/ftpcontent.o 
> /build/buildd/openoffice.org-2.3.0~rc3/ooo-build/build/OOG680_m5/ucb/source/ucp/ftp/ftpcontent.cxx
>  
> | 
> /build/buildd/openoffice.org-2.3.0~rc3/ooo-build/build/OOG680_m5/ucb/source/ucp/ftp/ftpcontent.cxx:
>  In member function 'virtual com::sun::star::uno::Any 
> ftp::FTPContent::execute(const com::sun::star::ucb::Command&, sal_Int32, 
> const 
> com::sun::star::uno::Reference<com::sun::star::ucb::XCommandEnvironment>&)':
> | 
> /build/buildd/openoffice.org-2.3.0~rc3/ooo-build/build/OOG680_m5/ucb/source/ucp/ftp/ftpcontent.cxx:587:
>  error: 'CURLE_FTP_USER_PASSWORD_INCORRECT' was not declared in this scope
> | 
> /build/buildd/openoffice.org-2.3.0~rc3/ooo-build/build/OOG680_m5/ucb/source/ucp/ftp/ftpcontent.cxx:588:
>  error: 'CURLE_BAD_PASSWORD_ENTERED' was not declared in this scope
> | 
> /build/buildd/openoffice.org-2.3.0~rc3/ooo-build/build/OOG680_m5/ucb/source/ucp/ftp/ftpcontent.cxx:591:
>  error: 'CURLE_FTP_ACCESS_DENIED' was not declared in this scope
> | 
> /build/buildd/openoffice.org-2.3.0~rc3/ooo-build/build/OOG680_m5/ucb/source/ucp/ftp/ftpcontent.cxx:593:
>  error: 'CURLE_FTP_QUOTE_ERROR' was not declared in this scope
> | dmake:  Error code 1, while making '../../../unxlngs.pro/slo/ftpcontent.obj'
> | ---* tg_merge.mk *---

Looking at curl 7.16.4, I see this defined in curl.h as 10:

$ grep -r CURLE_FTP_USER_PASSWORD_INCORRECT /usr/include/curl/*
/usr/include/curl/curl.h:  CURLE_FTP_USER_PASSWORD_INCORRECT, /* 10 -NOT USED */

in an enum.

Now, with
7.17.0:

$ grep -r CURLE_FTP_USER_PASSWORD_INCORRECT /usr/include/curl/*
/usr/include/curl/curl.h:#define CURLE_FTP_USER_PASSWORD_INCORRECT 
CURLE_OBSOLETE10

$ grep -r CURLE_OBSOLETE10 /usr/include/curl/*
/usr/include/curl/curl.h:  CURLE_OBSOLETE10,              /* 10 - NOT USED */
/usr/include/curl/curl.h:#define CURLE_FTP_USER_PASSWORD_INCORRECT 
CURLE_OBSOLETE10

with CURLE_OBSOLETE10 now being in the enum.

It seems that curl wanted to keep compatibility but actually broke it
because the subsitution doesn't work?

Reassigning a clone to curl.

Grüße/Regards,

René
-- 
 .''`.  René Engelhard -- Debian GNU/Linux Developer
 : :' : http://www.debian.org | http://people.debian.org/~rene/
 `. `'  [EMAIL PROTECTED] | GnuPG-Key ID: 248AEB73
   `-   Fingerprint: 41FA F208 28D4 7CA5 19BB  7AD9 F859 90B0 248A EB73

Attachment: signature.asc
Description: Digital signature

Reply via email to