[MacPorts] #39908: Panga fails to install / build

MacPorts noreply at macports.org
Tue Jul 30 09:55:10 PDT 2013


#39908: Panga fails to install / build
-----------------------------------+--------------------------------
 Reporter:  Patrick.M.Roanhouse@…  |      Owner:  macports-tickets@…
     Type:  request                |     Status:  new
 Priority:  Normal                 |  Milestone:
Component:  ports                  |    Version:  2.2.0
 Keywords:  build fail             |       Port:  pango
-----------------------------------+--------------------------------
 I first get the general build fail error of


 {{{
 Building pango
 Error: org.macports.build for port pango returned: command execution
 failed
 Please see the log file for port pango for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_pango/pango/main.log
 Error: Unable to upgrade port: 1
 To report a bug, follow the instructions in the guide:
     http://guide.macports.org/#project.tickets
 }}}

 I then get this whole mess of syntax errors in the logs during the build


 {{{
 :notice:build --->  Building pango
 :debug:build Executing org.macports.build (pango)
 :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_x11_pango/pango/work/.CC_PRINT_OPTIONS'
 LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES'
 MACOSX_DEPLOYMENT_TARGET='10.8'
 :debug:build Assembled command: 'cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_pango/pango/work/pango-1.34.1"
 && /usr/bin/make -j8 -w all CC="/usr/bin/clang -arch x86_64"'
 :debug:build Executing command line:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_pango/pango/work/pango-1.34.1"
 && /usr/bin/make -j8 -w all CC="/usr/bin/clang -arch x86_64"
 :info:build make: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_pango/pango/work/pango-1.34.1'
 :info:build /usr/bin/make  all-recursive
 :info:build make[1]: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_pango/pango/work/pango-1.34.1'
 :info:build Making all in pango
 :info:build make[2]: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_pango/pango/work/pango-1.34.1/pango'
 :info:build /usr/bin/make  all-recursive
 :info:build make[3]: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_pango/pango/work/pango-1.34.1/pango'
 :info:build Making all in mini-fribidi
 :info:build make[4]: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_pango/pango/work/pango-1.34.1/pango
 /mini-fribidi'
 :info:build make[4]: Nothing to be done for `all'.
 :info:build make[4]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_pango/pango/work/pango-1.34.1/pango
 /mini-fribidi'
 :info:build make[4]: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_pango/pango/work/pango-1.34.1/pango'
 :info:build /opt/local/bin/g-ir-scanner  --warn-all --add-include-path=.
 --add-include-path=. --namespace=Pango --nsversion=1.0 --libtool="/bin/sh
 ../libtool" --pkg=gobject-2.0 --pkg=cairo --pkg=glib-2.0 --pkg=freetype2
 --include=GObject-2.0 --include=cairo-1.0 --pkg-export=pango
 --library=libpango-1.0.la --c-include "pango/pango.h" --cflags-begin -I..
 -I..  --cflags-end  break.c ellipsize.c fonts.c glyphstring.c modules.c
 pango-attributes.c pango-bidi-type.c pango-color.c pango-context.c pango-
 coverage.c pango-engine.c pango-fontmap.c pango-fontset.c pango-glyph-
 item.c pango-gravity.c pango-impl-utils.h pango-item.c pango-language.c
 pango-language-sample-table.h pango-layout.c pango-markup.c pango-matrix.c
 pango-renderer.c pango-script.c pango-script-lang-table.h pango-tabs.c
 pango-utils.c reorder-items.c shape.c pango-enum-types.c module-defs-
 lang.c pango.h pango-attributes.h pango-bidi-type.h pango-break.h pango-
 context.h pango-coverage.h pango-engine.h pango-font.h pango-fontmap.h
 pango-fontset.h pango-glyph.h pango-glyph-item.h pango-gravity.h pango-
 item.h pango-language.h pango-layout.h pango-matrix.h pango-modules.h
 pango-renderer.h pango-script.h pango-tabs.h pango-types.h pango-utils.h
 pango-enum-types.h libpango-1.0.la --output Pango-1.0.gir
 :info:build /usr/lib/clang/4.2/include/stddef.h:31: syntax error,
 unexpected '(' in 'typedef __typeof__(((int*)0)-((int*)0)) ptrdiff_t;' at
 '('
 :info:build /usr/lib/clang/4.2/include/stddef.h:35: syntax error,
 unexpected SIZEOF in 'typedef __typeof__(sizeof(int)) size_t;' at 'sizeof'
 :info:build /usr/include/time.h:131: syntax error, unexpected identifier
 in 'size_t strftime(char * restrict, size_t, const char * restrict, const
 struct tm * restrict) __asm("_" "strftime" );' at 'size_t'
 :info:build /usr/include/time.h:131: syntax error, unexpected ',',
 expecting identifier or '(' in 'size_t strftime(char * restrict, size_t,
 const char * restrict, const struct tm * restrict) __asm("_" "strftime"
 );' at ','
 :info:build /usr/include/time.h:131: syntax error, unexpected ',',
 expecting identifier or '(' in 'size_t strftime(char * restrict, size_t,
 const char * restrict, const struct tm * restrict) __asm("_" "strftime"
 );' at ','
 :info:build /usr/include/time.h:131: syntax error, unexpected ')',
 expecting identifier or '(' in 'size_t strftime(char * restrict, size_t,
 const char * restrict, const struct tm * restrict) __asm("_" "strftime"
 );' at ')'
 :info:build /usr/include/pthread.h:256: syntax error, unexpected
 identifier in '                                      size_t * restrict);'
 at 'size_t'
 :info:build /usr/include/pthread.h:265: syntax error, unexpected
 identifier in '                                      void ** restrict,
 size_t * restrict);' at 'size_t'
 :info:build /usr/include/pthread.h:269: syntax error, unexpected
 identifier in '                                      size_t * restrict);'
 at 'size_t'
 :info:build /usr/include/pthread.h:273: syntax error, unexpected
 identifier in 'int pthread_attr_setguardsize(pthread_attr_t *, size_t );'
 at 'size_t'
 :info:build /usr/include/pthread.h:282: syntax error, unexpected
 identifier in '                                      void *, size_t );' at
 'size_t'
 :info:build /usr/include/pthread.h:285: syntax error, unexpected
 identifier in 'int pthread_attr_setstacksize(pthread_attr_t *, size_t );'
 at 'size_t'
 :info:build /usr/include/pthread.h:377: syntax error, unexpected
 identifier in 'int pthread_getname_np(pthread_t,char*,size_t)
 __attribute__((availability(macosx,introduced=10.6)));' at 'size_t'
 :info:build /usr/include/pthread.h:384: syntax error, unexpected
 identifier in 'size_t pthread_get_stacksize_np(pthread_t);' at 'size_t'
 :info:build /usr/include/stdio.h:255: syntax error, unexpected identifier
 in 'size_t fread(void * restrict, size_t, size_t, FILE * restrict);' at
 'size_t'
 :info:build /usr/include/stdio.h:255: syntax error, unexpected ',',
 expecting identifier or '(' in 'size_t fread(void * restrict, size_t,
 size_t, FILE * restrict);' at ','
 :info:build /usr/include/stdio.h:255: syntax error, unexpected ')',
 expecting identifier or '(' in 'size_t fread(void * restrict, size_t,
 size_t, FILE * restrict);' at ')'
 :info:build /usr/include/stdio.h:262: syntax error, unexpected identifier
 in 'size_t fwrite(const void * restrict, size_t, size_t, FILE * restrict)
 __asm("_" "fwrite" );' at 'size_t'
 :info:build /usr/include/stdio.h:262: syntax error, unexpected ',',
 expecting identifier or '(' in 'size_t fwrite(const void * restrict,
 size_t, size_t, FILE * restrict) __asm("_" "fwrite" );' at ','
 :info:build /usr/include/stdio.h:262: syntax error, unexpected ')',
 expecting identifier or '(' in 'size_t fwrite(const void * restrict,
 size_t, size_t, FILE * restrict) __asm("_" "fwrite" );' at ')'
 :info:build /usr/include/stdio.h:276: syntax error, unexpected identifier
 in 'int setvbuf(FILE * restrict, char * restrict, int, size_t);' at
 'size_t'
 :info:build /usr/include/stdio.h:425: syntax error, unexpected identifier
 in 'int snprintf(char * restrict, size_t, const char * restrict, ...)
 __attribute__((__format__ (__printf__, 3, 4)));' at 'size_t'
 :info:build /usr/include/stdio.h:425: syntax error, unexpected ',',
 expecting identifier or '(' in 'int snprintf(char * restrict, size_t,
 const char * restrict, ...) __attribute__((__format__ (__printf__, 3,
 4)));' at ','
 :info:build /usr/include/stdio.h:428: syntax error, unexpected identifier
 in 'int vsnprintf(char * restrict, size_t, const char * restrict, va_list)
 __attribute__((__format__ (__printf__, 3, 0)));' at 'size_t'
 :info:build /usr/include/stdio.h:428: syntax error, unexpected ',',
 expecting identifier or '(' in 'int vsnprintf(char * restrict, size_t,
 const char * restrict, va_list) __attribute__((__format__ (__printf__, 3,
 0)));' at ','
 :info:build /usr/include/stdio.h:448: syntax error, unexpected identifier
 in 'ssize_t getdelim(char ** restrict, size_t * restrict, int, FILE *
 restrict) __attribute__((availability(macosx,introduced=10.7)));' at
 'size_t'
 :info:build /usr/include/stdio.h:448: syntax error, unexpected ')',
 expecting identifier or '(' in 'ssize_t getdelim(char ** restrict, size_t
 * restrict, int, FILE * restrict)
 __attribute__((availability(macosx,introduced=10.7)));' at ')'
 :info:build /usr/include/stdio.h:449: syntax error, unexpected identifier
 in 'ssize_t getline(char ** restrict, size_t * restrict, FILE * restrict)
 __attribute__((availability(macosx,introduced=10.7)));' at 'size_t'
 :info:build /usr/include/stdio.h:449: syntax error, unexpected ')',
 expecting identifier or '(' in 'ssize_t getline(char ** restrict, size_t *
 restrict, FILE * restrict)
 __attribute__((availability(macosx,introduced=10.7)));' at ')'
 :info:build /usr/include/stdio.h:464: syntax error, unexpected identifier
 in 'char *fgetln(FILE *, size_t *);' at 'size_t'
 :info:build /usr/include/secure/_stdio.h:45: syntax error, unexpected
 identifier in 'extern int __sprintf_chk (char * restrict, int, size_t,' at
 'size_t'
 :info:build /usr/include/secure/_stdio.h:46: syntax error, unexpected ',',
 expecting identifier or '(' in '     const char * restrict, ...);' at ','
 :info:build /usr/include/secure/_stdio.h:51: syntax error, unexpected
 identifier in 'extern int __snprintf_chk (char * restrict, size_t, int,
 size_t,' at 'size_t'
 :info:build /usr/include/secure/_stdio.h:52: syntax error, unexpected ',',
 expecting identifier or '(' in '      const char * restrict, ...);' at ','
 :info:build /usr/include/secure/_stdio.h:58: syntax error, unexpected
 identifier in 'extern int __vsprintf_chk (char * restrict, int, size_t,'
 at 'size_t'
 :info:build /usr/include/secure/_stdio.h:59: syntax error, unexpected ',',
 expecting identifier or '(' in '      const char * restrict, va_list);' at
 ','
 :info:build /usr/include/secure/_stdio.h:64: syntax error, unexpected
 identifier in 'extern int __vsnprintf_chk (char * restrict, size_t, int,
 size_t,' at 'size_t'
 :info:build /usr/include/secure/_stdio.h:65: syntax error, unexpected ',',
 expecting identifier or '(' in '       const char * restrict, va_list);'
 at ','
 :info:build g-ir-scanner: compile: /usr/bin/clang -arch x86_64 -Wno-
 deprecated-declarations -D_REENTRANT -I/opt/local/include/cairo
 -I/opt/local/include/pixman-1 -I/opt/local/include
 -I/opt/local/include/libpng15 -I/opt/local/include
 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
 -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include
 -I/opt/local/include/cairo -I/opt/local/include/pixman-1
 -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include
 -I/opt/local/include/libpng15 -I/opt/local/include
 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
 -I/opt/local/include -c -o
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_pango/pango/work/pango-1.34.1/pango
 /tmp-introspectAv2O3B/Pango-1.0.o
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_pango/pango/work/pango-1.34.1/pango
 /tmp-introspectAv2O3B/Pango-1.0.c
 :info:build g-ir-scanner: link: /bin/sh ../libtool --mode=link --tag=CC
 /usr/bin/clang -arch x86_64 -o
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_pango/pango/work/pango-1.34.1/pango
 /tmp-introspectAv2O3B/Pango-1.0 -export-dynamic
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_pango/pango/work/pango-1.34.1/pango
 /tmp-introspectAv2O3B/Pango-1.0.o -L. libpango-1.0.la -L/opt/local/lib
 -lgio-2.0 -lgmodule-2.0 -lgobject-2.0 -lcairo -lglib-2.0 -lintl -lfreetype
 :info:build libtool: link: /usr/bin/clang -arch x86_64 -o
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_pango/pango/work/pango-1.34.1/pango
 /tmp-introspectAv2O3B/.libs/Pango-1.0
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_pango/pango/work/pango-1.34.1/pango
 /tmp-introspectAv2O3B/Pango-1.0.o  -L. ./.libs/libpango-1.0.dylib
 -L/opt/local/lib /opt/local/lib/libgthread-2.0.dylib
 /opt/local/lib/libgio-2.0.dylib /opt/local/lib/libgmodule-2.0.dylib
 /opt/local/lib/libgobject-2.0.dylib /opt/local/lib/libffi.dylib
 /opt/local/lib/libcairo.dylib /opt/local/lib/libpixman-1.dylib -lm
 /opt/local/lib/libfontconfig.dylib /opt/local/lib/libexpat.dylib
 /opt/local/lib/libxcb-shm.dylib /opt/local/lib/libX11-xcb.dylib
 /opt/local/lib/libxcb-render.dylib /opt/local/lib/libXrender.dylib
 /opt/local/lib/libXext.dylib /opt/local/lib/libX11.dylib
 /opt/local/lib/libxcb.dylib /opt/local/lib/libXau.dylib
 /opt/local/lib/libXdmcp.dylib /opt/local/lib/libglib-2.0.dylib -lresolv
 /opt/local/lib/libintl.dylib /opt/local/lib/libiconv.dylib -lc
 /opt/local/lib/libfreetype.dylib -lbz2 /opt/local/lib/libpng15.dylib -lz
 -pthread
 :info:build clang: warning: argument unused during compilation: '-pthread'
 :info:build dyld: Library not loaded: /opt/local/lib/libexpat.1.dylib
 :info:build   Referenced from: /opt/local/lib/libfontconfig.1.dylib
 :info:build   Reason: Incompatible library version: libfontconfig.1.dylib
 requires version 8.0.0 or later, but libexpat.1.dylib provides version
 7.0.0
 :info:build Command
 '['/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_pango/pango/work/pango-1.34.1/pango
 /tmp-introspectAv2O3B/Pango-1.0', '--introspect-
 dump=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_pango/pango/work/pango-1.34.1/pango
 /tmp-
 introspectAv2O3B/functions.txt,/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_pango/pango/work/pango-1.34.1/pango
 /tmp-introspectAv2O3B/dump.xml']' returned non-zero exit status -5
 :info:build make[4]: *** [Pango-1.0.gir] Error 1
 :info:build make[4]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_pango/pango/work/pango-1.34.1/pango'
 :info:build make[3]: *** [all-recursive] Error 1
 :info:build make[3]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_pango/pango/work/pango-1.34.1/pango'
 :info:build make[2]: *** [all] Error 2
 :info:build make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_pango/pango/work/pango-1.34.1/pango'
 :info:build make[1]: *** [all-recursive] Error 1
 :info:build make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_pango/pango/work/pango-1.34.1'
 :info:build make: *** [all] Error 2
 :info:build make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_pango/pango/work/pango-1.34.1'
 :info:build Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_pango/pango/work/pango-1.34.1"
 && /usr/bin/make -j8 -w all CC="/usr/bin/clang -arch x86_64"
 :info:build Exit code: 2
 :error:build org.macports.build for port pango returned: command execution
 failed
 :debug:build Error code: CHILDSTATUS 29208 2
 :debug:build Backtrace: command execution failed
     while executing
 "system -nice 0 $fullcmdstring"
     ("eval" body line 1)
     invoked from within
 "eval system $notty $nice \$fullcmdstring"
     invoked from within
 "command_exec build"
     (procedure "portbuild::build_main" line 8)
     invoked from within
 "$procedure $targetname"
 :info:build Warning: targets not executed for pango: org.macports.install
 org.macports.build org.macports.destroot
 :notice:build Please see the log file for port pango for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_pango/pango/main.log
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/39908>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list