Ticket #29393 (closed defect: fixed)
gdk-pixbuf2: loader does not recognize apple-red.png, thus gtk2 does not build
| Reported by: | mvondavier@… | Owned by: | devans@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.9.2 |
| Keywords: | Cc: | ak.ml@… | |
| Port: | gdk-pixbuf2 gtk2 |
Description (last modified by ryandesign@…) (diff)
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
Attachments
Change History
comment:2 Changed 2 years ago by ryandesign@…
Are your port definitions up to date, and are all installed ports up to date? If not, upgrade and try again.
sudo port clean gtk2 sudo port selfupdate port outdated sudo port upgrade outdated
comment:3 Changed 2 years ago by mvondavier@…
Unfortunately, the same thing happens after selfupdate and upgrade outdated. All ports are up to date,
Hardware Overview: Model Name: MacBook Model Identifier: MacBook4,1 Processor Name: Intel Core 2 Duo Processor Speed: 2.4 GHz Number Of Processors: 1 Total Number Of Cores: 2 L2 Cache: 3 MB Memory: 4 GB Bus Speed: 800 MHz Boot ROM Version: MB41.00C1.B00 SMC Version (system): 1.31f1
comment:5 Changed 2 years ago by jmr@…
- Port changed from gtk2 to gdk-pixbuf2 gtk2
- Summary changed from gtk2 does not build, libpng does exist, put loader does not recognize apple-red.png to gdk-pixbuf2: loader does not recognize apple-red.png, thus gtk2 does not build
comment:7 Changed 22 months ago by ak.ml@…
$ port -v installed gtk2 gdk-pixbuf2 The following ports are currently installed: gdk-pixbuf2 @2.22.1_1 platform='darwin 10' archs='x86_64' gdk-pixbuf2 @2.22.1_1+universal (active) platform='darwin 10' archs='i386 x86_64' gtk2 @2.24.5_0+universal+x11 (active) platform='darwin 10' archs='i386 x86_64'
The universal version (or just the i386 part) of gdk-pixbuf2 is broken.
The following command fails when gdk-pixbuf2 @2.22.1_1+universal is active but works when gdk-pixbuf2 @2.22.1_1 is active (both packages come from packages.macports.org)
$ cd "`port work gtk2`/gtk+-2.24.5-x86_64/demos" $ /opt/local/bin/gdk-pixbuf-csource --raw --build-list \ apple_red ./apple-red.png \ gnome_foot ./gnome-foot.png \ > test-inline-pixbufs.h \ || (rm -f test-inline-pixbufs.h && false)
I have a Macintel with 10.6.8.
comment:9 Changed 14 months ago by jeremyhu@…
This also happens on Tiger/i386 if apple-gcc42 is set as the default compiler. It looks like this is an issue with gcc-4.2 and i386.
comment:10 Changed 14 months ago by jeremyhu@…
- Status changed from new to closed
- Resolution set to fixed
Note: See
TracTickets for help on using
tickets.


What computer, what OS version, and what version of Xcode?
Can you attach the complete main.log file?