Date: Tue, 2 Oct 2007 23:33:08 +0100 From: John Murphy <john@freeode.co.uk> To: freebsd-questions@freebsd.org Subject: Re: cups-1.3.3 not compiling anymore in FreeBSD 7.0 Message-ID: <20071002233308.06dfa5bd@turion.freeode.co.uk> In-Reply-To: <47024871.70607@zedat.fu-berlin.de> References: <47024871.70607@zedat.fu-berlin.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 02 Oct 2007 13:32:33 +0000
"O. Hartmann" <ohartman@zedat.fu-berlin.de> wrote:
> Hello,
>
> Since several days all my FreeBSD 7.0-CURRENT boxes are incapable of
> upgrading cups-base port with the follwoing error. Can anyone help?
>
> Thanks a lot,
>
> Regards,
> Oliver
I get a similar error while trying to upgrade kdelibs on 6.2-RELEASE:
gmake[3]: Leaving directory `/usr/ports/x11/kdelibs3/work/kdelibs-3.5.7/kdeprint
/lpdunix'
Making all in cups
gmake[3]: Entering directory `/usr/ports/x11/kdelibs3/work/kdelibs-3.5.7/kdeprin
t/cups'
Making all in cupsdconf2
gmake[4]: Entering directory `/usr/ports/x11/kdelibs3/work/kdelibs-3.5.7/kdeprin
t/cups/cupsdconf2'
echo '#include <kdemacros.h>' > cupsdconf_dummy.cpp; \
echo 'extern "C" int kdemain(int argc, char* argv[]);' >> cupsdconf_dumm
y.cpp; \
echo 'extern "C" KDE_EXPORT int kdeinitmain(int argc, char* argv[]) { re
turn kdemain(argc,argv); }' >> cupsdconf_dummy.cpp
if /bin/sh /usr/local/bin/libtool --silent --tag=CXX --mode=compile c++ -DHAVE_C
ONFIG_H -I. -I. -I../../.. -I../../../dcop -I../../../kdecore -I../../../kio/kss
l -I../../../kjs -I../../.. -I../../../kio -I../../../kfile -I../../../dcop -I..
/../../libltdl -I../../../kdefx -I../../../kdecore -I../../../kdecore -I../../..
/kdecore/network -I../../../kdeui -I../../../kio -I../../../kio/kio -I../../../k
io/kfile -I../../.. -I/usr/local/include -I/usr/local/include -I/usr/local/incl
ude -D_THREAD_SAFE -pthread -DQT_THREAD_SUPPORT -I/usr/local/include -I/usr/l
ocal/include -I/usr/local/include -D_GETOPT_H -D_THREAD_SAFE -Wno-long-long -
Wundef -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -fno-strict-aliasing
-pipe -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CL
EAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION
-MT cupsdconf_dummy.lo -MD -MP -MF ".deps/cupsdconf_dummy.Tpo" -c -o cupsdconf_
dummy.lo cupsdconf_dummy.cpp; \
then mv -f ".deps/cupsdconf_dummy.Tpo" ".deps/cupsdconf_dummy.Plo"; else
rm -f ".deps/cupsdconf_dummy.Tpo"; exit 1; fi
[snip]
if /bin/sh /usr/local/bin/libtool --silent --tag=CC --mode=compile cc -DHAVE_CON
FIG_H -I. -I. -I../../.. -I../../../dcop -I../../../kdecore -I../../../kio/kssl
-I../../../kjs -I../../.. -I../../../kio -I../../../kfile -I../../../dcop -I../.
./../libltdl -I../../../kdefx -I../../../kdecore -I../../../kdecore -I../../../k
decore/network -I../../../kdeui -I../../../kio -I../../../kio/kio -I../../../kio
/kfile -I../../.. -I/usr/local/include -I/usr/local/include -I/usr/local/includ
e -D_THREAD_SAFE -pthread -DQT_THREAD_SUPPORT -I/usr/local/include -I/usr/loc
al/include -I/usr/local/include -D_GETOPT_H -D_THREAD_SAFE -DNDEBUG -O2 -O2
-fno-strict-aliasing -pipe -MT cups-util.lo -MD -MP -MF ".deps/cups-util.Tpo" -
c -o cups-util.lo cups-util.c; \
then mv -f ".deps/cups-util.Tpo" ".deps/cups-util.Plo"; else rm -f ".dep
s/cups-util.Tpo"; exit 1; fi
cups-util.c: In function `cupsGetConf':
cups-util.c:111: error: dereferencing pointer to incomplete type
cups-util.c:119: error: dereferencing pointer to incomplete type
cups-util.c:138: error: dereferencing pointer to incomplete type
cups-util.c:213: warning: `httpRead' is deprecated (declared at /usr/local/inclu
de/cups/http.h:361)
cups-util.c: In function `cupsPutConf':
cups-util.c:308: warning: `httpWrite' is deprecated (declared at /usr/local/incl
ude/cups/http.h:371)
cups-util.c:312: warning: `httpWrite' is deprecated (declared at /usr/local/incl
ude/cups/http.h:371)
cups-util.c:337: error: dereferencing pointer to incomplete type
cups-util.c:345: error: dereferencing pointer to incomplete type
cups-util.c:364: error: dereferencing pointer to incomplete type
cups-util.c: In function `cups_local_auth':
cups-util.c:454: warning: passing arg 1 of `httpAddrLocalhost' from incompatible
pointer type
gmake[4]: *** [cups-util.lo] Error 1
gmake[4]: Leaving directory `/usr/ports/x11/kdelibs3/work/kdelibs-3.5.7/kdeprint
/cups/cupsdconf2'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/usr/ports/x11/kdelibs3/work/kdelibs-3.5.7/kdeprint
/cups'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/ports/x11/kdelibs3/work/kdelibs-3.5.7/kdeprint
'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/x11/kdelibs3/work/kdelibs-3.5.7'
gmake: *** [all] Error 2
*** Error code 2
Stop in /usr/ports/x11/kdelibs3.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.35894.0 en
v UPGRADE_TOOL=portupgrade UPGRADE_PORT=kdelibs-3.5.7_1 UPGRADE_PORT_VER=3.5.7_1
make
** Fix the problem and try again.
** Listing the failed packages (*:skipped / !:failed)
! x11/kdelibs3 (kdelibs-3.5.7_1) (unknown build error)
---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed
--
Thanks, john.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071002233308.06dfa5bd>
