Opened 12 years ago
Last modified 12 years ago
#34460 closed defect
xgraph build fails on Lion — at Initial Version
Reported by: | jursonovicst@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.0 |
Keywords: | lion | Cc: | |
Port: | xgraph |
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:
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
port output