X-Original-To: alpine-devel@lists.alpinelinux.org Received: from mail-wr0-f170.google.com (mail-wr0-f170.google.com [209.85.128.170]) by lists.alpinelinux.org (Postfix) with ESMTP id 0E91B5C4D50 for ; Tue, 5 Dec 2017 16:53:39 +0000 (GMT) Received: by mail-wr0-f170.google.com with SMTP id z34so1010513wrz.10 for ; Tue, 05 Dec 2017 08:53:38 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=7KORTUhOzCNY4H3QVOuWK9TvCv9jdTL7b68p4hx/VX8=; b=qqKJdlTmiaUhg3QuWDScOtnOrtcy/epFv7oQL8kIO8gwuHPgvidDzWemAD40p6RyZd lpD3ax6Go8D8AZ83a6/rh7pk5VzXqYDXa1B3+WQy61I4D+kGMJzp4/YnVm9rJu4xeq8f fm+LEeYQkHyAUoE9uYN53vhDh2SG2kNsYfM6pdBmQwbbzAdBtQ9QOBChqBCSUVtXT0bX cIySdQDMIIFQRD4UbkI6s7RkWkYFKU5q0KWC5x77Yvm5cmin/JgnzDyqnkOs2CV90Sv/ IT0/ZM+jbxWgzzjk+fcjfNescWl4r+NPHS1i/NdO+t3OW1ifznQL2XPXWBWJ0nfOlRQs tViQ== X-Gm-Message-State: AJaThX5tNrNlvnqkQzw71KV8MXqpj+EFujt5GXvUlUA3Bqh7mKV8sjjd lwJvB9GC+HXbF/3a00vMrkG2g0DYTh0kYvGCJQs= X-Google-Smtp-Source: AGs4zMbcsf2WkDmxNY6eGC7tdoxZb81KSNRHvYm+QwaAIr5jAFU3mijXC1oxPPdyTTpYqtgPQj3ZTEgIRKyG9ixSYsw= X-Received: by 10.223.136.80 with SMTP id e16mr18308483wre.21.1512492818173; Tue, 05 Dec 2017 08:53:38 -0800 (PST) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 References: <5a2592a8.d0e6ca0a.a42bb.4780SMTPIN_ADDED_BROKEN@mx.google.com> <5a269c09.c72a190a.3ab69.1572SMTPIN_ADDED_BROKEN@mx.google.com> In-Reply-To: From: Kiyoshi Aman Date: Tue, 05 Dec 2017 16:53:27 +0000 Message-ID: Subject: Re: [alpine-devel] abuild deps returns an error? To: Gennady Feldman Cc: x9p , alpine-devel@lists.alpinelinux.org Content-Type: multipart/alternative; boundary="001a114937aa271395055f9aade9" --001a114937aa271395055f9aade9 Content-Type: text/plain; charset="UTF-8" Hi Gennady, The `apk fix` command will attempt to automatically identify and repair errors, typically by reinstalling the offending package. It will tell you which package caused the error and, more important, allows you to identify the package should it be unsuccessful. On Tue, Dec 5, 2017 at 9:46 AM Gennady Feldman wrote: > So this is interesting. I have 2 Alpine VMs on different PCs. On one I > have an older install that shows "1 error" when I run the above command and > that one returns error status 1. On another one it's fine. > > So here is the silly question. If I am getting "1 error, 2xx packages, > ..." line. How do I find and fix the apk/package error I am seeing? > > Thank you, > > Gennady > > On Tue, Dec 5, 2017 at 8:15 AM, x9p wrote: > >> logs can help; >> >> issue: >> >> $ abuild-command-1-failing 2>&1 | tee /tmp/abuild1.log >> $ abuild-command-2-failing 2>&1 | tee /tmp/abuild2.log >> ... >> >> and let us see the results. >> >> cheers. >> >> x9p >> > > Ok. something is off... and I am not sure how to troubleshoot further.. >> > I am on the "edge" version. >> > >> > abuild deps fails... when I increase verbosity i can see that it fails >> > here: >> > abuild-apk add --wait 30 --repository /home/gena01/packages/testing >> > --virtual .makedepends-test go >> > >> > and that last command returns "1" which fails for some reason. I have go >> > package installed already. >> > >> > Thank you, >> > >> > Gennady >> > >> > On Mon, Dec 4, 2017 at 1:39 PM, Gennady Feldman >> wrote: >> > >> >> I use "edge" version. Need to see if I can get the exact error and >> maybe >> >> detailed log. Will try to send later tonight. >> >> >> >> Thank you, >> >> >> >> Gennady >> >> >> >> On Mon, Dec 4, 2017 at 1:22 PM, x9p wrote: >> >> >> >>> have any logs from the error? which alpine version? >> >>> >> >>> cheers. >> >>> >> >>> x9p >> >>> >> >>> > Just ran into this over the weekend. When i tried to build a number >> >>> of >> >>> > packages every time i would get an error after "abuild deps". >> >>> > >> >>> > One way I got it to work is to run "abuild deps" then "abuild". >> >>> "abuild >> >>> > -r" >> >>> > fails every time. This used to work fine before. >> >>> > >> >>> > Thank you, >> >>> > >> >>> > Gennady >> >>> > >> >>> >> >>> >> >>> >> >>> >> >>> --- >> >>> Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org >> >>> Help: alpine-devel+help@lists.alpinelinux.org >> >>> --- >> >>> >> >>> >> >> >> > >> >> >> -- -- Kiyoshi Aman --001a114937aa271395055f9aade9 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Gennady,

The `apk fix` command will = attempt to automatically identify and repair errors, typically by reinstall= ing the offending package. It will tell you which package caused the error = and, more important, allows you to identify the package should it be unsucc= essful.

On Tue, = Dec 5, 2017 at 9:46 AM Gennady Feldman <gena01@gmail.com> wrote:
So this is interesting. I have 2 Alpine VM= s on different PCs. On one I have an older install that shows "1 error= " when I run the above command and that one returns error status 1. On= another one it's fine.

So here is the silly question. If = I am getting "1 error, 2xx packages, ..." line. How do I find and= fix the apk/package error I am seeing?

Thank you,

Gennady

On Tue,= Dec 5, 2017 at 8:15 AM, x9p <alpine@x9p.org> wrote:
<= /div>
logs can help;

issue:

$ abuild-command-1-failing 2>&1 | tee /tmp/abuild1.log
$ abuild-command-2-failing 2>&1 | tee /tmp/abuild2.log
...

and let us see the results.

cheers.

x9p
> Ok. something is off... and I am not sure how to troubleshoot further.= .
> I am on the "edge" version.
>
> abuild deps fails... when I increase verbosity i can see that it fails=
> here:
>=C2=A0 =C2=A0 abuild-apk add --wait 30 --repository /home/gena01/packag= es/testing
> --virtual .makedepends-test go
>
> and that last command returns "1" which fails for some reaso= n. I have go
> package installed already.
>
> Thank you,
>
> Gennady
>
> On Mon, Dec 4, 2017 at 1:39 PM, Gennady Feldman <gena01@gmail.com> wrote:
>
>> I use "edge" version. Need to see if I can get the exact= error and maybe
>> detailed log. Will try to send later tonight.
>>
>> Thank you,
>>
>> Gennady
>>
>> On Mon, Dec 4, 2017 at 1:22 PM, x9p <alpine@x9p.org> wrote:
>>
>>> have any logs from the error? which alpine version?
>>>
>>> cheers.
>>>
>>> x9p
>>>
>>> > Just ran into this over the weekend. When i tried to buil= d a number
>>> of
>>> > packages every time i would get an error after "abui= ld deps".
>>> >
>>> > One way I got it to work is to run "abuild deps"= ; then "abuild".
>>> "abuild
>>> > -r"
>>> > fails every time. This used to work fine before.
>>> >
>>> > Thank you,
>>> >
>>> > Gennady
>>> >
>>>
>>>
>>>
>>>
>>> ---
>>> Unsubscribe:=C2=A0 alpine-devel+unsubscribe@lists.a= lpinelinux.org
>>> Help:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0alpine-devel+help@l= ists.alpinelinux.org
>>> ---
>>>
>>>
>>
>


--=
-- Kiyoshi Aman
--001a114937aa271395055f9aade9-- --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---