Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#22153 closed defect (fixed)

xorg-libX11 1.3.1_0 FTB: stack limit exceeded for credits.t

Reported by: gale@… Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: tiger Cc:
Port: xorg-libX11

Description

On Tiger:

credits.t:215: fatal error: input stack limit exceeded (probable infinite loop)

Change History (12)

comment:1 Changed 15 years ago by jmroot (Joshua Root)

Keywords: tiger added
Owner: changed from macports-tickets@… to jeremyhu@…

comment:2 Changed 15 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: worksforme
Status: newclosed

? you need to provide quite a bit more information than that.

comment:3 in reply to:  2 Changed 15 years ago by gale@…

Replying to jeremyhu@…:

? you need to provide quite a bit more information than that.

It would be my pleasure.

The rest of the output is "Making all in ... Nothing to be done for..." except:

Making all in libX11
  GEN    libX11.ps
make[2]: [libX11.ps] Error 1 (ignored)
credits.t:215: fatal error: input stack limit exceeded (probable infinite loop)
make[2]: *** [libX11.ps] Error 1
rm libX11.ps
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1

Error: Unable to upgrade port: 1

What else would you like to know?

comment:4 Changed 15 years ago by maxlist@…

For what it's worth, I just ran into this today as well. I'm on Mac OS X (Client) 10.4.11. I was convinced it was cruft gathered from many years of MacPorts use, so I took these steps:

1) upgraded to the latest XCode for Tiger (v2.5) 2) rm -r /opt 3) installed a fresh copy of MacPorts 1.8.1

$ gcc -v
Using built-in specs.
Target: powerpc-apple-darwin8
[...] gcc version 4.0.1 (Apple Computer, Inc. build 5370)

4) sudo port install mplayer

$ sudo port install mplayer
[edited for brevity: these packages were successfully  fetched, verified, extracted, configured, built, staged, installed and activated]
--->  Computing dependencies for MPlayer
--->  Activating pkgconfig @0.23_1
--->  Activating xorg-bigreqsproto @1.1.0_0
--->  Activating pkgconfig @0.23_1
--->  Activating xorg-bigreqsproto @1.1.0_0
--->  Activating xorg-inputproto @2.0_0
--->  Activating xorg-kbproto @1.0.4_0
--->  Activating xorg-xproto @7.0.16_0
--->  Activating xorg-libXau @1.0.5_0
--->  Activating xorg-libXdmcp @1.0.3_0
--->  Activating xorg-util-macros @1.3.0_0
--->  Activating xorg-xcmiscproto @1.2.0_0
--->  Activating xorg-xextproto @7.1.1_0
--->  Activating xorg-xf86bigfontproto @1.2.0_0
--->  Activating xorg-xtrans @1.2.5_0
--->  Fetching xorg-libX11
--->  Attempting to fetch libX11-1.3.1.tar.bz2 from http://xorg.freedesktop.org/archive/individual/lib/
--->  Verifying checksum(s) for xorg-libX11
--->  Extracting xorg-libX11
--->  Configuring xorg-libX11
--->  Building xorg-libX11
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_xorg-libX11/work/libX11-1.3.1" && /usr/bin/make -j2 all " returned error 2
Command output:   GEN    XcmsTekHVCQueryMaxVSamples.3
  GEN    XcmsTekHVCQueryMinV.3
  GEN    XwcDrawImageString.3
  GEN    Xutf8DrawImageString.3
  GEN    XwcDrawString.3
  GEN    Xutf8DrawString.3
  GEN    XwcDrawText.3
  GEN    Xutf8DrawText.3
  GEN    XwcLookupString.3
  GEN    Xutf8LookupString.3
  GEN    XwcResetIC.3
  GEN    Xutf8ResetIC.3
  GEN    XwcTextEscapement.3
  GEN    Xutf8TextEscapement.3
  GEN    XwcTextExtents.3
  GEN    Xutf8TextExtents.3
  GEN    Xutf8TextPerCharExtents.3
  GEN    XwcTextPerCharExtents.3
Making all in specs
Making all in libX11
  GEN    libX11.txt
  GEN    libX11.ps
make[2]: *** [libX11.txt] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: [libX11.ps] Error 1 (ignored)
make[2]: *** Waiting for unfinished jobs....
credits.t:215: fatal error: input stack limit exceeded (probable infinite loop)
make[2]: *** [libX11.ps] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1

Error: The following dependencies failed to build: giflib xorg-libX11 xorg-libsm xorg-libice jpeg lame ncurses ncursesw libiconv gperf libmad autoconf help2man gettext expat p5-locale-gettext perl5 perl5.8 m4 libtool automake libogg libpng zlib libvorbis lzo2
Error: Status 1 encountered during processing.
$ 

Hope that helps--do you need any more info?

comment:5 Changed 15 years ago by maxlist@…

Let's try that again...

After nuking /opt and reinstalling MacPorts 1.8.1 on Mac OS X Client 10.4.11 using XCode 2.5/gcc4.0.1:

$ sudo port install mplayer
[edited for brevity: these packages were successfully  fetched, verified, extracted, configured, built, staged, installed and activated]
--->  Computing dependencies for MPlayer
--->  Activating pkgconfig @0.23_1
--->  Activating xorg-bigreqsproto @1.1.0_0
--->  Activating pkgconfig @0.23_1
--->  Activating xorg-bigreqsproto @1.1.0_0
--->  Activating xorg-inputproto @2.0_0
--->  Activating xorg-kbproto @1.0.4_0
--->  Activating xorg-xproto @7.0.16_0
--->  Activating xorg-libXau @1.0.5_0
--->  Activating xorg-libXdmcp @1.0.3_0
--->  Activating xorg-util-macros @1.3.0_0
--->  Activating xorg-xcmiscproto @1.2.0_0
--->  Activating xorg-xextproto @7.1.1_0
--->  Activating xorg-xf86bigfontproto @1.2.0_0
--->  Activating xorg-xtrans @1.2.5_0


--->  Fetching xorg-libX11
--->  Attempting to fetch libX11-1.3.1.tar.bz2 from http://xorg.freedesktop.org/archive/individual/lib/
--->  Verifying checksum(s) for xorg-libX11
--->  Extracting xorg-libX11
--->  Configuring xorg-libX11
--->  Building xorg-libX11
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_xorg-libX11/work/libX11-1.3.1" && /usr/bin/make -j2 all " returned error 2
Command output:   GEN    XcmsTekHVCQueryMaxVSamples.3
  GEN    XcmsTekHVCQueryMinV.3
  GEN    XwcDrawImageString.3
  GEN    Xutf8DrawImageString.3
  GEN    XwcDrawString.3
  GEN    Xutf8DrawString.3
  GEN    XwcDrawText.3
  GEN    Xutf8DrawText.3
  GEN    XwcLookupString.3
  GEN    Xutf8LookupString.3
  GEN    XwcResetIC.3
  GEN    Xutf8ResetIC.3
  GEN    XwcTextEscapement.3
  GEN    Xutf8TextEscapement.3
  GEN    XwcTextExtents.3
  GEN    Xutf8TextExtents.3
  GEN    Xutf8TextPerCharExtents.3
  GEN    XwcTextPerCharExtents.3
Making all in specs
Making all in libX11
  GEN    libX11.txt
  GEN    libX11.ps
make[2]: *** [libX11.txt] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: [libX11.ps] Error 1 (ignored)
make[2]: *** Waiting for unfinished jobs....
credits.t:215: fatal error: input stack limit exceeded (probable infinite loop)
make[2]: *** [libX11.ps] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1

Error: The following dependencies failed to build: giflib xorg-libX11 xorg-libsm xorg-libice jpeg lame ncurses ncursesw libiconv gperf libmad autoconf help2man gettext expat p5-locale-gettext perl5 perl5.8 m4 libtool automake libogg libpng zlib libvorbis lzo2
Error: Status 1 encountered during processing.
$ 

comment:6 Changed 15 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: worksforme
Status: closedreopened

can you please build with make V=1?

Add this to the Portfile:

build.args-append V=1

comment:7 Changed 15 years ago by maxlist@…

Sure thing. I tacked build.arg-append V=1 to the end of /opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/xorg-libX11/Portfile, and then...

$ sudo port clean xorg-libx11
--->  Cleaning xorg-libX11

$ sudo port install xorg-libx11
--->  Computing dependencies for xorg-libX11
--->  Fetching xorg-libX11
--->  Verifying checksum(s) for xorg-libX11
--->  Extracting xorg-libX11
--->  Configuring xorg-libX11
--->  Building xorg-libX11
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_xorg-libX11/work/libX11-1.3.1" && /usr/bin/make -j2 all V=1 " returned error 2
Command output: echo ".so man3/XcmsTekHVCQueryMaxC.3" > XcmsTekHVCQueryMinV.3
echo ".so man3/XmbDrawImageString.3" > XwcDrawImageString.3
echo ".so man3/XmbDrawImageString.3" > Xutf8DrawImageString.3
echo ".so man3/XmbDrawString.3" > XwcDrawString.3
echo ".so man3/XmbDrawString.3" > Xutf8DrawString.3
echo ".so man3/XmbDrawText.3" > XwcDrawText.3
echo ".so man3/XmbDrawText.3" > Xutf8DrawText.3
echo ".so man3/XmbLookupString.3" > XwcLookupString.3
echo ".so man3/XmbLookupString.3" > Xutf8LookupString.3
echo ".so man3/XmbResetIC.3" > XwcResetIC.3
echo ".so man3/XmbResetIC.3" > Xutf8ResetIC.3
echo ".so man3/XmbTextEscapement.3" > XwcTextEscapement.3
echo ".so man3/XmbTextEscapement.3" > Xutf8TextEscapement.3
echo ".so man3/XmbTextExtents.3" > XwcTextExtents.3
echo ".so man3/XmbTextExtents.3" > Xutf8TextExtents.3
echo ".so man3/XmbTextPerCharExtents.3" > XwcTextPerCharExtents.3
echo ".so man3/XmbTextPerCharExtents.3" > Xutf8TextPerCharExtents.3
Making all in specs
Making all in libX11
env GROFF_NO_SGR=TRUE /usr/bin/groff -Tutf8 -e -t -ms -dxV="libX11 1.3.1" ../../specs/macros.t \
 libX11.ms 2> index.libX11.txt.raw > libX11.txt
/usr/bin/groff -Tps -e -t -ms -dxV="libX11 1.3.1" ../../specs/macros.t libX11.ms 2> index.libX11.ps.raw > libX11.ps
make[2]: *** [libX11.txt] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: [libX11.ps] Error 1 (ignored)
make[2]: *** Waiting for unfinished jobs....
credits.t:215: fatal error: input stack limit exceeded (probable infinite loop)
make[2]: *** [libX11.ps] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1

Error: Status 1 encountered during processing.

Anything else I can try?

comment:8 in reply to:  6 Changed 15 years ago by gale@…

Replying to jeremyhu@…:

can you please build with make V=1?

Add this to the Portfile:

build.args-append V=1

OK, I also did that. I got exactly the same output as pasted above by maxlist.

comment:9 Changed 15 years ago by jeremyhu (Jeremy Huddleston Sequoia)

what is:

/usr/bin/groff --version

Try installing the "groff" port, so the build uses /opt/local/bin/groff instead.

comment:10 in reply to:  9 Changed 15 years ago by gale@…

Replying to jeremyhu@…:

what is:

/usr/bin/groff --version
$ /usr/bin/groff --version
GNU groff version 1.19.1
Copyright...

called subprograms:

GNU grops (groff) version 1.19.1
GNU troff (groff) version 1.19.1

Try installing the "groff" port, so the build uses /opt/local/bin/groff instead.

After also cleaning xorg-libX11 so that it could find the new groff - it worked! Thanks.

comment:11 Changed 15 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: fixed
Status: reopenedclosed

comment:12 Changed 15 years ago by maxlist@…

Ditto! Many thanks.

Note: See TracTickets for help on using tickets.