Opened 12 years ago

Closed 12 years ago

#34460 closed defect (fixed)

xgraph build fails on Lion

Reported by: jursonovicst@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.1.0
Keywords: lion Cc:
Port: xgraph

Description (last modified by ryandesign (Ryan Carsten Schmidt))

$ 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

Attachments (1)

console (1.4 KB) - added by jursonovicst@… 12 years ago.
port output

Download all attachments as: .zip

Change History (3)

Changed 12 years ago by jursonovicst@…

Attachment: console added

port output

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: lion added
Owner: changed from macports-tickets@… to ryandesign@…
Status: newassigned

comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed

Fixed in r93132 and r93133.

Note: See TracTickets for help on using tickets.