Skip to contentSkip to conversation

Koen Kooi : abiword: update to 2.8.6

oe-commits Superseded Martin Jansa 2 participants 5 messages Nov 23, 2011 – Nov 24, 2011 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

With 2.8.6 I get

| make[3]: Entering directory `/OE/shr-core/tmp/work/armv7a-vfp-neon-oe-linux-gnueabi/abiword-2.8.6-r0/abiword-2.8.6/src'
| /bin/sh ../arm-oe-linux-gnueabi-libtool --tag=CXX --mode=link
arm-oe-linux-gnueabi-g++ -march=armv7-a -fno-tree-vectorize
-mthumb-interwork -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a8 --sysroot=/OE/shr-core/tmp/sysroots/nokia900 -O2 -pipe -g -feliminate-unused-debug-types -fpermissive
-fvisibility-inlines-hidden --no-undefined -avoid-version
-export-dynamic -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -o
abiword abiword-UnixMain.o libabiword-2.8.la -pthread -lfribidi -lwv
-lpng -lgsf-1 -lxml2 -lenchant -lz -lgtk-x11-2.0 -lgdk-x11-2.0
-latk-1.0 -lpangoft2-1.0 -lpangocairo-1.0 -lpango-1.0 -lfreetype
-lfontconfig -lrsvg-2 -lm -lgio-2.0 -lgdk_pixbuf-2.0 -lcairo
-lgmodule-2.0 -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0 -ljpeg
| arm-oe-linux-gnueabi-libtool: link: arm-oe-linux-gnueabi-g++
-march=armv7-a -fno-tree-vectorize -mthumb-interwork
-mfloat-abi=softfp -mfpu=neon -mtune=cortex-a8 --sysroot=/OE/shr-core/tmp/sysroots/nokia900 -O2 -pipe -g -feliminate-unused-debug-types -fpermissive
-fvisibility-inlines-hidden --no-undefined -Wl,-O1
-Wl,--hash-style=gnu -Wl,--as-needed -o .libs/abiword
abiword-UnixMain.o -pthread -Wl,--export-dynamic
./.libs/libabiword-2.8.so -L=/usr/lib /OE/shr-core/tmp/sysroots/nokia900/usr/lib/libfribidi.so /OE/shr-core/tmp/sysroots/nokia900/usr/lib/libwv.so /OE/shr-core/tmp/sysroots/nokia900/usr/lib/libgsf-1.so /OE/shr-core/tmp/sysroots/nokia900/usr/lib/libbz2.so /OE/shr-core/tmp/sysroots/nokia900/usr/lib/libenchant.so /OE/shr-core/tmp/sysroots/nokia900/usr/lib/libgtk-x11-2.0.so /OE/shr-core/tmp/sysroots/nokia900/usr/lib/libgdk-x11-2.0.so /OE/shr-core/tmp/sysroots/nokia900/usr/lib/libatk-1.0.so /OE/shr-core/tmp/sysroots/nokia900/usr/lib/librsvg-2.so /OE/shr-core/tmp/sysroots/nokia900/usr/lib/libxml2.so /OE/shr-core/tmp/sysroots/nokia900/usr/lib/libpangocairo-1.0.so /OE/shr-core/tmp/sysroots/nokia900/usr/lib/libpangoft2-1.0.so /OE/shr-core/tmp/sysroots/nokia900/usr/lib/libstdc++.so /OE/shr-core/tmp/sysroots/nokia900/usr/lib/libpango-1.0.so /OE/shr-core/tmp/sysroots/nokia900/usr/lib/libgdk_pixbuf-2.0.so /OE/shr-core/tmp/sysroots/nokia900/usr/lib/libgio-2.0.so -lresolv /OE/shr-core/tmp/sysroots/nokia900/usr/lib/libcairo.so /OE/shr-core/tmp/sysroots/nokia900/usr/lib/libpixman-1.so /OE/shr-core/tmp/sysroots/nokia900/usr/lib/libfontconfig.so /OE/shr-core/tmp/sysroots/nokia900/usr/lib/libexpat.so /OE/shr-core/tmp/sysroots/nokia900/usr/lib/libfreetype.so /OE/shr-core/tmp/sysroots/nokia900/usr/lib/libpng12.so /OE/shr-core/tmp/sysroots/nokia900/usr/lib/libXrender.so /OE/shr-core/tmp/sysroots/nokia900/usr/lib/libX11.so /OE/shr-core/tmp/sysroots/nokia900/usr/lib/libxcb.so /OE/shr-core/tmp/sysroots/nokia900/usr/lib/libXau.so /OE/shr-core/tmp/sysroots/nokia900/usr/lib/libXdmcp.so /OE/shr-core/tmp/sysroots/nokia900/usr/lib/libERROR: Function
'do_compile' failed (see /OE/shr-core/tmp/work/armv7a-vfp-neon-oe-linux-gnueabi/abiword-2.8.6-r0/temp/log.do_compile.10916 for further information)
| z.so -lm /OE/shr-core/tmp/sysroots/nokia900/usr/lib/libgmodule-2.0.so
-ldl /OE/shr-core/tmp/sysroots/nokia900/usr/lib/libgobject-2.0.so /OE/shr-core/tmp/sysroots/nokia900/usr/lib/libffi.so /OE/shr-core/tmp/sysroots/nokia900/usr/lib/libgthread-2.0.so -lpthread /OE/shr-core/tmp/sysroots/nokia900/usr/lib/libglib-2.0.so -lrt /OE/shr-core/tmp/sysroots/nokia900/usr/lib/libjpeg.so -pthread

| arm-oe-linux-gnueabi-g++: error: unrecognized option '--no-undefined'
| make[3]: *** [abiword] Error 1
| make[3]: Leaving directory

`/OE/shr-core/tmp/work/armv7a-vfp-neon-oe-linux-gnueabi/abiword-2.8.6-r0/abiword-2.8.6/src'

Anyone seen this? Looks like missing -Wl, but I didn't look into it from where I get it.

Maybe it's related to
http://lists.gnu.org/archive/html/libtool/2011-03/msg00015.html and commiter didn't see it because is using gcc-4.5.

Regards,

Quoted 31 lines · On Mon, Nov 21, 2011 at 2:18 PM, <[email protected]> wrote:

Module: meta-openembedded.git
Branch: master
Commit: dea4a2dce2d247dcc9f6233e195b8497039f8547
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=dea4a2dce2d247dcc9f6233e195b8497039f8547

Author: Koen Kooi <[email protected]>
Date:   Mon Nov 21 14:15:59 2011 +0100

abiword: update to 2.8.6

---

 .../abiword/abiword-2.5/fix.double.install.patch   |   34 ----------- .../abiword/abiword-embedded_2.5.2.bb              |   12 ---- .../abiword/abiword/abiword-cxx-for-ld-fix.patch   |   12 ++++ .../abiword/abiword/autogen-common.sh              |   28 +++++++++ meta-gnome/recipes-gnome/abiword/abiword/cdump.pl  |   32 +++++++++++ .../recipes-gnome/abiword/abiword/nodolt.patch     |   12 ++++ meta-gnome/recipes-gnome/abiword/abiword_2.5.2.bb  |    5 -- meta-gnome/recipes-gnome/abiword/abiword_2.8.6.bb  |   59 ++++++++++++++++++++

 8 files changed, 143 insertions(+), 51 deletions(-)

Diff:   http://git.openembedded.org/?p=meta-openembedded.git/?a=commitdiff;h=dea4a2dce2d247dcc9f6233e195b8497039f8547

_______________________________________________
Openembedded-commits mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-commits

#2 lore raw

PATCH 1/1 abiword: fix no-undefined param

---
 .../abiword/abiword/fix.no.undefined.param.patch   |   30 ++++++++++++++++++++
 meta-gnome/recipes-gnome/abiword/abiword_2.8.6.bb  |    5 ++-
 2 files changed, 34 insertions(+), 1 deletions(-)
 create mode 100644 meta-gnome/recipes-gnome/abiword/abiword/fix.no.undefined.param.patch
meta-gnome/recipes-gnome/abiword/abiword/fix.no.undefined.param.patch new file +30 -0
new file mode 100644
index 0000000..954b50d
@@ -0,0 +1,30 @@
+diff -uNr abiword-2.8.6.orig/src/Makefile.am abiword-2.8.6/src/Makefile.am
+--- abiword-2.8.6.orig/src/Makefile.am	2009-09-09 15:11:01.000000000 +0200
++++ abiword-2.8.6/src/Makefile.am	2011-11-23 09:06:06.000000000 +0100
+@@ -44,7 +44,7 @@
+ 
+ libabiword_2_8_la_LDFLAGS = \
+ 	$(DEPS_LIBS) \
+-	--no-undefined \
++	-no-undefined \
+ 	-avoid-version \
+ 	-export-dynamic
+ 
+@@ -107,7 +107,7 @@
+ 
+ AbiWord_LDFLAGS = \
+ 	$(DEPS_LIBS) \
+-	--no-undefined \
++	-no-undefined \
+ 	-avoid-version \
+ 	-export-dynamic \
+ 	-headerpad_max_install_names 
+@@ -129,7 +129,7 @@
+ 
+ abiword_LDFLAGS = \
+ 	$(platform_ldflags) \
+-	--no-undefined      \
++	-no-undefined      \
+ 	-avoid-version      \
+ 	-export-dynamic
+ 
meta-gnome/recipes-gnome/abiword/abiword_2.8.6.bb +4 -1
index 1746769..2d0ec97 100644
@@ -2,9 +2,12 @@ require abiword-2.5.inc
 DEPENDS += " loudmouth libwmf-native gtkmathview asio"
 RCONFLICTS_${PN} = "abiword-embedded"
 
+PR = "r1"
+
 SRC_URI = "http://www.abisource.com/downloads/abiword/${PV}/source/abiword-${PV}.tar.gz;name=abiword \
            file://autogen-common.sh \
-           file://nodolt.patch"
+           file://nodolt.patch \
+           file://fix.no.undefined.param.patch"
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=ecd3ac329fca77e2d0e412bec38e1c20"
 
Signature · 1 line
1.7.8.rc3
#3 lore raw

Re: [PATCH] abiword: fix no-undefined param

In reply to Martin Jansa
Quoted 59 lines · Martin Jansa

---
 .../abiword/abiword/fix.no.undefined.param.patch   |   30 ++++++++++++++++++++ meta-gnome/recipes-gnome/abiword/abiword_2.8.6.bb  |    5 ++-

 2 files changed, 34 insertions(+), 1 deletions(-)

 create mode 100644 meta-gnome/recipes-gnome/abiword/abiword/fix.no.undefined.param.patch

meta-gnome/recipes-gnome/abiword/abiword/fix.no.undefined.param.patch new file +30 -0
new file mode 100644
index 0000000..954b50d
@@ -0,0 +1,30 @@
+diff -uNr abiword-2.8.6.orig/src/Makefile.am abiword-2.8.6/src/Makefile.am
+--- abiword-2.8.6.orig/src/Makefile.am 2009-09-09 15:11:01.000000000 +0200
++++ abiword-2.8.6/src/Makefile.am      2011-11-23 09:06:06.000000000 +0100
+@@ -44,7 +44,7 @@
+
+ libabiword_2_8_la_LDFLAGS = \
+       $(DEPS_LIBS) \
+-      --no-undefined \
++      -no-undefined \
+       -avoid-version \
+       -export-dynamic
+
+@@ -107,7 +107,7 @@
+
+ AbiWord_LDFLAGS = \
+       $(DEPS_LIBS) \
+-      --no-undefined \
++      -no-undefined \
+       -avoid-version \
+       -export-dynamic \
+       -headerpad_max_install_names
+@@ -129,7 +129,7 @@
+
+ abiword_LDFLAGS = \
+       $(platform_ldflags) \
+-      --no-undefined      \
++      -no-undefined      \
+       -avoid-version      \
+       -export-dynamic
+
meta-gnome/recipes-gnome/abiword/abiword_2.8.6.bb +0 -0
index 1746769..2d0ec97 100644
@@ -2,9 +2,12 @@ require abiword-2.5.inc

 DEPENDS += " loudmouth libwmf-native gtkmathview asio" RCONFLICTS_${PN} = "abiword-embedded"

meta-gnome/recipes-gnome/abiword/abiword_2.8.6.bb +2 -0
+PR = "r1"
+

 SRC_URI = "http://www.abisource.com/downloads/abiword/${PV}/source/abiword-${PV}.tar.gz;name=abiword \
           file://autogen-common.sh \
-           file://nodolt.patch"
+           file://nodolt.patch \
+           file://fix.no.undefined.param.patch"

Quoted 2 lines

 LIC_FILES_CHKSUM = "file://COPYING;md5=ecd3ac329fca77e2d0e412bec38e1c20"

while the content of this patch is ok it would be nice to have patch header e.g. is this patch needed upstream or is it
a backport and some history that you shared in other email would make sense to have that as commit comment

#4 lore raw

PATCH v2 1/1 abiword: fix no-undefined param

---
 .../abiword/abiword/fix.no.undefined.param.patch   |  104 ++++++++++++++++++++
 meta-gnome/recipes-gnome/abiword/abiword_2.8.6.bb  |    5 +-
 2 files changed, 108 insertions(+), 1 deletions(-)
 create mode 100644 meta-gnome/recipes-gnome/abiword/abiword/fix.no.undefined.param.patch
meta-gnome/recipes-gnome/abiword/abiword/fix.no.undefined.param.patch new file +104 -0
new file mode 100644
index 0000000..aaccf09
@@ -0,0 +1,104 @@
+| make[3]: Entering directory
+`/OE/shr-core/tmp/work/armv7a-vfp-neon-oe-linux-gnueabi/abiword-2.8.6-r0/abiword-2.8.6/src'
+| /bin/sh ../arm-oe-linux-gnueabi-libtool --tag=CXX   --mode=link
+arm-oe-linux-gnueabi-g++  -march=armv7-a -fno-tree-vectorize
+-mthumb-interwork -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a8
+--sysroot=/OE/shr-core/tmp/sysroots/nokia900  -O2 -pipe -g
+-feliminate-unused-debug-types -fpermissive
+-fvisibility-inlines-hidden  --no-undefined -avoid-version
+-export-dynamic -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -o
+abiword abiword-UnixMain.o libabiword-2.8.la  -pthread -lfribidi -lwv
+-lpng -lgsf-1 -lxml2 -lenchant -lz -lgtk-x11-2.0 -lgdk-x11-2.0
+-latk-1.0 -lpangoft2-1.0 -lpangocairo-1.0 -lpango-1.0 -lfreetype
+-lfontconfig -lrsvg-2 -lm -lgio-2.0 -lgdk_pixbuf-2.0 -lcairo
+-lgmodule-2.0 -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0   -ljpeg
+| arm-oe-linux-gnueabi-libtool: link: arm-oe-linux-gnueabi-g++
+-march=armv7-a -fno-tree-vectorize -mthumb-interwork
+-mfloat-abi=softfp -mfpu=neon -mtune=cortex-a8
+--sysroot=/OE/shr-core/tmp/sysroots/nokia900 -O2 -pipe -g
+-feliminate-unused-debug-types -fpermissive
+-fvisibility-inlines-hidden --no-undefined -Wl,-O1
+-Wl,--hash-style=gnu -Wl,--as-needed -o .libs/abiword
+abiword-UnixMain.o -pthread -Wl,--export-dynamic
+./.libs/libabiword-2.8.so -L=/usr/lib
+/OE/shr-core/tmp/sysroots/nokia900/usr/lib/libfribidi.so
+/OE/shr-core/tmp/sysroots/nokia900/usr/lib/libwv.so
+/OE/shr-core/tmp/sysroots/nokia900/usr/lib/libgsf-1.so
+/OE/shr-core/tmp/sysroots/nokia900/usr/lib/libbz2.so
+/OE/shr-core/tmp/sysroots/nokia900/usr/lib/libenchant.so
+/OE/shr-core/tmp/sysroots/nokia900/usr/lib/libgtk-x11-2.0.so
+/OE/shr-core/tmp/sysroots/nokia900/usr/lib/libgdk-x11-2.0.so
+/OE/shr-core/tmp/sysroots/nokia900/usr/lib/libatk-1.0.so
+/OE/shr-core/tmp/sysroots/nokia900/usr/lib/librsvg-2.so
+/OE/shr-core/tmp/sysroots/nokia900/usr/lib/libxml2.so
+/OE/shr-core/tmp/sysroots/nokia900/usr/lib/libpangocairo-1.0.so
+/OE/shr-core/tmp/sysroots/nokia900/usr/lib/libpangoft2-1.0.so
+/OE/shr-core/tmp/sysroots/nokia900/usr/lib/libstdc++.so
+/OE/shr-core/tmp/sysroots/nokia900/usr/lib/libpango-1.0.so
+/OE/shr-core/tmp/sysroots/nokia900/usr/lib/libgdk_pixbuf-2.0.so
+/OE/shr-core/tmp/sysroots/nokia900/usr/lib/libgio-2.0.so -lresolv
+/OE/shr-core/tmp/sysroots/nokia900/usr/lib/libcairo.so
+/OE/shr-core/tmp/sysroots/nokia900/usr/lib/libpixman-1.so
+/OE/shr-core/tmp/sysroots/nokia900/usr/lib/libfontconfig.so
+/OE/shr-core/tmp/sysroots/nokia900/usr/lib/libexpat.so
+/OE/shr-core/tmp/sysroots/nokia900/usr/lib/libfreetype.so
+/OE/shr-core/tmp/sysroots/nokia900/usr/lib/libpng12.so
+/OE/shr-core/tmp/sysroots/nokia900/usr/lib/libXrender.so
+/OE/shr-core/tmp/sysroots/nokia900/usr/lib/libX11.so
+/OE/shr-core/tmp/sysroots/nokia900/usr/lib/libxcb.so
+/OE/shr-core/tmp/sysroots/nokia900/usr/lib/libXau.so
+/OE/shr-core/tmp/sysroots/nokia900/usr/lib/libXdmcp.so
+/OE/shr-core/tmp/sysroots/nokia900/usr/lib/libERROR: Function
+'do_compile' failed (see
+/OE/shr-core/tmp/work/armv7a-vfp-neon-oe-linux-gnueabi/abiword-2.8.6-r0/temp/log.do_compile.10916
+for further information)
+| z.so -lm /OE/shr-core/tmp/sysroots/nokia900/usr/lib/libgmodule-2.0.so
+-ldl /OE/shr-core/tmp/sysroots/nokia900/usr/lib/libgobject-2.0.so
+/OE/shr-core/tmp/sysroots/nokia900/usr/lib/libffi.so
+/OE/shr-core/tmp/sysroots/nokia900/usr/lib/libgthread-2.0.so -lpthread
+/OE/shr-core/tmp/sysroots/nokia900/usr/lib/libglib-2.0.so -lrt
+/OE/shr-core/tmp/sysroots/nokia900/usr/lib/libjpeg.so -pthread
+| arm-oe-linux-gnueabi-g++: error: unrecognized option '--no-undefined'
+| make[3]: *** [abiword] Error 1
+| make[3]: Leaving directory
+`/OE/shr-core/tmp/work/armv7a-vfp-neon-oe-linux-gnueabi/abiword-2.8.6-r0/abiword-2.8.6/src'
+
+Maybe it's related to
+http://lists.gnu.org/archive/html/libtool/2011-03/msg00015.html
+
+Remove extra '-' in no-undefined.
+
+Upstream-Status: Pending
+
+Signed-off-by: Martin Jansa <[email protected]>
+
+diff -uNr abiword-2.8.6.orig/src/Makefile.am abiword-2.8.6/src/Makefile.am
+--- abiword-2.8.6.orig/src/Makefile.am	2009-09-09 15:11:01.000000000 +0200
++++ abiword-2.8.6/src/Makefile.am	2011-11-23 09:06:06.000000000 +0100
+@@ -44,7 +44,7 @@
+ 
+ libabiword_2_8_la_LDFLAGS = \
+ 	$(DEPS_LIBS) \
+-	--no-undefined \
++	-no-undefined \
+ 	-avoid-version \
+ 	-export-dynamic
+ 
+@@ -107,7 +107,7 @@
+ 
+ AbiWord_LDFLAGS = \
+ 	$(DEPS_LIBS) \
+-	--no-undefined \
++	-no-undefined \
+ 	-avoid-version \
+ 	-export-dynamic \
+ 	-headerpad_max_install_names 
+@@ -129,7 +129,7 @@
+ 
+ abiword_LDFLAGS = \
+ 	$(platform_ldflags) \
+-	--no-undefined      \
++	-no-undefined      \
+ 	-avoid-version      \
+ 	-export-dynamic
+ 
meta-gnome/recipes-gnome/abiword/abiword_2.8.6.bb +4 -1
index 1746769..2d0ec97 100644
@@ -2,9 +2,12 @@ require abiword-2.5.inc
 DEPENDS += " loudmouth libwmf-native gtkmathview asio"
 RCONFLICTS_${PN} = "abiword-embedded"
 
+PR = "r1"
+
 SRC_URI = "http://www.abisource.com/downloads/abiword/${PV}/source/abiword-${PV}.tar.gz;name=abiword \
            file://autogen-common.sh \
-           file://nodolt.patch"
+           file://nodolt.patch \
+           file://fix.no.undefined.param.patch"
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=ecd3ac329fca77e2d0e412bec38e1c20"
 
Signature · 1 line
1.7.8.rc3