Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 209433 - sys-libs/ncurses-5.6-r2: won't compile because of MKhashsize.sh
Summary: sys-libs/ncurses-5.6-r2: won't compile because of MKhashsize.sh
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-09 16:47 UTC by nikos roussos
Modified: 2008-02-09 21:13 UTC (History)
0 users

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


Attachments
ncurses emerge log (ncurses.log,18.37 KB, text/plain)
2008-02-09 18:42 UTC, nikos roussos
Details
emerge --info (emerge_info.txt,3.22 KB, text/plain)
2008-02-09 18:42 UTC, nikos roussos
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nikos roussos 2008-02-09 16:47:10 UTC
emerging ncurses gives me an error:

./MKhashsize.sh: line 38: unexpected EOF while looking for matching ``'
./MKhashsize.sh: line 42: syntax error: unexpected end of file

Reproducible: Always

Steps to Reproduce:
1. emerge -v ncurses

Actual Results:  
completely fails to compile

Expected Results:  
should compile and install
Comment 1 nikos roussos 2008-02-09 16:50:13 UTC
the solution i have found to override the bug is to enclose in quotes the line that causes the problem at /var/tmp/portage/sys-libs/ncurses-5.6-r2/work/ncurses-5.6/MKhashsize.sh:

TABSIZE="`grep -v '^[ #]' $CAPS | grep -v "^$" | grep -v "^capalias"| grep -v "^infoalias" | wc -l`"

instead of:

TABSIZE=`grep -v '^[ #]' $CAPS | grep -v "^$" | grep -v "^capalias"| grep -v "^infoalias" | wc -l`


but i guess this should be fixed a better way
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2008-02-09 17:41:14 UTC
Compiles just fine here; reopen with full emerge.log and emerge --info output.
Comment 3 nikos roussos 2008-02-09 18:42:05 UTC
Created attachment 143048 [details]
ncurses emerge log
Comment 4 nikos roussos 2008-02-09 18:42:48 UTC
Created attachment 143050 [details]
emerge --info
Comment 5 nikos roussos 2008-02-09 18:44:26 UTC
(In reply to comment #2)
> Compiles just fine here; reopen with full emerge.log and emerge --info output.

just uploaded them
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2008-02-09 18:46:25 UTC
Uh, what kind of whacky shell is your /bin/sh pointing to?
Comment 7 nikos roussos 2008-02-09 19:00:50 UTC
(In reply to comment #6)
> Uh, what kind of whacky shell is your /bin/sh pointing to?

#ls -l /in/sh

/bin/sh  ->  bash

Comment 8 SpanKY gentoo-dev 2008-02-09 20:33:44 UTC
your bash is broken then

please post your /bin/bash as an attachment
Comment 9 nikos roussos 2008-02-09 21:12:49 UTC
(In reply to comment #8)
> your bash is broken then

yeap. you're right. remerging bash solved the problem