Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 256022 - sys-apps/groff-1.20.1-r1 gets stuck in a loop and fails to configure (on IRIX?)
Summary: sys-apps/groff-1.20.1-r1 gets stuck in a loop and fails to configure (on IRIX?)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All IRIX
: High normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-22 17:29 UTC by Stuart Shelton
Modified: 2009-01-22 17:45 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stuart Shelton 2009-01-22 17:29:26 UTC
$ emerge -v groff

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] sys-apps/groff-1.20.1-r1 [1.19.2-r3] USE="X (-cjk%)" LINGUAS="-ja%" 0 kB

Total: 1 package (1 upgrade), Size of downloads: 0 kB


>>> Verifying ebuild manifests

>>> Emerging (1 of 1) sys-apps/groff-1.20.1-r1
 * groff-1.20.1.tar.gz RMD160 SHA1 SHA256 size ;-) ...                   [ ok ]
 * checking ebuild checksums ;-) ...                                     [ ok ]
 * checking auxfile checksums ;-) ...                                    [ ok ]
 * checking miscfile checksums ;-) ...                                   [ ok ]
>>> Unpacking source...
>>> Unpacking groff-1.20.1.tar.gz to /usr/opt/portage/var/tmp/portage/sys-apps/groff-1.20.1-r1/work
 * Applying groff-1.19.2-man-unicode-dashes.patch ...                     [ ok ]
 * Applying groff-1.19.2-no-g-nameprefix.patch ...                        [ ok ]
 * Running eautoreconf in '/usr/opt/portage/var/tmp/portage/sys-apps/groff-1.20.1-r1/work/groff-1.20.1' ...
 * Running aclocal -I /opt/portage/usr/share/aclocal ...                  [ ok ]
 * Running autoconf ...                                                   [ ok ]
 * Running autoheader ...                                                 [ ok ]
>>> Source unpacked in /usr/opt/portage/var/tmp/portage/sys-apps/groff-1.20.1-r1/work
>>> Compiling source in /usr/opt/portage/var/tmp/portage/sys-apps/groff-1.20.1-r1/work/groff-1.20.1 ...
 * econf: updating groff-1.20.1/config.guess with /opt/portage/usr/share/gnuconfig/config.guess
 * econf: updating groff-1.20.1/config.sub with /opt/portage/usr/share/gnuconfig/config.sub
./configure --prefix=/opt/portage/usr --host=mips-sgi-irix6.5 --mandir=/opt/portage/usr/share/man --infodir=/opt/portage/usr/share/info --datadir=/opt/portage/usr/share --sysconfdir=/opt/portage/etc --localstatedir=/opt/portage/var/lib --with-x --with-appresdir=/opt/portage/usr/share/X11/app-defaults --build=mips-sgi-irix6.5
configure: WARNING: unrecognized options: --with-x, --with-appresdir
checking for mips-sgi-irix6.5-gcc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... no
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking whether we are using the GNU C++ compiler... no
checking whether CC accepts -g... yes
./configure[3124]: GROFF_CXX_CHECK:  not found
./configure[3125]: GROFF_EBCDIC:  not found
./configure[3126]: GROFF_OS390:  not found
./configure[3127]: GROFF_X11:  not found
./configure[3128]: GROFF_APPRESDIR_OPTION:  not found
./configure[3129]: GROFF_APPRESDIR_DEFAULT:  not found
./configure[3130]: GROFF_PRINT:  not found
checking for grep that handles long lines and -e... /opt/portage/usr/bin/grep
checking for egrep... /opt/portage/usr/bin/grep -E
checking for perl... /opt/portage/usr/bin/perl
./configure[3306]: GROFF_PROG_YACC:  not found
./configure[3307]: GROFF_MAKEINFO:  not found
checking for mips-sgi-irix6.5-ranlib... no
checking for ranlib... ranlib
./configure[3400]: GROFF_INSTALL_SH:  not found
./configure[3401]: GROFF_INSTALL_INFO:  not found
checking for a BSD-compatible install... /opt/portage/usr/bin/install -c
checking whether ln -s works... yes
./configure[3540]: syntax error at line 3540 : `(' unexpected
make 
/bin/sh configure
checking for gcc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... no
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking whether we are using the GNU C++ compiler... no
checking whether CC accepts -g... yes
configure[3124]: GROFF_CXX_CHECK:  not found
configure[3125]: GROFF_EBCDIC:  not found
configure[3126]: GROFF_OS390:  not found
configure[3127]: GROFF_X11:  not found
configure[3128]: GROFF_APPRESDIR_OPTION:  not found
configure[3129]: GROFF_APPRESDIR_DEFAULT:  not found
configure[3130]: GROFF_PRINT:  not found
checking for grep that handles long lines and -e... /opt/portage/usr/bin/grep
checking for egrep... /opt/portage/usr/bin/grep -E
checking for perl... /opt/portage/usr/bin/perl
configure[3306]: GROFF_PROG_YACC:  not found
configure[3307]: GROFF_MAKEINFO:  not found
checking for ranlib... ranlib
configure[3400]: GROFF_INSTALL_SH:  not found
configure[3401]: GROFF_INSTALL_INFO:  not found
checking for a BSD-compatible install... /opt/portage/usr/bin/install -c
checking whether ln -s works... yes
configure[3540]: syntax error at line 3540 : `(' unexpected
make all
make[1]: Entering directory `/usr/opt/portage/var/tmp/portage/sys-apps/groff-1.20.1-r1/work/groff-1.20.1'
/bin/sh configure
checking for gcc... cc

... etc.

Note that this build does not appear to be prefix-aware: '/bin/sh' should not be being used, as on IRIX this is really an ancient variation of 'ksh'.

I guess that the '--with-x, --with-appresdir' error is legitimate?

With all of the '/bin/sh's changed to '/opt/portage/bin/bash', the process actually hits an error instead of looping:

$ ebuild ~/../usr/portage/sys-apps/groff/groff-1.20.1-r1.ebuild compile
>>> Existing ${T}/environment for 'groff-1.20.1-r1' will be sourced. Run
>>> 'clean' to start with a fresh environment.
 * groff-1.20.1.tar.gz RMD160 SHA1 SHA256 size ;-) ...                   [ ok ]
 * checking ebuild checksums ;-) ...                                     [ ok ]
 * checking auxfile checksums ;-) ...                                    [ ok ]
 * checking miscfile checksums ;-) ...                                   [ ok ]
 * checking groff-1.20.1.tar.gz ;-) ...                                  [ ok ]
>>> Checking groff-1.20.1-japanese.patch.bz2's mtime...
>>> Checking groff-1.20.1.tar.gz's mtime...
>>> WORKDIR is up-to-date, keeping...
>>> It appears that 'groff-1.20.1-r1' is already prepared; skipping.
>>> Remove '/usr/opt/portage/var/tmp/portage/sys-apps/groff-1.20.1-r1/.prepared' to force prepare.
>>> It appears that 'groff-1.20.1-r1' is already configured; skipping.
>>> Remove '/usr/opt/portage/var/tmp/portage/sys-apps/groff-1.20.1-r1/.configured' to force configuration.
>>> Compiling source in /usr/opt/portage/var/tmp/portage/sys-apps/groff-1.20.1-r1/work/groff-1.20.1 ...
 * econf: updating groff-1.20.1/config.guess with /opt/portage/usr/share/gnuconfig/config.guess
 * econf: updating groff-1.20.1/config.sub with /opt/portage/usr/share/gnuconfig/config.sub
./configure --prefix=/opt/portage/usr --host=mips-sgi-irix6.5 --mandir=/opt/portage/usr/share/man --infodir=/opt/portage/usr/share/info --datadir=/opt/portage/usr/share --sysconfdir=/opt/portage/etc --localstatedir=/opt/portage/var/lib --with-x --with-appresdir=/opt/portage/usr/share/X11/app-defaults --build=mips-sgi-irix6.5
configure: WARNING: unrecognized options: --with-x, --with-appresdir
checking for mips-sgi-irix6.5-gcc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... no
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking whether we are using the GNU C++ compiler... no
checking whether CC accepts -g... yes
./configure: line 3124: GROFF_CXX_CHECK: command not found
./configure: line 3125: GROFF_EBCDIC: command not found
./configure: line 3126: GROFF_OS390: command not found
./configure: line 3127: GROFF_X11: command not found
./configure: line 3128: GROFF_APPRESDIR_OPTION: command not found
./configure: line 3129: GROFF_APPRESDIR_DEFAULT: command not found
./configure: line 3130: GROFF_PRINT: command not found
checking for grep that handles long lines and -e... /opt/portage/usr/bin/grep
checking for egrep... /opt/portage/usr/bin/grep -E
checking for perl... /opt/portage/usr/bin/perl
./configure: line 3306: GROFF_PROG_YACC: command not found
./configure: line 3307: GROFF_MAKEINFO: command not found
checking for mips-sgi-irix6.5-ranlib... no
checking for ranlib... ranlib
./configure: line 3400: GROFF_INSTALL_SH: command not found
./configure: line 3401: GROFF_INSTALL_INFO: command not found
checking for a BSD-compatible install... /opt/portage/usr/bin/install -c
checking whether ln -s works... yes
./configure: line 3540: syntax error near unexpected token `SH_SCRIPT_SED_CMD='1s/.*/:/','
./configure: line 3540: `GROFF_CSH_HACK(SH_SCRIPT_SED_CMD='1s/.*/:/', SH_SCRIPT_SED_CMD='1s/a/a/')'

!!! Please attach the following file when seeking support:
!!! /usr/opt/portage/var/tmp/portage/sys-apps/groff-1.20.1-r1/work/groff-1.20.1/config.log
 * ERROR: sys-apps/groff-1.20.1-r1 failed:
 *   econf failed
 * 
 * Call stack:
 *               ebuild.sh:  49: <call src_compile>
 *             environment:2642: <call econf '--with-x' '--with-appresdir=/opt/portage/usr/share/X11/app-defaults'>
 *               ebuild.sh: 543:                      die "econf failed"
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
Comment 1 Fabian Groffen gentoo-dev 2009-01-22 17:45:22 UTC
masked