Opened 17 years ago

Closed 17 years ago

Last modified 16 years ago

#14320 closed defect (fixed)

BUG: yafc 1.1.1_0 fails to build on Mac OS X 10.4.11 Tiger

Reported by: mpapamanz@… Owned by: skymoo (Adam Mercer)
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: BUG yafc tiger Cc:
Port:

Description

I tried to compile it on Mac os X 10.4.11 but i go# port install yafc
---> Fetching yafc
---> Verifying checksum(s) for yafc
---> Extracting yafc
---> Applying patches to yafc
---> Configuring yafc
---> Building yafc with target all
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_yafc/work/yafc-1.1.1" && make all " returned error 2 Command output: if /usr/bin/gcc-4.0 -DSYSCONFDIR=\"/opt/local/etc\" -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I. -I../lib -I../src/ftp -I../src/libmhe -I/opt/local/include -I/opt/local/include -O2 -MT fxp.o -MD -MP -MF ".deps/fxp.Tpo" -c -o fxp.o fxp.c; \ then mv -f ".deps/fxp.Tpo" ".deps/fxp.Po"; else rm -f ".deps/fxp.Tpo"; exit 1; fi if /usr/bin/gcc-4.0 -DSYSCONFDIR=\"/opt/local/etc\" -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I. -I../lib -I../src/ftp -I../src/libmhe -I/opt/local/include -I/opt/local/include -O2 -MT gvars.o -MD -MP -MF ".deps/gvars.Tpo" -c -o gvars.o gvars.c; \ then mv -f ".deps/gvars.Tpo" ".deps/gvars.Po"; else rm -f ".deps/gvars.Tpo"; exit 1; fi if /usr/bin/gcc-4.0 -DSYSCONFDIR=\"/opt/local/etc\" -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I. -I../lib -I../src/ftp -I../src/libmhe -I/opt/local/include -I/opt/local/include -O2 -MT lglob.o -MD -MP -MF ".deps/lglob.Tpo" -c -o lglob.o lglob.c; \ then mv -f ".deps/lglob.Tpo" ".deps/lglob.Po"; else rm -f ".deps/lglob.Tpo"; exit 1; fi if /usr/bin/gcc-4.0 -DSYSCONFDIR=\"/opt/local/etc\" -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I. -I../lib -I../src/ftp -I../src/libmhe -I/opt/local/include -I/opt/local/include -O2 -MT help.o -MD -MP -MF ".deps/help.Tpo" -c -o help.o help.c; \ then mv -f ".deps/help.Tpo" ".deps/help.Po"; else rm -f ".deps/help.Tpo"; exit 1; fi if /usr/bin/gcc-4.0 -DSYSCONFDIR=\"/opt/local/etc\" -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I. -I../lib -I../src/ftp -I../src/libmhe -I/opt/local/include -I/opt/local/include -O2 -MT input.o -MD -MP -MF ".deps/input.Tpo" -c -o input.o input.c; \ then mv -f ".deps/input.Tpo" ".deps/input.Po"; else rm -f ".deps/input.Tpo"; exit 1; fi
input.c:79:22: error: termio.h: No such file or directory
input.c: In function 'getpass_hook':
input.c:92: error: storage size of 'tbuf' isn't known
input.c:92: error: storage size of 'tbufsave' isn't known
input.c:99: error: 'TCGETA' undeclared (first use in this function)
input.c:99: error: (Each undeclared identifier is reported only once
input.c:99: error: for each function it appears in.)
input.c:105: error: 'IUCLC' undeclared (first use in this function)
input.c:105: error: 'ISTRIP' undeclared (first use in this function)
input.c:105: error: 'IXON' undeclared (first use in this function)
input.c:105: error: 'IXOFF' undeclared (first use in this function)
input.c:106: error: 'ICANON' undeclared (first use in this function)
input.c:106: error: 'ISIG' undeclared (first use in this function)
input.c:106: error: 'ECHO' undeclared (first use in this function)
input.c:108: error: 'TCSETA' undeclared (first use in this function)
make[4]: * [input.o] Error 1
make[3]:
* [all-recursive] Error 1
make[2]: * [all] Error 2
make[1]:
* [all-recursive] Error 1
make: * [all] Error 2

Error: Status 1 encountered during processing.t:

Should be applied the same patch for darwin 9 Leopard patch-srcinput.c.diff

Attachments (1)

yafc.patch (679 bytes) - added by mpapamanz@… 17 years ago.
Unified diff of yafc portfile

Download all attachments as: .zip

Change History (7)

Changed 17 years ago by mpapamanz@…

Attachment: yafc.patch added

Unified diff of yafc portfile

comment:1 Changed 17 years ago by skymoo (Adam Mercer)

Milestone: MacPorts base bugsPort Bugs
Owner: changed from macports-tickets@… to ram@…
Status: newassigned

I'm assuming you mean version 1.1.1_1 and not 1.1_1?

I don't have access to a Tiger machine, so can you can confirm that applying the patch-src_input.c.diff patch on Tiger fixes the build?

comment:2 Changed 17 years ago by mpapamanz@…

yes, my fault, i meant 1.1.1_1. I can confirm that applying the patch-src_input.c.diff patch on Tiger fixes the build. (i am using it now ;-))

comment:3 Changed 17 years ago by skymoo (Adam Mercer)

Summary: BUG: yafc 1.1_1 fails to build on Mac OS X 10.4.11 TigerBUG: yafc 1.1.1_1 fails to build on Mac OS X 10.4.11 Tiger

comment:4 Changed 17 years ago by skymoo (Adam Mercer)

Summary: BUG: yafc 1.1.1_1 fails to build on Mac OS X 10.4.11 TigerBUG: yafc 1.1.1_0 fails to build on Mac OS X 10.4.11 Tiger

comment:5 Changed 17 years ago by skymoo (Adam Mercer)

Resolution: fixed
Status: assignedclosed

fixed in r34124, thanks

comment:6 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.