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

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



Your message dated Thu, 17 Dec 2015 19:47:39 +0100
with message-id <20151217184739.GA16568@aurel32.net>
and subject line Re: Bug#694964: libc6:amd64: binary debian target fails - /usr/include/locale.h cannot be removed
has caused the Debian Bug report #694964,
regarding libc6:amd64: binary debian target fails - /usr/include/locale.h cannot be removed
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
694964: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=694964
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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

--- End Message ---
--- Begin Message ---
Version: 2.21

On 2012-12-02 19:32, Alban Browaeys wrote:
> 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

This has been fixed upstream in version 2.20. I am therefore closing the
bug.

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurelien@aurel32.net                 http://www.aurel32.net

--- End Message ---

Reply to: