Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #172519

Re: Problem with dpkg-source -b outside current working dir

From kamaraju kusumanchi <raju.mailinglists@gmail.com>
Newsgroups linux.debian.user
Subject Re: Problem with dpkg-source -b outside current working dir
Date 2016-09-20 07:40 +0200
Message-ID <sjlWF-7hg-9@gated-at.bofh.it> (permalink)
References <sijkd-ei-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sat, Sep 17, 2016 at 4:33 AM, Malte Forkel <malte.forkel@berlin.de> wrote:
> Hi,
>
> according to the man page, dpkg-source -b takes an argument that is "the
>  name  of the directory containing the debianized source tree". But that
> does not work for me if the directory is not the current working directory.
>
> When is execute dpkg-source in the package's source directory, i.e.
>    SRCDIR$ dpkg-source -b .
> everything works fine. But if I execute dpkg-source from a different
> directory with the absolute path as its argument
>    /tmp$ dpkg-source -b $SRCDIR
> it complains that can't find the original tarball at
> ../pkg_vers.orig.tar.*. Shouldn't it look into $SRCDIR/..?
>

Is the $SRCDIR variable set to anything? What is the output of

echo $SRCDIR

> Im using dpkg-source from dpkg-dev 1.18.4ubuntu1.1 in Ubuntu 16.04.

As explained in the FAQ
(https://www.debian.org/doc/manuals/debian-faq/ch-choosing.en.html#s3.2),
Ubuntu is based on Debian but not Debian. If you are running Ubutnu,
it is better to ask on Ubuntu list than here.

thanks
raju
-- 
Kamaraju S Kusumanchi | http://raju.shoutwiki.com/wiki/Blog

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Problem with dpkg-source -b outside current working dir Malte Forkel <malte.forkel@berlin.de> - 2016-09-17 10:40 +0200
  Re: Problem with dpkg-source -b outside current working dir kamaraju kusumanchi <raju.mailinglists@gmail.com> - 2016-09-20 07:40 +0200
    Re: Problem with dpkg-source -b outside current working dir Malte Forkel <malte.forkel@berlin.de> - 2016-09-20 13:50 +0200
      Re: Problem with dpkg-source -b outside current working dir Lisi Reisz <lisi.reisz@gmail.com> - 2016-09-20 17:20 +0200
      Re: Problem with dpkg-source -b outside current working dir kamaraju kusumanchi <raju.mailinglists@gmail.com> - 2016-09-21 06:10 +0200
        Re: Problem with dpkg-source -b outside current working dir Malte Forkel <malte.forkel@berlin.de> - 2016-09-21 11:30 +0200
          Re: Problem with dpkg-source -b outside current working dir kamaraju kusumanchi <raju.mailinglists@gmail.com> - 2016-09-28 04:50 +0200

csiph-web