[MacPorts] #35168: gimp2 build error

MacPorts noreply at macports.org
Tue Jul 24 07:22:11 PDT 2012


#35168: gimp2 build error
---------------------------+------------------------------------------------
 Reporter:  rkupke@…       |       Owner:  devans@…           
     Type:  defect         |      Status:  new                
 Priority:  Normal         |   Milestone:                     
Component:  ports          |     Version:  2.1.1              
 Keywords:                 |        Port:  gimp2              
---------------------------+------------------------------------------------

Comment(by drowe@…):

 I am getting a similar problem - i.e.'port upgrade gimp2' fails during the
 build phase.

 My main.log shows the problem:

 {{{
 :info:build make[3]: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_gimp2/gimp2/work/gimp-2.8.0
 /plug-ins/twain'
 :info:build   CC     tw_func.o
 :info:build   CC     tw_util.o
 :info:build In file included from tw_func.c:66:
 :info:build tw_func.h:238: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
 ‘__attribute__’ before ‘InitApplication’
 :info:build tw_func.h:239: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
 ‘__attribute__’ before ‘InitInstance’
 :info:build In file included from tw_func.c:68:
 :info:build tw_local.h:37: warning: function declaration isn’t a prototype
 [-Wstrict-prototypes]
 :info:build tw_local.h:45: warning: function declaration isn’t a prototype
 [-Wstrict-prototypes]
 :info:build tw_local.h:46: warning: function declaration isn’t a prototype
 [-Wstrict-prototypes]
 }}}

 I can upload my copy of the main.log if it helps. It is similar to the one
 attached above by rkupke at gmx.de - but not identical. In my copy, the
 compilation is being done by gcc 4.2, whereas in rkupke's it is being done
 by clang.

 For the record, I am using a MacBookPro1,1 with the 32-bit only Intel Core
 Duo processor
 MacosX is 10.6.8 and Xcode is 3.2.6.

 Thanks for your help

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


More information about the macports-tickets mailing list