X-Original-To: alpine-user@lists.alpinelinux.org Received: from mail-lf1-f52.google.com (mail-lf1-f52.google.com [209.85.167.52]) by lists.alpinelinux.org (Postfix) with ESMTP id 149F65C5B9D for ; Tue, 20 Nov 2018 11:48:49 +0000 (GMT) Received: by mail-lf1-f52.google.com with SMTP id c16so1101717lfj.8 for ; Tue, 20 Nov 2018 03:48:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=duniel-no.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Gd7/GcF4D/sPuHeO93GL/J3YZohF5PJtVDu2zPzBtyE=; b=L+4b63sPq02Tj39Z+cMEpiKd1cnUXC6477WCQsSWoCaex9IuQxpQ2j9ieF9j3b4AVa Y2AhI084mNp5dRfLW6dboF+ANQgbUwTiwckyvBZ/KOTwJX/VFl7yMye41rx0dftDvtWM ij0jnduTQBPU8O/sYyWSngklPPEw5eHBRfNL0t3H3Xisq/Tchn6L7tyORw7ANMVm7fyY qPPlHanT8eQkmdoaPKxGDlwWf1P2X0qtrzVtW2x834cI/reuOce9haVGym/PHRItZbCX NWlwJ0r8KDoKCBlnkP1vt8m8/fjhWVeBB6nR8fdMlCn637CA8GvJ8AuzCkE5G/CVea1r xefw== 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=Gd7/GcF4D/sPuHeO93GL/J3YZohF5PJtVDu2zPzBtyE=; b=Rvn64LKkidnlT2iC+zAtQlmAyoVN5vStyv15x9++qVAPJ3Dy6rmRN/5L8KDeoUg0Td 9mq3xXk5OxI7q+pw7+XCRTogppWAa2fAqobeuT+lB8DwnExGJkub4zGg1kVcY+rLR0Vq HXuCeZmelFHpBUy56jPbWmqIuFMvMSShTm0cN84pDgUDDroWizhfW9XwwbjkoXSuVXcq Qvuf7YZaqAXDWJR96ZlkSOXDgKrbdIY6XhqqikNxXatSe7nHxN5yuRraPPBZEwmoFkme SzUhXU/NInGc6U1QW+GjZGvfjLkxUhrn1vLJQZc4lX6ygtSAaGqsKqmvj2UMPKJ4owSc aiQA== X-Gm-Message-State: AGRZ1gLmNt7YN+MWR0qQlkkJPOqh1lGqYr7BEpQHqFrrwd2gR+KZBq/b swNJ/VMN+29GyJ21KE4JquObew9b6fi8W+ps3W6Cfg== X-Google-Smtp-Source: AJdET5fIYymfPS02vuAMcplOVfoe09mDH7UfPyyMN+Hp2jvIlYngPEswd7DnMiQiAzrJc9hu9uTMTUw1wPQytua7OVs= X-Received: by 2002:a19:9dd1:: with SMTP id g200mr898901lfe.127.1542714527836; Tue, 20 Nov 2018 03:48:47 -0800 (PST) X-Mailinglist: alpine-user Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 References: In-Reply-To: From: Daniel Isaksen Date: Tue, 20 Nov 2018 12:48:36 +0100 Message-ID: Subject: Re: [alpine-user] Error with alpine apk manager. To: hdhehru3urh@gmail.com Cc: alpine-user@lists.alpinelinux.org Content-Type: multipart/alternative; boundary="0000000000006c0507057b173701" --0000000000006c0507057b173701 Content-Type: text/plain; charset="UTF-8" /tmp/pip-install-ca2c255t/secp256k1/libsecp256k1/autogen.sh: line 3: *autoreconf: not found* You have not installed the necessary dependencies. When I installed it, I had to install several dependencies for the build process to successfully complete. In this specific case, you must run apk add autoconf. ----- Sincerely / Med vennlig hilsen, Daniel Isaksen (https://duniel.no) On Tue, Nov 20, 2018 at 11:52 AM Igor Matchenko wrote: > Here is our stack trace: > Running setup.py install for secp256k1: started > Running setup.py install for secp256k1: finished with status 'error' > Complete output from command /usr/local/bin/python -u -c "import > setuptools, > tokenize;__file__='/tmp/pip-install-ca2c255t/secp256k1/setup.py';f=getattr(tokenize, > 'open', open)(__file__);code=f.read().replace('\r\n', > '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record > /tmp/pip-record-bj9m_f5m/install-record.txt > --single-version-externally-managed --compile: > 1.3.10 > Using bundled libsecp256k1 > running install > running build > running build_py > creating build > creating build/lib.linux-x86_64-3.6 > creating build/lib.linux-x86_64-3.6/secp256k1 > copying secp256k1/__init__.py -> build/lib.linux-x86_64-3.6/secp256k1 > copying secp256k1/__main__.py -> build/lib.linux-x86_64-3.6/secp256k1 > running build_clib > /tmp/pip-install-ca2c255t/secp256k1/libsecp256k1/autogen.sh: line 3: > autoreconf: not found > Traceback (most recent call last): > File "", line 1, in > File "/tmp/pip-install-ca2c255t/secp256k1/setup.py", line 295, in > > "Topic :: Security :: Cryptography" > File > "/usr/local/lib/python3.6/site-packages/setuptools/__init__.py", line 131, > in setup > return distutils.core.setup(**attrs) > File "/usr/local/lib/python3.6/distutils/core.py", line 148, in setup > dist.run_commands() > File "/usr/local/lib/python3.6/distutils/dist.py", line 955, in > run_commands > self.run_command(cmd) > File "/usr/local/lib/python3.6/distutils/dist.py", line 974, in > run_command > cmd_obj.run() > File > "/usr/local/lib/python3.6/site-packages/setuptools/command/install.py", > line 61, in run > return orig.install.run(self) > File "/usr/local/lib/python3.6/distutils/command/install.py", line > 545, in run > self.run_command('build') > File "/usr/local/lib/python3.6/distutils/cmd.py", line 313, in > run_command > self.distribution.run_command(command) > File "/usr/local/lib/python3.6/distutils/dist.py", line 974, in > run_command > cmd_obj.run() > File "/usr/local/lib/python3.6/distutils/command/build.py", line > 135, in run > self.run_command(cmd_name) > File "/usr/local/lib/python3.6/distutils/cmd.py", line 313, in > run_command > self.distribution.run_command(command) > File "/usr/local/lib/python3.6/distutils/dist.py", line 974, in > run_command > cmd_obj.run() > File "/tmp/pip-install-ca2c255t/secp256k1/setup.py", line 165, in run > cwd=absolute("libsecp256k1"), > File "/usr/local/lib/python3.6/subprocess.py", line 291, in > check_call > raise CalledProcessError(retcode, cmd) > subprocess.CalledProcessError: Command > '['/tmp/pip-install-ca2c255t/secp256k1/libsecp256k1/autogen.sh']' returned > non-zero exit status 127. > > ---------------------------------------- > Command "/usr/local/bin/python -u -c "import setuptools, > tokenize;__file__='/tmp/pip-install-ca2c255t/secp256k1/setup.py';f=getattr(tokenize, > 'open', open)(__file__);code=f.read().replace('\r\n', > '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record > /tmp/pip-record-bj9m_f5m/install-record.txt > --single-version-externally-managed --compile" failed with error code 1 in > /tmp/pip-install-ca2c255t/secp256k1/ > > On Mon, 19 Nov 2018 at 16:23, Daniel Isaksen wrote: > >> Hi Igor, >> >> I am unable to reproduce this issue in a x86_64 container running Alpine >> Linux edge. >> >> Which commands are you running, and what is the unexpected/erroneous >> output from said commands? >> >> P.S.: I am assuming you mean the package "sawtooth-sdk" on PyPI. >> >> ----- >> Sincerely / Med vennlig hilsen, >> Daniel Isaksen (https://duniel.no) >> >> >> On Mon, Nov 19, 2018 at 3:02 PM Igor Matchenko >> wrote: >> >>> Hello. >>> We use alpine in our docker image. We are trying to install >>> sawtooth_sdk by pip, but during installation there is an error that there >>> can be no lib26p256k1. When you try to put it through the apk, it says >>> that it does not exist. >>> Thanks for attention. >>> >> --0000000000006c0507057b173701 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
=C2=A0/tmp/pip-install-ca2c255t/secp256k1/libsecp256k1/aut= ogen.sh: line 3: autoreconf: not found

You have n= ot installed the necessary dependencies.

When I in= stalled it, I had to install several dependencies for the build process to = successfully complete.

In this specific case, you = must run apk add autoconf.
=

-----
Sincer= ely / Med vennlig hilsen,
Daniel Isaksen <d@duniel.no> (https://duniel.no)


On Tue, Nov 20, 2= 018 at 11:52 AM Igor Matchenko <hdhehru3urh@gmail.com> wrote:
Here is our stack trace:
Running setup.py install for secp256k1: started
=C2=A0=C2=A0= =C2=A0 Running setup.py install for secp256k1: finished with status 'er= ror'
=C2=A0=C2=A0=C2=A0 Complete output from command /usr/local/bin/= python -u -c "import setuptools, tokenize;__file__=3D'/tmp/pip-ins= tall-ca2c255t/secp256k1/setup.py';f=3Dgetattr(tokenize, 'open',= open)(__file__);code=3Df.read().replace('\r\n', '\n');f.cl= ose();exec(compile(code, __file__, 'exec'))" install --record = /tmp/pip-record-bj9m_f5m/install-record.txt --single-version-externally-man= aged --compile:
=C2=A0=C2=A0=C2=A0 1.3.10
=C2=A0=C2=A0=C2=A0 Using bu= ndled libsecp256k1
=C2=A0=C2=A0=C2=A0 running install
=C2=A0=C2=A0=C2= =A0 running build
=C2=A0=C2=A0=C2=A0 running build_py
=C2=A0=C2=A0=C2= =A0 creating build
=C2=A0=C2=A0=C2=A0 creating build/lib.linux-x86_64-3.= 6
=C2=A0=C2=A0=C2=A0 creating build/lib.linux-x86_64-3.6/secp256k1
= =C2=A0=C2=A0=C2=A0 copying secp256k1/__init__.py -> build/lib.linux-x86_= 64-3.6/secp256k1
=C2=A0=C2=A0=C2=A0 copying secp256k1/__main__.py -> = build/lib.linux-x86_64-3.6/secp256k1
=C2=A0=C2=A0=C2=A0 running build_cl= ib
=C2=A0=C2=A0=C2=A0 /tmp/pip-install-ca2c255t/secp256k1/libsecp256k1/a= utogen.sh: line 3: autoreconf: not found
=C2=A0=C2=A0=C2=A0 Traceback (m= ost recent call last):
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 File "<str= ing>", line 1, in <module>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 = File "/tmp/pip-install-ca2c255t/secp256k1/setup.py", line 295, in= <module>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 "Topic := : Security :: Cryptography"
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 File &qu= ot;/usr/local/lib/python3.6/site-packages/setuptools/__init__.py", lin= e 131, in setup
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 return distut= ils.core.setup(**attrs)
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 File "/usr/l= ocal/lib/python3.6/distutils/core.py", line 148, in setup
=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 dist.run_commands()
=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 File "/usr/local/lib/python3.6/distutils/dist.py", l= ine 955, in run_commands
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 self= .run_command(cmd)
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 File "/usr/local/l= ib/python3.6/distutils/dist.py", line 974, in run_command
=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 cmd_obj.run()
=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 File "/usr/local/lib/python3.6/site-packages/setuptools/command= /install.py", line 61, in run
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 return orig.install.run(self)
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 File= "/usr/local/lib/python3.6/distutils/command/install.py", line 54= 5, in run
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 self.run_command(&#= 39;build')
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 File "/usr/local/lib/= python3.6/distutils/cmd.py", line 313, in run_command
=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 self.distribution.run_command(command)
= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 File "/usr/local/lib/python3.6/distutil= s/dist.py", line 974, in run_command
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 cmd_obj.run()
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 File "/us= r/local/lib/python3.6/distutils/command/build.py", line 135, in run=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 self.run_command(cmd_name)
= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 File "/usr/local/lib/python3.6/distutil= s/cmd.py", line 313, in run_command
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 self.distribution.run_command(command)
=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 File "/usr/local/lib/python3.6/distutils/dist.py", l= ine 974, in run_command
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 cmd_o= bj.run()
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 File "/tmp/pip-install-ca2c= 255t/secp256k1/setup.py", line 165, in run
=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 cwd=3Dabsolute("libsecp256k1"),
=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 File "/usr/local/lib/python3.6/subprocess.py&quo= t;, line 291, in check_call
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r= aise CalledProcessError(retcode, cmd)
=C2=A0=C2=A0=C2=A0 subprocess.Call= edProcessError: Command '['/tmp/pip-install-ca2c255t/secp256k1/libs= ecp256k1/autogen.sh']' returned non-zero exit status 127.
=C2=A0= =C2=A0=C2=A0
=C2=A0=C2=A0=C2=A0 ---------------------------------------= -
Command "/usr/local/bin/python -u -c "import setuptools, tok= enize;__file__=3D'/tmp/pip-install-ca2c255t/secp256k1/setup.py';f= =3Dgetattr(tokenize, 'open', open)(__file__);code=3Df.read().replac= e('\r\n', '\n');f.close();exec(compile(code, __file__, '= ;exec'))" install --record /tmp/pip-record-bj9m_f5m/install-record= .txt --single-version-externally-managed --compile" failed with error = code 1 in /tmp/pip-install-ca2c255t/secp256k1/

On Mon, 19 Nov 2018 at 16:23, Daniel Isa= ksen <d@duniel.no&g= t; wrote:
Hi Igor,=

I am unable to reproduce this issue in a x86_64 contain= er running Alpine Linux edge.

Which commands are y= ou running, and what is the unexpected/erroneous output from said commands?=

P.S.: I am assuming you mean the package "sa= wtooth-sdk" on PyPI.

-----
Sincere= ly / Med vennlig hilsen,
Daniel Isaksen <d@duniel.no> (https://duniel.no)


On Mon, Nov 19, 20= 18 at 3:02 PM Igor Matchenko <igor@matchenko.com> wrote:
Hello.
We use alpine in our docker image. We are trying to install sawtooth_sdk by pip, but during installation= there is an error that there can be no lib26p256k1. Whe= n you try to put it through the apk, it says that it does not exist.=
Thanks for attention.
--0000000000006c0507057b173701-- --- Unsubscribe: alpine-user+unsubscribe@lists.alpinelinux.org Help: alpine-user+help@lists.alpinelinux.org ---