[MacPorts] #24182: error when installing libgnome

MacPorts noreply at macports.org
Wed Mar 24 08:36:26 PDT 2010


#24182: error when installing libgnome
----------------------------------------+-----------------------------------
 Reporter:  matthewapeters@…            |       Owner:  macports-tickets@…                   
     Type:  defect                      |      Status:  new                                  
 Priority:  Normal                      |   Milestone:                                       
Component:  ports                       |     Version:  1.8.2                                
 Keywords:                              |        Port:  gnome-vfs                            
----------------------------------------+-----------------------------------
Changes (by jmr@…):

  * port:  => gnome-vfs


Old description:

> user-mac:~ user$ sudo port install -d libgnome
> --->  Computing dependencies for libgnome
> --->  Building gnome-vfs
> Error: Target org.macports.build returned: shell command " cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_gnome_gnome-vfs/work/gnome-vfs-2.24.2" &&
> /usr/bin/make -j2 all " returned error 2
> Command output: libtool: link: ar cru .libs/libfile.a  file-method.o
> fstype.o file-method-acl.o
> libtool: link: ranlib .libs/libfile.a
> libtool: link: ( cd ".libs" && rm -f "libvfs-test.la" && ln -s
> "../libvfs-test.la" "libvfs-test.la" )
> /bin/sh ../libtool --tag=CC   --mode=link /usr/bin/gcc-4.0 -std=gnu99
> -O2 -arch i386 -export_dynamic -avoid-version -module -no-undefined
> -L/opt/local/lib -lresolv -o libbzip2.la -rpath /opt/local/lib/gnome-
> vfs-2.0/modules bzip2-method.lo -L/opt/local/lib -lgmodule-2.0
> -lgthread-2.0 -lgobject-2.0 -lglib-2.0 -lintl -liconv   -lbz2
> ../libgnomevfs/libgnomevfs-2.la
> libtool: link: ( cd ".libs" && rm -f "libfile.la" && ln -s
> "../libfile.la" "libfile.la" )
> /bin/sh ../libtool --tag=CC   --mode=compile /usr/bin/gcc-4.0 -std=gnu99
> -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -I../imported/neon -D_REENTRANT
> -DORBIT2=1 -I/opt/local/include/glib-2.0
> -I/opt/local/lib/glib-2.0/include -I/opt/local/include
> -I/opt/local/include/libxml2 -I/opt/local/include/gconf/2
> -I/opt/local/include/orbit-2.0 -I/opt/local/include/dbus-1.0
> -I/opt/local/lib/dbus-1.0/include   -D_REENTRANT -DORBIT2=1
> -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
> -I/opt/local/include -I/opt/local/include/gconf/2
> -I/opt/local/include/orbit-2.0 -I/opt/local/include/dbus-1.0
> -I/opt/local/lib/dbus-1.0/include         -D_FILE_OFFSET_BITS=64
> -D_BSD_SOURCE -D_LARGEFILE64_SOURCE -D_POSIX_PTHREAD_SEMANTICS
> -D_REENTRANT -DSSH_PROGRAM=\"/usr/bin/ssh\" -DG_DISABLE_DEPRECATED
> -DGNOME_VFS_PREFIX=\"/opt/local\"
> -DGNOME_VFS_DATADIR=\"/opt/local/share\"
> -DGNOME_VFS_LIBDIR=\"/opt/local/lib\"
> -DGNOME_VFS_SYSCONFDIR=\"/opt/local/etc\" -DG_LOG_DOMAIN=\"gnome-vfs-
> modules\"   -I/opt/local/include  -O2 -arch i386 -MT gzip-method.lo -MD
> -MP -MF .deps/gzip-method.Tpo -c -o gzip-method.lo gzip-method.c
> libtool: compile:  /usr/bin/gcc-4.0 -std=gnu99 -DHAVE_CONFIG_H -I. -I..
> -I.. -I.. -I../imported/neon -D_REENTRANT -DORBIT2=1
> -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
> -I/opt/local/include -I/opt/local/include/libxml2
> -I/opt/local/include/gconf/2 -I/opt/local/include/orbit-2.0
> -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/include
> -D_REENTRANT -DORBIT2=1 -I/opt/local/include/glib-2.0
> -I/opt/local/lib/glib-2.0/include -I/opt/local/include
> -I/opt/local/include/gconf/2 -I/opt/local/include/orbit-2.0
> -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/include
> -D_FILE_OFFSET_BITS=64 -D_BSD_SOURCE -D_LARGEFILE64_SOURCE
> -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -DSSH_PROGRAM=\"/usr/bin/ssh\"
> -DG_DISABLE_DEPRECATED -DGNOME_VFS_PREFIX=\"/opt/local\"
> -DGNOME_VFS_DATADIR=\"/opt/local/share\"
> -DGNOME_VFS_LIBDIR=\"/opt/local/lib\"
> -DGNOME_VFS_SYSCONFDIR=\"/opt/local/etc\" -DG_LOG_DOMAIN=\"gnome-vfs-
> modules\" -I/opt/local/include -O2 -arch i386 -MT gzip-method.lo -MD -MP
> -MF .deps/gzip-method.Tpo -c gzip-method.c  -fno-common -DPIC -o .libs
> /gzip-method.o
> In file included from gzip-method.c:33:
> /opt/local/include/zlib.h:1561: error: syntax error before 'gzseek64'
> /opt/local/include/zlib.h:1561: error: syntax error before 'off64_t'
> /opt/local/include/zlib.h:1561: warning: type defaults to 'int' in
> declaration of 'gzseek64'
> /opt/local/include/zlib.h:1561: warning: data definition has no type or
> storage class
> /opt/local/include/zlib.h:1562: error: syntax error before 'gztell64'
> /opt/local/include/zlib.h:1562: warning: type defaults to 'int' in
> declaration of 'gztell64'
> /opt/local/include/zlib.h:1562: warning: data definition has no type or
> storage class
> /opt/local/include/zlib.h:1563: error: syntax error before 'gzoffset64'
> /opt/local/include/zlib.h:1563: warning: type defaults to 'int' in
> declaration of 'gzoffset64'
> /opt/local/include/zlib.h:1563: warning: data definition has no type or
> storage class
> /opt/local/include/zlib.h:1564: error: syntax error before 'off64_t'
> /opt/local/include/zlib.h:1565: error: syntax error before 'off64_t'
> make[2]: *** [gzip-method.lo] Error 1
> make[2]: *** Waiting for unfinished jobs....
> libtool: link: /usr/bin/gcc-4.0  -o .libs/libbzip2.so -bundle
> .libs/bzip2-method.o   -L/opt/local/lib -lbz2
> ../libgnomevfs/.libs/libgnomevfs-2.dylib /opt/local/lib/libgconf-2.dylib
> /opt/local/lib/libORBit-2.dylib /opt/local/lib/libgmodule-2.0.dylib
> /opt/local/lib/libgthread-2.0.dylib /opt/local/lib/libxml2.dylib -lm
> /opt/local/lib/libdbus-glib-1.dylib /opt/local/lib/libdbus-1.dylib
> -lpthread /opt/local/lib/libgobject-2.0.dylib
> /opt/local/lib/libglib-2.0.dylib -lresolv -lssl -lcrypto -lz
> /opt/local/lib/libintl.dylib /opt/local/lib/libiconv.dylib -lc  -arch
> i386   -framework Carbon
> libtool: link: dsymutil .libs/libbzip2.so || :
> warning: no debug symbols in executable (-arch i386)
> libtool: link: ar cru .libs/libbzip2.a  bzip2-method.o
> libtool: link: ranlib .libs/libbzip2.a
> libtool: link: ( cd ".libs" && rm -f "libbzip2.la" && ln -s
> "../libbzip2.la" "libbzip2.la" )
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
>
> Error: The following dependencies failed to build: gnome-vfs libbonobo
> Error: Status 1 encountered during processing.
> Before reporting a bug, first run the command again with the -d flag to
> get complete output.

New description:

 {{{
 user-mac:~ user$ sudo port install -d libgnome
 --->  Computing dependencies for libgnome
 --->  Building gnome-vfs
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_gnome_gnome-vfs/work/gnome-vfs-2.24.2" && /usr/bin/make
 -j2 all " returned error 2
 Command output: libtool: link: ar cru .libs/libfile.a  file-method.o
 fstype.o file-method-acl.o
 libtool: link: ranlib .libs/libfile.a
 libtool: link: ( cd ".libs" && rm -f "libvfs-test.la" && ln -s "../libvfs-
 test.la" "libvfs-test.la" )
 /bin/sh ../libtool --tag=CC   --mode=link /usr/bin/gcc-4.0 -std=gnu99  -O2
 -arch i386 -export_dynamic -avoid-version -module -no-undefined
 -L/opt/local/lib -lresolv -o libbzip2.la -rpath /opt/local/lib/gnome-
 vfs-2.0/modules bzip2-method.lo -L/opt/local/lib -lgmodule-2.0
 -lgthread-2.0 -lgobject-2.0 -lglib-2.0 -lintl -liconv   -lbz2
 ../libgnomevfs/libgnomevfs-2.la
 libtool: link: ( cd ".libs" && rm -f "libfile.la" && ln -s "../libfile.la"
 "libfile.la" )
 /bin/sh ../libtool --tag=CC   --mode=compile /usr/bin/gcc-4.0 -std=gnu99
 -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -I../imported/neon -D_REENTRANT
 -DORBIT2=1 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
 -I/opt/local/include -I/opt/local/include/libxml2
 -I/opt/local/include/gconf/2 -I/opt/local/include/orbit-2.0
 -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/include
 -D_REENTRANT -DORBIT2=1 -I/opt/local/include/glib-2.0
 -I/opt/local/lib/glib-2.0/include -I/opt/local/include
 -I/opt/local/include/gconf/2 -I/opt/local/include/orbit-2.0
 -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/include
 -D_FILE_OFFSET_BITS=64 -D_BSD_SOURCE -D_LARGEFILE64_SOURCE
 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -DSSH_PROGRAM=\"/usr/bin/ssh\"
 -DG_DISABLE_DEPRECATED -DGNOME_VFS_PREFIX=\"/opt/local\"
 -DGNOME_VFS_DATADIR=\"/opt/local/share\"
 -DGNOME_VFS_LIBDIR=\"/opt/local/lib\"
 -DGNOME_VFS_SYSCONFDIR=\"/opt/local/etc\" -DG_LOG_DOMAIN=\"gnome-vfs-
 modules\"   -I/opt/local/include  -O2 -arch i386 -MT gzip-method.lo -MD
 -MP -MF .deps/gzip-method.Tpo -c -o gzip-method.lo gzip-method.c
 libtool: compile:  /usr/bin/gcc-4.0 -std=gnu99 -DHAVE_CONFIG_H -I. -I..
 -I.. -I.. -I../imported/neon -D_REENTRANT -DORBIT2=1
 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
 -I/opt/local/include -I/opt/local/include/libxml2
 -I/opt/local/include/gconf/2 -I/opt/local/include/orbit-2.0
 -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/include
 -D_REENTRANT -DORBIT2=1 -I/opt/local/include/glib-2.0
 -I/opt/local/lib/glib-2.0/include -I/opt/local/include
 -I/opt/local/include/gconf/2 -I/opt/local/include/orbit-2.0
 -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/include
 -D_FILE_OFFSET_BITS=64 -D_BSD_SOURCE -D_LARGEFILE64_SOURCE
 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -DSSH_PROGRAM=\"/usr/bin/ssh\"
 -DG_DISABLE_DEPRECATED -DGNOME_VFS_PREFIX=\"/opt/local\"
 -DGNOME_VFS_DATADIR=\"/opt/local/share\"
 -DGNOME_VFS_LIBDIR=\"/opt/local/lib\"
 -DGNOME_VFS_SYSCONFDIR=\"/opt/local/etc\" -DG_LOG_DOMAIN=\"gnome-vfs-
 modules\" -I/opt/local/include -O2 -arch i386 -MT gzip-method.lo -MD -MP
 -MF .deps/gzip-method.Tpo -c gzip-method.c  -fno-common -DPIC -o .libs
 /gzip-method.o
 In file included from gzip-method.c:33:
 /opt/local/include/zlib.h:1561: error: syntax error before 'gzseek64'
 /opt/local/include/zlib.h:1561: error: syntax error before 'off64_t'
 /opt/local/include/zlib.h:1561: warning: type defaults to 'int' in
 declaration of 'gzseek64'
 /opt/local/include/zlib.h:1561: warning: data definition has no type or
 storage class
 /opt/local/include/zlib.h:1562: error: syntax error before 'gztell64'
 /opt/local/include/zlib.h:1562: warning: type defaults to 'int' in
 declaration of 'gztell64'
 /opt/local/include/zlib.h:1562: warning: data definition has no type or
 storage class
 /opt/local/include/zlib.h:1563: error: syntax error before 'gzoffset64'
 /opt/local/include/zlib.h:1563: warning: type defaults to 'int' in
 declaration of 'gzoffset64'
 /opt/local/include/zlib.h:1563: warning: data definition has no type or
 storage class
 /opt/local/include/zlib.h:1564: error: syntax error before 'off64_t'
 /opt/local/include/zlib.h:1565: error: syntax error before 'off64_t'
 make[2]: *** [gzip-method.lo] Error 1
 make[2]: *** Waiting for unfinished jobs....
 libtool: link: /usr/bin/gcc-4.0  -o .libs/libbzip2.so -bundle
 .libs/bzip2-method.o   -L/opt/local/lib -lbz2
 ../libgnomevfs/.libs/libgnomevfs-2.dylib /opt/local/lib/libgconf-2.dylib
 /opt/local/lib/libORBit-2.dylib /opt/local/lib/libgmodule-2.0.dylib
 /opt/local/lib/libgthread-2.0.dylib /opt/local/lib/libxml2.dylib -lm
 /opt/local/lib/libdbus-glib-1.dylib /opt/local/lib/libdbus-1.dylib
 -lpthread /opt/local/lib/libgobject-2.0.dylib
 /opt/local/lib/libglib-2.0.dylib -lresolv -lssl -lcrypto -lz
 /opt/local/lib/libintl.dylib /opt/local/lib/libiconv.dylib -lc  -arch i386
 -framework Carbon
 libtool: link: dsymutil .libs/libbzip2.so || :
 warning: no debug symbols in executable (-arch i386)
 libtool: link: ar cru .libs/libbzip2.a  bzip2-method.o
 libtool: link: ranlib .libs/libbzip2.a
 libtool: link: ( cd ".libs" && rm -f "libbzip2.la" && ln -s
 "../libbzip2.la" "libbzip2.la" )
 make[1]: *** [all-recursive] Error 1
 make: *** [all] Error 2

 Error: The following dependencies failed to build: gnome-vfs libbonobo
 Error: Status 1 encountered during processing.
 Before reporting a bug, first run the command again with the -d flag to
 get complete output.
 }}}

--

Comment:

 Please remember to preview and use WikiFormatting, and fill in the Port
 field. The -d flag needs to go right after 'port'.

-- 
Ticket URL: <http://trac.macports.org/ticket/24182#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list