On 5 March 2016 at 20:00, Javier Barroso <javibarr...@gmail.com> wrote:

> Hello,
>
> On Sat, Mar 5, 2016 at 3:48 PM, Michael Fothergill
> <michael.fotherg...@googlemail.com> wrote:
> >
> >
> > On 23 February 2016 at 18:46, Javi Barroso <javibarr...@gmail.com>
> wrote:
> >>
> >> Hello,
> >>
> >> El 23 de febrero de 2016 18:08:32 CET, Michael Fothergill
> >> <michael.fotherg...@googlemail.com> escribió:
> >> >Dear Folks,
> >> >
> >> >I tried using apt-build to install a source file:
> >> >
> >> >root@rhubarb:/home/michaelmikef/Downloads# ls -l adun*
> >> >
> >> >-rw-r--r-- 1 michaelmikef michaelmikef 1395 Feb 23 16:36
> >> >adun.app_0.81-6.dsc
> >> >
> >> >root@rhubarb:/home/michaelmikef/Downloads# apt-build install
> >> >adun.app_0.81-6.dsc
> >> >
> >> >W: Unable to locate package adun.app_0.81-6.dsc
> >> >Unable to find source candidate for adun.app_0.81-6.dsc
> >> >
> >> >What am I doing wrong here?
> >>
> >> I think you need add deb-src line to your apt source list, so it can
> >> download from internet (I think you need the name of the package and
> not the
> >> name of the file) and then build the package
> >>
> >> Maybe you can use --source to tell apt-build to not download the source.
> >> See the man page and its sinopsis
> >
> >
> > I couldn't make apt-build work but the apt build dep command did work
> > -however I think that some dependencies are missing in stretch that
> would be
> > there in jessie....
> >
> > I have a jessie install and I will use that instead for this.
>
> Hello,
>
> At debian sid apt-build is working:
>
> # apt update
> # apt-build source-build adun.app
> # ls /var/cache/apt-build/repository/
> adun.app_0.81-7+aptbuild1_amd64.deb
> adun-core_0.81-7+aptbuild1_amd64.deb     Packages.gz
> adun.app-dbg_0.81-7+aptbuild1_amd64.deb  dists/
>            Release
>
> Build directory on /var/cache/apt-build/build
>

​I did apt update:

It worked OK except for a gripe about some i386 packages -

​Reading package lists... Done
N: Skipping acquire of configured file 'main/binary-i386/Packages' as
repository 'http://dl.google.com/linux/chrome/deb stable InRelease' doesn't
support architecture 'i386'
W: Failed to fetch
file:/var/cache/apt-build/repository/dists/apt-build/main/binary-i386/Packages
 File not found -
/var/cache/apt-build/repository/dists/apt-build/main/binary-i386/Packages
(2: No such file or directory)
E: Some index files failed to download. They have been ignored, or old ones
used instead.

I then checked the repository directory:

root@rhubarb:/var/cache/apt-build/build# ls /var/cache/apt-build/repository

dists  Packages.gz  Release

I then tried the command

root@rhubarb:/var/cache/apt-build/build# apt-build build-source adun.app
E: Unable to find a source package for adun.app
Some error occured building package

What I am doing wrong here?

Regds

MF











>
> Regards,
> PD: apt-build need love :(
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=365427
>
>

Reply via email to