Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 208072

Summary: sys-devel/autogen-5.9.2 compile fails
Product: Gentoo Linux Reporter: Boris Borisov <lz1bgb>
Component: New packagesAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED DUPLICATE    
Severity: normal CC: prote
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge info and install log

Description Boris Borisov 2008-01-29 18:09:08 UTC
Configuration is OK. Detect error on compilation/linkig. This is packet installed for first time. 
I reemerge dev-scheme/guile-1.8.2 with use flags deprecated threads and dev-libs/libxml2-2.6.30-r1

Reproducible: Always

Steps to Reproduce:
1.NA
2.
3.

Actual Results:  
Unable to install sys-devel/autogen-5.9.2

Expected Results:  
Install autogen package
Comment 1 Boris Borisov 2008-01-29 18:10:46 UTC
Created attachment 142139 [details]
emerge info and install log
Comment 2 SpanKY gentoo-dev 2008-01-29 21:41:31 UTC

*** This bug has been marked as a duplicate of bug 172940 ***
Comment 3 Horst Prote 2008-01-31 10:46:06 UTC
(In reply to comment #2)
> 
> *** This bug has been marked as a duplicate of bug 172940 ***
> 

Maybe I'm wrong but I don't think this bug is a real duplicate of bug 172940 because in the install log attached by Boris here it says:
...
Making all in xml2ag
make[2]: Entering directory `/var/tmp/portage/sys-devel/autogen-5.9.2/work/autogen-5.9.2/xml2ag'
top_builddir=.. top_srcdir=.. PATH=`cd ../columns;pwd`:$PATH ; export top_builddir top_srcdir PATH ; /var/tmp/portage/sys-devel/autogen-5.9.2/work/autogen-5.9.2/agen5/autogen -L../autoopts --definition=./xmlopts.def
Ambiguous output redirect.
Closing server:  Alarm clock signal (14) received

Last command issued:
cd /var/tmp/portage/sys-devel/autogen-5.9.2/work/autogen-5.9.2/xml2ag
exec 8>&2 2>/dev/null
...

whereas in Jeffreys build log from bug 172940 it says:
...
Making all in xml2ag
make[2]: Entering directory `/var/tmp/portage/sys-devel/autogen-5.9/work/autogen-5.9/xml2ag'
top_builddir=.. top_srcdir=.. PATH=`cd ../columns;pwd`:$PATH ; export top_builddir top_srcdir PATH ; /var/tmp/portage/sys-devel/autogen-5.9/work/autogen-5.9/agen5/autogen -L../autoopts --definition=./xmlopts.def
Closing server:  Broken pipe signal (13) received
...

I had the same error as Boris and the "Ambiguous output redirect." lead to the solution: I'am one of the bad guys :-) that use tcsh for root and with tcsh "exec 8>&2 2>/dev/null" would produce this error message. So I just did
env SHELL=/bin/sh emerge --resume
and it compiled flawlessly.
Comment 4 SpanKY gentoo-dev 2008-01-31 14:09:50 UTC
both builds crashed while autogen attempted to compile xml2ag
Comment 5 Boris Borisov 2008-01-31 16:59:29 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > 
> > *** This bug has been marked as a duplicate of bug 172940 ***
> > 
> 
> Maybe I'm wrong but I don't think this bug is a real duplicate of bug 172940
> because in the install log attached by Boris here it says:
> ...
> Making all in xml2ag
> make[2]: Entering directory
> `/var/tmp/portage/sys-devel/autogen-5.9.2/work/autogen-5.9.2/xml2ag'
> top_builddir=.. top_srcdir=.. PATH=`cd ../columns;pwd`:$PATH ; export
> top_builddir top_srcdir PATH ;
> /var/tmp/portage/sys-devel/autogen-5.9.2/work/autogen-5.9.2/agen5/autogen
> -L../autoopts --definition=./xmlopts.def
> Ambiguous output redirect.
> Closing server:  Alarm clock signal (14) received
> 
> Last command issued:
> cd /var/tmp/portage/sys-devel/autogen-5.9.2/work/autogen-5.9.2/xml2ag
> exec 8>&2 2>/dev/null
> ...
> 
> whereas in Jeffreys build log from bug 172940 it says:
> ...
> Making all in xml2ag
> make[2]: Entering directory
> `/var/tmp/portage/sys-devel/autogen-5.9/work/autogen-5.9/xml2ag'
> top_builddir=.. top_srcdir=.. PATH=`cd ../columns;pwd`:$PATH ; export
> top_builddir top_srcdir PATH ;
> /var/tmp/portage/sys-devel/autogen-5.9/work/autogen-5.9/agen5/autogen
> -L../autoopts --definition=./xmlopts.def
> Closing server:  Broken pipe signal (13) received
> ...
> 
> I had the same error as Boris and the "Ambiguous output redirect." lead to the
> solution: I'am one of the bad guys :-) that use tcsh for root and with tcsh
> "exec 8>&2 2>/dev/null" would produce this error message. So I just did
> env SHELL=/bin/sh emerge --resume
> and it compiled flawlessly.
> 

(In reply to comment #3)
> (In reply to comment #2)
> > 
> > *** This bug has been marked as a duplicate of bug 172940 ***
> > 
> 
> Maybe I'm wrong but I don't think this bug is a real duplicate of bug 172940
> because in the install log attached by Boris here it says:
> ...
> Making all in xml2ag
> make[2]: Entering directory
> `/var/tmp/portage/sys-devel/autogen-5.9.2/work/autogen-5.9.2/xml2ag'
> top_builddir=.. top_srcdir=.. PATH=`cd ../columns;pwd`:$PATH ; export
> top_builddir top_srcdir PATH ;
> /var/tmp/portage/sys-devel/autogen-5.9.2/work/autogen-5.9.2/agen5/autogen
> -L../autoopts --definition=./xmlopts.def
> Ambiguous output redirect.
> Closing server:  Alarm clock signal (14) received
> 
> Last command issued:
> cd /var/tmp/portage/sys-devel/autogen-5.9.2/work/autogen-5.9.2/xml2ag
> exec 8>&2 2>/dev/null
> ...
> 
> whereas in Jeffreys build log from bug 172940 it says:
> ...
> Making all in xml2ag
> make[2]: Entering directory
> `/var/tmp/portage/sys-devel/autogen-5.9/work/autogen-5.9/xml2ag'
> top_builddir=.. top_srcdir=.. PATH=`cd ../columns;pwd`:$PATH ; export
> top_builddir top_srcdir PATH ;
> /var/tmp/portage/sys-devel/autogen-5.9/work/autogen-5.9/agen5/autogen
> -L../autoopts --definition=./xmlopts.def
> Closing server:  Broken pipe signal (13) received
> ...
> 
> I had the same error as Boris and the "Ambiguous output redirect." lead to the
> solution: I'am one of the bad guys :-) that use tcsh for root and with tcsh
> "exec 8>&2 2>/dev/null" would produce this error message. So I just did
> env SHELL=/bin/sh emerge --resume
> and it compiled flawlessly.
> 

I confirm this solving of problem thanks. Maybe this is crash is bug of some library used by tcsh or in tcsh because other aplications have strange misconduct expectly crossoveroffice.
Thank you very much Horst for temporary solution.
Comment 6 Horst Prote 2008-01-31 18:19:29 UTC
(In reply to comment #5)
> Maybe this is crash is bug of somelibrary used by tcsh or ...

It's not a bug in tcsh it's a feature: tcsh just uses a different syntax for output redirection and so "exec 8>&2 2>/dev/null" is correct under bash but produces the error "Ambiguous output redirect." under tcsh.