X-Original-To: alpine-devel@lists.alpinelinux.org Received: from mail-qk1-f179.google.com (mail-qk1-f179.google.com [209.85.222.179]) by lists.alpinelinux.org (Postfix) with ESMTP id 889FBF84D28 for ; Thu, 28 Mar 2019 11:43:19 +0000 (UTC) Received: by mail-qk1-f179.google.com with SMTP id c1so11895450qkk.4 for ; Thu, 28 Mar 2019 04:43:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=EPcNOUnJzS0TGc6dkJlgIeDM23eo3lIpQvyoat9keik=; b=cRiR40q01Wi3uCKJdf7ylt7dct97G5hm1CEsiAZR/K1XEky5hxmjgUxXkqgwhZWdMd 3Ob5+9BZsCYwmXzBjUYZ5ckxJ4yjbhoFq2++jKMqJEAmN9pwZHXgkSV2V6U3+/zLi8WT RgMCtRPAj/6tUdBMJHZl+tIRNcnuDZdrKbK8SWjliaKMFhgY10mFgv4yjiHQbSNSsJbb h95cFHYOPxVeUEmaEjuB9kB4EkRWqwpydCoOPyHvEzLZVUWimFljzdi0vW9w+9wkaKoi ZDgdux16fjKzzJGmGf/xWcoAMq8tBgTlbVBJrPS18DJciKhctHMR/IWvJM7QtfoG/9ze EKHQ== 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=EPcNOUnJzS0TGc6dkJlgIeDM23eo3lIpQvyoat9keik=; b=li3Y2t6vZfxOcjxcEManNnCIWYG1mQy/6aXhhPRYZ9q+Dsvhx1kgHXctDiS40LCSlQ 2Xdk7CAjPvf8u8Bpzt4ViGs26Rt9MH9pisFZa1s7YR8FT3EFDu4qigONe9wInVTG3Pwr srAXaDYMY/hDAVp9PiG76t0r9PbSuHgdGrUqtGSpbGgrrYgvRo3d/xYnJtIPUjVVhjb/ 02+SDmlcki0PjrPSDS4XfI6bmQ5TsYGfWKK5A16dw/A+Kyldcx/ISOVL3OjHriK+EtpW 2s8Xke1hsVi9KI2FfeK5FeuVunrB6Go7b7VJy4nMCfB/j7G0UW/aMAThOy7pciJ7Pdip YHkA== X-Gm-Message-State: APjAAAUGly4BzfYd9uAC6ydczVS0PC5wlaRFmgkNGXKxwk/GcqdPE5rR HX5z5uOb5UO6QSrpT0cfdcQ2Wyo37CaRLJJxwZMfug== X-Google-Smtp-Source: APXvYqwPih704g/cC1Z0luXVpkO1czX/2Xc4zSsTZhxan1O7lnJMsf79TVv7uYjuipn2J1FdNz7GQONjD9r5Ey4plC4= X-Received: by 2002:a37:9d84:: with SMTP id g126mr27327986qke.22.1553773398959; Thu, 28 Mar 2019 04:43:18 -0700 (PDT) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 References: <20190328120121.125e8882@ncopa-desktop.copa.dup.pw> In-Reply-To: <20190328120121.125e8882@ncopa-desktop.copa.dup.pw> From: Timothy Legge Date: Thu, 28 Mar 2019 08:43:06 -0300 Message-ID: Subject: Re: [alpine-devel] Issue with abuild on aports github build To: Natanael Copa Cc: alpine-devel@lists.alpinelinux.org Content-Type: multipart/alternative; boundary="00000000000081adae0585260f2d" --00000000000081adae0585260f2d Content-Type: text/plain; charset="UTF-8" I do my builds from /home/tim the built-in abuild results in the same error message on my system however running the abuild from my local git clone for like ~/abuild/abuild -r works fine. Now that I think of it I should do a diff between my git version of abuild and the local system abuild. Tim On Thu, Mar 28, 2019, 8:01 AM Natanael Copa, wrote: > On Wed, 27 Mar 2019 20:05:01 -0300 > Timothy Legge wrote: > > > Hi > > Hi! > > > > > I pushed a pull request https://github.com/alpinelinux/aports/pull/6851 > for > > perlmagic. The build works on my development box if I use abuild from > the > > current https://github.com/alpinelinux/abuild master. > > > > If I use the version of abuild included on 3.8.4 I it fails with > > > > >>> ERROR: perlmagick*: Has /home/... in rpath > > This is a check that there should be no references to /home in the > binaries. Binaries should not be told to look for shared libs in any > place under /home. > > What probably happened here is that build script will set RPATH to look > for shared libs in the build tree, most likely to be able to run test > suite or similar. > > My guess is that this does not happen on your local machine because you > don't run your build from /home. > > You can find the offending binaries with: scanelf --recursive --rpath > $pkgdir > > As a side note, I think we may need extend the test to also look > for /tmp and /var/tmp or any place that users may have write access too. > > > >>> ERROR: perlmagick*: prepare_package failed > > >>> ERROR: perlmagick: all failed > > > > This is the same error that shows up in github after the pull request > runs: > > > > continuous-integration/drone/pr * Build is failing > > continuous-integration/travis-ci/pr * The Travis CI build failed > > > > However the current git version of abuild works without any errors. Any > > thoughts? > > > > Tim > > --00000000000081adae0585260f2d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I do my builds from /home/tim

<= /div>
the built-in abuild results in the same error messag= e on my system

however r= unning the abuild from my local git clone for like
<= br>
~/abuild/abuild -r=C2=A0
=
works fine.

Now that I think of it I s= hould do a diff between my git version of abuild and the=C2=A0 local system= abuild.

Tim

On Thu, Mar 28, 2019, 8:01 AM Natanael Copa, <ncopa@alpinelinux.org> wrote:
<= /div>
On Wed, 27 Mar 2019 20:05:01 -0300
Timothy Legge <timlegge@gmail.com> wrote:

> Hi

Hi!

>
> I pushed a pull request https://githu= b.com/alpinelinux/aports/pull/6851 for
> perlmagic.=C2=A0 The build works on my development box if I use abuild= from the
> current https://github.com/alpinelinux/abuild master.
>
> If I use the version of abuild included on 3.8.4 I it fails with
>
> >>> ERROR: perlmagick*: Has /home/... in rpath

This is a check that there should be no references to /home in the
binaries. Binaries should not be told to look for shared libs in any
place under /home.

What probably happened here is that build script will set RPATH to look
for shared libs in the build tree, most likely to be able to run test
suite or similar.

My guess is that this does not happen on your local machine because you
don't run your build from /home.

You can find the offending binaries with: scanelf --recursive --rpath $pkgd= ir

As a side note, I think we may need extend the test to also look
for /tmp and /var/tmp or any place that users may have write access too.
> >>> ERROR: perlmagick*: prepare_package failed
> >>> ERROR: perlmagick: all failed=C2=A0
>
> This is the same error that shows up in github after the pull request = runs:
>
> continuous-integration/drone/pr * Build is failing
> continuous-integration/travis-ci/pr * The Travis CI build failed
>
> However the current git version of abuild works without any errors.=C2= =A0 Any
> thoughts?
>
> Tim

--00000000000081adae0585260f2d-- --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---