pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/41438: openoffice3 build problem



>Number:         41438
>Category:       pkg
>Synopsis:       curl cppflags not set in openoffice3 build
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri May 15 18:25:00 +0000 2009
>Originator:     Patrick Welche
>Release:        NetBSD 5.99.11
>Organization:
>Environment:
NetBSD-current/i386 of 5th May 2009, pkgsrc-current of 7th May 2009
>Description:
Build ends with the error


1 module(s):
        ucb
need(s) to be rebuilt

Reason(s):

ERROR: error 65280 occurred while making 
/usr/pkgsrc/misc/openoffice3/work.i386/OOO300_m15/ucb/source/ucp/ftp

Attention: if you build and deliver the above module(s) you may prolongue your 
the build issuing command "build --from ucb"


because

/usr/pkgsrc/misc/openoffice3/work.i386/OOO300_m15/ucb/source/ucp/ftp
------------------------------
Making: ../../../unxbsdi3.pro/slo/ftpservices.obj
c++  -fmessage-length=0 -c -O1   -I.  -I../../../unxbsdi3.pro/inc/ucpftp -I../in
c -I../../../inc/pch -I../../../inc -I../../../unx/inc -I../../../unxbsdi3.pro/i
nc -I. -I/usr/pkgsrc/misc/openoffice3/work.i386/OOO300_m15/solver/300/unxbsdi3.p
ro/inc/stl -I/usr/pkgsrc/misc/openoffice3/work.i386/OOO300_m15/solver/300/unxbsd
i3.pro/inc/external -I/usr/pkgsrc/misc/openoffice3/work.i386/OOO300_m15/solver/3
00/unxbsdi3.pro/inc -I/usr/pkgsrc/misc/openoffice3/work.i386/OOO300_m15/solenv/u
nxbsdi3/inc -I/usr/pkgsrc/misc/openoffice3/work.i386/OOO300_m15/solenv/inc -I/us
r/pkgsrc/misc/openoffice3/work.i386/OOO300_m15/res -I/usr/pkgsrc/misc/openoffice
3/work.i386/OOO300_m15/solver/300/unxbsdi3.pro/inc/stl -I/usr/pkgsrc/misc/openof
fice3/work.i386/OOO300_m15/solenv/inc/Xp31 -INO_JAVA_HOME/include -INO_JAVA_HOME
/include/netbsd -INO_JAVA_HOME/include/native_threads/include -INO_JAVA_HOME
/include/netbsd -INO_JAVA_HOME/include/native_threads/include -I/usr/X11R7/inclu
de  -I/usr/pkgsrc/misc/openoffice3/work.i386/OOO300_m15/solver/300/unxbsdi3.pro/
inc/offuh -I. -I../../../res -I. -pipe  -fvisibility-inlines-hidden  -Wno-ctor-d
tor-privacy   -fpic -DNETBSD -DUNX -DVCL -DGCC -DC341 -DINTEL -DCVER=C341 -DX86
-pthread -D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSI
ON=450 -DHAVE_GCC_VISIBILITY_FEATURE -D__DMAKE -DUNIX -DCPPU_ENV=gcc3 -DGXX_INCL
UDE_PATH=/usr/include/g++ -DSUPD=300 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEB
UG_LEVEL=0 -DOPTIMIZE -DCUI   -DSHAREDLIB -D_DLL_   -fexceptions -fno-enforce-eh
-specs -DEXCEPTIONS_ON  -o ../../../unxbsdi3.pro/slo/ftpservices.o /usr/pkgsrc/m
isc/openoffice3/work.i386/OOO300_m15/ucb/source/ucp/ftp/ftpservices.cxx
In file included from /usr/pkgsrc/misc/openoffice3/work.i386/OOO300_m15/ucb/sour
ce/ucp/ftp/ftphandleprovider.hxx:2,
                 from /usr/pkgsrc/misc/openoffice3/work.i386/OOO300_m15/ucb/sour
ce/ucp/ftp/ftpcontentprovider.hxx:40,
                 from /usr/pkgsrc/misc/openoffice3/work.i386/OOO300_m15/ucb/sour
ce/ucp/ftp/ftpservices.cxx:36:
/usr/pkgsrc/misc/openoffice3/work.i386/OOO300_m15/ucb/source/ucp/ftp/curl.hxx:38
:23: error: curl/curl.h: No such file or directory
In file included from /usr/pkgsrc/misc/openoffice3/work.i386/OOO300_m15/ucb/sour
ce/ucp/ftp/ftpcontentprovider.hxx:41,
                 from /usr/pkgsrc/misc/openoffice3/work.i386/OOO300_m15/ucb/sour
ce/ucp/ftp/ftpservices.cxx:36:
/usr/pkgsrc/misc/openoffice3/work.i386/OOO300_m15/ucb/source/ucp/ftp/ftpurl.hxx:
41:23: error: curl/easy.h: No such file or directory


the curl header files are not found. curl was updated on the system with

curl-7.19.4         Client that groks URLs

and the curl headers are installed in /usr/pkg/include.

So the problem seems to be that -I/usr/pkg/include doesn't make it into
the compiler flags above. config_office/configure.in does
CURL_CFLAGS=`$CURLCONFIG --cflags`, and later the environment variable
CURL_CFLAGS seems to be set to /usr/pkg/include, but nowhere do I see
that CURL_CFLAGS is actually used. (i.e., looks like an openoffice rather
than a pkgsrc bug).
>How-To-Repeat:
cd misc/openoffice3
make
>Fix:
I don't know. I tried to workaround with

--- Makefile    16 Apr 2009 21:42:43 -0000      1.30
+++ Makefile    12 May 2009 11:10:44 -0000
@@ -101,7 +101,7 @@
 CONFIGURE_ARGS+=       --disable-gcjaot
 CONFIGURE_ARGS+=       --with-system-stdlibs
 CONFIGURE_ARGS+=       --with-system-cairo
-CONFIGURE_ARGS+=       --with-system-curl
+CONFIGURE_ARGS+=       --without-system-curl
 CONFIGURE_ARGS+=       --with-system-db
 CONFIGURE_ARGS+=       --with-system-expat
 CONFIGURE_ARGS+=       --with-system-freetype
@@ -216,7 +216,7 @@
 .include "../../textproc/icu/buildlink3.mk"
 .include "../../textproc/libxml2/buildlink3.mk"
 .include "../../textproc/libxslt/buildlink3.mk"
-.include "../../www/curl/buildlink3.mk"
+#.include "../../www/curl/buildlink3.mk"
 .include "../../www/neon/buildlink3.mk"
 .include "../../x11/libX11/buildlink3.mk"
 .include "../../x11/libXaw/buildlink3.mk"

but this failed too with

ERROR: error 65280 occurred while making 
/usr/pkgsrc/misc/openoffice3/work.i386/OOO300_m15/curl

and I didn't dig too far as to why.



Home | Main Index | Thread Index | Old Index