Package: apt-build
Version: 0.12.24
Severity: important

Hi,

I have problem with apt-build because on help says:

(...)
Options:
  --apt-get         - Specify an alternative apt-get application to use
(...)

but don't work.. I get:

# apt-build --apt-get=aptitude world
Unknown option: apt-get

and when I try with --apt_get work, but the apt-build calls 'aptitude
--yes' and crash...

***********************************************************************
# apt-build --apt_get=aptitude world
Couldn't stat source package list file: apt-build/main Packages
(/var/lib/apt/lists/_var_cache_apt-build_repository_dists_apt-build_main_binary-i386_Packages)
- stat (2 No such file or directory)
You may want to run apt-get update to correct these problems
-----> Rebuilding the world! <-----
-----> Building package list <-----
W: Couldn't stat source package list file: apt-build/main Packages
(/var/lib/apt/lists/_var_cache_apt-build_repository_dists_apt-build_main_binary-i386_Packages)
- stat (2 No such file or directory)
W: Couldn't stat source package list file: apt-build/main Packages
(/var/lib/apt/lists/_var_cache_apt-build_repository_dists_apt-build_main_binary-i386_Packages)
- stat (2 No such file or directory)
-----> Installing build dependencies (for firefox) <-----
aptitude: unrecognized option `--yes'
aptitude 0.4.1
Usage: aptitude [-S fname] [-u|-i]
       aptitude [options] <action> ...
  Actions (if none is specified, aptitude will enter interactive mode):

(...messages of aptitude --help)

                  This aptitude does not have Super Cow Powers.
-----> Updating package lists <-----
aptitude: unrecognized option `--yes'
aptitude 0.4.1
Usage: aptitude [-S fname] [-u|-i]
       aptitude [options] <action> ...
  Actions (if none is specified, aptitude will enter interactive mode):

(...messages of aptitude --help)

                  This aptitude does not have Super Cow Powers.
-----> Downloading source firefox (1.5.dfsg+1.5.0.7-1) <-----
aptitude: unrecognized option `--yes'
aptitude 0.4.1
Usage: aptitude [-S fname] [-u|-i]
       aptitude [options] <action> ...
  Actions (if none is specified, aptitude will enter interactive mode):
 install      - Install/upgrade packages

(...messages of aptitude --help)

                  This aptitude does not have Super Cow Powers.
-----> Building firefox <-----
Can't chdir(firefox-1.5.dfsg+1.5.0.7): No such file or directory at
(eval 1) line 3
        main::__ANON__('firefox-1.5.dfsg+1.5.0.7') called at
/usr/bin/apt-build line 288
        main::build('firefox', '1.5.dfsg+1.5.0.7', 'undef') called at
/usr/bin/apt-build line 510
        main::install('undef') called at /usr/bin/apt-build line 714
        main::world called at /usr/bin/apt-build line 82

***********************************************************************

Then.. I suggest you to use '-y' option instead of '--yes'. It's
compatible with apt-get and aptitude. Ah.. please.. fix the '--help' too
for '--apt_get' instead of '--apt-get'.

Thanks a lot.. sorry for my poor english... ;)

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (999, 'testing'), (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-2-k7
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=ISO-8859-1) (ignored: 
LC_ALL set to pt_BR)

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.0.3-4  The GNU C++ compiler
ii  gcc                           4:4.0.3-4  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.1  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.10     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
* 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