[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#694964: libc6:amd64: binary debian target fails - /usr/include/locale.h cannot be removed



Package: libc6
Version: 2.16-0experimental1
Severity: normal

Dear Maintainer,
A local dpkg-buildpackage of the 2.16 package leads to this error:
make[3]: Entering directory `/home/prahal/checkout/glibc6/eglibc-2.16/locale'
/usr/bin/install -c -m 644 locale.h /usr/include/locale.h
/usr/bin/install: cannot remove '/usr/include/locale.h': Permission denied
make[3]: *** [/usr/include/locale.h] Error 1
make[3]: Leaving directory `/home/prahal/checkout/glibc6/eglibc-2.16/locale'
make[2]: *** [locale/subdir_install] Error 2
make[2]: Leaving directory `/home/prahal/checkout/glibc6/eglibc-2.16'
make[1]: *** [install] Erreur 2
make[1] : on quitte le répertoire « /home/prahal/checkout/glibc6/eglibc-2.16/build-tree/amd64-libc »
make: *** [/home/prahal/checkout/glibc6/eglibc-2.16/stamp-dir/install_libc] Erreur 2
dpkg-buildpackage: erreur: fakeroot debian/rules binary a produit une erreur de sortie de type 2

It turns out the locale/Makefile is missing:
include ../Makeconfig

Attached patch fixes that issue.
Regards,
Alban


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.7.0-rc4test0-00020-g0e4a43e (SMP w/2 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libc6:amd64 depends on:
ii  debconf [debconf-2.0]  1.5.46
ii  libgcc1                1:4.7.2-12

libc6:amd64 recommends no packages.

Versions of packages libc6:amd64 suggests:
pn  glibc-doc  <none>
pn  locales    <none>

-- debconf information:
* glibc/upgrade: true
  glibc/disable-screensaver:
  glibc/restart-failed:
* glibc/restart-services: spamassassin ssh saslauthd samba openbsd-inetd mysql exim4 cups cron atd apache2
* libraries/restart-without-asking: false
--- locale/Makefile.orig	2012-12-02 19:28:18.071115539 +0100
+++ locale/Makefile	2012-12-02 10:45:54.588268235 +0100
@@ -23,6 +23,8 @@
 
 subdir	:= locale
 
+include ../Makeconfig
+
 headers		= locale.h bits/locale.h langinfo.h xlocale.h
 # catnames is needed by OPTION_EGLIBC_LOCALE_CODE and by the 'intl' code.
 # If we put the latter in an option group, too, we can omit catnames

Reply to: