You are not logged in.

#1 2007-05-26 19:39:08

oggb4mp3
Member
Registered: 2005-06-17
Posts: 77

Was nostrip option removed from makepkg?

I often run svn/cvs versions of software to help projects debug and stuff, so I like to leave the binaries for those apps unstripped.  Historically I have done that by passing the --nostrip option to makepkg or versionpkg, but when I tried it today I got this error:

$ versionpkg -o="--nostrip"
==> using makepkg opts `--nostrip'
==> retrieving latest revision number from svn... \c
668431
==> newer revision detected: 668431
makepkg version 3.0.3

Usage: /usr/bin/makepkg [options]

Options:
  -b, --builddeps  Build missing dependencies from source
  -c, --clean      Clean up work files after build
  -C, --cleancache Clean up source files from the cache
  -d, --nodeps     Skip all dependency checks
  -e, --noextract  Do not extract source files (use existing src/ dir)
  -f, --force      Overwrite existing package
  -g, --geninteg   Generate integrity checks for source files
  -h, --help       This help
  -i, --install    Install package after successful build
  -L, --log        Log package build process
  -m, --nocolor    Disable colorized output messages
  -o, --nobuild    Download and extract files only
  -p <buildscript> Use an alternate build script (instead of 'PKGBUILD')
  -r, --rmdeps     Remove installed dependencies after a successful build
  -R, --repackage  Repackage contents of pkg/ without building
  -s, --syncdeps   Install missing dependencies with pacman
  -S, --usesudo    When calling pacman, use sudo

These options can be passed to pacman:

  --noconfirm      Do not ask for confirmation when resolving dependencies
  --noprogressbar  Do not show a progress bar when downloading files

If -p is not specified, makepkg will look for 'PKGBUILD'

==> ERROR: Reverting pkgver...

It's been awhile since I have done this, so I wonder if the nostrip option was removed from makepkg.

Offline

#2 2007-05-26 20:09:51

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: Was nostrip option removed from makepkg?

Since pacman3 you can set it in /etc/makepkg.conf.

Offline

#3 2007-05-26 21:40:02

oggb4mp3
Member
Registered: 2005-06-17
Posts: 77

Re: Was nostrip option removed from makepkg?

Okay, thanks.  But what if I don't want to set it on every package?

Offline

#4 2007-05-26 21:44:45

oggb4mp3
Member
Registered: 2005-06-17
Posts: 77

Re: Was nostrip option removed from makepkg?

Okay, sorry.  It seems I have to set the option in the PKGBUILD instead of on the command line now.  I should read a little more I guess.

Offline

#5 2007-05-26 23:04:15

rdt
Member
Registered: 2007-04-26
Posts: 24

Re: Was nostrip option removed from makepkg?

oggb4mp3 wrote:

Okay, sorry.  It seems I have to set the option in the PKGBUILD instead of on the command line now.  I should read a little more I guess.

So just where did you read that?

Offline

#6 2007-05-26 23:37:23

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Was nostrip option removed from makepkg?

rdt wrote:
oggb4mp3 wrote:

Okay, sorry.  It seems I have to set the option in the PKGBUILD instead of on the command line now.  I should read a little more I guess.

So just where did you read that?

It's in the man pages:
$ man PKGBUILD

Offline

Board footer

Powered by FluxBB