Ticket #38048: kdelibs3_Debug.txt

File kdelibs3_Debug.txt, 11.2 KB (added by tehcog (tehcog), 12 years ago)

debug log

Line 
1--->  Computing dependencies for kdelibs3
2--->  Fetching archive for kdelibs3
3--->  kdelibs3-3.5.10_15.darwin_10.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
4--->  Attempting to fetch kdelibs3-3.5.10_15.darwin_10.x86_64.tbz2 from http://packages.macports.org/kdelibs3
5--->  Attempting to fetch kdelibs3-3.5.10_15.darwin_10.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/kdelibs3
6--->  Attempting to fetch kdelibs3-3.5.10_15.darwin_10.x86_64.tbz2 from http://lil.fr.packages.macports.org/kdelibs3
7--->  Fetching distfiles for kdelibs3
8--->  Verifying checksum(s) for kdelibs3
9--->  Checksumming kdelibs-3.5.10.tar.bz2
10--->  Checksumming kde-admindir-1502.tar.bz2
11--->  Extracting kdelibs3
12--->  Extracting kdelibs-3.5.10.tar.bz2
13patching file darwin/kcmartsrc
14patching file darwin/kdeglobals
15patching file darwin/knotifyrc
16patching file darwin/konsolerc
17patching file dcop/dcopc.c
18patching file dcop/dcopclient.cpp
19patching file dcop/dcopserver_shutdown.c
20patching file kdecore/Makefile.am
21patching file kdecore/kglobalsettings.cpp
22patching file kdecore/ksocks.cpp
23patching file kdecore/kstandarddirs.cpp
24patching file kdecore/kuniqueapplication.cpp
25patching file kdecore/network/ksocketdevice.cpp
26patching file kdecore/network/syssocket.h
27patching file kded/Makefile.am
28patching file kded/kbuildsycoca.cpp
29patching file kdeprint/configure.in.in
30patching file kdeprint/cups/Makefile.am
31patching file kdeprint/cups/cupsdconf2/Makefile.am
32patching file kdeui/Makefile.am
33patching file kimgio/Makefile.am
34patching file kinit/Makefile.am
35patching file kinit/kinit.cpp
36patching file kinit/start_kdeinit_wrapper.c
37patching file kio/kssl/kopenssl.cc
38patching file kio/misc/kpac/Makefile.am
39patching file environment-helper.sh
40patching file kio/misc/kpac/configure.in.in
41patching file kio/misc/kpac/discovery.cpp
42patching file kinit/lnusertemp.c
43patching file khtml/ecma/xmlhttprequest.cpp
44patching file kio/kssl/kopenssl.cc
45Hunk #2 succeeded at 411 (offset -24 lines).
46Hunk #3 succeeded at 580 (offset -24 lines).
47Hunk #4 succeeded at 968 (offset -24 lines).
48Hunk #5 succeeded at 986 (offset -24 lines).
49patching file kio/kssl/kopenssl.h
50patching file kio/kssl/ksmimecrypto.cc
51patching file kio/kssl/ksslcertificate.cc
52patching file kio/misc/kssld/Makefile.am
53patching file kdeprint/cups/cupsdconf2/cups-util.c
54patching file admin/cvs.sh
55patching file environment-helper.sh
56--->  Configuring kdelibs3
57--->  Building kdelibs3
58#!/bin/sh -ev
59
60        export PREFIX="/opt/local" USE_UNSERMAKE=1
61        . ./environment-helper.sh
62#!/bin/sh
63
64[ -n "$EH_PREFIX" ] && export PREFIX="$EH_PREFIX"
65if [ -z "$PREFIX" ]; then
66        echo "ERROR: set \$PREFIX before sourcing this script!"
67        exit 1
68fi
69
70export LDFLAGS=""
71
72# set some basic OS stuff
73SW_VERSION=`sw_vers -productVersion | cut -d. -f1-2`
74sw_vers -productVersion | cut -d. -f1-2
75case $SW_VERSION in
76        10.[01])
77                echo "unsupported OS version: $SW_VERSION"
78                exit 1
79                ;;
80        10.2)
81                export MACOSX_DEPLOYMENT_TARGET=10.2
82                FREETYPE_CONFIG=$PREFIX/bin/freetype-config
83                ;;
84        10.3)
85                export MACOSX_DEPLOYMENT_TARGET="$SW_VERSION"
86                export LD_TWOLEVEL_NAMESPACE=true
87                FREETYPE_CONFIG=$PREFIX/bin/freetype-config
88                ;;
89        10.4)
90                export MACOSX_DEPLOYMENT_TARGET="$SW_VERSION"
91                export LD_TWOLEVEL_NAMESPACE=true
92                FREETYPE_CONFIG=$PREFIX/bin/freetype-config
93
94                GCCCMD="gcc"
95                [ -n "$CC" ] && GCCCMD="$CC"
96
97                if [ `$GCCCMD --version 2>&1 | grep -c ' 4.0.0 '` -gt 0 ]; then
98                        cat <<END
99=== ERROR === ERROR === ERROR === ERROR === ERROR === ERROR ===
100
101You are using GCC 4.0.0, which is known to compile KDE, but
102produce bad code.  Please update to XCode 2.2 or higher.
103
104=== ERROR === ERROR === ERROR === ERROR === ERROR === ERROR ===
105END
106                        exit 1
107                fi
108                ;;
109        10.5)
110                export MACOSX_DEPLOYMENT_TARGET="$SW_VERSION"
111                export LD_TWOLEVEL_NAMESPACE=true
112                export LDFLAGS="-Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib -Wl,-dead_strip_dylibs"
113                FREETYPE_CONFIG=$PREFIX/bin/freetype-config
114                ;;
115        *)
116                export MACOSX_DEPLOYMENT_TARGET="$SW_VERSION"
117                export LD_TWOLEVEL_NAMESPACE=true
118                export LDFLAGS="-Wl,-dead_strip_dylibs"
119                FREETYPE_CONFIG=$PREFIX/bin/freetype-config
120                ;;
121esac
122
123if [ -n "$USE_UNSERMAKE" ] && [ "$USE_UNSERMAKE" -gt 0 ]; then
124        UNSERMAKEFLAGS=`perl -e '$ENV{MAKEFLAGS} =~ s/^.*?-j(\d+).*?$/-j1 --compile-jobs=$1/; print $ENV{MAKEFLAGS}'`
125        UNSERMAKEFLAGS="$UNSERMAKEFLAGS -p"
126        MAKEFLAGS=""
127fi
128perl -e '$ENV{MAKEFLAGS} =~ s/^.*?-j(\d+).*?$/-j1 --compile-jobs=$1/; print $ENV{MAKEFLAGS}'
129
130
131SEARCHDIRS="$PREFIX/lib/system-openssl $PREFIX $PREFIX/lib/flex $PREFIX/lib/doxygen1.3"
132
133for dir in $SEARCHDIRS; do
134        if [ -d "$dir" ]; then
135                for incdir in "$dir/include/freetype2" "$dir/include"; do
136                        if [ -d "$incdir" ]; then
137                                export CPPFLAGS="$CPPFLAGS -I$incdir"
138                        fi
139                done
140                [ -d "$dir/lib" ]           && export LDFLAGS="-L$dir/lib $LDFLAGS"
141                [ -d "$dir/bin" ]           && export PATH="$dir/bin:$PATH"
142                [ -d "$dir/lib/pkgconfig" ] && export PKG_CONFIG_PATH="$dir/lib/pkgconfig:$PKG_CONFIG_PATH"
143        fi
144done
145
146# -fast, minus the unsafe bits
147if [ -d "libltdl" ]; then
148        export ACLOCALFLAGS="$ACLOCALFLAGS -I libltdl"
149fi
150export CFLAGS="-Os -fPIC"
151export CXXFLAGS="$CFLAGS"
152export CPPFLAGS="$CPPFLAGS -fno-common -no-cpp-precomp -DMACOSX -DARTS_NO_ALARM -I$PREFIX/include"
153export FREETYPE_CONFIG
154export LIBS="$LIBS -L$PREFIX/lib"
155export SED="sed"
156export CONFIGURE_PARAMS="--includedir=$PREFIX/include --libdir=$PREFIX/lib --prefix=$PREFIX --with-extra-libs=$PREFIX/lib --with-extra-includes=$PREFIX/include --enable-mt --with-pic --enable-rpath --enable-shared=yes --enable-static=no --mandir=$PREFIX/share/man --with-xinerama --with-pam --disable-final --with-ssl-dir=$PREFIX --with-ssl --disable-dependency-tracking --enable-gcc-hidden-visibility"
157
158export ac_cv_have_x="have_x=yes ac_x_includes=$PREFIX/include ac_x_libraries=$PREFIX/lib"
159export kde_cv_have_x="have_x=yes kde_x_includes=$PREFIX/include kde_x_libraries=$PREFIX/lib"
160export x_includes="$PREFIX/include" x_libraries="$PREFIX/lib"
161export XMKMF="$PREFIX/bin/xmkmf" IMAKE="$PREFIX/bin/imake"
162
163# miscellaneous stuff that packages use
164export lt_cv_sys_max_cmd_len=65536
165export HOME=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/kdelibs3/work
166export QTDOCDIR="$PREFIX/share/doc/qt3/html"
167[ -x "$PREFIX/lib/flex/bin/flex" ] && export LEX="$PREFIX/lib/flex/bin/flex"
168
169if [ -e "$PREFIX/lib/qt3/include" ]; then
170        CONFIGURE_PARAMS="$CONFIGURE_PARAMS --with-qt-dir=$PREFIX/lib/qt3"
171else
172        CONFIGURE_PARAMS="$CONFIGURE_PARAMS --with-qt-dir=$PREFIX --with-qt-includes=$PREFIX/include/qt"
173fi
174
175PATH=`echo $PATH | perl -p -e 'for my $entry (split(/:/, $_)) { next if ($entry =~ m,^/usr/local,); push(@path, $entry) }; $_ = join(":", @path)'`
176echo $PATH | perl -p -e 'for my $entry (split(/:/, $_)) { next if ($entry =~ m,^/usr/local,); push(@path, $entry) }; $_ = join(":", @path)'
177
178if [ -x "$PREFIX/lib/xmkmf/bin" ]; then
179        export PATH="$PREFIX/lib/xmkmf/bin:$PATH"
180        export IMAKEINCLUDE="-I$PREFIX/lib/X11/config"
181fi
182
183if [ `grep -r /usr/X11R6 admin 2>/dev/null | wc -l` -gt 0 ]; then
184        echo "*** replacing /usr/X11R6 with $PREFIX in the admin/ directory ***"
185        find admin -type f | xargs perl -pi -e "s,/usr/X11R6,$PREFIX,g"
186fi
187grep -r /usr/X11R6 admin 2>/dev/null | wc -l
188*** replacing /usr/X11R6 with /opt/local in the admin/ directory ***
189
190export ALL_LIBRARIES="$LDFLAGS $LIBS"
191
192cat <<END
193the following environment is being used:
194
195  ACLOCALFLAGS:             $ACLOCALFLAGS
196  CFLAGS:                   $CFLAGS
197  CPPFLAGS:                 $CPPFLAGS
198  CXXFLAGS:                 $CXXFLAGS
199  CC:                       $CC
200  CXX:                      $CXX
201  FREETYPE_CONFIG:          $FREETYPE_CONFIG
202  LDFLAGS:                  $LDFLAGS
203  LIBS:                     $LIBS
204  MACOSX_DEPLOYMENT_TARGET: $MACOSX_DEPLOYMENT_TARGET
205  PATH:                     $PATH
206  PKG_CONFIG_PATH:          $PKG_CONFIG_PATH
207  CONFIGURE_PARAMS:         $CONFIGURE_PARAMS
208  UNSERMAKEFLAGS:           $UNSERMAKEFLAGS
209  MAKEFLAGS:                $MAKEFLAGS
210
211END
212the following environment is being used:
213
214  ACLOCALFLAGS:              -I libltdl
215  CFLAGS:                   -Os -fPIC
216  CPPFLAGS:                  -I/opt/local/include/freetype2 -I/opt/local/include -fno-common -no-cpp-precomp -DMACOSX -DARTS_NO_ALARM -I/opt/local/include
217  CXXFLAGS:                 -Os -fPIC
218  CC:                       /usr/bin/gcc-4.2
219  CXX:                      /usr/bin/g++-4.2
220  FREETYPE_CONFIG:          /opt/local/bin/freetype-config
221  LDFLAGS:                  -L/opt/local/lib -Wl,-dead_strip_dylibs
222  LIBS:                      -L/opt/local/lib
223  MACOSX_DEPLOYMENT_TARGET: 10.6
224  PATH:                     /opt/local/bin:/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin
225  PKG_CONFIG_PATH:          /opt/local/lib/pkgconfig:
226  CONFIGURE_PARAMS:         --includedir=/opt/local/include --libdir=/opt/local/lib --prefix=/opt/local --with-extra-libs=/opt/local/lib --with-extra-includes=/opt/local/include --enable-mt --with-pic --enable-rpath --enable-shared=yes --enable-static=no --mandir=/opt/local/share/man --with-xinerama --with-pam --disable-final --with-ssl-dir=/opt/local --with-ssl --disable-dependency-tracking --enable-gcc-hidden-visibility --with-qt-dir=/opt/local/lib/qt3
227  UNSERMAKEFLAGS:           -j1 --compile-jobs=2 -p
228  MAKEFLAGS:               
229
230
231        case $SW_VERSION in
232                6*|7*)
233                        export CPPFLAGS="$CPPFLAGS -DHAVE_SYS_EXEC_H=1"
234                        ;;
235                10.8)
236                        export CPPFLAGS="$CPPFLAGS -D_IPP_PRIVATE_STRUCTURES=1"
237                        ;;
238        esac
239
240        export CPPFLAGS="-I/usr/include/gssapi $CPPFLAGS"
241
242        ./build-helper.sh cvs       kdelibs3 3.5.10 15 make -f admin/Makefile.common cvs
243*** YOU'RE USING UNSERMAKE.
244*** GOOD LUCK!! :)
245*** Creating acinclude.m4
246make[1]: Nothing to be done for `acinclude.m4'.
247*** Creating list of subdirectories
248*** Creating Makefile.am
249*** Creating configure.files
250*** Creating configure.in
251*** Creating aclocal.m4
252aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
253acinclude.m4:3724: warning: the serial number must appear before any macro definition
254acinclude.m4:3769: warning: the serial number must appear before any macro definition
255acinclude.m4:3814: warning: the serial number must appear before any macro definition
256acinclude.m4:6007: warning: the serial number must appear before any macro definition
257acinclude.m4:12474: warning: the serial number must appear before any macro definition
258configure.in:24: error: Autoconf version 2.65 or higher is required
259/opt/local/share/aclocal-1.13/init.m4:23: AM_INIT_AUTOMAKE is expanded from...
260configure.in:24: the top level
261autom4te263: /opt/local/bin/gm4 failed with exit status: 63
262aclocal: error: echo failed with exit status: 63
263make: *** [cvs] Error 1
264kdelibs3-3.5.10-15 cvs failed!
265Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10" && ./CompileScript.sh all
266Exit code: 1
267Warning: targets not executed for kdelibs3: org.macports.install org.macports.build org.macports.destroot
268Please see the log file for port kdelibs3 for details:
269    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/kdelibs3/main.log
270To report a bug, follow the instructions in the guide:
271    http://guide.macports.org/#project.tickets