[MacPorts] #29393: gtk2 does not build, libpng does exist, put loader does not recognize apple-red.png
#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: ----------------------------------+----------------------------------------- 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 -- Ticket URL: <https://trac.macports.org/ticket/29393> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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
#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 ----------------------------------+----------------------------------------- Comment(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 }}} -- Ticket URL: <https://trac.macports.org/ticket/29393#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 ----------------------------------+----------------------------------------- Comment(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 -- Ticket URL: <https://trac.macports.org/ticket/29393#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 ----------------------------------+----------------------------------------- Comment(by mvondavier@…): Also, OS is Snow Leopard 10.6.7 and Xcode is 3.2.6 -- Ticket URL: <https://trac.macports.org/ticket/29393#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29393: gdk-pixbuf2: loader does not recognize apple-red.png, thus gtk2 does not build ----------------------------------+----------------------------------------- Reporter: mvondavier@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: gdk-pixbuf2 gtk2 ----------------------------------+----------------------------------------- Changes (by jmr@…): * port: gtk2 => gdk-pixbuf2 gtk2 -- Ticket URL: <https://trac.macports.org/ticket/29393#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29393: gdk-pixbuf2: loader does not recognize apple-red.png, thus gtk2 does not build ----------------------------------+----------------------------------------- Reporter: mvondavier@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: gdk-pixbuf2 gtk2 ----------------------------------+----------------------------------------- Changes (by jmr@…): * owner: macports-tickets@… => devans@… -- Ticket URL: <https://trac.macports.org/ticket/29393#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29393: gdk-pixbuf2: loader does not recognize apple-red.png, thus gtk2 does not build ----------------------------------+----------------------------------------- Reporter: mvondavier@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: gdk-pixbuf2 gtk2 ----------------------------------+----------------------------------------- Comment(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. -- Ticket URL: <https://trac.macports.org/ticket/29393#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29393: gdk-pixbuf2: loader does not recognize apple-red.png, thus gtk2 does not build ----------------------------------+----------------------------------------- Reporter: mvondavier@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: gdk-pixbuf2 gtk2 ----------------------------------+----------------------------------------- Comment(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. -- Ticket URL: <https://trac.macports.org/ticket/29393#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29393: gdk-pixbuf2: loader does not recognize apple-red.png, thus gtk2 does not build -----------------------------------+---------------------------------------- Reporter: mvondavier@… | Owner: devans@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: fixed | Keywords: Port: gdk-pixbuf2 gtk2 | -----------------------------------+---------------------------------------- Changes (by jeremyhu@…): * status: new => closed * resolution: => fixed Comment: Ok, I think the issue here was that libgio in glib2 was incorrectly built. Simply rebuilding glib2 was insufficient. I needed to rebuild gdk-pixbuf2 against the fixed glib2. I fixed glib2 in r91791 and bumped gdk-pixbuf2 to force a rebuild in r91792. -- Ticket URL: <https://trac.macports.org/ticket/29393#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29393: gdk-pixbuf2: loader does not recognize apple-red.png, thus gtk2 does not build -------------------------------+---------------------- Reporter: mvondavier@… | Owner: devans@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: fixed | Keywords: Port: gdk-pixbuf2 gtk2 | -------------------------------+---------------------- Comment (by egall@…): When were these patches removed? Trying to view the latest revision of the patches gives me a trac error... -- Ticket URL: <https://trac.macports.org/ticket/29393#comment:12> MacPorts <http://www.macports.org/> Ports system for OS X
#29393: gdk-pixbuf2: loader does not recognize apple-red.png, thus gtk2 does not build -------------------------------+---------------------- Reporter: mvondavier@… | Owner: devans@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: fixed | Keywords: Port: gdk-pixbuf2 gtk2 | -------------------------------+---------------------- Comment (by larryv@…): Replying to [comment:12 egall@…]:
When were these patches removed?
r91990 -- Ticket URL: <https://trac.macports.org/ticket/29393#comment:13> MacPorts <http://www.macports.org/> Ports system for OS X
#29393: gdk-pixbuf2: loader does not recognize apple-red.png, thus gtk2 does not build -------------------------------+---------------------- Reporter: mvondavier@… | Owner: devans@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: fixed | Keywords: Port: gdk-pixbuf2 gtk2 | -------------------------------+---------------------- Comment (by egall@…): Replying to [comment:13 larryv@…]:
Replying to [comment:12 egall@…]:
When were these patches removed?
r91990
Thanks. Anyways, hm... Ryan didn't seem to mention why he removed them... I'm assuming it's because they must've been integrated upstream or something? -- Ticket URL: <https://trac.macports.org/ticket/29393#comment:14> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts