Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 104116 - sys-libs/ss-1.38 - parse error during configure/compilation
Summary: sys-libs/ss-1.38 - parse error during configure/compilation
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo's Team for Core System packages
URL: http://sourceforge.net/tracker/index....
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-29 04:09 UTC by Toomas Mottus
Modified: 2006-07-31 21:45 UTC (History)
0 users

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


Attachments
emerge --info output (ParseError_emergeinfo.txt,2.23 KB, text/plain)
2005-08-29 04:14 UTC, Toomas Mottus
Details
Full emerge output (ParseError_emergeoutput.txt,13.23 KB, text/plain)
2005-08-29 04:20 UTC, Toomas Mottus
Details
Makefile from /var/tmp/portage/ss-1.38/work/e2fsprogs-1.38/lib/ss (Makefile,9.11 KB, text/plain)
2005-08-31 20:47 UTC, Toomas Mottus
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toomas Mottus 2005-08-29 04:09:20 UTC
emerge process just freezes after configuration process with error report  
'Error in line 5: parse error in options list '.  
  
.... 
config.status: creating po/Makefile.in  
config.status: executing default-1 commands  
config.status: creating po/POTFILES  
config.status: creating po/Makefile  
make: Entering directory `/var/tmp/portage/ss-1.38/work/e2fsprogs-1.38/lib/ss'  
cd ../../util ; make subst  
make[1]: Entering directory `/var/tmp/portage/ss-1.38/work/e2fsprogs-1.38/util'  
        CC subst.c  
        LD subst  
make[1]: Leaving directory `/var/tmp/portage/ss-1.38/work/e2fsprogs-1.38/util'  
        SUBST mk_cmds  
        COMPILE_ET ss_err.et  
        CC ss_err.c  
        MK_CMDS std_rqs.c  
Error in line 5: parse error in options list
Comment 1 Toomas Mottus 2005-08-29 04:14:49 UTC
Created attachment 67158 [details]
emerge --info output

System is with KDE 3.4.1, Reiser 3.6, samba, Estonian localization.
Comment 2 Toomas Mottus 2005-08-29 04:20:57 UTC
Created attachment 67159 [details]
Full emerge output

The output indicates a problem with line:

inherit eutils flag-o-matic toolchain-funcs

in
/usr/portage/sys-libs/ss/ss-1.38.ebuild
Comment 3 SpanKY gentoo-dev 2005-08-29 05:44:59 UTC
try changing your locale/lang to C before emerging
Comment 4 Toomas Mottus 2005-08-29 22:42:40 UTC
Tried: 
LANG="C" LC_ALL="C" LINGUAS="en"  emerge -u --oneshot sys-libs/ss 
and 
LANG="en" LC_ALL="en" LINGUAS="en"  emerge -u --oneshot sys-libs/ss 
Also with USE="-userlocales -kerberos -linguas_et" 
 
No change. 
 
Then changed all settings system wide to "en" and recompiled glibc like 
suggested in Gentoo Localization Guide. No improvement. 
Comment 5 Toomas Mottus 2005-08-31 20:47:57 UTC
Created attachment 67382 [details]
Makefile from /var/tmp/portage/ss-1.38/work/e2fsprogs-1.38/lib/ss

So I tried to dig deeper:

I CD-d into /var/tmp/portage/ss-1.38/work/e2fsprogs-1.38/lib/ss and made:
# make
	SUBST mk_cmds
	MKDIR elfshared
	COMPILE_ET ss_err.et
	CC ss_err.c
	MK_CMDS std_rqs.c
Error in line 5: parse error in options list

Still the same error and I decided to submit the Makefile for better oberview
of the problem.

Then I tried 
# make clean
# LANG="C" LC_ALL="C" make
in /var/tmp/portage/ss-1.38/work/e2fsprogs-1.38/lib/ss
and in /var/tmp/portage/ss-1.38/work/e2fsprogs-1.38/
and everyting worked fine. 
Why don't LANG and LC_ALL work with emerge?
Comment 6 SpanKY gentoo-dev 2005-08-31 20:57:57 UTC
most likely the estonian locale, we've had problems with e2fsprogs and that
locale before

ive applied the locale patch again to 1.38
Comment 7 Toomas Mottus 2005-09-05 01:33:55 UTC
No luck, 
 
Emerge has now the locale patch, but the error is the same. Still 
 
LC_ALL="C" LANG="C" make 
works in /var/tmp/portage/ss-1.38/work/e2fsprogs-1.38/, but 
 
LC_ALL="C" LANG="C" emerge sys-libs/ss 
gives the parse error. 
 
Is there a way I could debug the process myself and give better feedback? 
Comment 8 SpanKY gentoo-dev 2005-09-05 14:20:07 UTC
try this patch:

--- lib/ss/mk_cmds.sh.in
+++ lib/ss/mk_cmds.sh.in
@@ -2,6 +2,7 @@
 #
 #
 
+export LC_ALL=C
 DIR="${DIR-@datadir@/ss}"
 SS_DIR="@SS_DIR@"
 AWK=@AWK@
Comment 9 SpanKY gentoo-dev 2005-09-09 22:50:30 UTC
added proposed patch to cvs