Re: [Multiarch-devel] cross-architecture conflicts or equivalent for libc packages

2014-06-02 Thread Aurelien Jarno
On Fri, May 30, 2014 at 08:42:53PM +0200, Aurelien Jarno wrote:
 On Wed, May 28, 2014 at 06:04:22PM +0200, Aurelien Jarno wrote:
  On Mon, May 19, 2014 at 12:09:28PM -0700, Jonathan Nieder wrote:
   Aurelien Jarno wrote:
   
As a subsidiary question, do you know how to prevent libc6-amd64:i386 to
be installed on a native amd64 system, but allow it on an i386 system,
even with libc6:amd64 already installed?
   
   Use Conflicts against dpkg:amd64, maybe. :(
  
  I have been looking at this issue a bit more in details. libc biarch
  packages have never been designed with multiarch in mind, and thus they
  are not tagged as multiarch packages (implicit Multi-arch: none). However
  since multiarch, as the Multi-arch: field only concerns dependencies, and
  that such packages do not have Depends: beside the libc6 one, they are
  suddenly installable as foreign packages.
  
  That's why we suddenly have for example conflicts issue between 
  libc6-dev-i386 and libc6-dev-mips64 (#702962) or libc6-dev-i386 and
  libc6-dev-mips64 (#702962), or why people are allowed to install
  libc6-amd64 on their amd64 system.
  
  I therefore wonder if we can add a new value for the Multi-arch: field
  like forbidden, to prevent a foreign package to be installed on a
  system.
  
  Otherwise it looks like we'll have to go with a long list of
  Conflicts...
 
 Alternatively, we can create an empty package called for example
 multiarch-no-foreign, which is arch:any and Multi-arch: none. That way
 all packages which should not be installed as foreign architecture can
 depend on this one.
 
 What do you think?
 

Well it won't work, because installing libc6-amd64:i386 will pull
multiarch-no-foreign:i386, and thus the whole set will be installable.

We definitely do want to forbid things like installing gdb64:i386 or
strace64:i386 on an amd64 system, or more horrible things like
trying to install libc6-dev-x32:am64 on an i386 system.

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


-- 
To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140602180336.ga11...@hall.aurel32.net



Bug#748215: gettext(3) should special case both C and C.UTF-8 wrt LANGUAGE lookup

2014-06-02 Thread Dimitri John Ledkov
On 26 May 2014 20:45, Jakub Wilk jw...@debian.org wrote:

 What I find unexpected is this:

 $ LANGUAGE=de LC_ALL=de_DE.UTF-8 stat /moo
 stat: cannot stat '/moo': No such file or directory


Above should be in German, no?! It is, at least, for me.

I am for special-casing C.UTF-8 as it's aimed to serve the same
purpose as C, but with a richer characterset. Otherwise, hunting down
every single case of LC_ALL and adding LANGUAGE to it, is just a lot
of unnecessary (albeit pedantically correct) work.

-- 
Regards,

Dimitri.


-- 
To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/canbhluit-jt2qj1gnauot99wl9ucfgpp5wn_7l5qzbz0ihs...@mail.gmail.com



Bug#748215: gettext(3) should special case both C and C.UTF-8 wrt LANGUAGE lookup

2014-06-02 Thread Jakub Wilk

* Dimitri John Ledkov x...@debian.org, 2014-06-02, 21:12:

What I find unexpected is this:

$ LANGUAGE=de LC_ALL=de_DE.UTF-8 stat /moo
stat: cannot stat '/moo': No such file or directory


Above should be in German, no?!


See, I was right when I said unexpected. :-P

The message is in German only if the de_DE.UTF-8 locale is installed, 
and it isn't on my system.


--
Jakub Wilk


--
To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140602202406.ga9...@jwilk.net



Processed: affects 700760

2014-06-02 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

 affects 700760 gdb
Bug #700760 {Done: Adam Conrad adcon...@0c3.net} [libc6] libc6: GDB 7.5 would 
benefit from a SystemTap SDT probe
Added indication that 700760 affects gdb
 thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
700760: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=700760
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


--
To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/handler.s.c.14017446676861.transcr...@bugs.debian.org



Bug#748215: gettext(3) should special case both C and C.UTF-8 wrt LANGUAGE lookup

2014-06-02 Thread Dimitri John Ledkov
On 2 June 2014 21:24, Jakub Wilk jw...@debian.org wrote:
 * Dimitri John Ledkov x...@debian.org, 2014-06-02, 21:12:

 What I find unexpected is this:

 $ LANGUAGE=de LC_ALL=de_DE.UTF-8 stat /moo
 stat: cannot stat '/moo': No such file or directory


 Above should be in German, no?!


 See, I was right when I said unexpected. :-P

 The message is in German only if the de_DE.UTF-8 locale is installed, and it
 isn't on my system.


Gotcha! That bit is indeed, true. *fun*

-- 
Regards,

Dimitri.


-- 
To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/CANBHLUi7RTj=pvxujvj3hvmgogcar3d1vq1fq6k-arvhj8s...@mail.gmail.com