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

Bug 260101

Summary: app-portage/gentoolkit-0.2.4.2-r1 revdep-rebuild fails to execute under app-shells/bash-4.0
Product: Portage Development Reporter: Frédéric Heulin <frederic.heulin>
Component: ToolsAssignee: Portage Tools Team <tools-portage>
Status: VERIFIED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: roughly correct syntax

Description Frédéric Heulin 2009-02-24 08:48:24 UTC
bash complains about syntax errors in revdep-rebuild.

Reproducible: Always

Steps to Reproduce:
1. unmask bash-4, readline-6
2. remove plugins use flag for bash-4 to able to emerge it
3. emerge -1q bash readline
4. try to revdep-rebuild (on the same session or another, no matter)
Actual Results:  
/usr/bin/revdep-rebuild: line 700: unexpected EOF while looking for matching `)'
/usr/bin/revdep-rebuild: line 1095: syntax error: unexpected end of file

Expected Results:  
* Configuring search environment for revdep-rebuild

* Checking reverse dependencies
* Packages containing binaries and libraries broken by a package update
* will be emerged.

* Collecting system binaries and libraries
* Generated new 1_files.rr
* Collecting complete LD_LIBRARY_PATH
* Generated new 2_ldpath.rr
* Checking dynamic linking consistency
[ 100% ]

* Dynamic linking on your system is consistent... All done.
Comment 1 Frédéric Heulin 2009-02-24 08:51:10 UTC
Created attachment 182999 [details, diff]
roughly correct syntax

There may be better resolution for this, but this works.
One may want to set compat31 shopt instead (not tested).
Comment 2 Frédéric Heulin 2009-02-28 19:29:24 UTC
bash4 is not keyworded yet.