X-Original-To: alpine-devel@lists.alpinelinux.org Received: from mail-pg0-f45.google.com (mail-pg0-f45.google.com [74.125.83.45]) by lists.alpinelinux.org (Postfix) with ESMTP id EA5295C57BF for ; Wed, 6 Dec 2017 16:03:27 +0000 (GMT) Received: by mail-pg0-f45.google.com with SMTP id y6so2361669pgp.4 for ; Wed, 06 Dec 2017 08:03:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=xYL9wCj5KEcFB83ANJj+GwGUuqTvf7ht3xN3/Gxv9IU=; b=TwBKUPfinYB5BjOjkIwM7y+Tg59iTuSlP3a9L4kyppfxhJoxL3ZKCaQf74MKhXJCjT nUbgnqmmf8k4mweme+pgHauq0081ge41aTM2/zncU+mF8ZtfuWspV4W0Nrh+77EgENWk 6X+SVtInBRd8z1yR9oahR5V9gMzGd67b/jsyCEHi9DIsrnSZulTMzBEN27ujRA+pK7fX 53cbHPFRdgJXZwawp2/akME6RUPejmNsahZ8hjf3IxjHQDQjucYEa6PQlCpgSB0IZe2I IyTTNvcGTUbu0nefD5RuxU1JULX8fGP6PQwPcff1t1NrR2RIeQzhS6DtMq81z1Xt8glL hyUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=xYL9wCj5KEcFB83ANJj+GwGUuqTvf7ht3xN3/Gxv9IU=; b=A8RYY2gJpNT6pGxKi4hm0fXB4hix+I4bXfzNuCdZOddE7pCnv6Iido1oKMieMsh1qj NsvXoCfu46KzGhM7mRqne+dX9vbDs5RRhT3Si/AyO+P9PS7a/yYpdS5In+SLUpFe9QHN W3Eo4cnEbefsMwkPGNiRDjaVw5BIrtQhqHXTd/fHOs9y6cA+TEBqnu9Zl+KakfrLioLT ge/JnmAopi3CSh7POaq1D050VXBkPNSuhbJX9reojhXiVu4Hi0r6AzABzMZ0cYDLEGRr yUm9x5ZA3pYh4dJCL+5kAEi86iPSR1paiemYuNTCnQOL/ZRcCBs8zJuaZIsVfHOlvT5c NQKQ== X-Gm-Message-State: AJaThX6D56H5g1GF5lZOTn/TT9pVLK5tzptEtC3c7Z0LJ2Rrnx6cstnq vlGOFSSNiiwuOQAqp5MoT3yoxdUoeaOSzOUaEh0KmA== X-Google-Smtp-Source: AGs4zMZc+QrkOfP5+lCIypEUaKTbxurRRkilwh1M+u54tnDKRF7eW2Yj0Ql3tNmL1eFLkIcPxPB947Vablge1b+PFXc= X-Received: by 10.101.64.4 with SMTP id f4mr21589284pgp.205.1512576207079; Wed, 06 Dec 2017 08:03:27 -0800 (PST) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Received: by 10.100.155.98 with HTTP; Wed, 6 Dec 2017 08:03:06 -0800 (PST) In-Reply-To: References: <5a2592a8.d0e6ca0a.a42bb.4780SMTPIN_ADDED_BROKEN@mx.google.com> <5a269c09.c72a190a.3ab69.1572SMTPIN_ADDED_BROKEN@mx.google.com> From: Gennady Feldman Date: Wed, 6 Dec 2017 11:03:06 -0500 Message-ID: Subject: Re: [alpine-devel] abuild deps returns an error? To: Kiyoshi Aman Cc: x9p , alpine-devel@lists.alpinelinux.org Content-Type: multipart/alternative; boundary="089e082003d484d170055fae1703" --089e082003d484d170055fae1703 Content-Type: text/plain; charset="UTF-8" Thanks. That worked. It reinstalled one of the packages and the error is gone. Thank you, Gennady On Tue, Dec 5, 2017 at 11:53 AM, Kiyoshi Aman wrote: > 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 > --089e082003d484d170055fae1703 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thanks. That worked. It reinstalled one of the p= ackages and the error is gone.

Thank you,

Gennady=

On Tue,= Dec 5, 2017 at 11:53 AM, Kiyoshi Aman <aphrael@alpinelinux.org&= gt; wrote:
Hi Gen= nady,

The `apk fix` command will attempt to automaticall= y identify and repair errors, typically by reinstalling the offending packa= ge. It will tell you which package caused the error and, more important, al= lows you to identify the package should it be unsuccessful.

On Tue, Dec 5, 2017 at 9:46 AM Gennady Feldman <gena01@gmail.com> wrote:
<= /div>
So this= is interesting. I have 2 Alpine VMs on different PCs. On one I have an old= er 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?<= br>
Thank you,

Gennady

On Tue, Dec 5, 2017 at 8:15 AM, x9p <alpine@x9p= .org> 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:
>=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@li= sts.alpinelinux.org
>>> Help:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0alpine-devel+help@l= ists.alpinelinux.org
>>> ---
>>>
>>>
>>
>


--
-- Kiyoshi Aman

--089e082003d484d170055fae1703-- --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---