[MacPorts] #25776: libcanberra upgrade/build failed

MacPorts noreply at macports.org
Thu Jul 22 02:15:01 PDT 2010


#25776: libcanberra upgrade/build failed
---------------------------------+------------------------------------------
 Reporter:  smibrahim@…          |       Owner:  macports-tickets@…                   
     Type:  defect               |      Status:  new                                  
 Priority:  High                 |   Milestone:                                       
Component:  ports                |     Version:  1.9.1                                
 Keywords:                       |        Port:  libcanberra                          
---------------------------------+------------------------------------------
 i was running sudo port upgrade outdated. and it failed for libcanberra

 log:

 {{{
 Lavludas-MBP:~ lavlu$ sudo port upgrade outdated
 Password:
 Sorry, try again.
 Password:
 --->  Computing dependencies for libcanberra
 --->  Building libcanberra
 Error: Target org.macports.build returned: shell command failed
 Log for libcanberra is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_libcanberra/main.log
 Error: Unable to upgrade port: 1
 To report a bug, see <http://guide.macports.org/#project.tickets>
 Lavludas-MBP:~ lavlu$ cat
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_libcanberra/main.log
 version:1
 :msg:main --->  Computing dependencies for libcanberra:info:main
 .:debug:main Searching for dependency: pkgconfig
 :debug:main Found Dependency: receipt exists for pkgconfig
 :debug:main Searching for dependency: gstreamer
 :debug:main Found Dependency: receipt exists for gstreamer
 :debug:main Searching for dependency: gconf
 :debug:main Found Dependency: receipt exists for gconf
 :debug:main Searching for dependency: libvorbis
 :debug:main Found Dependency: receipt exists for libvorbis
 :msg:main
 :debug:main Executing org.macports.main (libcanberra)
 :debug:main Skipping completed org.macports.fetch (libcanberra)
 :debug:main Skipping completed org.macports.checksum (libcanberra)
 :debug:main Skipping completed org.macports.extract (libcanberra)
 :debug:main Skipping completed org.macports.patch (libcanberra)
 :debug:main Skipping completed org.macports.configure (libcanberra)
 :msg:main --->  Building libcanberra
 :debug:build build phase started at Thu Jul 22 15:12:37 ALMT 2010
 :debug:build Executing org.macports.build (libcanberra)
 :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_ports_audio_libcanberra/work/.CC_PRINT_OPTIONS'
 LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES'
 MACOSX_DEPLOYMENT_TARGET='10.6'
 :debug:build Assembled command: 'cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_libcanberra/work/libcanberra-0.25"
 && /usr/bin/make -j2 all'
 :info:build /usr/bin/make  all-recursive
 :info:build Making all in src
 :info:build   CC     libcanberra_gtk_module_la-canberra-gtk-module.lo
 :info:build   CC     libcanberra_la-sound-theme-spec.lo
 :info:build   CC     libcanberra_la-macro.lo
 :info:build   CC     libcanberra_la-malloc.lo
 :info:build   CC     libcanberra_la-fork-detect.lo
 :info:build In file included from
 /opt/local/include/gtk-2.0/gtk/gtk.h:233,
 :info:build                  from canberra-gtk-module.c:27:
 :info:build /opt/local/include/gtk-2.0/gtk/gtkitemfactory.h:47: warning:
 function declaration isn't a prototype [-Wstrict-prototypes]
 :info:build canberra-gtk-module.c:28:22: error: gdk/gdkx.h: No such file
 or directory
 :info:build   CC     libcanberra_la-dso.lo
 :info:build canberra-gtk-module.c: In function 'window_get_desktop':
 :info:build canberra-gtk-module.c:303: error: 'Atom' undeclared (first use
 in this function)
 :info:build canberra-gtk-module.c:303: error: (Each undeclared identifier
 is reported only once
 :info:build canberra-gtk-module.c:303: error: for each function it appears
 in.)
 :info:build canberra-gtk-module.c:303: error: expected ';' before
 'type_return'
 :info:build canberra-gtk-module.c:304: warning: ISO C90 forbids mixed
 declarations and code
 :info:build canberra-gtk-module.c:310: warning: implicit declaration of
 function 'XGetWindowProperty'
 :info:build canberra-gtk-module.c:310: warning: implicit declaration of
 function 'GDK_DISPLAY_XDISPLAY'
 :info:build canberra-gtk-module.c:310: warning: implicit declaration of
 function 'GDK_WINDOW_XID'
 :info:build canberra-gtk-module.c:311: warning: implicit declaration of
 function 'gdk_x11_get_xatom_by_name_for_display'
 :info:build canberra-gtk-module.c:312: error: 'False' undeclared (first
 use in this function)
 :info:build canberra-gtk-module.c:312: error: expected ')' before numeric
 constant
 :info:build canberra-gtk-module.c:312: error: 'type_return' undeclared
 (first use in this function)
 :info:build canberra-gtk-module.c:314: error: 'Success' undeclared (first
 use in this function)
 :info:build canberra-gtk-module.c:317: error: expected ')' before numeric
 constant
 :info:build canberra-gtk-module.c:324: error: 'None' undeclared (first use
 in this function)
 :info:build canberra-gtk-module.c:325: warning: implicit declaration of
 function 'XFree'
 :info:build canberra-gtk-module.c: In function 'display_get_desktop':
 :info:build canberra-gtk-module.c:331: error: 'Atom' undeclared (first use
 in this function)
 :info:build canberra-gtk-module.c:331: error: expected ';' before
 'type_return'
 :info:build canberra-gtk-module.c:332: warning: ISO C90 forbids mixed
 declarations and code
 :info:build canberra-gtk-module.c:338: warning: implicit declaration of
 function 'DefaultRootWindow'
 :info:build canberra-gtk-module.c:340: error: 'False' undeclared (first
 use in this function)
 :info:build canberra-gtk-module.c:340: error: expected ')' before numeric
 constant
 :info:build canberra-gtk-module.c:340: error: 'type_return' undeclared
 (first use in this function)
 :info:build canberra-gtk-module.c:342: error: 'Success' undeclared (first
 use in this function)
 :info:build canberra-gtk-module.c:345: error: expected ')' before numeric
 constant
 :info:build canberra-gtk-module.c:353: error: 'None' undeclared (first use
 in this function)
 :info:build canberra-gtk-module.c: In function 'window_is_xembed':
 :info:build canberra-gtk-module.c:360: error: 'Atom' undeclared (first use
 in this function)
 :info:build canberra-gtk-module.c:360: error: expected ';' before
 'type_return'
 :info:build canberra-gtk-module.c:361: warning: ISO C90 forbids mixed
 declarations and code
 :info:build canberra-gtk-module.c:366: error: expected ';' before 'xembed'
 :info:build canberra-gtk-module.c:371: error: 'xembed' undeclared (first
 use in this function)
 :info:build canberra-gtk-module.c:375: error: 'False' undeclared (first
 use in this function)
 :info:build canberra-gtk-module.c:375: error: 'type_return' undeclared
 (first use in this function)
 :info:build canberra-gtk-module.c:377: error: 'Success' undeclared (first
 use in this function)
 :info:build canberra-gtk-module.c:384: error: 'None' undeclared (first use
 in this function)
 :info:build make[2]: *** [libcanberra_gtk_module_la-canberra-gtk-
 module.lo] Error 1
 :info:build make[2]: *** Waiting for unfinished jobs....
 :info:build make[1]: *** [all-recursive] Error 1
 :info:build make: *** [all] Error 2
 :info:build shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_libcanberra/work/libcanberra-0.25"
 && /usr/bin/make -j2 all " returned error 2
 :error:build Target org.macports.build returned: shell command failed
 :debug:build Backtrace: shell command failed
     while executing
 "command_exec build"
     (procedure "portbuild::build_main" line 8)
     invoked from within
 "$procedure $targetname"
 :info:build Warning: the following items did not execute (for
 libcanberra): org.macports.destroot org.macports.build
 :notice:build Log for libcanberra is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_libcanberra/main.log
 }}}

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


More information about the macports-tickets mailing list