[arch-commits] Commit in elfutils/repos (6 files)

Stéphane Gaudreault stephane at archlinux.org
Fri Sep 7 16:52:27 UTC 2012


    Date: Friday, September 7, 2012 @ 12:52:26
  Author: stephane
Revision: 166408

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  elfutils/repos/testing-i686/
  elfutils/repos/testing-i686/PKGBUILD
    (from rev 166407, elfutils/trunk/PKGBUILD)
  elfutils/repos/testing-i686/elfutils-0.155-binutils-pr-ld-13621.patch
    (from rev 166407, elfutils/trunk/elfutils-0.155-binutils-pr-ld-13621.patch)
  elfutils/repos/testing-x86_64/
  elfutils/repos/testing-x86_64/PKGBUILD
    (from rev 166407, elfutils/trunk/PKGBUILD)
  elfutils/repos/testing-x86_64/elfutils-0.155-binutils-pr-ld-13621.patch
    (from rev 166407, elfutils/trunk/elfutils-0.155-binutils-pr-ld-13621.patch)

----------------------------------------------------------+
 testing-i686/PKGBUILD                                    |   39 +++++++++++++
 testing-i686/elfutils-0.155-binutils-pr-ld-13621.patch   |   16 +++++
 testing-x86_64/PKGBUILD                                  |   39 +++++++++++++
 testing-x86_64/elfutils-0.155-binutils-pr-ld-13621.patch |   16 +++++
 4 files changed, 110 insertions(+)

Copied: elfutils/repos/testing-i686/PKGBUILD (from rev 166407, elfutils/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2012-09-07 16:52:26 UTC (rev 166408)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Stéphane Gaudreault <stephane at archlinux.org>
+# Contributor: Andrej Gelenberg <andrej.gelenberg at udo.edu>
+
+pkgname=elfutils
+pkgver=0.155
+pkgrel=1
+pkgdesc="Libraries and utilities to handle ELF object files and DWARF debugging information"
+arch=('i686' 'x86_64')
+url="https://fedorahosted.org/elfutils/"
+license=('LGPL3' 'GPL' 'GPL3')
+depends=('gcc-libs' 'zlib' 'bzip2' 'xz')
+provides=('libelf')
+replaces=('libelf')
+conflicts=('libelf')
+options=('!makeflags')
+source=(https://fedorahosted.org/releases/e/l/elfutils/${pkgver}/elfutils-${pkgver}.tar.bz2{,.sig}
+        elfutils-0.155-binutils-pr-ld-13621.patch)
+sha1sums=('1b96084cd9fe037c1c0bd2c280aaa701f913462b'
+          'fcd0ebd029b305bf030983daf151a2a1ab5294af'
+          '8a8be7c0686c6311c1ce969ba10494e704ead48c')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  CFLAGS+=" -g"  # required for test-suite success
+  patch -Np1 -i ../elfutils-0.155-binutils-pr-ld-13621.patch
+  ./configure --prefix=/usr --program-prefix="eu-"
+  make
+}
+
+check() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make check
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+}

Copied: elfutils/repos/testing-i686/elfutils-0.155-binutils-pr-ld-13621.patch (from rev 166407, elfutils/trunk/elfutils-0.155-binutils-pr-ld-13621.patch)
===================================================================
--- testing-i686/elfutils-0.155-binutils-pr-ld-13621.patch	                        (rev 0)
+++ testing-i686/elfutils-0.155-binutils-pr-ld-13621.patch	2012-09-07 16:52:26 UTC (rev 166408)
@@ -0,0 +1,16 @@
+diff --git a/tests/run-elflint-self.sh b/tests/run-elflint-self.sh
+index 4b01008..7a5f0c8 100755
+--- a/tests/run-elflint-self.sh
++++ b/tests/run-elflint-self.sh
+@@ -18,4 +18,11 @@
+ 
+ . $srcdir/test-subr.sh
+ 
++# Makes sure we exit cleanly even when we don't...
++clean_exit()
++{
++  if test $? != 0; then echo "binutils PR ld/13621 workaround"; exit 0; fi
++}
++trap clean_exit EXIT
++
+ testrun_on_self ../src/elflint --quiet --gnu-ld

Copied: elfutils/repos/testing-x86_64/PKGBUILD (from rev 166407, elfutils/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2012-09-07 16:52:26 UTC (rev 166408)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Stéphane Gaudreault <stephane at archlinux.org>
+# Contributor: Andrej Gelenberg <andrej.gelenberg at udo.edu>
+
+pkgname=elfutils
+pkgver=0.155
+pkgrel=1
+pkgdesc="Libraries and utilities to handle ELF object files and DWARF debugging information"
+arch=('i686' 'x86_64')
+url="https://fedorahosted.org/elfutils/"
+license=('LGPL3' 'GPL' 'GPL3')
+depends=('gcc-libs' 'zlib' 'bzip2' 'xz')
+provides=('libelf')
+replaces=('libelf')
+conflicts=('libelf')
+options=('!makeflags')
+source=(https://fedorahosted.org/releases/e/l/elfutils/${pkgver}/elfutils-${pkgver}.tar.bz2{,.sig}
+        elfutils-0.155-binutils-pr-ld-13621.patch)
+sha1sums=('1b96084cd9fe037c1c0bd2c280aaa701f913462b'
+          'fcd0ebd029b305bf030983daf151a2a1ab5294af'
+          '8a8be7c0686c6311c1ce969ba10494e704ead48c')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  CFLAGS+=" -g"  # required for test-suite success
+  patch -Np1 -i ../elfutils-0.155-binutils-pr-ld-13621.patch
+  ./configure --prefix=/usr --program-prefix="eu-"
+  make
+}
+
+check() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make check
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+}

Copied: elfutils/repos/testing-x86_64/elfutils-0.155-binutils-pr-ld-13621.patch (from rev 166407, elfutils/trunk/elfutils-0.155-binutils-pr-ld-13621.patch)
===================================================================
--- testing-x86_64/elfutils-0.155-binutils-pr-ld-13621.patch	                        (rev 0)
+++ testing-x86_64/elfutils-0.155-binutils-pr-ld-13621.patch	2012-09-07 16:52:26 UTC (rev 166408)
@@ -0,0 +1,16 @@
+diff --git a/tests/run-elflint-self.sh b/tests/run-elflint-self.sh
+index 4b01008..7a5f0c8 100755
+--- a/tests/run-elflint-self.sh
++++ b/tests/run-elflint-self.sh
+@@ -18,4 +18,11 @@
+ 
+ . $srcdir/test-subr.sh
+ 
++# Makes sure we exit cleanly even when we don't...
++clean_exit()
++{
++  if test $? != 0; then echo "binutils PR ld/13621 workaround"; exit 0; fi
++}
++trap clean_exit EXIT
++
+ testrun_on_self ../src/elflint --quiet --gnu-ld




More information about the arch-commits mailing list