Bug 104116 - sys-libs/ss-1.38 - parse error during configure/compilation
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
try changing your locale/lang to C before emerging
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.
Created an attachment (id=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?
most likely the estonian locale, we've had problems with e2fsprogs and that
locale before
ive applied the locale patch again to 1.38
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?
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@
added proposed patch to cvs