This is the mail archive of the libc-alpha@sourceware.cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Fwd: Bug#37933: problems during glibc build on m68k


[ Forwarded from the Debian Bug Tracking System, please keep 
37933-forwarded@bugs.debian.org in the cc list ]

There seems to be some problem with the install-locales target in 
localedata/Makefile (or perhaps I am not calling it correctly).

It is called like: `$(MAKE) -C $(srcdir)/localedata objdir=$(objdir) 
install_root=$(install_root) install-locales'.

The following has been trimmed for brevity and relevancy.

--- begin forwarded text

Subject: Bug#37933: problems during glibc build on m68k
Date: Tue, 18 May 1999 18:42:05 +0200 (MET DST)
From: Roman Hodek <Roman.Hodek@informatik.uni-erlangen.de>
To: submit@bugs.debian.org

Package: glibc
Version: 2.1.1-5

1) install-locales in locatedata

During execution of the target, a lot of errors were printed because
included locales couldn't be found. Finally make exits with an error:

make[1]: Entering directory 
`/usr/local/build/roman/glibc-2.1.1/build/glibc-2.1.
1/localedata'
while read locale charset; do \
    case $locale in \#*) continue;; esac; \
    /debian/home/roman/build/glibc-2.1.1/build/obj-m68k/elf/ld.so 
--library-path 
/debian/home/roman/build/glibc-2.1.1/build/obj-m68k:/debian/home/roman 
/build/glibc-2.1.1/build/obj-m68k/math:/debian/home/roman/build/glibc- 
2.1.1/build/obj-m68k/elf:/debian/home/roman/build/glibc-2.1.1/build/ob 
j-m68k/nss:/debian/home/roman/build/glibc-2.1.1/build/obj-m68k/nis:/de 
bian/home/roman/build/glibc-2.1.1/build/obj-m68k/db2:/debian/home/roma 
n/build/glibc-2.1.1/build/obj-m68k/rt:/debian/home/roman/build/glibc-2 
.1.1/build/obj-m68k/resolv:/debian/home/roman/build/glibc-2.1.1/build/ 
obj-m68k/linuxthreads 
/debian/home/roman/build/glibc-2.1.1/build/obj-m68k/locale/localedef 
-i locales/`echo $locale | sed 's/\([^.]*\).*/\1/'` \
                 -c -f charmaps/$charset \
                 -u repertoiremaps/mnemonic.ds \
  
/debian/home/roman/build/glibc-2.1.1/build/tree-m68k/usr/share/l
ocale/$locale; \
done < SUPPORTED
locale file `en_DK', used in `copy' statement, not found
locale file `en_DK', used in `copy' statement, not found
...
locale file `de_DE', used in `copy' statement, not found
locale file `en_GB', used in `copy' statement, not found
locale file `da_DK', used in `copy' statement, not found
locale file `en_CA', used in `copy' statement, not found
locale file `de_CH', used in `copy' statement, not found
locale file `nl_NL', used in `copy' statement, not found
locale file `cs_CZ', used in `copy' statement, not found
locale file `fi_FI', used in `copy' statement, not found
make[1]: *** [install-locales] Error 5
make[1]: Leaving directory 
`/usr/local/build/roman/glibc-2.1.1/build/glibc-2.1.1/localedata'

AFAICS the reason is that I didn't have the locales package installed.
localedef searches for copied locales in ., /usr/share/locale, and
/usr/share/i18n/locales. But the cwd for the command is
build/glibc-2.1.1/localedata, and the locale files are in the subdir
locale/, so they're not found.

However, I think it's not useful to include the installed locale
files, since they're (in the general case) an older version.

I solved the problem by symlinking the missing files to the parent dir
(where localedef searches for them). I haven't checked if localedef
has some option to change the include path. If yes, some option should
be added.

--- end forwarded text
-- 
Joel Klecker (aka Espy)                    Debian GNU/Linux Developer
<URL:mailto:jk@espy.org>                 <URL:mailto:espy@debian.org>
<URL:http://web.espy.org/>               <URL:http://www.debian.org/>

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]