Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 31020 - Abiword build failed
Summary: Abiword build failed
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-13 02:28 UTC by Christopher Warner
Modified: 2004-03-01 17:09 UTC (History)
1 user (show)

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


Attachments
Abiword config log (config.log,57.70 KB, application/octet-stream)
2004-02-29 09:41 UTC, Christopher Warner
Details
abiword-plugins config.log (config.log,70.88 KB, text/plain)
2004-02-29 09:42 UTC, Christopher Warner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christopher Warner 2003-10-13 02:28:49 UTC
Emerge of abiword2 fails because of missing dependency.

Reproducible: Always
Steps to Reproduce:
1.emerge abiword


Actual Results:  
Abiword failed to build.

Expected Results:  
It should of been built and merged.

g++ -DPACKAGE_NAME=\"abiword-plugins\" -DPACKAGE_TARNAME=\"abiword-plugins\"
-DPACKAGE_VERSION=\"2.0.0\" "-DPACKAGE_STRING=\"abiword-plugins 2.0.0\""
-DPACKAGE_BUGREPORT=\"http://bugzilla.abisource.com/\" -DPACKAGE=\"abiword\"
-DVERSION=\"2.0.0\" -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.0/work/abiword-2.0.0/abi/src/af/util/xp
-I/var/tmp/portage/abiword-2.0.0/work/abiword-2.0.0/abi/src/af/util/unix
-I/var/tmp/portage/abiword-2.0.0/work/abiword-2.0.0/abi/src/af/xap/xp
-I/var/tmp/portage/abiword-2.0.0/work/abiword-2.0.0/abi/src/af/ev/xp
-I/var/tmp/portage/abiword-2.0.0/work/abiword-2.0.0/abi/src/af/gr/xp
-I/var/tmp/portage/abiword-2.0.0/work/abiword-2.0.0/abi/src/text/fmt/xp
-I/var/tmp/portage/abiword-2.0.0/work/abiword-2.0.0/abi/src/text/ptbl/xp
-I/var/tmp/portage/abiword-2.0.0/work/abiword-2.0.0/abi/src/wp/impexp/xp
-I/var/tmp/portage/abiword-2.0.0/work/abiword-2.0.0/abi/src/wp/ap/xp
-I/var/tmp/portage/abiword-2.0.0/work/abiword-2.0.0/abi/src/other/spell/xp
-I/var/tmp/portage/abiword-2.0.0/work/abiword-2.0.0/abi/src/other/fribidi/xp
-I/var/tmp/portage/abiword-2.0.0/work/abiword-2.0.0/abi/src/other/ttftool/unix
-I/var/tmp/portage/abiword-2.0.0/work/abiword-2.0.0/abi/src/af/xap/unix
-I/var/tmp/portage/abiword-2.0.0/work/abiword-2.0.0/abi/src/af/ev/unix
-I/var/tmp/portage/abiword-2.0.0/work/abiword-2.0.0/abi/src/af/gr/unix
-I/var/tmp/portage/abiword-2.0.0/work/abiword-2.0.0/abi/src/wp/ap/unix
-DABI_PLUGIN_VERSION=\"2.0.0\" -DABI_PLUGIN_MAJOR=2 -DABI_PLUGIN_MINOR=0
-DABI_PLUGIN_MICRO=0 -DABI_PLUGIN_SOURCE=1 -I/usr/include/eps
-DXHTML_MULTIPART_SUPPORTED -I/usr/include/libxml2 -DXHTML_HTML_XML2_SUPPORTED
-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 -O2 -mcpu=i686 -pipe -c
register.cpp -MT register.lo -MD -MP -MF .deps/register.TPlo  -fPIC -DPIC -o
register.lo
In file included from register.cpp:31:
ie_imp_MHT.h:30:17: eps.h: No such file or directory
make[4]: *** [register.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
In file included from ie_imp_MHT.cpp:45:
ie_imp_MHT.h:30:17: eps.h: No such file or directory
ie_imp_MHT.cpp: In member function `virtual UT_Error
   IE_Imp_MHT::importFile(const char*)':
ie_imp_MHT.cpp:153: `INTERFACE_STREAM' undeclared (first use this function)
ie_imp_MHT.cpp:153: (Each undeclared identifier is reported only once for each
   function it appears in.)
ie_imp_MHT.cpp:153: `eps_begin' undeclared (first use this function)
ie_imp_MHT.cpp:162: `eps_next_header' undeclared (first use this function)
ie_imp_MHT.cpp:164: invalid use of undefined type `struct header_t'
ie_imp_MHT.cpp:162: forward declaration of `struct header_t'
ie_imp_MHT.cpp:165: invalid use of undefined type `struct header_t'
ie_imp_MHT.cpp:162: forward declaration of `struct header_t'
ie_imp_MHT.cpp:178: `eps_header_free' undeclared (first use this function)
ie_imp_MHT.cpp:185: `eps_next_line' undeclared (first use this function)
ie_imp_MHT.cpp:190: invalid use of undefined type `struct eps_t'
ie_imp_MHT.h:141: forward declaration of `struct eps_t'
ie_imp_MHT.cpp:190: invalid use of undefined type `struct eps_t'
ie_imp_MHT.h:141: forward declaration of `struct eps_t'
ie_imp_MHT.cpp:190: `CON_MULTI' undeclared (first use this function)
ie_imp_MHT.cpp:215: `eps_end' undeclared (first use this function)
ie_imp_MHT.cpp: In member function `UT_Multipart*
   IE_Imp_MHT::importMultipart()':
ie_imp_MHT.cpp:357: `mime_init_stream' undeclared (first use this function)
ie_imp_MHT.cpp:362: `mime_next_header' undeclared (first use this function)
ie_imp_MHT.cpp:364: invalid use of undefined type `struct header_t'
ie_imp_MHT.cpp:362: forward declaration of `struct header_t'
ie_imp_MHT.cpp:365: invalid use of undefined type `struct header_t'
ie_imp_MHT.cpp:362: forward declaration of `struct header_t'
ie_imp_MHT.cpp:369: `header_kill' undeclared (first use this function)
ie_imp_MHT.cpp:373: `mime_next_line' undeclared (first use this function)
make[4]: *** [ie_imp_MHT.lo] Error 1
make[4]: Leaving directory
`/var/tmp/portage/abiword-2.0.0/work/abiword-plugins/wp/impexp/xhtml/xp'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/var/tmp/portage/abiword-2.0.0/work/abiword-plugins/wp/impexp/xhtml'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/abiword-2.0.0/work/abiword-plugins/wp/impexp'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/abiword-2.0.0/work/abiword-plugins/wp'
make: *** [all-recursive] Error 1
 
!!! ERROR: app-office/abiword-2.0.0 failed.
!!! Function src_compile, Line 76, Exitcode 2
!!! (no error message)
Comment 1 foser (RETIRED) gentoo-dev 2003-10-13 09:00:09 UTC
do you have/use libwmf ?
Comment 2 Christopher Warner 2003-10-13 10:14:41 UTC
Yes.. reemerged for sanity checking and it's installed and available.
Comment 3 foser (RETIRED) gentoo-dev 2003-10-13 13:44:43 UTC
your 'emerge info' ? with the remerged libwmf it still fails ?
Comment 4 Christopher Warner 2003-10-13 15:25:09 UTC
Portage 2.0.49-r13 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20-gentoo-r6)
=================================================================
System uname: 2.4.20-gentoo-r6 i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.3.10
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=i686 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config
/usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 oss apm avi crypt cups encode foomaticdb gif gpm jpeg kde libg++
libwww mad mikmod mpeg ncurses nls pdflib png quicktime slang spell truetype
xml2 xmms xv zlib gdbm berkdb readline arts bonobo svga java guile X sdl
tcpd pam ssl perl python esd imlib oggvorbis gnome gtk qt motif opengl mozilla
gphoto2 ldap"


Yes it still fails.
Comment 5 foser (RETIRED) gentoo-dev 2003-10-14 04:21:26 UTC
and if you remove libwmf for testing ?

think one of the plugin tests gives wrong results or something, can you attach
both the config.log's from abiword and the plugins dir (should be seperate
dirs in the build root).
Comment 6 Mark Gilbert 2003-10-22 21:59:55 UTC
man, foser, say no to crack (-:
zanee: have you merged eps?  If so, and this fails, it is likely a bug in
the abi build system that I can look into.  If not, it is likely a bug in
the abi build system that I can look into in that the plugin's build is supposed
to be disabled if eps is not found.  But I need to know where to look.  This
could also be a gentoo problem.  I have no idea what libwmf has to do with
this problem.
Comment 7 Christopher Warner 2003-11-09 14:45:02 UTC
libwmf has alot to do with it because it's requesting eps.h a file which
belongs to libwmf. Unless it's asking for a different eps.h. However the
problem remains the same, it's a problem in the build of Abiword.
Comment 8 Christopher Warner 2003-11-18 21:46:19 UTC
This bug doesn't depend on 23556.. The problem is simply with the plugins.. Abiword builds fine. The build enables every single plugin without actually checking to see what libs the plugins depend on. So it fails.
Comment 9 Mark Gilbert 2003-11-26 16:22:48 UTC
Not exactly, it checks for prerequisites like eps.  I don't know though why it passed the test because I don't have the output of your build during the plugin nextgen and configure phase (which would point out problematic tests).
Comment 10 foser (RETIRED) gentoo-dev 2004-02-29 08:16:30 UTC
needinfo (comment #5 & #9)
Comment 11 Christopher Warner 2004-02-29 09:41:14 UTC
Created attachment 26604 [details]
Abiword config log

This is the abiword-2.0.2 config log
Comment 12 Christopher Warner 2004-02-29 09:42:17 UTC
Created attachment 26605 [details]
abiword-plugins config.log

Build fails on this.
Comment 13 Christopher Warner 2004-02-29 10:23:32 UTC
Ok the problem is that you can't have two copies of pwlib installed? Well at least after going through the config.log I realized it was using my pwlib includes in /usr/local/include which is for me to build my copies of cvs gnomemeeting. I don't really know if that's a bug or not.. I'll leave that up to you guys to decide. However the build has been merged and Abiword works after removing my local copy of pwlib.
Comment 14 Mark Gilbert 2004-03-01 17:09:18 UTC
None of that is relevant IMSCO.  If you don't have net-mail/eps (or net-libs or whatever you want to call it) installed (bug 23556) then abiword shouldnt try to build the plugin and that's a bug.  However, I'm not seeing the bug elsewhere, so something is fooling abiword (an inspecific AC_CHECK_HEADER perhaps that gets triggered on cornercase system(s)).

Can I see the stdout messages at the end of the configure run if you can still produce the problem?