~alpine/aports

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
2 2

[alpine-aports] [PATCH] fix a race condition (bis)

Jean-Charles de Longueville <jch@alpine-dev.hellea.net>
Details
Message ID
<1426527822-8807-1-git-send-email-jch@hellea.eu>
Sender timestamp
1426527822
DKIM signature
missing
Download raw message
Patch: +2 -2
I had states -j4 on on IRC I was told to set -j1...
---
 testing/nx-libs/APKBUILD | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/testing/nx-libs/APKBUILD b/testing/nx-libs/APKBUILD
index 4e9653e..2acb208 100644
--- a/testing/nx-libs/APKBUILD
+++ b/testing/nx-libs/APKBUILD
@@ -31,13 +31,13 @@ prepare() {

build() {
	cd "$_builddir"
	make -j4 PREFIX=/usr USRLIBDIR=/usr/lib SHLIBDIR=/usr/lib CONFIGURE="./configure --prefix=/usr --libdir=/usr/lib --includedir=/usr/include" || return 1
	make -j1 PREFIX=/usr USRLIBDIR=/usr/lib SHLIBDIR=/usr/lib CONFIGURE="./configure --prefix=/usr --libdir=/usr/lib --includedir=/usr/include" || return 1
}

package() {
	cd "$_builddir"
        #find ./ -name Makefile | xargs sed -e 's#/usr/local#/usr#g' -i
	make -j4 PREFIX=/usr DESTDIR="$pkgdir" USRLIBDIR=/usr/lib SHLIBDIR=/usr/lib install CONFIGURE="./configure --prefix=/usr --libdir=/usr/lib --includedir=/usr/include" || return 1
	make -j1 PREFIX=/usr DESTDIR="$pkgdir" USRLIBDIR=/usr/lib SHLIBDIR=/usr/lib install CONFIGURE="./configure --prefix=/usr --libdir=/usr/lib --includedir=/usr/include" || return 1
	rm -f "$pkgdir"/usr/lib/*.la
}

-- 
2.3.2



---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---
Natanael Copa <ncopa@alpinelinux.org>
Details
Message ID
<20150316201511.7f477e78@ncopa-laptop>
In-Reply-To
<1426527822-8807-1-git-send-email-jch@hellea.eu> (view parent)
Sender timestamp
1426533311
DKIM signature
missing
Download raw message
On Mon, 16 Mar 2015 18:43:42 +0100
"Jean-Charles de Longueville" <jch@alpine-dev.hellea.net> wrote:

> I had states -j4 on on IRC I was told to set -j1...
> ---
>  testing/nx-libs/APKBUILD | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

I merged the two patches and changed commit message to say "workaround"
instead of "fix".

I would prefer to see it properly fixed though but this is ok for now.

thanks!

-nc


---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---
Jean-Charles de Longueville <jch@hellea.eu>
Details
Message ID
<5507520F.7070009@hellea.eu>
In-Reply-To
<20150316201511.7f477e78@ncopa-laptop> (view parent)
Sender timestamp
1426543119
DKIM signature
missing
Download raw message
On 16/03/15 20:15, Natanael Copa wrote:
> On Mon, 16 Mar 2015 18:43:42 +0100
> "Jean-Charles de Longueville" <jch@alpine-dev.hellea.net> wrote:
>
>> I had states -j4 on on IRC I was told to set -j1...
>> ---
>>  testing/nx-libs/APKBUILD | 4 ++--
>>  1 file changed, 2 insertions(+), 2 deletions(-)
> I merged the two patches and changed commit message to say "workaround"
> instead of "fix".
>
> I would prefer to see it properly fixed though but this is ok for now.
I"m in touch with the dev of the lib.

It fails again. Perhaps it"s because I forgot to increase the pkgrel
number? :(

-- 
Cordialement,
Jean-Charles de Longueville



---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---
Reply to thread Export thread (mbox)