[MacPorts] #17707: rb-rmagick-2.7.0 build failure on ParseSizeGeometry

MacPorts noreply at macports.org
Thu Dec 18 15:10:48 PST 2008


#17707: rb-rmagick-2.7.0 build failure on ParseSizeGeometry
---------------------------------+------------------------------------------
 Reporter:  dojo@…               |       Owner:  macports-tickets@…                   
     Type:  defect               |      Status:  new                                  
 Priority:  Normal               |   Milestone:  Port Bugs                            
Component:  ports                |     Version:  1.7.0                                
 Keywords:  rb-rmagick           |        Port:                                       
---------------------------------+------------------------------------------
 I'm installing a fresh MacPorts package set on OSX 10.5.6 using the latest
 and greatest.  It all went smoothly until rb-rmagick failed with this
 error:

 {{{
 $ sudo port install rb-rmagick
 --->  Fetching rb-rmagick
 --->  Attempting to fetch RMagick-2.7.0.tar.bz2 from
 http://distfiles.macports.org/ruby
 --->  Verifying checksum(s) for rb-rmagick
 --->  Extracting rb-rmagick
 --->  Configuring rb-rmagick
 Warning: wmf2eps is not installed, some RMagick examples will fail.
 Warning: gs is not installed, some RMagick examples will fail.
 --->  Building rb-rmagick
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_ruby_rb-rmagick/work/RMagick-2.7.0" &&
 /opt/local/bin/ruby -rvendor-specific setup.rb setup " returned error 1
 Command output: /usr/bin/gcc-4.0 -I. -I.
 -I/opt/local/lib/ruby/1.8/i686-darwin9
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_ruby_rb-rmagick/work/RMagick-2.7.0/ext/RMagick
 -DRUBY_EXTCONF_H=\"extconf.h\" -I/opt/local/include
 -I/opt/local/include/ImageMagick -fno-common -O2
 -I/opt/local/include/ImageMagick   -c rmilist.c
 /usr/bin/gcc-4.0 -I. -I. -I/opt/local/lib/ruby/1.8/i686-darwin9
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_ruby_rb-rmagick/work/RMagick-2.7.0/ext/RMagick
 -DRUBY_EXTCONF_H=\"extconf.h\" -I/opt/local/include
 -I/opt/local/include/ImageMagick -fno-common -O2
 -I/opt/local/include/ImageMagick   -c rmimage.c
 rmimage.c: In function 'Image_change_geometry':
 rmimage.c:1555: error: too few arguments to function 'ParseSizeGeometry'
 rmimage.c: In function 'Image_gray_q':
 rmimage.c:5327: warning: passing argument 2 of 'has_attribute' from
 incompatible pointer type
 rmimage.c: In function 'Image_monochrome_q':
 rmimage.c:6687: warning: passing argument 2 of 'has_attribute' from
 incompatible pointer type
 make: *** [rmimage.o] Error 1
 setup.rb:655:in `command': system("make") failed (RuntimeError)
         from setup.rb:664:in `make'
         from setup.rb:1258:in `setup_dir_ext'
         from setup.rb:1532:in `__send__'
         from setup.rb:1532:in `traverse'
         from setup.rb:1549:in `dive_into'
         from setup.rb:1530:in `traverse'
         from setup.rb:1534:in `traverse'
         from setup.rb:1533:in `each'
         from setup.rb:1533:in `traverse'
         from setup.rb:1549:in `dive_into'
         from setup.rb:1530:in `traverse'
         from setup.rb:1524:in `exec_task_traverse'
         from setup.rb:1519:in `each'
         from setup.rb:1519:in `exec_task_traverse'
         from setup.rb:1246:in `exec_setup'
         from setup.rb:996:in `exec_setup'
         from setup.rb:826:in `__send__'
         from setup.rb:826:in `invoke'
         from setup.rb:772:in `invoke'
         from setup.rb:1578

 Error: Status 1 encountered during processing.
 }}}

 The installed ports are:
 {{{
 $ port installed
 The following ports are currently installed:
   apr @1.3.3_0 (active)
   apr-util @1.3.4_1 (active)
   autoconf @2.63_0 (active)
   bzip2 @1.0.5_1 (active)
   cyrus-sasl2 @2.1.22_0+kerberos (active)
   db46 @4.6.21_3 (active)
   expat @2.0.1_0 (active)
   fontconfig @2.6.0_1+macosx (active)
   freetype @2.3.7_3+macosx (active)
   gettext @0.17_3 (active)
   gperf @3.0.3_0 (active)
   help2man @1.36.4_1 (active)
   ImageMagick @6.4.7-2_0+q16 (active)
   jpeg @6b_3 (active)
   libiconv @1.12_0 (active)
   libpng @1.2.33_0 (active)
   libxml2 @2.7.2_1+darwin_9 (active)
   m4 @1.4.12_1 (active)
   mysql5 @5.0.67_1+server (active)
   ncurses @5.7_0 (active)
   ncursesw @5.7_0 (active)
   neon @0.28.3_0 (active)
   openssl @0.9.8i_0 (active)
   p5-locale-gettext @1.05_0 (active)
   perl5 @5.8.8_2 (active)
   perl5.8 @5.8.8_3+darwin_9 (active)
   pkgconfig @0.23_1 (active)
   rb-mysql @2.7.5_1 (active)
   rb-rubygems @1.3.1_0 (active)
   rb-termios @0.9.4_0 (active)
   readline @5.2.012_1 (active)
   ruby @1.8.7-p72_2+thread_hooks (active)
   serf @0.2.0_0 (active)
   sqlite3 @3.6.6.2_0 (active)
   subversion @1.5.4_0+tools (active)
   tiff @3.8.2_2+darwin_9+macosx (active)
   zlib @1.2.3_2 (active)
 }}}

 I installed ImageMagick with:
 {{{
 sudo port install ImageMagick
 }}}

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


More information about the macports-tickets mailing list