Hi all, curl 7.17.0 breaks the build of openoffice.org. Rene has already found the cause, it is described below.
Is it only a formal error by the curl side or openoffice.org requires to be upgraded to the new API? Regards, Domenico On Sat, Sep 15, 2007 at 04:25:52PM +0200, Rene Engelhard wrote: > > 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. -----[ Domenico Andreoli, aka cavok --[ http://www.dandreoli.com/gpgkey.asc ---[ 3A0F 2F80 F79C 678A 8936 4FEE 0677 9033 A20E BC50