Opened 14 years ago

Closed 14 years ago

#22237 closed defect (worksforme)

xterm does not build - dependency problem?

Reported by: tim.brunne@… Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc:
Port: xterm

Description (last modified by mf2k (Frank Schima))

Installing Macports from scratch (for the first time)

Bach:~ tim$ sudo port install  xorg-apps
--->  Computing dependencies for xorg-apps
--->  Building xterm
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_xterm/work/xterm-249" && /usr/bin/make -j2 all " returned error 2
Command output: /usr/bin/gcc-4.0 -I. -I. -DHAVE_CONFIG_H -I/opt/local/include -U_XOPEN_SOURCE -D_XOPEN_SOURCE=500 -DSIGWINCH=28  -I/opt/local/include  -DFUNCPROTO=15 -DOSMAJORVERSION=8 -DOSMINORVERSION=11  -I/opt/local/include -I/opt/local/include/freetype2  -O2 -arch i386  -c ./charproc.c
/usr/bin/gcc-4.0 -I. -I. -DHAVE_CONFIG_H -I/opt/local/include -U_XOPEN_SOURCE -D_XOPEN_SOURCE=500 -DSIGWINCH=28  -I/opt/local/include  -DFUNCPROTO=15 -DOSMAJORVERSION=8 -DOSMINORVERSION=11  -I/opt/local/include -I/opt/local/include/freetype2  -O2 -arch i386  -c ./fontutils.c
./charproc.c: In function 'in_put':
./charproc.c:3378: error: 'fd_mask' undeclared (first use in this function)
./charproc.c:3378: error: (Each undeclared identifier is reported only once
./charproc.c:3378: error: for each function it appears in.)
make: *** [charproc.o] Error 1
make: *** Waiting for unfinished jobs....

Error: The following dependencies failed to build: xterm
Error: Status 1 encountered during processing.

Change History (3)

comment:1 Changed 14 years ago by mf2k (Frank Schima)

Description: modified (diff)
Owner: changed from macports-tickets@… to jeremyhu@…
Port: xterm added

comment:2 Changed 14 years ago by blb@…

Are you on 10.4? If so, probably a dup of #19208.

comment:3 Changed 14 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: worksforme
Status: newclosed

Did you 'sudo port -v upgrade outdated' in a while? Do that first.

My guess is you have a very old xorg-xproto.

Note: See TracTickets for help on using tickets.