'emerge abiword' fails with: ... checking for collab fake backend... no checking for collab telepathy backend... no checking for collab xmpp backend... no checking asio.hpp usability... no checking asio.hpp presence... no checking for asio.hpp... no configure: error: collab plugin: asio is required for the collab plugin TCP backend, see http://think-async.com/ I have no collab in my USE flags. Reproducible: Always root@moose:/home/rose/ISOs(177)# emerge --info =app-office/abiword-2.8.4 Portage 2.1.8.3 (default/linux/amd64/10.0/desktop, gcc-4.4.3, glibc-2.11-r1, 2.6.33-gentoo-r1 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-2.6.33-gentoo-r1-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9650_@_3.00GHz-with-gentoo-2.0.1 Timestamp of tree: Tue, 20 Apr 2010 02:00:01 +0000 app-shells/bash: 4.1_p5 dev-java/java-config: 2.1.10 dev-lang/python: 2.6.5-r1, 3.1.2-r2 dev-python/pycrypto: 2.1.0 dev-util/cmake: 2.8.1-r1 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.6.1-r1 sys-apps/sandbox: 2.2 sys-devel/autoconf: 2.13, 2.65 sys-devel/automake: 1.7.9-r2, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1 sys-devel/gcc: 4.4.3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.33 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA PUEL dlj-1.1 skype-eula" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=nocona -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests distlocks fixpackages news noclean parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" FFLAGS="-march=nocona -O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LDFLAGS="-Wl,-O1" LINGUAS="de fr" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/science /var/lib/layman/x11 /var/lib/layman/n4g /var/lib/layman/java-overlay /var/lib/layman/zugaina /var/lib/layman/sunrise /var/lib/layman/arcon /usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="64bit X Xaw3d a52 aac abiword acl acpi afs alsa amd64 ao apache2 applet archive arpack asf aspell assistant audacious audiofile automap automount bash-completion beagle berkdb blas blast bluetooth boo boost branding bzip2 cairo cdda cddb cdf cdio cdparanoia cdr cg cgi chm cli consolekit corba cracklib crypt css cuda cups curl cxx daap db dbase dbi dbm dbus designer devhelp device-mapper dga dia djvu doc dri ds2490 dts dv dvb dvd dvdr dvi eds elf emacs emboss empathy encode epiphany evo examples exif expat extensions extra extras fam fame ffmpeg fftw firefox fits flac fltk foomaticdb fortran fpx fts3 fuse galago garmin gd gdal gdbm gedit geolocation geos gif gimp ginac git glade glib glitz gml gmp gmtsuppl gnokii gnome gnome-keyring gnome-print gnuplot gnutls gphoto2 gpm grammar graphics graphtft graphviz grass gs gsl gsm gstreamer gtk guile hal harness hddtemp hdf hdf5 hdri hlapi http httpd hvm iconv icq icu id3 ide imagemagick imap innodb inotify ipod ipv6 irda ithreads jabber jadetex java java5 java6 jbig john jpeg jpeg2k kdrive kerberos kpathsea kqemu kvm ladspa lame lapack latex latex3 lcms ldap lensfun libffi libgda libnotify libsamplerate lirc lm_sensors lua lzo mad mail maildir mailwrapper mapnik math matroska mikmod mkl mmx mmxext mng modules mono moonlight motif mozdevelop mozilla mp3 mp4 mpeg mpi mplayer mtp mudflap multilib musicbrainz mysql mysqli nautilus ncurses neXt netcdf netpbm network networking networkmanager nfs nls nntp nptl nptlonly nsplugin ntfs ntp numarray numeric nvidia obex objc ocaml octave odbc ogdi ogg ole openexr opengl openmp overview pae pam pango pcre pda pdf perl plotutils plugins png podcast policykit posix postgres postscript ppds pppd preview-latex proj projectx pstricks pulseaudio pymol python python-bindings qemu qhull qt3 qt3support qt4 quicktime readline reflection reiserfs rle romio rpc rrdcgi rrdtool samba sasl science sdl secure-delete semantic-desktop server session sip slang slp smbclient smp sms sndfile snmp soup sox speex spell spl sql sqlite sse sse2 ssl startup-notification stlport subtitles subversion suexec svg swig sysfs szip t1lib tcl tcpd tex tex4ht texmacs theora threads thunderbird tidy tiff tk tntc tools truetype udev unicode usb userlocales utempter v4l2 virtualbox vorbis wav webdav webdav-serf webkit wifi wmf wxwidgets x264 xattr xcb xemacs xext xine xml xmlreader xmlrpc xorg xpm xulrunner xv xvid xvmc zlib zvbi" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev " KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de fr" NETBEANS_MODULES="apisupport cnd dlight enterprise ergonomics groovy gsf harness ide identity j2ee java mobility nb php profiler ruby websvccommon xml" QEMU_SOFTMMU_TARGETS="i386 ppc ppc64 x86_64" QEMU_USER_TARGETS="arm i386 x86_64" RUBY_TARGETS="ruby18 jruby" USERLAND="GNU" VIDEO_CARDS="nv nvidia nouveau vesa" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS root@moose:/home/rose/ISOs(178)# emerge -pqv =app-office/abiword-2.8.4 [ebuild U ] app-office/abiword-2.8.4 [2.6.8] USE="cups%* gnome grammar%* latex%* libgda%* math%* plugins%* readline%* spell wmf%* -collab% -debug -openxml% -ots% -thesaurus% -wordperfect% (-xml%*)" root@m
This problem has also been reported in bug 272097 comment 48.
Seems to be a problem upstream: http://www.abisource.com/mailinglists/abiword-user/2010/Apr/0003.html I'm checking it out now to see if I can figure it out.
Please attach full build.log
I have solved the problem by emerging current stable dev-cpp/asio. Now, the configure script proceeds fine, compilation finishes OK and abiword runs. So the dependence on asio should probably be added to the ebuild of abiword-2.8.4. I am on amd64. And the abiword useflags are bellow. # eix abiword [I] app-office/abiword Available versions: (2) 2.4.6 *2.6.4 2.6.8 (~)2.8.4 {collab cups debug gnome grammar latex libgda math openxml ots plugins readline spell thesaurus wmf wordperfect xml} Installed versions: 2.8.4(2)(11:15:33 AM 04/21/2010)(cups readline spell -collab -debug -gnome -grammar -latex -libgda -math -openxml -ots -plugins -thesaurus -wmf -wordperfect) emerge --info Portage 2.1.8.3 (default/linux/amd64/10.0/desktop, gcc-4.4.3, glibc-2.11-r1, 2.6.33-gentoo-r1 x86_64) ================================================================= System uname: Linux-2.6.33-gentoo-r1-x86_64-Intel-R-_Pentium-R-_4_CPU_3.00GHz-with-gentoo-1.12.13 Timestamp of tree: Wed, 21 Apr 2010 08:15:01 +0000 app-shells/bash: 4.0_p37 dev-java/java-config: 2.1.10 dev-lang/python: 2.6.4-r1 dev-util/cmake: 2.6.4-r3 sys-apps/baselayout: 1.12.13 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1 sys-devel/gcc: 4.4.3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.33 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=nocona -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=nocona -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo " LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/java-overlay /usr/local/portage /usr/portage/local/layman/java-overlay /usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi aiglx alsa amd64 berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus divx djvu dri dts dvb dvd dvdr dvdread dvi emacs emboss encode exif fam ffmpeg flac fortran gdbm gif gpm gtk gtkhtml hal i8x0 iconv ipv6 jpeg lame lcms ldap libnotify lm_sensors mad mikmod mmx mmxext mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pango pcre pdf perl png ppds pppd python qt3support qt4 readline realmedia reflection samba sdl session spell spl sse sse2 ssl startup-notification svg sysfs tcpd theora threads thunar-vfs tiff truetype unicode usb v4l v4l2 vorbis wmp x264 xcb xcomposite xml xorg xscreensaver xulrunner xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 228601 [details] /var/tmp/portage/app-office/abiword-2.8.4/temp/build.log
abiword-2.8.4 needed dev-cpp/asio. Please add dev-cpp/asio as dependency in the ebuild from app-office/abiword-2.8.4.
The dependencies are correct. AbiWord only needs dev-cpp/asio when building the collab plugins. See http://bugzilla.abisource.com/show_bug.cgi?id=12701 Gilles, if you apply the changes from the upstream patch to plugin-configure.m4 and call (e)autoreconf, this problem should be gone.
that is correct, then the dependencies for the use collab wrong, or you must add the Patch for the Use Collab.
Please stop posting contradicting comment without reading the upstream mailing list thread. The issue is very clear, the ebuild is correct, it is a bug in the plugins-configure.m4.
Just to provide some additional feedback: I tried the patch referenced in Comment #7 Even though I was able to modify the ebuild to cleanly apply the patch and run eautoreconf, I still had the same configuration error looking for asio files.
(In reply to comment #10) You did not follow my instructions. The upstream patch modifies ./plugins/collab/plugin.m4, but you need to change ./plugin-configure.m4. Try this: $ patch plugin-configure.m4 patch-from-bug-12701
(In reply to comment #11) Ah! That cleared it up for me. When patched as instructed in comment #11 (and then running eautoreconf), I am able to build abiword-2.8.4 with the "-collab" USE flag set and dev-cpp/asio not installed.
2.8.4 with bug workaround is in overlay (jasiu)
Any chance that the patch comes into the portage tree?
Created attachment 230749 [details, diff] ebuild patch for utilizing *-collab.patch
Created attachment 230753 [details, diff] into */files/ Why don't you use an overlay?
I try to use as few overlays as possible and try to be so close as possible to the standard portage tree. Sometimes if I added an additional overlay to the list of my used overlays (by layman), because there was an update for package A in this overlay, the next 'emerge -uvDN world' tried to update also package B and C, because there were also updates for B and C in this overlay. So I try to use an overlay only, if I know, that there are several packages in this overlay, which I want to have, 'science' for example. Otherwise I prefer to place the ebuild under /usr/local/portage.
Hello Jan, nevertheless, thanks for the patches. Juergen
(In reply to comment #17) > I try to use as few overlays as possible and try to be so close as possible to > [...] I do the same. And now I use 9 overlays... Maybe my overlay should be named "newer"? Because except 2 my programs I only put newer and revised ebuilds in it. What about creating "newer" overlay only with ebuilds for newer versions? It would be nice if we wouldn't need to check when new version of some program is released, but there should be a place ("newer"?) where programmers should post info about it?
> nevertheless, thanks for the patches. > You're welcome :-) Do they work? ;-)
http://www.abisource.com/viewvc/abiword/trunk/plugins/collab/plugin.m4?r1=27757&r2=28851&view=patch
(In reply to comment #16) > Created an attachment (id=230753) [details] > into */files/ > > Why don't you use an overlay? I synced this overlay in a private directory, then copied only abiword to my local overlay. Sorry, but I do not want any other packages from this overlay. And JFYI: it is not recommended by Gentoo devs to use too many overlays, you can lurk through this bugzilla and find a lot of blames about random overlays enabled. In deeper consideration this is required, but missing feature of portage to engage only selected packages (and their dependencies if any) from the selected overlay. Anyway thank you for your work, abiword works fine.
(In reply to comment #22) > (In reply to comment #16) > > Why don't you use an overlay? > > I synced this overlay in a private directory, then copied only abiword to my > local overlay. Sorry, but I do not want any other packages from this overlay. > Take a look at (my) comment #19. (= You are right) I was wondering about adding layman's option to pull only specified package from some overlay, but I didn't found yet how to make git, for example, to pull only one directory from repo. And I don't know if it's possible that way. Of course after syncing we can delete all the rest, but the first method would be elegant. > Anyway thank you for your work, abiword works fine. > :-)
The patch works also for me.
The patch works for me too on ~x86. Any progress in getting it into the official portage tree?
(In reply to comment #25) > The patch works for me too on ~x86. Any progress in getting it into the > official portage tree? > Not needed any more :-) 2.8.5 (copied from in-tree 2.8.4 ebuild) compiles and works OK. In overlay.
*** Bug 320165 has been marked as a duplicate of this bug. ***
+*abiword-2.8.6 (15 Jun 2010) + + 15 Jun 2010; Pacho Ramos <pacho@gentoo.org> -abiword-2.8.4.ebuild, + +abiword-2.8.6.ebuild: + Version bump (bug #324135) with lots of bugfixes like prevent configure + --disable-collab-backend-{tcp,service} from checking for asio.hpp (bug + #316287; thanks to Juergen Rose, Thorsten Vollmer, Jan Psota and others). + Remove old and broken testing version.