Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 40140 - app-arch/sharutils compile error
Summary: app-arch/sharutils compile error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-01 17:40 UTC by MATSUDA Kazuo
Modified: 2004-02-29 12:04 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description MATSUDA Kazuo 2004-02-01 17:40:23 UTC
I set "nls" in USE flags.
Then, compile failed with this message.
I remove "nls" in USE flags.
Then. compile succeeded.

make[1]: *** No rule to make target `ja.mo', needed by `all'.  Stop.
make[1]: *** Waiting for unfinished jobs....
if cmp -s sharutils.po ./sharutils.pot; then \
  rm -f sharutils.po; \
else \
  rm -f ./sharutils.pot \
    && mv sharutils.po ./sharutils.pot; \
fi
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/sharutils-4.2.1-r6/work/sharutils-4.2.1/po'
make: *** [all-recursive] Error 1

!!! ERROR: app-arch/sharutils-4.2.1-r6 failed.
!!! Function src_compile, Line 40, Exitcode 2
!!! (no error message)


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Benjamin Coles 2004-02-09 11:36:13 UTC
this is the web interface, wrong place to assign it...
Comment 2 SpanKY gentoo-dev 2004-02-10 16:53:25 UTC
worked over here ... what LANG/LOCALE do you have set in your env ?
Comment 3 Martin Schlemmer (RETIRED) gentoo-dev 2004-02-15 13:43:59 UTC
Worked here as well, even with MAKEOPTS=-j12
Comment 4 Jason Stubbs (RETIRED) gentoo-dev 2004-02-17 01:04:06 UTC
Same problem here. LC_CTYPE=ja_JP. LANG and all other LC_ env vars are not set. I tried unsetting LC_CTYPE in the local environment before emerging but got the same thing.
Comment 5 Jason Stubbs (RETIRED) gentoo-dev 2004-02-17 02:38:35 UTC
It is a hack, but adding the following works and still provides Japanese localization to shar.  However, from emerge's output I noticed that the previous version contained all localizations whereas the current one is only providing Japanese. Maybe whatever changed to cause that is also the cause of this bug.

--- sharutils-4.2.1-r6.ebuild.orig      2004-02-17 19:32:43.225083056 +0900
+++ sharutils-4.2.1-r6.ebuild   2004-02-17 19:28:04.521452448 +0900
@@ -26,6 +26,8 @@
        epatch ${FILESDIR}/${PF}-gentoo.diff

        cd ${S}/po
+       mv ja_JP.EUC.po ja.po
+       mv ja_JP.EUC.gmo ja.gmo
        mv nl.po nl.po.orig
        sed -e 's/aangemaakt/aangemaakt\\n/' nl.po.orig > nl.po
        mv pt.po pt.po.orig
Comment 6 Martin Schlemmer (RETIRED) gentoo-dev 2004-02-19 11:10:06 UTC
This is my listing - seems fine?:

--
# epm -ql sharutils
/usr/share/info/remsync.info.gz
/usr/share/info/sharutils.info.gz
/usr/share/locale/de/LC_MESSAGES/sharutils.mo
/usr/share/locale/fr/LC_MESSAGES/sharutils.mo
/usr/share/locale/ja_JP.EUC/LC_MESSAGES/sharutils.mo
/usr/share/locale/nl/LC_MESSAGES/sharutils.mo
/usr/share/locale/pt/LC_MESSAGES/sharutils.mo
/usr/share/locale/sv/LC_MESSAGES/sharutils.mo
/usr/share/man/man1/shar.1.gz
/usr/share/man/man1/unshar.1.gz
/usr/share/man/man1/uuencode.1.gz
/usr/share/man/man5/uuencode.5.gz
/usr/share/doc/sharutils-4.2.1-r6/AUTHORS.gz
/usr/share/doc/sharutils-4.2.1-r6/BACKLOG.gz
/usr/share/doc/sharutils-4.2.1-r6/COPYING.gz
/usr/share/doc/sharutils-4.2.1-r6/NEWS.gz
/usr/share/doc/sharutils-4.2.1-r6/ChangeLog.gz
/usr/share/doc/sharutils-4.2.1-r6/README.gz
/usr/share/doc/sharutils-4.2.1-r6/ChangeLog.OLD.gz
/usr/share/doc/sharutils-4.2.1-r6/THANKS.gz
/usr/share/doc/sharutils-4.2.1-r6/README.OLD.gz
/usr/share/doc/sharutils-4.2.1-r6/TODO.gz
/usr/bin/shar
/usr/bin/unshar
/usr/bin/uudecode
/usr/bin/uuencode
/usr/bin/mailshar
/usr/bin/mail-files
/usr/bin/remsync
--

What version gettext, etc?
Comment 7 Jason Stubbs (RETIRED) gentoo-dev 2004-02-19 17:00:23 UTC
Running a pure ~x86 system. Only thing out of the norm is I have export LC_CTYPE="ja_JP" in the global Xsession file and usually change to root by running "su" (instead of "su -").

Logging in at a console (so that LC_CTYPE is not set) and trying to emerge sharutils still gives the same error as above.

This is after I emerged with the hack from comment #5
# epm -ql sharutils
/usr/bin/shar
/usr/bin/unshar
/usr/bin/uudecode
/usr/bin/uuencode
/usr/bin/remsync
/usr/bin/mail-files
/usr/bin/mailshar
/usr/share/doc/sharutils-4.2.1-r6/TODO.gz
/usr/share/doc/sharutils-4.2.1-r6/THANKS.gz
/usr/share/doc/sharutils-4.2.1-r6/README.OLD.gz
/usr/share/doc/sharutils-4.2.1-r6/README.gz
/usr/share/doc/sharutils-4.2.1-r6/NEWS.gz
/usr/share/doc/sharutils-4.2.1-r6/ChangeLog.OLD.gz
/usr/share/doc/sharutils-4.2.1-r6/ChangeLog.gz
/usr/share/doc/sharutils-4.2.1-r6/COPYING.gz
/usr/share/doc/sharutils-4.2.1-r6/BACKLOG.gz
/usr/share/doc/sharutils-4.2.1-r6/AUTHORS.gz
/usr/share/man/man5/uuencode.5.gz
/usr/share/man/man1/uuencode.1.gz
/usr/share/man/man1/unshar.1.gz
/usr/share/man/man1/shar.1.gz
/usr/share/locale/ja/LC_MESSAGES/sharutils.mo
/usr/share/info/sharutils.info.gz
/usr/share/info/remsync.info.gz
Comment 8 Martin Schlemmer (RETIRED) gentoo-dev 2004-02-29 12:04:05 UTC
I added a fix in -r7.