notfound 591457 0.13.4
tag 591457 + unreproducible
tag 591457 + moreinfo
severity 591457 normal
retitle 591457 apt-cross: dependency calculations and locales
quit

On Tue, 03 Aug 2010 11:26:05 +0200
Francois Gouget <fgou...@free.fr> wrote:

> Package: apt-cross
> Version: 0.13.4
> Severity: important
> 
> I run Debian in a French locale and this causes apt-cross to not find any 
> dependency. To reproduce run this test (you may need to first add the French 
> locale with dpkg-reconfigure locales):

I have many locales pre-configured in many different environments. None
of those environments can reproduce this bug.

> # LANG=fr_FR.UTF-8 apt-cross -a i386 -n -i libxt-dev

Why are you trying to cross i386???

> Needless to say, this makes apt-cross essentially unusable if one does not 
> know the magic 'LANG=' workaround, hence the priority 'important'.

Not reproducible - apt-cross has been translated and tested in various
locales many times and it does work with translated output (i.e.
without changing the locale).

> This bug is also present in apt-cross 0.12.0 (in Debian 5.0.5).

Tested, not reproducible.

1. Make sure apt-cross is always up to date before testing, using the
--update command

2. Always run --update between any change in configuration

3. Do not expect apt-cross to handle false tests like -a i386, use a
sensible test like -a armel.

4. If you want foo_i386-cross you are looking for the wrong thing,
generally - use a 32bit chroot to build stuff for i386 on amd64, for
example. It is usually wrong to want foo_i386-cross anything. Please
explain, in detail, why you think you need this and re-test.

5. For quicker tests, consider trying libpopt-dev as your test package.

6. Get yourself a clean test environment, maybe using pbuilder or
pdebuild-cross, and re-test. I suspect something else is wrong or
misconfigured on your system.

7. Always provide the *full* list of apt sources - not
just /etc/apt/sources.list but all the files in /etc/apt/sources.list.d/
Bugs in dependency calculations with apt-cross are always dependent on
the precise apt sources in use at the time. That is why apt-cross
supplies a custom reportbug script. reportbug then generates these
questions:

"I can automatically include various information about your apt and
apt-cross configuration in your bug report.  This information may
help to diagnose your problem. You can always edit this information
within the bug report if necessary.

It can also be helpful if you re-run the problematic apt-cross
command using the full debug verbosity (-v -v -v) and redirecting
the output to a file that can be attached to the bug report.

Thanks for your help.

May I include your apt cache policy ? y
May I also include your sources.lists (/etc/apt/sources.list*(.d/*))? y"

8. Clean up your apt-cross cache data (~/.apt-cross) - remove the
entire directory and ensure that no other users on the same system have
apt-cross cache data either (especially /root/)

Please re-test and use reportbug to add more information to this bug
report and expressly include the above information. If this is not
provided, I have no choice but to close this bug as wontfix.

apt-cross has many issues but l10n is not normally one.

It's very likely that something else is causing apt-cross to fail to
see the relevant cache data (the usual reason that apt-cross will fail
to resolve dependencies) in the expected location.

-- 


Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/

Attachment: pgpg5ZpKuQrjZ.pgp
Description: PGP signature

Reply via email to