DA bug report logs -
#179850
Does not build from source only (without binary packages available)
Reply or subscribe to this bug.
Toggle useless messages
Report forwarded to
debian-bugs-dist@lists.debian.org, Julien Danjou <acid@debian.org>, apt-build@packages.qa.debian.org:
Bug#179850; Package
apt-build.
Full text and
rfc822 format available.
Acknowledgement sent to
"jeramy b. smith" <jeramy.smith@sbs.siemens.com>:
New Bug report received and forwarded. Copy sent to
Julien Danjou <acid@debian.org>, apt-build@packages.qa.debian.org.
Full text and
rfc822 format available.
Message #5 received at submit@bugs.debian.org (full text, mbox):
Package: apt-build
Version: 0.8
apt-build wll not build a package whose source is uploaded but its binary
is not. For instance, most architectures aside from i386 do not have binary
packages the same day the source is apt'able. So the apt source exists but
apt-build install fails. The offending code is in the install module. An
apt-get -y --print-uris install is run. Instead an apt-get -y --print-uris
source should be used. However, this breaks other checks in the install
module like the check for arch independent packages.
Changed Bug title.
Request was from
Julien Danjou <acid@debian.org>
to
control@bugs.debian.org.
Full text and
rfc822 format available.
Information forwarded to
debian-bugs-dist@lists.debian.org, Julien Danjou <acid@debian.org>:
Bug#179850; Package
apt-build.
Full text and
rfc822 format available.
Acknowledgement sent to
Adam Porter <adam@alphapapa.net>:
Extra info received and forwarded to list. Copy sent to
Julien Danjou <acid@debian.org>.
Full text and
rfc822 format available.
Message #16 received at 179850@bugs.debian.org (full text, mbox):
From looking through the source, it seems that apt-build gets the .deb file
name and package version from apt-cache's information about the corresponding
binary package. If there is no binary package in the cache, apt-build can't
do anything. That's kind of sad, because apt-get and apt-src can compile and
build packages just fine in that situation.
Can this be fixed (without too much rewriting)? Maybe apt-build could use
apt-src's module somehow to get some of the info it needs.
Information forwarded
to
debian-bugs-dist@lists.debian.org, Julien Danjou <acid@debian.org>:
Bug#179850; Package
apt-build.
(Fri, 24 Oct 2008 04:51:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Kumar Appaiah <a.kumar@alumni.iitm.ac.in>:
Extra info received and forwarded to list. Copy sent to
Julien Danjou <acid@debian.org>.
(Fri, 24 Oct 2008 04:51:02 GMT)
Full text and
rfc822 format available.
Message #21 received at 179850@bugs.debian.org (full text, mbox):
[Message part 1 (text/plain, inline)]
tags 179850 + patch
tags 292169 + patch
tags 291565 + patch
thanks
Dear Julien,
I have made a primary attempt to fix this bug, with the attached
patch. It solves the following two problems:
1. If one gives the name of a source package to apt-build install, it
works with the default source version it finds.
2. For packages such as pine (in non-free), there exist source
packages but no binaries. This also handles that (seemingly) corner
case.
Disclaimer:
- The workaround is not efficient, as it calls another round
of apt-cache.
- I don't know Perl. I copied stuff from your code elsewhere, and read
up minimal things to get things rolling.
I hope you are able to use the patch to fix these bugs. If you need me
to do something more, please tell me (anything except learning Perl! ;-)).
Thanks.
Kumar
--
Kumar Appaiah
[0001-Fall-back-to-default-source-package-version-if-binar.patch (text/x-diff, attachment)]
[signature.asc (application/pgp-signature, inline)]
Tags added: patch
Request was from
Kumar Appaiah <a.kumar@alumni.iitm.ac.in>
to
control@bugs.debian.org.
(Fri, 24 Oct 2008 04:51:06 GMT)
Full text and
rfc822 format available.
Tags added: patch
Request was from
Kumar Appaiah <a.kumar@alumni.iitm.ac.in>
to
control@bugs.debian.org.
(Fri, 24 Oct 2008 04:51:07 GMT)
Full text and
rfc822 format available.
Tags added: patch
Request was from
Kumar Appaiah <a.kumar@alumni.iitm.ac.in>
to
control@bugs.debian.org.
(Fri, 24 Oct 2008 04:51:08 GMT)
Full text and
rfc822 format available.
Information forwarded
to
debian-bugs-dist@lists.debian.org:
Bug#179850; Package
apt-build.
(Fri, 24 Oct 2008 11:03:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Julien Danjou <acid@debian.org>:
Extra info received and forwarded to list.
(Fri, 24 Oct 2008 11:03:02 GMT)
Full text and
rfc822 format available.
Message #32 received at 179850@bugs.debian.org (full text, mbox):
[Message part 1 (text/plain, inline)]
At 1224823738 time_t, Kumar Appaiah wrote:
> I hope you are able to use the patch to fix these bugs. If you need me
> to do something more, please tell me (anything except learning Perl! ;-)).
I've at least push it. I've no time nor interest to test and check that,
so I'll trust you on this one.
I'll be in the next release.
Cheers,
--
Julien Danjou
.''`. Debian Developer
: :' : http://julien.danjou.info
`. `' http://people.debian.org/~acid
`- 9A0D 5FD9 EB42 22F6 8974 C95C A462 B51E C2FE E5CD
[signature.asc (application/pgp-signature, inline)]
Tags added: pending
Request was from
Julien Danjou <acid@debian.org>
to
control@bugs.debian.org.
(Fri, 24 Oct 2008 11:03:07 GMT)
Full text and
rfc822 format available.
Tags added: pending
Request was from
Julien Danjou <acid@debian.org>
to
control@bugs.debian.org.
(Fri, 24 Oct 2008 11:03:09 GMT)
Full text and
rfc822 format available.
Tags added: pending
Request was from
Julien Danjou <acid@debian.org>
to
control@bugs.debian.org.
(Fri, 24 Oct 2008 11:03:10 GMT)
Full text and
rfc822 format available.
Information forwarded
to
debian-bugs-dist@lists.debian.org, Julien Danjou <acid@debian.org>:
Bug#179850; Package
apt-build.
(Fri, 24 Oct 2008 12:51:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Kumar Appaiah <a.kumar@alumni.iitm.ac.in>:
Extra info received and forwarded to list. Copy sent to
Julien Danjou <acid@debian.org>.
(Fri, 24 Oct 2008 12:51:02 GMT)
Full text and
rfc822 format available.
Message #43 received at 179850@bugs.debian.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On Fri, Oct 24, 2008 at 01:01:00PM +0200, Julien Danjou wrote:
> At 1224823738 time_t, Kumar Appaiah wrote:
> > I hope you are able to use the patch to fix these bugs. If you need me
> > to do something more, please tell me (anything except learning Perl! ;-)).
>
> I've at least push it. I've no time nor interest to test and check that,
> so I'll trust you on this one.
>
> I'll be in the next release.
Well, it does something better than earlier, so I guess we'll let the
other bug filers comment.
Thanks!
Kumar
--
Kumar Appaiah
[signature.asc (application/pgp-signature, inline)]
Send a report that this bug log contains spam.
Don Armstrong <don@donarmstrong.com>.
Last modified:
Thu Sep 2 19:30:57 2010;
Machine Name:
crito.ucr.edu
DA bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.