* [PATCH] postgresql-8.1.8 : fix configure @ 2010-08-26 21:29 Eric Bénard 2010-08-26 21:29 ` [PATCH] ncurses-5.7 : fix sdk build Eric Bénard 0 siblings, 1 reply; 9+ messages in thread From: Eric Bénard @ 2010-08-26 21:29 UTC (permalink / raw) To: openembedded-devel without this patch, using angstrom 2010.x on armv6 I actually get : | checking alignment of short... configure: error: cannot compute alignment of short, 77 | ERROR: Function do_configure failed NOTE: package postgresql-8.1.8-r4: task do_configure: Failed Signed-off-by: Eric Bénard <eric@eukrea.com> --- site/arm-common | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/site/arm-common b/site/arm-common index 20de8c5..1554c8f 100644 --- a/site/arm-common +++ b/site/arm-common @@ -166,6 +166,13 @@ ac_cv_pwrite=${ac_cv_pwrite=no} php_cv_lib_cookie_io_functions_use_off64_t=${php_cv_lib_cookie_io_functions_use_off64_t=yes} cv_php_mbstring_stdarg=${cv_php_mbstring_stdarg=yes} +# postgresql +pgac_cv_alignof_short=2 +pgac_cv_alignof_int=4 +pgac_cv_alignof_long=4 +pgac_cv_alignof_long_long_int=8 +pgac_cv_alignof_double=8 + # rsync rsync_cv_HAVE_BROKEN_LARGEFILE=${rsync_cv_HAVE_BROKEN_LARGEFILE=no} rsync_cv_HAVE_SOCKETPAIR=${rsync_cv_HAVE_SOCKETPAIR=yes} -- 1.6.3.3 ^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH] ncurses-5.7 : fix sdk build 2010-08-26 21:29 [PATCH] postgresql-8.1.8 : fix configure Eric Bénard @ 2010-08-26 21:29 ` Eric Bénard 2010-08-26 22:14 ` Tom Rini 0 siblings, 1 reply; 9+ messages in thread From: Eric Bénard @ 2010-08-26 21:29 UTC (permalink / raw) To: openembedded-devel ENABLE_WIDEC should also be false when building sdk like when building native (tested on ubuntu server 9.10) Signed-off-by: Eric Bénard <eric@eukrea.com> --- recipes/ncurses/ncurses_5.7.bb | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/recipes/ncurses/ncurses_5.7.bb b/recipes/ncurses/ncurses_5.7.bb index 57374ec..29c1674 100644 --- a/recipes/ncurses/ncurses_5.7.bb +++ b/recipes/ncurses/ncurses_5.7.bb @@ -4,7 +4,7 @@ LICENSE = "MIT" SECTION = "libs" PATCHDATE = "20100501" PKGV = "${PV}+${PATCHDATE}" -PR = "r11" +PR = "r12" DEPENDS = "ncurses-native unifdef-native" DEPENDS_virtclass-native = "unifdef-native" @@ -32,7 +32,7 @@ EXTRA_AUTORECONF = "-I m4" ENABLE_WIDEC = "true" # Build breaks on Ubuntu else :( ENABLE_WIDEC_virtclass-native = "false" - +ENABLE_WIDEC_virtclass-nativesdk = "false" # Override the function from the autotools class; ncurses requires a # patched autoconf213 to generate the configure script. This autoconf @@ -170,7 +170,7 @@ pkg_prerm_ncurses-tools () { fi } -BBCLASSEXTEND = "native sdk" +BBCLASSEXTEND = "native nativesdk" PACKAGES = " \ ncurses-dbg \ -- 1.6.3.3 ^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: [PATCH] ncurses-5.7 : fix sdk build 2010-08-26 21:29 ` [PATCH] ncurses-5.7 : fix sdk build Eric Bénard @ 2010-08-26 22:14 ` Tom Rini 2010-08-27 6:43 ` [PATCH v2] " Eric Bénard 2010-08-27 7:56 ` [PATCH] " Eric Bénard 0 siblings, 2 replies; 9+ messages in thread From: Tom Rini @ 2010-08-26 22:14 UTC (permalink / raw) To: openembedded-devel Eric Bénard wrote: > @@ -170,7 +170,7 @@ pkg_prerm_ncurses-tools () { > fi > } > > -BBCLASSEXTEND = "native sdk" > +BBCLASSEXTEND = "native nativesdk" Don't remove sdk from here, just add nativesdk. We haven't fully converted everything. -- Tom Rini Mentor Graphics Corporation ^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH v2] ncurses-5.7 : fix sdk build 2010-08-26 22:14 ` Tom Rini @ 2010-08-27 6:43 ` Eric Bénard 2010-08-27 7:56 ` [PATCH] " Eric Bénard 1 sibling, 0 replies; 9+ messages in thread From: Eric Bénard @ 2010-08-27 6:43 UTC (permalink / raw) To: openembedded-devel ENABLE_WIDEC should also be false when building sdk like when building native (tested on ubuntu server 9.10) Signed-off-by: Eric Bénard <eric@eukrea.com> --- v2 : keep sdk in BBCLASSEXTEND as suggested by Tom Rini recipes/ncurses/ncurses_5.7.bb | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/recipes/ncurses/ncurses_5.7.bb b/recipes/ncurses/ncurses_5.7.bb index 57374ec..2c41ec6 100644 --- a/recipes/ncurses/ncurses_5.7.bb +++ b/recipes/ncurses/ncurses_5.7.bb @@ -4,7 +4,7 @@ LICENSE = "MIT" SECTION = "libs" PATCHDATE = "20100501" PKGV = "${PV}+${PATCHDATE}" -PR = "r11" +PR = "r12" DEPENDS = "ncurses-native unifdef-native" DEPENDS_virtclass-native = "unifdef-native" @@ -32,7 +32,7 @@ EXTRA_AUTORECONF = "-I m4" ENABLE_WIDEC = "true" # Build breaks on Ubuntu else :( ENABLE_WIDEC_virtclass-native = "false" - +ENABLE_WIDEC_virtclass-nativesdk = "false" # Override the function from the autotools class; ncurses requires a # patched autoconf213 to generate the configure script. This autoconf @@ -170,7 +170,7 @@ pkg_prerm_ncurses-tools () { fi } -BBCLASSEXTEND = "native sdk" +BBCLASSEXTEND = "native nativesdk sdk" PACKAGES = " \ ncurses-dbg \ -- 1.6.3.3 ^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: [PATCH] ncurses-5.7 : fix sdk build 2010-08-26 22:14 ` Tom Rini 2010-08-27 6:43 ` [PATCH v2] " Eric Bénard @ 2010-08-27 7:56 ` Eric Bénard 2010-08-28 20:06 ` [PATCH 1/2] " Eric Bénard 1 sibling, 1 reply; 9+ messages in thread From: Eric Bénard @ 2010-08-27 7:56 UTC (permalink / raw) To: openembedded-devel Hi, Le 27/08/2010 00:14, Tom Rini a écrit : > Eric Bénard wrote: > >> @@ -170,7 +170,7 @@ pkg_prerm_ncurses-tools () { >> fi >> } >> >> -BBCLASSEXTEND = "native sdk" >> +BBCLASSEXTEND = "native nativesdk" > > Don't remove sdk from here, just add nativesdk. We haven't fully > converted everything. > in fact there is a problem when keeping sdk + nativesdk : ENABLE_WIDEC_virtclass-nativesdk = "false" is no more taken in account. _virtclass-sdk or _sdk or _${PN}-sdk are also not good overides. Do you have any idea how to fix this ? Eric ^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH 1/2] ncurses-5.7 : fix sdk build 2010-08-27 7:56 ` [PATCH] " Eric Bénard @ 2010-08-28 20:06 ` Eric Bénard 2010-08-28 20:06 ` [PATCH 2/2] sdk.bbclass: allow virtclass-sdk override Eric Bénard 2010-08-28 20:10 ` [PATCH 1/2] ncurses-5.7 : fix sdk build Eric Bénard 0 siblings, 2 replies; 9+ messages in thread From: Eric Bénard @ 2010-08-28 20:06 UTC (permalink / raw) To: openembedded-devel fix ncurses-sdk build (tested on ubuntu using angstrom 2010.x) Signed-off-by: Eric Bénard <eric@eukrea.com> --- recipes/ncurses/ncurses_5.7.bb | 29 ++++++++++++++--------------- 1 files changed, 14 insertions(+), 15 deletions(-) diff --git a/recipes/ncurses/ncurses_5.7.bb b/recipes/ncurses/ncurses_5.7.bb index 57374ec..eebeb63 100644 --- a/recipes/ncurses/ncurses_5.7.bb +++ b/recipes/ncurses/ncurses_5.7.bb @@ -4,7 +4,7 @@ LICENSE = "MIT" SECTION = "libs" PATCHDATE = "20100501" PKGV = "${PV}+${PATCHDATE}" -PR = "r11" +PR = "r12" DEPENDS = "ncurses-native unifdef-native" DEPENDS_virtclass-native = "unifdef-native" @@ -32,7 +32,7 @@ EXTRA_AUTORECONF = "-I m4" ENABLE_WIDEC = "true" # Build breaks on Ubuntu else :( ENABLE_WIDEC_virtclass-native = "false" - +ENABLE_WIDEC_virtclass-sdk = "false" # Override the function from the autotools class; ncurses requires a # patched autoconf213 to generate the configure script. This autoconf @@ -152,10 +152,10 @@ do_install() { python populate_packages_prepend () { libdir = bb.data.expand("${libdir}", d) - do_split_packages(d, libdir, '^lib(.*)\.so\..*', 'ncurses-lib%s', 'ncurses %s library', prepend=True, extra_depends = '', allow_links=True) + libname = bb.data.expand('${PN}-lib%s', d) + do_split_packages(d, libdir, '^lib(.*)\.so\..*', libname, 'ncurses %s library', prepend=True, extra_depends = '', allow_links=True) } - pkg_postinst_ncurses-tools () { if [ "${PN}" = "ncurses" ]; then update-alternatives --install ${bindir}/clear clear clear.${PN} 100 @@ -172,16 +172,15 @@ pkg_prerm_ncurses-tools () { BBCLASSEXTEND = "native sdk" -PACKAGES = " \ - ncurses-dbg \ - ncurses-dev \ - ncurses-doc \ - ncurses-tools \ - ncurses \ - ncurses-static \ - ncurses-terminfo \ +PACKAGES += " \ + ${PN}-tools \ + ${PN}-terminfo \ " -RSUGGESTS_${PN} = "ncurses-terminfo" + +RSUGGESTS_${PN} = "${PN}-terminfo" +RPROVIDES_${PN} = "libncurses5" +RCONFLICTS_${PN} = "libncurses5" +RREPLACES_${PN} = "libncurses5" FILES_${PN} = "\ ${bindir}/tput \ @@ -192,7 +191,7 @@ FILES_${PN} = "\ # This keeps only tput/tset in ncurses # clear/reset are in already busybox -FILES_ncurses-tools = "\ +FILES_${PN}-tools = "\ ${bindir}/tic \ ${bindir}/toe \ ${bindir}/infotocap \ @@ -204,6 +203,6 @@ FILES_ncurses-tools = "\ ${bindir}/tabs \ " -FILES_ncurses-terminfo = "\ +FILES_${PN}-terminfo = "\ ${datadir}/terminfo \ " -- 1.6.3.3 ^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH 2/2] sdk.bbclass: allow virtclass-sdk override 2010-08-28 20:06 ` [PATCH 1/2] " Eric Bénard @ 2010-08-28 20:06 ` Eric Bénard 2010-08-29 9:16 ` Khem Raj 2010-08-28 20:10 ` [PATCH 1/2] ncurses-5.7 : fix sdk build Eric Bénard 1 sibling, 1 reply; 9+ messages in thread From: Eric Bénard @ 2010-08-28 20:06 UTC (permalink / raw) To: openembedded-devel Signed-off-by: Eric Bénard <eric@eukrea.com> --- classes/sdk.bbclass | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/classes/sdk.bbclass b/classes/sdk.bbclass index 198d147..c8fa076 100644 --- a/classes/sdk.bbclass +++ b/classes/sdk.bbclass @@ -66,3 +66,5 @@ FILES_${PN}-dbg += "${prefix}/.debug \ " export PKG_CONFIG_SYSROOT_DIR = "${STAGING_DIR_HOST}" + +OVERRIDES .= ":virtclass-sdk" -- 1.6.3.3 ^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: [PATCH 2/2] sdk.bbclass: allow virtclass-sdk override 2010-08-28 20:06 ` [PATCH 2/2] sdk.bbclass: allow virtclass-sdk override Eric Bénard @ 2010-08-29 9:16 ` Khem Raj 0 siblings, 0 replies; 9+ messages in thread From: Khem Raj @ 2010-08-29 9:16 UTC (permalink / raw) To: openembedded-devel On Sat, Aug 28, 2010 at 1:06 PM, Eric Bénard <eric@eukrea.com> wrote: > Signed-off-by: Eric Bénard <eric@eukrea.com> Acked-by: Khem Raj <raj.khem@gmail.com> > --- > classes/sdk.bbclass | 2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > > diff --git a/classes/sdk.bbclass b/classes/sdk.bbclass > index 198d147..c8fa076 100644 > --- a/classes/sdk.bbclass > +++ b/classes/sdk.bbclass > @@ -66,3 +66,5 @@ FILES_${PN}-dbg += "${prefix}/.debug \ > " > > export PKG_CONFIG_SYSROOT_DIR = "${STAGING_DIR_HOST}" > + > +OVERRIDES .= ":virtclass-sdk" > -- > 1.6.3.3 > > > _______________________________________________ > Openembedded-devel mailing list > Openembedded-devel@lists.openembedded.org > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel > ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 1/2] ncurses-5.7 : fix sdk build 2010-08-28 20:06 ` [PATCH 1/2] " Eric Bénard 2010-08-28 20:06 ` [PATCH 2/2] sdk.bbclass: allow virtclass-sdk override Eric Bénard @ 2010-08-28 20:10 ` Eric Bénard 1 sibling, 0 replies; 9+ messages in thread From: Eric Bénard @ 2010-08-28 20:10 UTC (permalink / raw) To: openembedded-devel Le 28/08/2010 22:06, Eric Bénard a écrit : > fix ncurses-sdk build (tested on ubuntu using angstrom 2010.x) > forget it, there is still a problem with the splited packages for libraries. Eric ^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2010-08-29 9:17 UTC | newest] Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2010-08-26 21:29 [PATCH] postgresql-8.1.8 : fix configure Eric Bénard 2010-08-26 21:29 ` [PATCH] ncurses-5.7 : fix sdk build Eric Bénard 2010-08-26 22:14 ` Tom Rini 2010-08-27 6:43 ` [PATCH v2] " Eric Bénard 2010-08-27 7:56 ` [PATCH] " Eric Bénard 2010-08-28 20:06 ` [PATCH 1/2] " Eric Bénard 2010-08-28 20:06 ` [PATCH 2/2] sdk.bbclass: allow virtclass-sdk override Eric Bénard 2010-08-29 9:16 ` Khem Raj 2010-08-28 20:10 ` [PATCH 1/2] ncurses-5.7 : fix sdk build Eric Bénard
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.