postgresql: Fix redundant rpath for '/usr/lib'
PATCH 1/2 postgresql: Fix redundant rpath for '/usr/lib'
This patch fixes the following QA issue:
,----[ Fragment of build error log ]
| ... | ERROR: QA Issue: postgresql-client: | /work/.../usr/bin/pg_dumpall contains probably-redundant | RPATH /usr/lib | ...
`----
Signed-off-by Otavio Salvador <[email protected]>
Reported-by Nathan West <[email protected]>
Reported-by Rogerio Pimentel <[email protected]>
--- meta-oe/recipes-support/postgresql/postgresql.inc | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-)
meta-oe/recipes-support/postgresql/postgresql.inc +3 -2
@@ -2,7 +2,7 @@ DESCRIPTION = "PostgreSQL is a powerful, open source relational database system. HOMEPAGE = "http://www.postgresql.com" LICENSE = "BSD" DEPENDS = "zlib readline tzcode-native" -INC_PR = "r6" +INC_PR = "r7" ARM_INSTRUCTION_SET = "arm"
@@ -17,7 +17,8 @@ export LDFLAGS_SL = "${LDFLAGS}" inherit autotools pkgconfig -EXTRA_OECONF_sh4 = "--disable-spinlocks" +EXTRA_OECONF = "--disable-rpath" +EXTRA_OECONF_sh4 = "--disable-spinlocks --disable-rpath" do_compile_append() { cp /usr/sbin/zic ${S}/src/timezone/
Signature · 1 line
1.7.2.5
PATCH 2/2 postgresql: Fix packaging of static libraries
This patch fixes the following QA issue:
,----[ Fragment of build error log ]
| ... | ERROR: QA Issue: non -staticdev package contains static .a library: | libecpg-dev path '/work/.../packages-split/libecpg-dev/usr/lib/libpgtypes.a' | ...
`----
Signed-off-by Otavio Salvador <[email protected]>
--- meta-oe/recipes-support/postgresql/postgresql.inc | 22 +++++++++++++------- 1 files changed, 14 insertions(+), 8 deletions(-)
meta-oe/recipes-support/postgresql/postgresql.inc +14 -8
@@ -2,7 +2,7 @@ DESCRIPTION = "PostgreSQL is a powerful, open source relational database system. HOMEPAGE = "http://www.postgresql.com" LICENSE = "BSD" DEPENDS = "zlib readline tzcode-native" -INC_PR = "r7" +INC_PR = "r8" ARM_INSTRUCTION_SET = "arm"
@@ -52,20 +52,26 @@ FILES_${PN}-doc += "${prefix}/doc/" FILES_${PN}-timezone = "${datadir}/${PN}/timezone" FILES_${PN}-server-dev = "${includedir}/${PN}/server" -FILES_libecpg = "${libdir}/libecpg*.so.*" +FILES_libecpg = "${libdir}/libecpg*${SOLIBS}" FILES_libecpg-dbg = "${libdir}/.debug/libecpg*" -FILES_libecpg-dev = "${libdir}/libecpg*.a ${libdir}/libecpg*.so \ - ${libdir}/libpgtypes*.a ${libdir}/libpgtypes*.so \ +FILES_libecpg-dev = "${libdir}/libecpg*${SOLIBSDEV} \ + ${libdir}/libpgtypes*${SOLIBSDEV} \ ${includedir}/ecpg*.h ${includedir}/${PN}/ecpg*.h \ ${includedir}/pgtypes*.h ${includedir}/${PN}/informix \ ${includedir}/sql3types.h ${includedir}/sqlca.h" +FILES_libecpg-staticdev = "${libdir}/libecpg*.a" +SECTION_libecpg-staticdev = "devel" +RDEPENDS_libecpg-staticdev = "libecpg-dev (= ${EXTENDPKGV})" -FILES_libpq = "${libdir}/libpq*.so.*" +FILES_libpq = "${libdir}/libpq*${SOLIBS}" FILES_libpq-dbg = "${libdir}/.debug/libpq* ${libdir}/${PN}/pgxs/src/test/regress/.debug/*" -FILES_libpq-dev = "${libdir}/libpq*.a ${libdir}/libpq*.so ${libdir}/libpgport.a \ +FILES_libpq-dev = "${libdir}/libpq*${SOLIBSDEV} \ ${includedir}" +FILES_libpq-staticdev = "${libdir}/libpq*.a" +SECTION_libpq-staticdev = "devel" +RDEPENDS_libpq-staticdev = "libpq-dev (= ${EXTENDPKGV})" -FILES_libecpg-compat = "${libdir}/libecpg_compat*.so.*" +FILES_libecpg-compat = "${libdir}/libecpg_compat*${SOLIBS}" FILES_libecpg-compat-dbg = "${libdir}/.debug/libecpg_compat*" -FILES_libpgtypes = "${libdir}/libpgtypes*.so.*" +FILES_libpgtypes = "${libdir}/libpgtypes*${SOLIBS}" FILES_libpgtypes-dbg = "${libdir}/.debug/libpgtypes*"
Signature · 1 line
1.7.2.5