1 | version:1 |
---|
2 | :debug:main changing euid/egid - current euid: 0 - current egid: 0 |
---|
3 | :debug:main egid changed to: 501 |
---|
4 | :debug:main euid changed to: 502 |
---|
5 | :debug:main Executing org.macports.main (kdelibs3) |
---|
6 | :debug:main Privilege de-escalation not attempted as not running as root. |
---|
7 | :debug:main Skipping completed org.macports.archivefetch (kdelibs3) |
---|
8 | :debug:main Privilege de-escalation not attempted as not running as root. |
---|
9 | :debug:main Skipping completed org.macports.fetch (kdelibs3) |
---|
10 | :debug:main Privilege de-escalation not attempted as not running as root. |
---|
11 | :debug:main Skipping completed org.macports.checksum (kdelibs3) |
---|
12 | :debug:main Privilege de-escalation not attempted as not running as root. |
---|
13 | :debug:main Skipping completed org.macports.extract (kdelibs3) |
---|
14 | :debug:main Privilege de-escalation not attempted as not running as root. |
---|
15 | :debug:main Skipping completed org.macports.patch (kdelibs3) |
---|
16 | :debug:main Privilege de-escalation not attempted as not running as root. |
---|
17 | :debug:main Skipping completed org.macports.configure (kdelibs3) |
---|
18 | :debug:main Privilege de-escalation not attempted as not running as root. |
---|
19 | :debug:build build phase started at Fri Jun 8 16:01:59 BST 2012 |
---|
20 | :notice:build ---> Building kdelibs3 |
---|
21 | :debug:build Executing org.macports.build (kdelibs3) |
---|
22 | :debug:build Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdelibs3/kdelibs3/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.7' AUTOCONF='autoconf263' MAKEFLAGS='-j5' |
---|
23 | :debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10" && ./CompileScript.sh all' |
---|
24 | :debug:build Executing command line: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10" && ./CompileScript.sh all |
---|
25 | :info:build #!/bin/sh -ev |
---|
26 | :info:build |
---|
27 | :info:build export PREFIX="/opt/local" USE_UNSERMAKE=1 |
---|
28 | :info:build . ./environment-helper.sh |
---|
29 | :info:build #!/bin/sh |
---|
30 | :info:build |
---|
31 | :info:build [ -n "$EH_PREFIX" ] && export PREFIX="$EH_PREFIX" |
---|
32 | :info:build if [ -z "$PREFIX" ]; then |
---|
33 | :info:build echo "ERROR: set \$PREFIX before sourcing this script!" |
---|
34 | :info:build exit 1 |
---|
35 | :info:build fi |
---|
36 | :info:build |
---|
37 | :info:build export LDFLAGS="" |
---|
38 | :info:build |
---|
39 | :info:build # set some basic OS stuff |
---|
40 | :info:build SW_VERSION=`sw_vers -productVersion | cut -d. -f1-2` |
---|
41 | :info:build sw_vers -productVersion | cut -d. -f1-2 |
---|
42 | :info:build case $SW_VERSION in |
---|
43 | :info:build 10.[01]) |
---|
44 | :info:build echo "unsupported OS version: $SW_VERSION" |
---|
45 | :info:build exit 1 |
---|
46 | :info:build ;; |
---|
47 | :info:build 10.2) |
---|
48 | :info:build export MACOSX_DEPLOYMENT_TARGET=10.2 |
---|
49 | :info:build FREETYPE_CONFIG=$PREFIX/bin/freetype-config |
---|
50 | :info:build ;; |
---|
51 | :info:build 10.3) |
---|
52 | :info:build export MACOSX_DEPLOYMENT_TARGET="$SW_VERSION" |
---|
53 | :info:build export LD_TWOLEVEL_NAMESPACE=true |
---|
54 | :info:build FREETYPE_CONFIG=$PREFIX/bin/freetype-config |
---|
55 | :info:build ;; |
---|
56 | :info:build 10.4) |
---|
57 | :info:build export MACOSX_DEPLOYMENT_TARGET="$SW_VERSION" |
---|
58 | :info:build export LD_TWOLEVEL_NAMESPACE=true |
---|
59 | :info:build FREETYPE_CONFIG=$PREFIX/bin/freetype-config |
---|
60 | :info:build |
---|
61 | :info:build GCCCMD="gcc" |
---|
62 | :info:build [ -n "$CC" ] && GCCCMD="$CC" |
---|
63 | :info:build |
---|
64 | :info:build if [ `$GCCCMD --version 2>&1 | grep -c ' 4.0.0 '` -gt 0 ]; then |
---|
65 | :info:build cat <<END |
---|
66 | :info:build === ERROR === ERROR === ERROR === ERROR === ERROR === ERROR === |
---|
67 | :info:build |
---|
68 | :info:build You are using GCC 4.0.0, which is known to compile KDE, but |
---|
69 | :info:build produce bad code. Please update to XCode 2.2 or higher. |
---|
70 | :info:build |
---|
71 | :info:build === ERROR === ERROR === ERROR === ERROR === ERROR === ERROR === |
---|
72 | :info:build END |
---|
73 | :info:build exit 1 |
---|
74 | :info:build fi |
---|
75 | :info:build ;; |
---|
76 | :info:build 10.5) |
---|
77 | :info:build export MACOSX_DEPLOYMENT_TARGET="$SW_VERSION" |
---|
78 | :info:build export LD_TWOLEVEL_NAMESPACE=true |
---|
79 | :info:build 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" |
---|
80 | :info:build FREETYPE_CONFIG=$PREFIX/bin/freetype-config |
---|
81 | :info:build ;; |
---|
82 | :info:build *) |
---|
83 | :info:build export MACOSX_DEPLOYMENT_TARGET="$SW_VERSION" |
---|
84 | :info:build export LD_TWOLEVEL_NAMESPACE=true |
---|
85 | :info:build export LDFLAGS="-Wl,-dead_strip_dylibs" |
---|
86 | :info:build FREETYPE_CONFIG=$PREFIX/bin/freetype-config |
---|
87 | :info:build ;; |
---|
88 | :info:build esac |
---|
89 | :info:build |
---|
90 | :info:build if [ -n "$USE_UNSERMAKE" ] && [ "$USE_UNSERMAKE" -gt 0 ]; then |
---|
91 | :info:build UNSERMAKEFLAGS=`perl -e '$ENV{MAKEFLAGS} =~ s/^.*?-j(\d+).*?$/-j1 --compile-jobs=$1/; print $ENV{MAKEFLAGS}'` |
---|
92 | :info:build UNSERMAKEFLAGS="$UNSERMAKEFLAGS -p" |
---|
93 | :info:build MAKEFLAGS="" |
---|
94 | :info:build fi |
---|
95 | :info:build perl -e '$ENV{MAKEFLAGS} =~ s/^.*?-j(\d+).*?$/-j1 --compile-jobs=$1/; print $ENV{MAKEFLAGS}' |
---|
96 | :info:build |
---|
97 | :info:build |
---|
98 | :info:build SEARCHDIRS="$PREFIX/lib/system-openssl $PREFIX $PREFIX/lib/flex $PREFIX/lib/doxygen1.3" |
---|
99 | :info:build |
---|
100 | :info:build for dir in $SEARCHDIRS; do |
---|
101 | :info:build if [ -d "$dir" ]; then |
---|
102 | :info:build for incdir in "$dir/include/freetype2" "$dir/include"; do |
---|
103 | :info:build if [ -d "$incdir" ]; then |
---|
104 | :info:build export CPPFLAGS="$CPPFLAGS -I$incdir" |
---|
105 | :info:build fi |
---|
106 | :info:build done |
---|
107 | :info:build [ -d "$dir/lib" ] && export LDFLAGS="-L$dir/lib $LDFLAGS" |
---|
108 | :info:build [ -d "$dir/bin" ] && export PATH="$dir/bin:$PATH" |
---|
109 | :info:build [ -d "$dir/lib/pkgconfig" ] && export PKG_CONFIG_PATH="$dir/lib/pkgconfig:$PKG_CONFIG_PATH" |
---|
110 | :info:build fi |
---|
111 | :info:build done |
---|
112 | :info:build |
---|
113 | :info:build # -fast, minus the unsafe bits |
---|
114 | :info:build if [ -d "libltdl" ]; then |
---|
115 | :info:build export ACLOCALFLAGS="$ACLOCALFLAGS -I libltdl" |
---|
116 | :info:build fi |
---|
117 | :info:build export CFLAGS="-Os -fPIC" |
---|
118 | :info:build export CXXFLAGS="$CFLAGS" |
---|
119 | :info:build export CPPFLAGS="$CPPFLAGS -fno-common -no-cpp-precomp -DMACOSX -DARTS_NO_ALARM -I$PREFIX/include" |
---|
120 | :info:build export FREETYPE_CONFIG |
---|
121 | :info:build export LIBS="$LIBS -L$PREFIX/lib" |
---|
122 | :info:build export SED="sed" |
---|
123 | :info:build 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" |
---|
124 | :info:build |
---|
125 | :info:build export ac_cv_have_x="have_x=yes ac_x_includes=$PREFIX/include ac_x_libraries=$PREFIX/lib" |
---|
126 | :info:build export kde_cv_have_x="have_x=yes kde_x_includes=$PREFIX/include kde_x_libraries=$PREFIX/lib" |
---|
127 | :info:build export x_includes="$PREFIX/include" x_libraries="$PREFIX/lib" |
---|
128 | :info:build export XMKMF="$PREFIX/bin/xmkmf" IMAKE="$PREFIX/bin/imake" |
---|
129 | :info:build |
---|
130 | :info:build # miscellaneous stuff that packages use |
---|
131 | :info:build export lt_cv_sys_max_cmd_len=65536 |
---|
132 | :info:build export HOME=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdelibs3/kdelibs3/work |
---|
133 | :info:build export QTDOCDIR="$PREFIX/share/doc/qt3/html" |
---|
134 | :info:build [ -x "$PREFIX/lib/flex/bin/flex" ] && export LEX="$PREFIX/lib/flex/bin/flex" |
---|
135 | :info:build |
---|
136 | :info:build if [ -e "$PREFIX/lib/qt3/include" ]; then |
---|
137 | :info:build CONFIGURE_PARAMS="$CONFIGURE_PARAMS --with-qt-dir=$PREFIX/lib/qt3" |
---|
138 | :info:build else |
---|
139 | :info:build CONFIGURE_PARAMS="$CONFIGURE_PARAMS --with-qt-dir=$PREFIX --with-qt-includes=$PREFIX/include/qt" |
---|
140 | :info:build fi |
---|
141 | :info:build |
---|
142 | :info:build PATH=`echo $PATH | perl -p -e 'for my $entry (split(/:/, $_)) { next if ($entry =~ m,^/usr/local,); push(@path, $entry) }; $_ = join(":", @path)'` |
---|
143 | :info:build echo $PATH | perl -p -e 'for my $entry (split(/:/, $_)) { next if ($entry =~ m,^/usr/local,); push(@path, $entry) }; $_ = join(":", @path)' |
---|
144 | :info:build |
---|
145 | :info:build if [ -x "$PREFIX/lib/xmkmf/bin" ]; then |
---|
146 | :info:build export PATH="$PREFIX/lib/xmkmf/bin:$PATH" |
---|
147 | :info:build export IMAKEINCLUDE="-I$PREFIX/lib/X11/config" |
---|
148 | :info:build fi |
---|
149 | :info:build |
---|
150 | :info:build if [ `grep -r /usr/X11R6 admin 2>/dev/null | wc -l` -gt 0 ]; then |
---|
151 | :info:build echo "*** replacing /usr/X11R6 with $PREFIX in the admin/ directory ***" |
---|
152 | :info:build find admin -type f | xargs perl -pi -e "s,/usr/X11R6,$PREFIX,g" |
---|
153 | :info:build fi |
---|
154 | :info:build grep -r /usr/X11R6 admin 2>/dev/null | wc -l |
---|
155 | :info:build |
---|
156 | :info:build if [ -x "/usr/bin/gcc-4.2" ]; then |
---|
157 | :info:build if [ -x "$PREFIX/bin/ccache" ]; then |
---|
158 | :info:build mkdir -p gcc-root |
---|
159 | :info:build [ ! -e gcc-root/gcc-4.2 ] && ln -s $PREFIX/bin/ccache gcc-root/gcc-4.2 |
---|
160 | :info:build [ ! -e gcc-root/g++-4.2 ] && ln -s $PREFIX/bin/ccache gcc-root/g++-4.2 |
---|
161 | :info:build export PATH=`pwd`/gcc-root:"$PATH" |
---|
162 | :info:build export CC="gcc-4.2" |
---|
163 | :info:build export CXX="g++-4.2" |
---|
164 | :info:build else |
---|
165 | :info:build export CC="/usr/bin/gcc-4.2" |
---|
166 | :info:build export CXX="/usr/bin/g++-4.2" |
---|
167 | :info:build fi |
---|
168 | :info:build else |
---|
169 | :info:build export CC="gcc" |
---|
170 | :info:build export CXX="g++" |
---|
171 | :info:build fi |
---|
172 | :info:build |
---|
173 | :info:build export ALL_LIBRARIES="$LDFLAGS $LIBS" |
---|
174 | :info:build |
---|
175 | :info:build cat <<END |
---|
176 | :info:build the following environment is being used: |
---|
177 | :info:build |
---|
178 | :info:build ACLOCALFLAGS: $ACLOCALFLAGS |
---|
179 | :info:build CFLAGS: $CFLAGS |
---|
180 | :info:build CPPFLAGS: $CPPFLAGS |
---|
181 | :info:build CXXFLAGS: $CXXFLAGS |
---|
182 | :info:build CC: $CC |
---|
183 | :info:build CXX: $CXX |
---|
184 | :info:build FREETYPE_CONFIG: $FREETYPE_CONFIG |
---|
185 | :info:build LDFLAGS: $LDFLAGS |
---|
186 | :info:build LIBS: $LIBS |
---|
187 | :info:build MACOSX_DEPLOYMENT_TARGET: $MACOSX_DEPLOYMENT_TARGET |
---|
188 | :info:build PATH: $PATH |
---|
189 | :info:build PKG_CONFIG_PATH: $PKG_CONFIG_PATH |
---|
190 | :info:build CONFIGURE_PARAMS: $CONFIGURE_PARAMS |
---|
191 | :info:build UNSERMAKEFLAGS: $UNSERMAKEFLAGS |
---|
192 | :info:build MAKEFLAGS: $MAKEFLAGS |
---|
193 | :info:build |
---|
194 | :info:build END |
---|
195 | :info:build the following environment is being used: |
---|
196 | :info:build |
---|
197 | :info:build ACLOCALFLAGS: -I libltdl |
---|
198 | :info:build CFLAGS: -Os -fPIC |
---|
199 | :info:build CPPFLAGS: -I/opt/local/include/freetype2 -I/opt/local/include -fno-common -no-cpp-precomp -DMACOSX -DARTS_NO_ALARM -I/opt/local/include |
---|
200 | :info:build CXXFLAGS: -Os -fPIC |
---|
201 | :info:build CC: gcc |
---|
202 | :info:build CXX: g++ |
---|
203 | :info:build FREETYPE_CONFIG: /opt/local/bin/freetype-config |
---|
204 | :info:build LDFLAGS: -L/opt/local/lib -Wl,-dead_strip_dylibs |
---|
205 | :info:build LIBS: -L/opt/local/lib |
---|
206 | :info:build MACOSX_DEPLOYMENT_TARGET: 10.7 |
---|
207 | :info:build PATH: /opt/local/bin:/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin |
---|
208 | :info:build PKG_CONFIG_PATH: /opt/local/lib/pkgconfig: |
---|
209 | :info:build 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 |
---|
210 | :info:build UNSERMAKEFLAGS: -j1 --compile-jobs=5 -p |
---|
211 | :info:build MAKEFLAGS: |
---|
212 | :info:build |
---|
213 | :info:build |
---|
214 | :info:build case $SW_VERSION in |
---|
215 | :info:build 6*|7*) |
---|
216 | :info:build export CPPFLAGS="$CPPFLAGS -DHAVE_SYS_EXEC_H=1" |
---|
217 | :info:build ;; |
---|
218 | :info:build esac |
---|
219 | :info:build |
---|
220 | :info:build export CPPFLAGS="-I/usr/include/gssapi $CPPFLAGS" |
---|
221 | :info:build |
---|
222 | :info:build ./build-helper.sh cvs kdelibs3 3.5.10 12 make -f admin/Makefile.common cvs |
---|
223 | :info:build # Unable to find automake!! |
---|
224 | :info:build # Unable to find aclocal!! |
---|
225 | :info:build ./admin/cvs.sh: line 63: --version: command not found |
---|
226 | :info:build *** AUTOMAKE NOT FOUND!. |
---|
227 | :info:build *** KDE requires automake 1.6.1 or newer |
---|
228 | :info:build make: *** [cvs] Error 1 |
---|
229 | :info:build kdelibs3-3.5.10-12 cvs failed! |
---|
230 | :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10" && ./CompileScript.sh all |
---|
231 | :info:build Exit code: 1 |
---|
232 | :error:build org.macports.build for port kdelibs3 returned: command execution failed |
---|
233 | :debug:build Error code: CHILDSTATUS 76548 1 |
---|
234 | :debug:build Backtrace: command execution failed |
---|
235 | while executing |
---|
236 | "system -nice 0 $fullcmdstring" |
---|
237 | ("eval" body line 1) |
---|
238 | invoked from within |
---|
239 | "eval system $notty $nice \$fullcmdstring" |
---|
240 | invoked from within |
---|
241 | "command_exec build" |
---|
242 | (procedure "portbuild::build_main" line 8) |
---|
243 | invoked from within |
---|
244 | "$procedure $targetname" |
---|
245 | :info:build Warning: targets not executed for kdelibs3: org.macports.activate org.macports.build org.macports.destroot org.macports.install |
---|
246 | :error:build Failed to install kdelibs3 |
---|
247 | :debug:build couldn't open "/System/Library/Frameworks/Tcl.framework/Versions/8.5/Resources/tclIndex": no such file or directory |
---|
248 | while executing |
---|
249 | "open [file join $dir tclIndex]" |
---|
250 | :notice:build Please see the log file for port kdelibs3 for details: |
---|
251 | /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdelibs3/kdelibs3/main.log |
---|