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 |
---|
13 | patching file darwin/kcmartsrc |
---|
14 | patching file darwin/kdeglobals |
---|
15 | patching file darwin/knotifyrc |
---|
16 | patching file darwin/konsolerc |
---|
17 | patching file dcop/dcopc.c |
---|
18 | patching file dcop/dcopclient.cpp |
---|
19 | patching file dcop/dcopserver_shutdown.c |
---|
20 | patching file kdecore/Makefile.am |
---|
21 | patching file kdecore/kglobalsettings.cpp |
---|
22 | patching file kdecore/ksocks.cpp |
---|
23 | patching file kdecore/kstandarddirs.cpp |
---|
24 | patching file kdecore/kuniqueapplication.cpp |
---|
25 | patching file kdecore/network/ksocketdevice.cpp |
---|
26 | patching file kdecore/network/syssocket.h |
---|
27 | patching file kded/Makefile.am |
---|
28 | patching file kded/kbuildsycoca.cpp |
---|
29 | patching file kdeprint/configure.in.in |
---|
30 | patching file kdeprint/cups/Makefile.am |
---|
31 | patching file kdeprint/cups/cupsdconf2/Makefile.am |
---|
32 | patching file kdeui/Makefile.am |
---|
33 | patching file kimgio/Makefile.am |
---|
34 | patching file kinit/Makefile.am |
---|
35 | patching file kinit/kinit.cpp |
---|
36 | patching file kinit/start_kdeinit_wrapper.c |
---|
37 | patching file kio/kssl/kopenssl.cc |
---|
38 | patching file kio/misc/kpac/Makefile.am |
---|
39 | patching file environment-helper.sh |
---|
40 | patching file kio/misc/kpac/configure.in.in |
---|
41 | patching file kio/misc/kpac/discovery.cpp |
---|
42 | patching file kinit/lnusertemp.c |
---|
43 | patching file khtml/ecma/xmlhttprequest.cpp |
---|
44 | patching file kio/kssl/kopenssl.cc |
---|
45 | Hunk #2 succeeded at 411 (offset -24 lines). |
---|
46 | Hunk #3 succeeded at 580 (offset -24 lines). |
---|
47 | Hunk #4 succeeded at 968 (offset -24 lines). |
---|
48 | Hunk #5 succeeded at 986 (offset -24 lines). |
---|
49 | patching file kio/kssl/kopenssl.h |
---|
50 | patching file kio/kssl/ksmimecrypto.cc |
---|
51 | patching file kio/kssl/ksslcertificate.cc |
---|
52 | patching file kio/misc/kssld/Makefile.am |
---|
53 | patching file kdeprint/cups/cupsdconf2/cups-util.c |
---|
54 | patching file admin/cvs.sh |
---|
55 | patching 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" |
---|
65 | if [ -z "$PREFIX" ]; then |
---|
66 | echo "ERROR: set \$PREFIX before sourcing this script!" |
---|
67 | exit 1 |
---|
68 | fi |
---|
69 | |
---|
70 | export LDFLAGS="" |
---|
71 | |
---|
72 | # set some basic OS stuff |
---|
73 | SW_VERSION=`sw_vers -productVersion | cut -d. -f1-2` |
---|
74 | sw_vers -productVersion | cut -d. -f1-2 |
---|
75 | case $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 | |
---|
101 | You are using GCC 4.0.0, which is known to compile KDE, but |
---|
102 | produce bad code. Please update to XCode 2.2 or higher. |
---|
103 | |
---|
104 | === ERROR === ERROR === ERROR === ERROR === ERROR === ERROR === |
---|
105 | END |
---|
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 | ;; |
---|
121 | esac |
---|
122 | |
---|
123 | if [ -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="" |
---|
127 | fi |
---|
128 | perl -e '$ENV{MAKEFLAGS} =~ s/^.*?-j(\d+).*?$/-j1 --compile-jobs=$1/; print $ENV{MAKEFLAGS}' |
---|
129 | |
---|
130 | |
---|
131 | SEARCHDIRS="$PREFIX/lib/system-openssl $PREFIX $PREFIX/lib/flex $PREFIX/lib/doxygen1.3" |
---|
132 | |
---|
133 | for 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 |
---|
144 | done |
---|
145 | |
---|
146 | # -fast, minus the unsafe bits |
---|
147 | if [ -d "libltdl" ]; then |
---|
148 | export ACLOCALFLAGS="$ACLOCALFLAGS -I libltdl" |
---|
149 | fi |
---|
150 | export CFLAGS="-Os -fPIC" |
---|
151 | export CXXFLAGS="$CFLAGS" |
---|
152 | export CPPFLAGS="$CPPFLAGS -fno-common -no-cpp-precomp -DMACOSX -DARTS_NO_ALARM -I$PREFIX/include" |
---|
153 | export FREETYPE_CONFIG |
---|
154 | export LIBS="$LIBS -L$PREFIX/lib" |
---|
155 | export SED="sed" |
---|
156 | export 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 | |
---|
158 | export ac_cv_have_x="have_x=yes ac_x_includes=$PREFIX/include ac_x_libraries=$PREFIX/lib" |
---|
159 | export kde_cv_have_x="have_x=yes kde_x_includes=$PREFIX/include kde_x_libraries=$PREFIX/lib" |
---|
160 | export x_includes="$PREFIX/include" x_libraries="$PREFIX/lib" |
---|
161 | export XMKMF="$PREFIX/bin/xmkmf" IMAKE="$PREFIX/bin/imake" |
---|
162 | |
---|
163 | # miscellaneous stuff that packages use |
---|
164 | export lt_cv_sys_max_cmd_len=65536 |
---|
165 | export HOME=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/kdelibs3/work |
---|
166 | export QTDOCDIR="$PREFIX/share/doc/qt3/html" |
---|
167 | [ -x "$PREFIX/lib/flex/bin/flex" ] && export LEX="$PREFIX/lib/flex/bin/flex" |
---|
168 | |
---|
169 | if [ -e "$PREFIX/lib/qt3/include" ]; then |
---|
170 | CONFIGURE_PARAMS="$CONFIGURE_PARAMS --with-qt-dir=$PREFIX/lib/qt3" |
---|
171 | else |
---|
172 | CONFIGURE_PARAMS="$CONFIGURE_PARAMS --with-qt-dir=$PREFIX --with-qt-includes=$PREFIX/include/qt" |
---|
173 | fi |
---|
174 | |
---|
175 | PATH=`echo $PATH | perl -p -e 'for my $entry (split(/:/, $_)) { next if ($entry =~ m,^/usr/local,); push(@path, $entry) }; $_ = join(":", @path)'` |
---|
176 | echo $PATH | perl -p -e 'for my $entry (split(/:/, $_)) { next if ($entry =~ m,^/usr/local,); push(@path, $entry) }; $_ = join(":", @path)' |
---|
177 | |
---|
178 | if [ -x "$PREFIX/lib/xmkmf/bin" ]; then |
---|
179 | export PATH="$PREFIX/lib/xmkmf/bin:$PATH" |
---|
180 | export IMAKEINCLUDE="-I$PREFIX/lib/X11/config" |
---|
181 | fi |
---|
182 | |
---|
183 | if [ `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" |
---|
186 | fi |
---|
187 | grep -r /usr/X11R6 admin 2>/dev/null | wc -l |
---|
188 | *** replacing /usr/X11R6 with /opt/local in the admin/ directory *** |
---|
189 | |
---|
190 | export ALL_LIBRARIES="$LDFLAGS $LIBS" |
---|
191 | |
---|
192 | cat <<END |
---|
193 | the 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 | |
---|
211 | END |
---|
212 | the 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 |
---|
246 | make[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 |
---|
252 | aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' |
---|
253 | acinclude.m4:3724: warning: the serial number must appear before any macro definition |
---|
254 | acinclude.m4:3769: warning: the serial number must appear before any macro definition |
---|
255 | acinclude.m4:3814: warning: the serial number must appear before any macro definition |
---|
256 | acinclude.m4:6007: warning: the serial number must appear before any macro definition |
---|
257 | acinclude.m4:12474: warning: the serial number must appear before any macro definition |
---|
258 | configure.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... |
---|
260 | configure.in:24: the top level |
---|
261 | autom4te263: /opt/local/bin/gm4 failed with exit status: 63 |
---|
262 | aclocal: error: echo failed with exit status: 63 |
---|
263 | make: *** [cvs] Error 1 |
---|
264 | kdelibs3-3.5.10-15 cvs failed! |
---|
265 | Command 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 |
---|
266 | Exit code: 1 |
---|
267 | Warning: targets not executed for kdelibs3: org.macports.install org.macports.build org.macports.destroot |
---|
268 | Please 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 |
---|
270 | To report a bug, follow the instructions in the guide: |
---|
271 | http://guide.macports.org/#project.tickets |
---|