[MacPorts] #21961: toppler build breaks on snowleopard

MacPorts noreply at macports.org
Fri Oct 9 10:23:26 PDT 2009


#21961: toppler build breaks on snowleopard
---------------------------------------------+------------------------------
 Reporter:  bumens@…                         |       Owner:  macports-tickets@…                   
     Type:  defect                           |      Status:  new                                  
 Priority:  Normal                           |   Milestone:                                       
Component:  ports                            |     Version:  1.8.1                                
 Keywords:  toppler build break snowleopard  |        Port:  toppler                              
---------------------------------------------+------------------------------
 {{{
 vb at bayhorse:~ % sudo port install toppler
 --->  Computing dependencies for toppler
 --->  Fetching toppler
 --->  Attempting to fetch toppler-1.1.1.tar.gz from
 http://switch.dl.sourceforge.net/toppler
 --->  Verifying checksum(s) for toppler
 --->  Extracting toppler
 --->  Configuring toppler
 --->  Building toppler
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_games_toppler/work/toppler-1.1.1"
 && /usr/bin/make -j2 all LDFLAGS="-lintl -L/opt/local/lib -bind_at_load" "
 returned error 2
 Command output:                  from archi.cc:19:
 /opt/local/include/SDL/SDL_config.h:82:1: warning: this is the location of
 the previous definition
 In file included from sound.h:22,
                  from bonus.cc:26:
 config.h:42:1: warning: "HAVE_MALLOC" redefined
 In file included from /opt/local/include/SDL/SDL_stdinc.h:30,
                  from /opt/local/include/SDL/SDL_types.h:28,
                  from keyb.h:24,
                  from bonus.cc:20:
 /opt/local/include/SDL/SDL_config.h:82:1: warning: this is the location of
 the previous definition
 bonus.cc:51: error: 'Sint32 time' redeclared as different kind of symbol
 /usr/include/time.h:133: error: previous declaration of 'time_t
 time(time_t*)'
 bonus.cc: In function 'void show()':
 bonus.cc:65: error: ISO C++ forbids comparison between pointer and integer
 bonus.cc:66: error: invalid operands of types 'int' and 'time_t
 ()(time_t*)' to binary 'operator*'
 bonus.cc:68: error: invalid operands of types 'int' and 'time_t
 ()(time_t*)' to binary 'operator*'
 bonus.cc:78: error: invalid operands of types 'time_t ()(time_t*)' and
 'int' to binary 'operator%'
 bonus.cc: In function 'bool bns_game()':
 bonus.cc:140: error: assignment of function 'time_t time(time_t*)'
 bonus.cc:140: error: cannot convert 'int' to 'time_t ()(time_t*)' in
 assignment
 bonus.cc:257: error: ISO C++ forbids comparison between pointer and
 integer
 bonus.cc:263: error: ISO C++ forbids comparison between pointer and
 integer
 bonus.cc:269: error: ISO C++ forbids incrementing a pointer of type
 'time_t (*)(time_t*)'
 bonus.cc:269: error: lvalue required as increment operand
 bonus.cc:272: error: pointer to a function used in arithmetic
 bonus.cc:272: error: invalid operands of types 'time_t (*)(time_t*)' and
 'int' to binary 'operator&'
 make[2]: *** [bonus.o] Error 1
 make[2]: *** Waiting for unfinished jobs....
 make[1]: *** [all-recursive] Error 1
 make: *** [all] Error 2

 Error: Status 1 encountered during processing.
 vb at bayhorse:~ %
 }}}

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


More information about the macports-tickets mailing list