[MacPorts] #34460: xgraph build fails on Lion

MacPorts noreply at macports.org
Tue May 15 15:54:57 PDT 2012


#34460: xgraph build fails on Lion
------------------------------------+---------------------------------------
 Reporter:  jursonovicst@…          |       Owner:  ryandesign@…           
     Type:  defect                  |      Status:  assigned               
 Priority:  Normal                  |   Milestone:                         
Component:  ports                   |     Version:  2.1.0                  
 Keywords:  lion                    |        Port:  xgraph                 
------------------------------------+---------------------------------------
Changes (by ryandesign@…):

  * owner:  macports-tickets@… => ryandesign@…
  * status:  new => assigned
  * keywords:  => lion


Old description:

> $ 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

New description:

 {{{
 $ 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#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list