X-Original-To: alpine-devel@lists.alpinelinux.org Received: from mx1.tetrasec.net (mx1.tetrasec.net [74.117.190.25]) by lists.alpinelinux.org (Postfix) with ESMTP id 81BF0F83233 for ; Thu, 28 Mar 2019 11:01:30 +0000 (UTC) Received: from mx1.tetrasec.net (mail.local [127.0.0.1]) by mx1.tetrasec.net (Postfix) with ESMTP id 0AF539E2941; Thu, 28 Mar 2019 11:01:30 +0000 (UTC) Received: from ncopa-desktop.copa.dup.pw (67.63.200.37.customer.cdi.no [37.200.63.67]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: alpine@tanael.org) by mx1.tetrasec.net (Postfix) with ESMTPSA id 921379E28FE; Thu, 28 Mar 2019 11:01:28 +0000 (UTC) Date: Thu, 28 Mar 2019 12:01:21 +0100 From: Natanael Copa To: Timothy Legge Cc: alpine-devel@lists.alpinelinux.org Subject: Re: [alpine-devel] Issue with abuild on aports github build Message-ID: <20190328120121.125e8882@ncopa-desktop.copa.dup.pw> In-Reply-To: References: X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-alpine-linux-musl) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Wed, 27 Mar 2019 20:05:01 -0300 Timothy Legge wrote: > Hi Hi! >=20 > I pushed a pull request https://github.com/alpinelinux/aports/pull/6851 f= or > perlmagic. The build works on my development box if I use abuild from the > current https://github.com/alpinelinux/abuild master. >=20 > If I use the version of abuild included on 3.8.4 I it fails with >=20 > >>> 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 =20 >=20 > This is the same error that shows up in github after the pull request run= s: >=20 > continuous-integration/drone/pr * Build is failing > continuous-integration/travis-ci/pr * The Travis CI build failed >=20 > However the current git version of abuild works without any errors. Any > thoughts? >=20 > Tim --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---