Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 32337 - abiword-2.0.1 plugin fails to build
Summary: abiword-2.0.1 plugin fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on: 57680
Blocks:
  Show dependency tree
 
Reported: 2003-10-30 11:17 UTC by Seemant Kulleen (RETIRED)
Modified: 2004-08-19 17:37 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Give withval a sane default; patch is against 2.0.7 (abiword-2.0.7-psiconv.patch,607 bytes, patch)
2004-05-26 22:11 UTC, Alex Vandiver
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Seemant Kulleen (RETIRED) gentoo-dev 2003-10-30 11:17:23 UTC
g++ -DPACKAGE_NAME=\"abiword-plugins\" -DPACKAGE_TARNAME=\"abiword-plugins\" -DPACKAGE_VERSION=\"2.0.1\" "-DPACKAGE_STRING=\"abiword-plugins 2.0.1\"" -DPACKAGE_BUGREPORT=\"http://bugzilla.abisource.com/\" -DPACKAGE=\"abiword\" -DVERSION=\"2.0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBBZ2=1 -DTIME_WITH_SYS_TIME=1 -I. -I. -DNDEBUG -I/var/tmp/portage/abiword-2.0.1/work/abiword-2.0.1/abi/src/af/util/xp -I/var/tmp/portage/abiword-2.0.1/work/abiword-2.0.1/abi/src/af/util/unix -I/var/tmp/portage/abiword-2.0.1/work/abiword-2.0.1/abi/src/af/xap/xp -I/var/tmp/portage/abiword-2.0.1/work/abiword-2.0.1/abi/src/af/ev/xp -I/var/tmp/portage/abiword-2.0.1/work/abiword-2.0.1/abi/src/af/gr/xp -I/var/tmp/portage/abiword-2.0.1/work/abiword-2.0.1/abi/src/text/fmt/xp -I/var/tmp/portage/abiword-2.0.1/work/abiword-2.0.1/abi/src/text/ptbl/xp -I/var/tmp/portage/abiword-2.0.1/work/abiword-2.0.1/abi/src/wp/impexp/xp -I/var/tmp/portage/abiword-2.0.1/work/abiword-2.0.1/abi/src/wp/ap/xp -I/var/tmp/portage/abiword-2.0.1/work/abiword-2.0.1/abi/src/other/spell/xp -I/var/tmp/portage/abiword-2.0.1/work/abiword-2.0.1/abi/src/other/fribidi/xp -I/var/tmp/portage/abiword-2.0.1/work/abiword-2.0.1/abi/src/other/ttftool/unix -I/var/tmp/portage/abiword-2.0.1/work/abiword-2.0.1/abi/src/af/xap/unix -I/var/tmp/portage/abiword-2.0.1/work/abiword-2.0.1/abi/src/af/ev/unix -I/var/tmp/portage/abiword-2.0.1/work/abiword-2.0.1/abi/src/af/gr/unix -I/var/tmp/portage/abiword-2.0.1/work/abiword-2.0.1/abi/src/wp/ap/unix -DABI_PLUGIN_VERSION=\"2.0.1\" -DABI_PLUGIN_MAJOR=2 -DABI_PLUGIN_MINOR=0 -DABI_PLUGIN_MICRO=1 -DABI_PLUGIN_SOURCE=1 -Ino/include -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/fribidi -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/libglade-2.0 -I/usr/include/libxml2 -march=athlon-xp -O2 -pipe -fomit-frame-pointer -c ie_imp_Psion.cpp -MT ie_imp_Psion.lo -MD -MP -MF .deps/ie_imp_Psion.TPlo  -fPIC -DPIC -o ie_imp_Psion.lo
/bin/sh ../../../../libtool --mode=link g++  -march=athlon-xp -O2 -pipe -fomit-frame-pointer  -Lno/lib -lpsiconv -Wl,--export-dynamic -L/usr/X11R6/lib -lXft -lfreetype -lXrender -lfontconfig -lfribidi -lglade-2.0 -lgtk-x11-2.0 -lxml2 -lpthread -lz -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0   -o libAbiPsion.la -rpath /usr/lib/AbiWord-2.0/plugins -no-undefined -module -avoid-version ie_exp_Psion.lo ie_impexp_Psion.lo ie_imp_Psion.lo  -lbz2 
../../../../libtool: line 1: cd: no/lib: No such file or directory
libtool: link: cannot determine absolute directory name of `no/lib'
make[4]: *** [libAbiPsion.la] Error 1
make[4]: Leaving directory `/var/tmp/portage/abiword-2.0.1/work/abiword-plugins/wp/impexp/psion/xp'
make[3]: *** [all-recursive] Error 1
Comment 1 foser (RETIRED) gentoo-dev 2003-10-30 11:32:16 UTC
do you have a psion and some sort of interactivity software/libs ? 
Comment 2 Seemant Kulleen (RETIRED) gentoo-dev 2003-10-30 11:48:09 UTC
I don't even know what a psion is
Comment 3 aethyr 2003-10-30 19:40:32 UTC
I tried searching google, barely found anything, but this looks vaguely relevant:
============================
> I'm trying to install mysql but ld's complaining that it can't find
> -lno. I am assuming that this means it needs the 'no' library - which
> I can't find anywhere on the net... or am I mistaken?

A possible idea - did you pass --something-or-other=no as a parameter
to configure?

I encountered a problem like this when compiling some library - the
problem was that I'd given "no" as an option to a parameter that
expected the path to a library. I ended up with a whole lot of
references to -Lno/lib in the Makefile, or something to that effect.
============================

That's the best I could come up with.
Comment 4 foser (RETIRED) gentoo-dev 2003-10-31 05:05:12 UTC
i think there's a plugins configure switch to turn it off, but i wonder what
the reason is that this got triggered here.
Comment 5 foser (RETIRED) gentoo-dev 2003-10-31 07:06:38 UTC
seemant can you add '--without-psion --disable-psion' (yeah both, didn't
check which one exactly is the real trigger) to the plugins configuration
part in the abiword ebuild (src_compile, below '# Build plugins'). That probably
solves the initial problem for you. Then it is to find out why it gets configured
in the first place.
Comment 6 Seemant Kulleen (RETIRED) gentoo-dev 2003-10-31 12:11:54 UTC
hi foser, --without-psion resulted in a successful merge
Comment 7 Mark Gilbert 2003-11-26 16:24:35 UTC
naturally, but it shouldn't have tried to build without app-text/psiconv installed.
As for the build error, it's a libtool problems we've seen before but I personally don't know the solution (or what exactly causes it in this case).
Comment 8 Mark Gilbert 2003-11-26 16:42:33 UTC
Reproduced and I think I may see a cause (upstream, of course) but no time to fix tonight.
Comment 9 Seemant Kulleen (RETIRED) gentoo-dev 2003-12-15 15:10:29 UTC
same thing happens with abiword-2.02

MG, any further input on this?
Comment 10 Mark Gilbert 2004-04-13 21:06:20 UTC
I apologize, this just got lost in the shuffle until it showed up in my mbox with the assignee change.
I don't remember what I found last year I'm afraid.  But I'll see if I can still reproduce it and if so, I'll take a second look at it (and hopefully not lose track this time).

BTW, if you dont have psiconv installed, can you give me the output of configure when the psiconv plugin is not disabled?
...
In fact (re-re-rereading the comments here, esp. the initial), I need to see that.   I think what I might have been on to last year was the miswrote m4 macro misplacing the outcome of the presence-check for the outcome of the location-check.  So I'll follow up on that as soon as I have another moment to (and I'm writing it down here just in case) but it will help if I see your output.  Thanks.
Comment 11 Alex Vandiver 2004-05-26 21:59:57 UTC
I just got this bug with abiword-2.0.7, and I think I've tracked it down.  If none of the psion or psiconv options are passed to configure, then withval is never changed from the last value it got form an earlier test; this can cause it to have "no", for instance.  The fix for this (I think) is to give withval a sane default of "yes".  I'll attach a patch in a second, after I'm sure that it works.
Comment 12 Alex Vandiver 2004-05-26 22:11:36 UTC
Created attachment 32119 [details, diff]
Give withval a sane default; patch is against 2.0.7
Comment 13 Mark Gilbert 2004-05-28 14:38:26 UTC
Sorry, this is fixed in cvs.  Please try 2.0.8 when it's out and let me know.
Comment 14 foser (RETIRED) gentoo-dev 2004-08-18 15:19:13 UTC
please test 2.0.10 now in portage.
Comment 15 Seemant Kulleen (RETIRED) gentoo-dev 2004-08-19 17:37:40 UTC
2.0.10 solves this for me. Thanks Mark and foser!