[MacPorts] #29393: gtk2 does not build, libpng does exist, put loader does not recognize apple-red.png

MacPorts noreply at macports.org
Sun May 8 07:38:53 PDT 2011


#29393: gtk2 does not build, libpng does exist, put loader does not recognize
apple-red.png
----------------------------------+-----------------------------------------
 Reporter:  mvondavier@…          |       Owner:  macports-tickets@…                   
     Type:  defect                |      Status:  new                                  
 Priority:  Normal                |   Milestone:                                       
Component:  ports                 |     Version:  1.9.2                                
 Keywords:                        |        Port:  gtk2                                 
----------------------------------+-----------------------------------------
Changes (by ryandesign@…):

  * port:  => gtk2


Old description:

> Port command started with PID 18603
> Computing dependencies for gtk2
> Fetching gtk2
> Attempting to fetch gtk+-2.24.4.tar.bz2 from
> ftp://ftp.cse.buffalo.edu/pub/Gnome/sources/gtk+/2.24/
> Verifying checksum(s) for gtk2
> Extracting gtk2
> Applying patches to gtk2
> Configuring gtk2
> Building gtk2
> Error: Target org.macports.build returned: shell command failed (see log
> for details)
> Log for gtk2 is at:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gtk2/main.log
> Error: Status 1 encountered during processing.
> To report a bug, see <http://guide.macports.org/#project.tickets>
> Executing: /opt/local/bin/port install gtk2 +x11
>
> from the log:
>
> :info:build Making all in demos
> :info:build /opt/local/bin/gdk-pixbuf-csource --raw --build-list
> \
> :info:build             apple_red  ./apple-red.png      \
> :info:build                 gnome_foot ./gnome-foot.png \
> :info:build         > test-inline-pixbufs.h                             \
> :info:build     || (rm -f test-inline-pixbufs.h && false)
> :info:build failed to load "./apple-red.png": Couldn't recognize the
> image file format for file './apple-red.png'
> :info:build make[2]: *** [test-inline-pixbufs.h] Error 1
> :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_gnome_gtk2/work/gtk+-2.24.4"
> && /usr/bin/make all " returned error 2
> :error:build Target org.macports.build returned: shell command failed
> (see log for details)
> :debug:build Backtrace: shell command failed (see log for details)
>     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 gtk2):
> org.macports.activate org.macports.build org.macports.destroot
> org.macports.install
> :notice:build Log for gtk2 is at:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gtk2/main.log

New description:

 {{{
 Port command started with PID 18603
 Computing dependencies for gtk2
 Fetching gtk2
 Attempting to fetch gtk+-2.24.4.tar.bz2 from
 ftp://ftp.cse.buffalo.edu/pub/Gnome/sources/gtk+/2.24/
 Verifying checksum(s) for gtk2
 Extracting gtk2
 Applying patches to gtk2
 Configuring gtk2
 Building gtk2
 Error: Target org.macports.build returned: shell command failed (see log
 for details)
 Log for gtk2 is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gtk2/main.log
 Error: Status 1 encountered during processing.
 To report a bug, see <http://guide.macports.org/#project.tickets>
 Executing: /opt/local/bin/port install gtk2 +x11
 }}}

 from the log:

 {{{
 :info:build Making all in demos
 :info:build /opt/local/bin/gdk-pixbuf-csource --raw --build-list
 \
 :info:build             apple_red  ./apple-red.png      \
 :info:build                 gnome_foot ./gnome-foot.png \
 :info:build         > test-inline-pixbufs.h                             \
 :info:build     || (rm -f test-inline-pixbufs.h && false)
 :info:build failed to load "./apple-red.png": Couldn't recognize the image
 file format for file './apple-red.png'
 :info:build make[2]: *** [test-inline-pixbufs.h] Error 1
 :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_gnome_gtk2/work/gtk+-2.24.4"
 && /usr/bin/make all " returned error 2
 :error:build Target org.macports.build returned: shell command failed (see
 log for details)
 :debug:build Backtrace: shell command failed (see log for details)
     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 gtk2):
 org.macports.activate org.macports.build org.macports.destroot
 org.macports.install
 :notice:build Log for gtk2 is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gtk2/main.log
 }}}

--

Comment:

 What computer, what OS version, and what version of Xcode?

 Can you attach the complete main.log file?

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


More information about the macports-tickets mailing list