Skip to contentSkip to conversation

gsl.inc: Remove `do_stage`.

PATCH In review Paul Menzel 3 participants 4 messages Nov 19, 2010 – Nov 22, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gsl.inc: Remove `do_stage`.

Date: Fri, 19 Nov 2010 17:33:00 +0100

Inkscape fails to build after commit c2c8fe [1] with the following error.

    | checking for CAIRO_USER_FONTS... yes
    | checking for INKSCAPE... configure: error: Package requirements (gdkmm-2.4  glibmm-2.4 giomm-2.4 gtkmm-2.4 >= 2.10.0  gtk+-2.0  libxml-2.0 >= 2.6.11  libxslt >= 1.0.15  cairo  sigc++-2.0 >= 2.0.12    gthread-2.0 >= 2.0 libpng >= 1.2 gsl) were not met:
    |
    | No package 'gsl' found
    |
    | Consider adjusting the PKG_CONFIG_PATH environment variable if you
    | installed software in a non-standard prefix.
    |
    | Alternatively, you may set the environment variables INKSCAPE_CFLAGS
    | and INKSCAPE_LIBS to avoid the need to call pkg-config.
    | See the pkg-config man page for more details.
    |
    | ERROR: Function do_configure failed

NOTE: package inkscape-0.48.0-r0: task do_configure: Failed
ERROR: TaskFailed event exception, aborting
ERROR: Build of /home/paul/oe/openembedded/recipes/inkscape/inkscape_0.48.0.bb do_configure failed

Removing do_stage fixes building inkscape_0.48.0.bb with angstrom-2008.1, angstrom-2010.x and minimal for MACHINE = "beagleboard".

[1] http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=c2c8fe4c5629add94bd0b922f5b3446624a9f4d8

---
Please note, that I did not test the removal of this function any further, that means I did not compare the package contents before and after, and do not know about the implications. If someone more knowledgeable could check that, it would be very much appreciated.

---
 recipes/gsl/gsl.inc |   11 +----------
 1 files changed, 1 insertions(+), 10 deletions(-)
recipes/gsl/gsl.inc +1 -10
index bc4865c..10bacc5 100644
@@ -3,17 +3,8 @@ HOMEPAGE = "http://www.gnu.org/software/gsl/"
 SECTION = "libs"
 PRIORITY = "optional"
 LICENSE = "GPL"
-PR = "r0"
+PR = "r1"
 
 inherit autotools pkgconfig binconfig
 
 LEAD_SONAME = "libgsl.so"
-
-do_stage() {
-	oe_runmake DESTDIR=${S}/.install install
-	oe_libinstall -so -C cblas/.libs/ libgslcblas ${STAGING_LIBDIR}
-	oe_libinstall -so -C .libs/ libgsl ${STAGING_LIBDIR}
-
-	install -d ${STAGING_INCDIR}/gsl
-	install -m 0644 .install${includedir}/gsl/* ${STAGING_INCDIR}/gsl
-}
Signature · 1 line
1.7.2.3
#1 lore raw
Quoted 21 lines · Paul Menzel

Date: Fri, 19 Nov 2010 17:33:00 +0100

Inkscape fails to build after commit c2c8fe [1] with the following error.

    | checking for CAIRO_USER_FONTS... yes
    | checking for INKSCAPE... configure: error: Package requirements (gdkmm-2.4  glibmm-2.4 giomm-2.4 gtkmm-2.4 >= 2.10.0  gtk+-2.0  libxml-2.0 >= 2.6.11  libxslt >= 1.0.15  cairo  sigc++-2.0 >= 2.0.12    gthread-2.0 >= 2.0 libpng >= 1.2 gsl) were not met:
    |
    | No package 'gsl' found
    |
    | Consider adjusting the PKG_CONFIG_PATH environment variable if you
    | installed software in a non-standard prefix.
    |
    | Alternatively, you may set the environment variables INKSCAPE_CFLAGS
    | and INKSCAPE_LIBS to avoid the need to call pkg-config.
    | See the pkg-config man page for more details.
    |
    | ERROR: Function do_configure failed

NOTE: package inkscape-0.48.0-r0: task do_configure: Failed
ERROR: TaskFailed event exception, aborting
ERROR: Build of /home/paul/oe/openembedded/recipes/inkscape/inkscape_0.48.0.bb do_configure failed

Quoted 7 lines

Removing do_stage fixes building inkscape_0.48.0.bb with angstrom-2008.1, angstrom-2010.x and minimal for MACHINE = "beagleboard".

[1] http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=c2c8fe4c5629add94bd0b922f5b3446624a9f4d8

---
Please note, that I did not test the removal of this function any further, that means I did not compare the package contents before and after, and do not know about the implications. If someone more knowledgeable could check that, it would be very much appreciated.

if you checked what it installed into temp staging install then it should be ok.

Quoted 36 lines
---
 recipes/gsl/gsl.inc |   11 +----------
 1 files changed, 1 insertions(+), 10 deletions(-)
recipes/gsl/gsl.inc +1 -10
index bc4865c..10bacc5 100644
@@ -3,17 +3,8 @@ HOMEPAGE = "http://www.gnu.org/software/gsl/"
 SECTION = "libs"
 PRIORITY = "optional"
 LICENSE = "GPL"
-PR = "r0"
+PR = "r1"
 
 inherit autotools pkgconfig binconfig
 
 LEAD_SONAME = "libgsl.so"
-
-do_stage() {
-	oe_runmake DESTDIR=${S}/.install install
-	oe_libinstall -so -C cblas/.libs/ libgslcblas ${STAGING_LIBDIR}
-	oe_libinstall -so -C .libs/ libgsl ${STAGING_LIBDIR}
-
-	install -d ${STAGING_INCDIR}/gsl
-	install -m 0644 .install${includedir}/gsl/* ${STAGING_INCDIR}/gsl
-}
Signature · 8 lines
1.7.2.3



_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
#2 lore raw

Am Freitag, den 19.11.2010, 13:08 -0800 schrieb Khem Raj:

Quoted 24 lines · Paul Menzel
Quoted 23 lines

Date: Fri, 19 Nov 2010 17:33:00 +0100

Inkscape fails to build after commit c2c8fe [1] with the following error.

    | checking for CAIRO_USER_FONTS... yes
    | checking for INKSCAPE... configure: error: Package requirements (gdkmm-2.4  glibmm-2.4 giomm-2.4 gtkmm-2.4 >= 2.10.0  gtk+-2.0  libxml-2.0 >= 2.6.11  libxslt >= 1.0.15  cairo  sigc++-2.0 >= 2.0.12    gthread-2.0 >= 2.0 libpng >= 1.2 gsl) were not met:
    |
    | No package 'gsl' found
    |
    | Consider adjusting the PKG_CONFIG_PATH environment variable if you
    | installed software in a non-standard prefix.
    |
    | Alternatively, you may set the environment variables INKSCAPE_CFLAGS
    | and INKSCAPE_LIBS to avoid the need to call pkg-config.
    | See the pkg-config man page for more details.
    |
    | ERROR: Function do_configure failed

NOTE: package inkscape-0.48.0-r0: task do_configure: Failed
ERROR: TaskFailed event exception, aborting
ERROR: Build of /home/paul/oe/openembedded/recipes/inkscape/inkscape_0.48.0.bb do_configure failed

Removing do_stage fixes building inkscape_0.48.0.bb with angstrom-2008.1, angstrom-2010.x and minimal for MACHINE = "beagleboard".

Quoted 8 lines
Quoted 5 lines

[1] http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=c2c8fe4c5629add94bd0b922f5b3446624a9f4d8

---
Please note, that I did not test the removal of this function any further, that means I did not compare the package contents before and after, and do not know about the implications. If someone more knowledgeable could check that, it would be very much appreciated.

if you checked what it installed into temp staging install then it should be ok.

This is the output of diff -ur between both directories. (I left out the temp directory with the log files.) This was build using angstrom-2010.x for MACHINE = "beagleboard".

        Only in angstrom-dev/work/armv7a-angstrom-linux-gnueabi/gsl-1.12-r0//gsl-1.12: .install
        Binary files angstrom-dev/work/armv7a-angstrom-linux-gnueabi/gsl-1.12-r0//gsl-1.12/.libs/libgsl.a and /tmp/gsl-1.12-r1//gsl-1.12/.libs/libgsl.a differ
        Binary files angstrom-dev/work/armv7a-angstrom-linux-gnueabi/gsl-1.12-r0//gsl-1.12/blas/.libs/libgslblas.a and /tmp/gsl-1.12-r1//gsl-1.12/blas/.libs/libgslblas.a differ
        Binary files angstrom-dev/work/armv7a-angstrom-linux-gnueabi/gsl-1.12-r0//gsl-1.12/block/.libs/libgslblock.a and /tmp/gsl-1.12-r1//gsl-1.12/block/.libs/libgslblock.a differ
        Binary files angstrom-dev/work/armv7a-angstrom-linux-gnueabi/gsl-1.12-r0//gsl-1.12/bspline/.libs/libgslbspline.a and /tmp/gsl-1.12-r1//gsl-1.12/bspline/.libs/libgslbspline.a differ
        Binary files angstrom-dev/work/armv7a-angstrom-linux-gnueabi/gsl-1.12-r0//gsl-1.12/cblas/.libs/libgslcblas.a and /tmp/gsl-1.12-r1//gsl-1.12/cblas/.libs/libgslcblas.a differ
        Binary files angstrom-dev/work/armv7a-angstrom-linux-gnueabi/gsl-1.12-r0//gsl-1.12/cdf/.libs/libgslcdf.a and /tmp/gsl-1.12-r1//gsl-1.12/cdf/.libs/libgslcdf.a differ
        Binary files angstrom-dev/work/armv7a-angstrom-linux-gnueabi/gsl-1.12-r0//gsl-1.12/cheb/.libs/libgslcheb.a and /tmp/gsl-1.12-r1//gsl-1.12/cheb/.libs/libgslcheb.a differ
        Binary files angstrom-dev/work/armv7a-angstrom-linux-gnueabi/gsl-1.12-r0//gsl-1.12/combination/.libs/libgslcombination.a and /tmp/gsl-1.12-r1//gsl-1.12/combination/.libs/libgslcombination.a differ
        Binary files angstrom-dev/work/armv7a-angstrom-linux-gnueabi/gsl-1.12-r0//gsl-1.12/complex/.libs/libgslcomplex.a and /tmp/gsl-1.12-r1//gsl-1.12/complex/.libs/libgslcomplex.a differ
        diff -ru angstrom-dev/work/armv7a-angstrom-linux-gnueabi/gsl-1.12-r0//gsl-1.12/config.log /tmp/gsl-1.12-r1//gsl-1.12/config.log
        --- angstrom-dev/work/armv7a-angstrom-linux-gnueabi/gsl-1.12-r0//gsl-1.12/config.log	2010-11-22 11:27:21.270496425 +0100
        +++ /tmp/gsl-1.12-r1//gsl-1.12/config.log	2010-11-22 10:19:04.317636601 +0100
        @@ -1098,7 +1098,7 @@
         configure:11408: result: yes
         configure:11414: checking for _doprnt
         configure:11414: arm-angstrom-linux-gnueabi-gcc -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mthumb-interwork -mno-thumb -o conftest -isystem/oe/build-angstrom-next/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -ggdb2 -isystem/oe/build-angstrom-next/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include -Wl,-O1 -Wl,--hash-style=gnu conftest.c  >&5
        -/tmp/ccY718Kl.o: In function `main':
        +/tmp/ccgGFYmB.o: In function `main':
         /oe/build-angstrom-next/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/gsl-1.12-r0/gsl-1.12/conftest.c:60: undefined reference to `_doprnt'
         collect2: ld returned 1 exit status
         configure:11414: $? = 1
        Binary files angstrom-dev/work/armv7a-angstrom-linux-gnueabi/gsl-1.12-r0//gsl-1.12/deriv/.libs/libgslderiv.a and /tmp/gsl-1.12-r1//gsl-1.12/deriv/.libs/libgslderiv.a differ
        Binary files angstrom-dev/work/armv7a-angstrom-linux-gnueabi/gsl-1.12-r0//gsl-1.12/dht/.libs/libgsldht.a and /tmp/gsl-1.12-r1//gsl-1.12/dht/.libs/libgsldht.a differ
        Binary files angstrom-dev/work/armv7a-angstrom-linux-gnueabi/gsl-1.12-r0//gsl-1.12/diff/.libs/libgsldiff.a and /tmp/gsl-1.12-r1//gsl-1.12/diff/.libs/libgsldiff.a differ
        Binary files angstrom-dev/work/armv7a-angstrom-linux-gnueabi/gsl-1.12-r0//gsl-1.12/eigen/.libs/libgsleigen.a and /tmp/gsl-1.12-r1//gsl-1.12/eigen/.libs/libgsleigen.a differ
        Binary files angstrom-dev/work/armv7a-angstrom-linux-gnueabi/gsl-1.12-r0//gsl-1.12/err/.libs/libgslerr.a and /tmp/gsl-1.12-r1//gsl-1.12/err/.libs/libgslerr.a differ
        Binary files angstrom-dev/work/armv7a-angstrom-linux-gnueabi/gsl-1.12-r0//gsl-1.12/fft/.libs/libgslfft.a and /tmp/gsl-1.12-r1//gsl-1.12/fft/.libs/libgslfft.a differ
        Binary files angstrom-dev/work/armv7a-angstrom-linux-gnueabi/gsl-1.12-r0//gsl-1.12/fit/.libs/libgslfit.a and /tmp/gsl-1.12-r1//gsl-1.12/fit/.libs/libgslfit.a differ
        Binary files angstrom-dev/work/armv7a-angstrom-linux-gnueabi/gsl-1.12-r0//gsl-1.12/histogram/.libs/libgslhistogram.a and /tmp/gsl-1.12-r1//gsl-1.12/histogram/.libs/libgslhistogram.a differ
        Binary files angstrom-dev/work/armv7a-angstrom-linux-gnueabi/gsl-1.12-r0//gsl-1.12/ieee-utils/.libs/libgslieeeutils.a and /tmp/gsl-1.12-r1//gsl-1.12/ieee-utils/.libs/libgslieeeutils.a differ
        Binary files angstrom-dev/work/armv7a-angstrom-linux-gnueabi/gsl-1.12-r0//gsl-1.12/integration/.libs/libgslintegration.a and /tmp/gsl-1.12-r1//gsl-1.12/integration/.libs/libgslintegration.a differ
        Binary files angstrom-dev/work/armv7a-angstrom-linux-gnueabi/gsl-1.12-r0//gsl-1.12/interpolation/.libs/libgslinterpolation.a and /tmp/gsl-1.12-r1//gsl-1.12/interpolation/.libs/libgslinterpolation.a differ
        Binary files angstrom-dev/work/armv7a-angstrom-linux-gnueabi/gsl-1.12-r0//gsl-1.12/linalg/.libs/libgsllinalg.a and /tmp/gsl-1.12-r1//gsl-1.12/linalg/.libs/libgsllinalg.a differ
        Binary files angstrom-dev/work/armv7a-angstrom-linux-gnueabi/gsl-1.12-r0//gsl-1.12/matrix/.libs/libgslmatrix.a and /tmp/gsl-1.12-r1//gsl-1.12/matrix/.libs/libgslmatrix.a differ
        Binary files angstrom-dev/work/armv7a-angstrom-linux-gnueabi/gsl-1.12-r0//gsl-1.12/min/.libs/libgslmin.a and /tmp/gsl-1.12-r1//gsl-1.12/min/.libs/libgslmin.a differ
        Binary files angstrom-dev/work/armv7a-angstrom-linux-gnueabi/gsl-1.12-r0//gsl-1.12/monte/.libs/libgslmonte.a and /tmp/gsl-1.12-r1//gsl-1.12/monte/.libs/libgslmonte.a differ
        Binary files angstrom-dev/work/armv7a-angstrom-linux-gnueabi/gsl-1.12-r0//gsl-1.12/multifit/.libs/libgslmultifit.a and /tmp/gsl-1.12-r1//gsl-1.12/multifit/.libs/libgslmultifit.a differ
        Binary files angstrom-dev/work/armv7a-angstrom-linux-gnueabi/gsl-1.12-r0//gsl-1.12/multimin/.libs/libgslmultimin.a and /tmp/gsl-1.12-r1//gsl-1.12/multimin/.libs/libgslmultimin.a differ
        Binary files angstrom-dev/work/armv7a-angstrom-linux-gnueabi/gsl-1.12-r0//gsl-1.12/multiroots/.libs/libgslmultiroots.a and /tmp/gsl-1.12-r1//gsl-1.12/multiroots/.libs/libgslmultiroots.a differ
        Binary files angstrom-dev/work/armv7a-angstrom-linux-gnueabi/gsl-1.12-r0//gsl-1.12/ntuple/.libs/libgslntuple.a and /tmp/gsl-1.12-r1//gsl-1.12/ntuple/.libs/libgslntuple.a differ
        Binary files angstrom-dev/work/armv7a-angstrom-linux-gnueabi/gsl-1.12-r0//gsl-1.12/ode-initval/.libs/libgslodeiv.a and /tmp/gsl-1.12-r1//gsl-1.12/ode-initval/.libs/libgslodeiv.a differ
        Binary files angstrom-dev/work/armv7a-angstrom-linux-gnueabi/gsl-1.12-r0//gsl-1.12/permutation/.libs/libgslpermutation.a and /tmp/gsl-1.12-r1//gsl-1.12/permutation/.libs/libgslpermutation.a differ
        Binary files angstrom-dev/work/armv7a-angstrom-linux-gnueabi/gsl-1.12-r0//gsl-1.12/poly/.libs/libgslpoly.a and /tmp/gsl-1.12-r1//gsl-1.12/poly/.libs/libgslpoly.a differ
        Binary files angstrom-dev/work/armv7a-angstrom-linux-gnueabi/gsl-1.12-r0//gsl-1.12/qrng/.libs/libgslqrng.a and /tmp/gsl-1.12-r1//gsl-1.12/qrng/.libs/libgslqrng.a differ
        Binary files angstrom-dev/work/armv7a-angstrom-linux-gnueabi/gsl-1.12-r0//gsl-1.12/randist/.libs/libgslrandist.a and /tmp/gsl-1.12-r1//gsl-1.12/randist/.libs/libgslrandist.a differ
        Binary files angstrom-dev/work/armv7a-angstrom-linux-gnueabi/gsl-1.12-r0//gsl-1.12/rng/.libs/libgslrng.a and /tmp/gsl-1.12-r1//gsl-1.12/rng/.libs/libgslrng.a differ
        Binary files angstrom-dev/work/armv7a-angstrom-linux-gnueabi/gsl-1.12-r0//gsl-1.12/roots/.libs/libgslroots.a and /tmp/gsl-1.12-r1//gsl-1.12/roots/.libs/libgslroots.a differ
        Binary files angstrom-dev/work/armv7a-angstrom-linux-gnueabi/gsl-1.12-r0//gsl-1.12/siman/.libs/libgslsiman.a and /tmp/gsl-1.12-r1//gsl-1.12/siman/.libs/libgslsiman.a differ
        Binary files angstrom-dev/work/armv7a-angstrom-linux-gnueabi/gsl-1.12-r0//gsl-1.12/sort/.libs/libgslsort.a and /tmp/gsl-1.12-r1//gsl-1.12/sort/.libs/libgslsort.a differ
        Binary files angstrom-dev/work/armv7a-angstrom-linux-gnueabi/gsl-1.12-r0//gsl-1.12/specfunc/.libs/libgslspecfunc.a and /tmp/gsl-1.12-r1//gsl-1.12/specfunc/.libs/libgslspecfunc.a differ
        Binary files angstrom-dev/work/armv7a-angstrom-linux-gnueabi/gsl-1.12-r0//gsl-1.12/statistics/.libs/libgslstatistics.a and /tmp/gsl-1.12-r1//gsl-1.12/statistics/.libs/libgslstatistics.a differ
        Binary files angstrom-dev/work/armv7a-angstrom-linux-gnueabi/gsl-1.12-r0//gsl-1.12/sum/.libs/libgslsum.a and /tmp/gsl-1.12-r1//gsl-1.12/sum/.libs/libgslsum.a differ
        Binary files angstrom-dev/work/armv7a-angstrom-linux-gnueabi/gsl-1.12-r0//gsl-1.12/sys/.libs/libgslsys.a and /tmp/gsl-1.12-r1//gsl-1.12/sys/.libs/libgslsys.a differ
        Binary files angstrom-dev/work/armv7a-angstrom-linux-gnueabi/gsl-1.12-r0//gsl-1.12/test/.libs/libgsltest.a and /tmp/gsl-1.12-r1//gsl-1.12/test/.libs/libgsltest.a differ
        Binary files angstrom-dev/work/armv7a-angstrom-linux-gnueabi/gsl-1.12-r0//gsl-1.12/utils/.libs/libutils.a and /tmp/gsl-1.12-r1//gsl-1.12/utils/.libs/libutils.a differ
        Binary files angstrom-dev/work/armv7a-angstrom-linux-gnueabi/gsl-1.12-r0//gsl-1.12/vector/.libs/libgslvector.a and /tmp/gsl-1.12-r1//gsl-1.12/vector/.libs/libgslvector.a differ
        Binary files angstrom-dev/work/armv7a-angstrom-linux-gnueabi/gsl-1.12-r0//gsl-1.12/wavelet/.libs/libgslwavelet.a and /tmp/gsl-1.12-r1//gsl-1.12/wavelet/.libs/libgslwavelet.a differ
        Binary files angstrom-dev/work/armv7a-angstrom-linux-gnueabi/gsl-1.12-r0//image/usr/lib/libgsl.a and /tmp/gsl-1.12-r1//image/usr/lib/libgsl.a differ
        Binary files angstrom-dev/work/armv7a-angstrom-linux-gnueabi/gsl-1.12-r0//image/usr/lib/libgslcblas.a and /tmp/gsl-1.12-r1//image/usr/lib/libgslcblas.a differ
        Binary files angstrom-dev/work/armv7a-angstrom-linux-gnueabi/gsl-1.12-r0//package/usr/lib/libgsl.a and /tmp/gsl-1.12-r1//package/usr/lib/libgsl.a differ
        Binary files angstrom-dev/work/armv7a-angstrom-linux-gnueabi/gsl-1.12-r0//package/usr/lib/libgslcblas.a and /tmp/gsl-1.12-r1//package/usr/lib/libgslcblas.a differ
        Binary files angstrom-dev/work/armv7a-angstrom-linux-gnueabi/gsl-1.12-r0//packages-split/gsl-static/usr/lib/libgsl.a and /tmp/gsl-1.12-r1//packages-split/gsl-static/usr/lib/libgsl.a differ
        Binary files angstrom-dev/work/armv7a-angstrom-linux-gnueabi/gsl-1.12-r0//packages-split/gsl-static/usr/lib/libgslcblas.a and /tmp/gsl-1.12-r1//packages-split/gsl-static/usr/lib/libgslcblas.a differ
        Binary files angstrom-dev/work/armv7a-angstrom-linux-gnueabi/gsl-1.12-r0//staging-pkg/deploy/eglibc/ipk/armv7a/gsl-dbg_1.12-r0.9_armv7a.ipk and /tmp/gsl-1.12-r1//staging-pkg/deploy/eglibc/ipk/armv7a/gsl-dbg_1.12-r0.9_armv7a.ipk differ
        Binary files angstrom-dev/work/armv7a-angstrom-linux-gnueabi/gsl-1.12-r0//staging-pkg/deploy/eglibc/ipk/armv7a/gsl-dev_1.12-r0.9_armv7a.ipk and /tmp/gsl-1.12-r1//staging-pkg/deploy/eglibc/ipk/armv7a/gsl-dev_1.12-r0.9_armv7a.ipk differ
        Binary files angstrom-dev/work/armv7a-angstrom-linux-gnueabi/gsl-1.12-r0//staging-pkg/deploy/eglibc/ipk/armv7a/gsl-doc_1.12-r0.9_armv7a.ipk and /tmp/gsl-1.12-r1//staging-pkg/deploy/eglibc/ipk/armv7a/gsl-doc_1.12-r0.9_armv7a.ipk differ
        Binary files angstrom-dev/work/armv7a-angstrom-linux-gnueabi/gsl-1.12-r0//staging-pkg/deploy/eglibc/ipk/armv7a/gsl-static_1.12-r0.9_armv7a.ipk and /tmp/gsl-1.12-r1//staging-pkg/deploy/eglibc/ipk/armv7a/gsl-static_1.12-r0.9_armv7a.ipk differ
        Binary files angstrom-dev/work/armv7a-angstrom-linux-gnueabi/gsl-1.12-r0//staging-pkg/deploy/eglibc/ipk/armv7a/gsl_1.12-r0.9_armv7a.ipk and /tmp/gsl-1.12-r1//staging-pkg/deploy/eglibc/ipk/armv7a/gsl_1.12-r0.9_armv7a.ipk differ
        Binary files angstrom-dev/work/armv7a-angstrom-linux-gnueabi/gsl-1.12-r0//staging-pkg/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib/libgsl.a and /tmp/gsl-1.12-r1//staging-pkg/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib/libgsl.a differ
        Binary files angstrom-dev/work/armv7a-angstrom-linux-gnueabi/gsl-1.12-r0//staging-pkg/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib/libgslcblas.a and /tmp/gsl-1.12-r1//staging-pkg/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib/libgslcblas.a differ

Andreas approved this patch already but I am posting this here for completeness.

Thanks,

Paul

Quoted 29 lines
Quoted 29 lines
---
 recipes/gsl/gsl.inc |   11 +----------
 1 files changed, 1 insertions(+), 10 deletions(-)
recipes/gsl/gsl.inc +1 -10
index bc4865c..10bacc5 100644
@@ -3,17 +3,8 @@ HOMEPAGE = "http://www.gnu.org/software/gsl/"
 SECTION = "libs"
 PRIORITY = "optional"
 LICENSE = "GPL"
-PR = "r0"
+PR = "r1"
 
 inherit autotools pkgconfig binconfig
 
 LEAD_SONAME = "libgsl.so"
-
-do_stage() {
-	oe_runmake DESTDIR=${S}/.install install
-	oe_libinstall -so -C cblas/.libs/ libgslcblas ${STAGING_LIBDIR}
-	oe_libinstall -so -C .libs/ libgsl ${STAGING_LIBDIR}
-
-	install -d ${STAGING_INCDIR}/gsl
-	install -m 0644 .install${includedir}/gsl/* ${STAGING_INCDIR}/gsl
-}
Signature · 1 line
1.7.2.3
Acked-by on v1 1/1
#3 lore raw
In reply to Paul Menzel
Quoted 21 lines · Paul Menzel

Date: Fri, 19 Nov 2010 17:33:00 +0100

Inkscape fails to build after commit c2c8fe [1] with the following error.

    | checking for CAIRO_USER_FONTS... yes
    | checking for INKSCAPE... configure: error: Package requirements (gdkmm-2.4  glibmm-2.4 giomm-2.4 gtkmm-2.4 >= 2.10.0  gtk+-2.0  libxml-2.0 >= 2.6.11  libxslt >= 1.0.15  cairo  sigc++-2.0 >= 2.0.12    gthread-2.0 >= 2.0 libpng >= 1.2 gsl) were not met:
    |
    | No package 'gsl' found
    |
    | Consider adjusting the PKG_CONFIG_PATH environment variable if you
    | installed software in a non-standard prefix.
    |
    | Alternatively, you may set the environment variables INKSCAPE_CFLAGS
    | and INKSCAPE_LIBS to avoid the need to call pkg-config.
    | See the pkg-config man page for more details.
    |
    | ERROR: Function do_configure failed

NOTE: package inkscape-0.48.0-r0: task do_configure: Failed
ERROR: TaskFailed event exception, aborting
ERROR: Build of /home/paul/oe/openembedded/recipes/inkscape/inkscape_0.48.0.bb do_configure failed

Quoted 8 lines

Removing do_stage fixes building inkscape_0.48.0.bb with angstrom-2008.1, angstrom-2010.x and minimal for MACHINE = "beagleboard".

[1] http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=c2c8fe4c5629add94bd0b922f5b3446624a9f4d8

---
Please note, that I did not test the removal of this function any further, that means I did not compare the package contents before and after, and do not know about the implications. If someone more knowledgeable could check that, it would be very much appreciated.
---