[MacPorts] #34460: xgraph build fails on Lion

MacPorts noreply at macports.org
Tue May 15 14:08:33 PDT 2012


#34460: xgraph build fails on Lion
------------------------------------+---------------------------------------
 Reporter:  jursonovicst@…          |       Owner:  macports-tickets@…                   
     Type:  defect                  |      Status:  new                                  
 Priority:  Normal                  |   Milestone:                                       
Component:  ports                   |     Version:  2.1.0                                
 Keywords:                          |        Port:  xgraph                               
------------------------------------+---------------------------------------
 $ sudo port install xgraphPassword:
 --->  Computing dependencies for xgraph
 --->  Building xgraph
 Error: org.macports.build for port xgraph returned: command execution
 failed
 Please see the log file for port xgraph for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_xgraph/xgraph/main.log
 To report a bug, follow the instructions in the guide:
     http://guide.macports.org/#project.tickets
 Error: Processing of port xgraph failed




 :info:build dialog.c:743:13: error: conflicting types for 'getline'
 :info:build     int     getline();
 :info:build             ^
 :info:build /usr/include/stdio.h:449:9: note: previous declaration is here
 :info:build ssize_t getline(char ** __restrict, size_t * __restrict, FILE
 * __restrict) __OSX_AVAILABLE_STARTING(__MAC_10_7, __IPHONE_4_3);
 :info:build         ^
 :info:build dialog.c:781:34: error: too few arguments to function call,
 expected 3, have 2
 :info:build     while (getline(&lineptr, line)) {
 :info:build            ~~~~~~~               ^
 :info:build dialog.c:892:1: error: conflicting types for 'getline'
 :info:build getline(tptr, lptr)
 :info:build ^
 :info:build /usr/include/stdio.h:449:9: note: previous declaration is here
 :info:build ssize_t getline(char ** __restrict, size_t * __restrict, FILE
 * __restrict) __OSX_AVAILABLE_STARTING(__MAC_10_7, __IPHONE_4_3);
 :info:build         ^
 :info:build 3 errors generated.
 :info:build make: *** [dialog.o] Error 1

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


More information about the macports-tickets mailing list