Package: apt-build
Version: 0.12.17
Severity: normal

Hi,

My locale make some trouble to apt-build.

$ apt-build install memstat
Unable to find binary candidate for memstat at /usr/bin/apt-build line 476.

# see in "get_pkg_version" fonction
# open APTCIN, "LANG=C " . $conf->apt_cache . " policy $pkg_name |";
# implies a wrong parsing "Candidate" instead of "Candidat" (french locale)

$ locale
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
LC_ALL=

$ LANG=C apt-cache policy memstat
memstat:
  Installé| : 0.4.0.0.1
  Candidat| : 0.4.0.0.1
 Table de version| :
 *** 0.4.0.0.1 0
        500 http://ftp.skynet.be sid/main Packages
        100 /var/lib/dpkg/status

(note the extra 0xA0 character before the colon character)

$ LC_CTYPE=LANG=C apt-cache policy memstat
memstat:
  Installed: 0.4.0.0.1
  Candidate: 0.4.0.0.1
  Version table:
 *** 0.4.0.0.1 0
        500 http://ftp.skynet.be sid/main Packages
        100 /var/lib/dpkg/status

$ LC_ALL=C apt-cache policy memstat
memstat:
  Installed: 0.4.0.0.1
  Candidate: 0.4.0.0.1
  Version table:
 *** 0.4.0.0.1 0
        500 http://ftp.skynet.be sid/main Packages
        100 /var/lib/dpkg/status

Touching /etc/environment doesn't affect.
Is it really an apt-build issue ?

Regards,
Matthieu Crapet


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16.19-matt
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages apt-build depends on:
ii  apt                           0.6.44.2   Advanced front-end for dpkg
ii  apt-utils                     0.6.44.2   APT utility programs
ii  debconf [debconf-2.0]         1.5.2      Debian configuration management sy
ii  devscripts                    2.9.20     Scripts to make the life of a Debi
ii  dpkg-dev                      1.13.21    package building tools for Debian
ii  g++                           4:4.1.1-1  The GNU C++ compiler
ii  gcc                           4:4.1.1-1  The GNU C compiler
ii  libappconfig-perl             1.56-2     Perl module for configuration file
ii  libapt-pkg-perl               0.1.20     Perl interface to libapt-pkg
ii  perl                          5.8.8-6    Larry Wall's Practical Extraction 

Versions of packages apt-build recommends:
ii  build-essential               11.2       informational list of build-essent
ii  fakeroot                      1.5.8      Gives a fake root environment

-- debconf information:
  apt-build/arch_alpha: ev4
  apt-build/arch_arm: armv2
* apt-build/olevel: Medium
* apt-build/build_dir: /var/cache/apt-build/build
  apt-build/arch_sparc: sparc
* apt-build/arch_amd: athlon-xp
* apt-build/options:
  apt-build/arch_intel: pentium
* apt-build/make_options:
* apt-build/repository_dir: /var/cache/apt-build/repository
  apt-build/arch_amd64: x86-64
* apt-build/add_to_sourceslist: true


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to