Opened 16 years ago
Closed 15 years ago
#19208 closed defect (fixed)
xterm failed to install
Reported by: | trog24 (Frank J. R. Hanstick) | Owned by: | jmroot (Joshua Root) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.7.1 |
Keywords: | Cc: | ryandesign (Ryan Carsten Schmidt), niel.drummond@…, ctempleton3@… | |
Port: | xterm |
Description
The following error occurs when trying to install xorg:
---> 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-238" && make all " returned error 2 Command output: /usr/bin/gcc-4.0 -I. -I. -DHAVE_CONFIG_H -I/opt/local/include -I/opt/local/include/freetype2 -I. -I. -I/usr/X11R6/include -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -D__powerpc__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DXFREE86_FT2 -DUTMP -DOSMAJORVERSION=8 -DOSMINORVERSION=11 -I/usr/X11R6/include -I/opt/local/include -U_XOPEN_SOURCE -D_XOPEN_SOURCE=500 -DSIGWINCH=28 -DPROJECTROOT='"/usr/X11R6"' -D__vendorversion__='"Version 4.7.0 XFree86"' -O2 -c ./charproc.c ./charproc.c: In function 'in_put': ./charproc.c:3301: error: 'fd_mask' undeclared (first use in this function) ./charproc.c:3301: error: (Each undeclared identifier is reported only once ./charproc.c:3301: error: for each function it appears in.) make: *** [charproc.o] Error 1
Error: The following dependencies failed to build: xorg-apps xterm xtrap xvinfo xwd xwininfo xwud xorg-server xorg-fonts font-adobe-100dpi xorg-font-util font-adobe-75dpi font-adobe-utopia-100dpi font-adobe-utopia-75dpi font-adobe-utopia-type1 font-alias font-arabic-misc font-bh-100dpi font-bh-75dpi font-bh-lucidatypewriter-100dpi font-bh-lucidatypewriter-75dpi font-bh-ttf font-bh-type1 font-bitstream-100dpi font-bitstream-75dpi font-bitstream-speedo font-bitstream-type1 font-cronyx-cyrillic font-cursor-misc font-daewoo-misc font-dec-misc font-ibm-type1 font-isas-misc font-jis-misc font-micro-misc font-misc-cyrillic font-misc-ethiopic font-misc-meltho font-misc-misc font-mutt-misc font-schumacher-misc font-screen-cyrillic font-sony-misc font-sun-misc font-winitzki-cyrillic font-xfree86-type1 xorg-encodings Error: Status 1 encountered during processing.
The platform is a PowerPC G4 running MacOS 10.4.11
Attachments (2)
Change History (19)
comment:1 Changed 16 years ago by mf2k (Frank Schima)
Owner: | changed from macports-tickets@… to jeremyhu@… |
---|---|
Port: | xterm added |
Summary: | xorg failed to install → xterm failed to install |
comment:3 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|
The failing port is not "xorg" but "xterm", as evidenced by the fact that the failure occurred after the line "---> Building xterm"
I just experienced the issue as well on Mac OS X 10.4.11 Intel, Xcode 2.5, MacPorts 1.7.1. I too was trying to install "xorg" originally.
comment:4 Changed 16 years ago by trog24 (Frank J. R. Hanstick)
Apparently something that got fixed is now broke again. See ticket #12991 which supposedly pushed it back up to xorg.
comment:5 Changed 16 years ago by niel.drummond@…
same problem here. managed to workaround by hand-editing /usr/include/X11/Xpoll.h according to the patch in #12991 . 'port' also states this file is not owned by a macport, so I am supposing the standard Apple X11 package supplies it. not sure how this is normally dealt with...
comment:7 Changed 16 years ago by jeremyhu (Jeremy Huddleston Sequoia)
niel, are you using +system_x11? If so, you're on your own. xterm is building from MacPorts and shouldn't touch anything in /usr/include/X11
comment:9 Changed 16 years ago by niel.drummond@…
not managed to get that far with port as this is a fresh install, but it compiles with the latest update.
comment:10 Changed 16 years ago by trog24 (Frank J. R. Hanstick)
Apple's Xpoll.h is in /usr/X11R6/include/X11 if anyone is interested.
Changed 15 years ago by ctempleton3@…
Attachment: | Portfile.diff added |
---|
comment:13 Changed 15 years ago by ctempleton3@…
I was able to build xterm with the attached portfile and the patches submitted at Ticket #19760. Can you please apply the patches?
comment:14 Changed 15 years ago by jmroot (Joshua Root)
The real problem is that xterm.h includes <X11/Xos.h> which includes <string.h> which includes <sys/cdefs.h>, which in response to _XOPEN_SOURCE being defined defines _POSIX_C_SOURCE, which prevents <sys/types.h> from defining fd_mask.
comment:15 Changed 15 years ago by jmroot (Joshua Root)
Owner: | changed from jeremyhu@… to jeremyhu@… |
---|
comment:16 Changed 15 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Owner: | changed from jeremyhu@… to jmr@… |
---|
jmr: If that works for you, go ahead and push it. I still haven't gotten a Tiger box up.
This is actually an issue with the xterm port.