Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 343469 - app-office/abiword: building with "-plugins" and "collab" USE flags fails
Summary: app-office/abiword: building with "-plugins" and "collab" USE flags fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: GNOME Office (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-31 06:42 UTC by Pablo Cholaky
Modified: 2011-01-26 21:21 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pablo Cholaky 2010-10-31 06:42:40 UTC
Trying to install Abiword with collab and without plugins USE flag

Results:

checking for bison... bison -y
checking for collab fake backend... no
checking for collab telepathy backend... no
checking for collab xmpp backend... yes
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/

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/app-office/abiword-2.8.6/work/abiword-2.8.6/config.log
 * ERROR: app-office/abiword-2.8.6 failed:
 *   econf failed
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_configure
 *   environment, line 3335:  Called gnome2_src_configure '--enable-plugins='
 *   environment, line 2576:  Called econf '--enable-plugins=' '--enable-shave' '--disable-static' '--disable-maintainer-mode' '--disable-default-plugins' '--disable-builtin-plugins' '--disable-collab-backend-telepathy' '--enable-clipart' '--enable-statusbar' '--enable-templates' '--with-gio' '--without-gnomevfs' '--with-goffice' '--disable-print' '--enable-collab-backend-xmpp' '--enable-collab-backend-tcp' '--enable-collab-backend-service' '--enable-spell'
 *     ebuild.sh, line  552:  Called die
 * The specific snippet of code:
 *   			die "econf failed"
 * 
 * If you need support, post the output of 'emerge --info =app-office/abiword-2.8.6',
 * the complete build log and the output of 'emerge -pqv =app-office/abiword-2.8.6'.
 * The complete build log is located at '/var/tmp/portage/app-office/abiword-2.8.6/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-office/abiword-2.8.6/temp/environment'.
 * S: '/var/tmp/portage/app-office/abiword-2.8.6/work/abiword-2.8.6'

>>> Failed to emerge app-office/abiword-2.8.6, Log file:

>>>  '/var/tmp/portage/app-office/abiword-2.8.6/temp/build.log'

 * Messages for package app-text/wv-1.2.7:

 * You have to re-emerge packages that linked against wv by running:
 * revdep-rebuild

 * Messages for package app-office/abiword-2.8.6:

 * ERROR: app-office/abiword-2.8.6 failed:
 *   econf failed
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_configure
 *   environment, line 3335:  Called gnome2_src_configure '--enable-plugins='
 *   environment, line 2576:  Called econf '--enable-plugins=' '--enable-shave' '--disable-static' '--disable-maintainer-mode' '--disable-default-plugins' '--disable-builtin-plugins' '--disable-collab-backend-telepathy' '--enable-clipart' '--enable-statusbar' '--enable-templates' '--with-gio' '--without-gnomevfs' '--with-goffice' '--disable-print' '--enable-collab-backend-xmpp' '--enable-collab-backend-tcp' '--enable-collab-backend-service' '--enable-spell'
 *     ebuild.sh, line  552:  Called die
 * The specific snippet of code:
 *   			die "econf failed"
 * 
 * If you need support, post the output of 'emerge --info =app-office/abiword-2.8.6',
 * the complete build log and the output of 'emerge -pqv =app-office/abiword-2.8.6'.
 * The complete build log is located at '/var/tmp/portage/app-office/abiword-2.8.6/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-office/abiword-2.8.6/temp/environment'.
 * S: '/var/tmp/portage/app-office/abiword-2.8.6/work/abiword-2.8.6'

 * GNU info directory index is up-to-date.

So, collab use flag should install asio.

Thanks
Comment 1 Pacho Ramos gentoo-dev 2010-10-31 10:51:49 UTC
But "collab" needs "plugins" USE flag to be set, the problem is that I don't know how to prevent people from enabling it without "plugins" :-/

Does any other team member have any idea on this?
Comment 2 Pablo Cholaky 2010-10-31 16:13:54 UTC
(In reply to comment #1)
> But "collab" needs "plugins" USE flag to be set, the problem is that I don't
> know how to prevent people from enabling it without "plugins" :-/
> 
> Does any other team member have any idea on this?
> 

No, you can "try" to compile Abiword without plugins USE flag. Just try it.

An idea for that is make a dependence of "asio" when collab USE flag is enabled.
Comment 3 Pacho Ramos gentoo-dev 2010-10-31 16:30:01 UTC
I was talking based on what I see in ebuild:

src_configure() {
        local plugins=""

        if use plugins; then
[...]

                use collab && plugins="${plugins} collab"
                use gnome && plugins="${plugins} goffice"
[...]

Then, it's only really enabled with "plugins" USE flag is set (or it should)
Comment 4 Pacho Ramos gentoo-dev 2011-01-26 21:21:12 UTC
+  26 Jan 2011; Pacho Ramos <pacho@gentoo.org> abiword-2.8.6.ebuild:
+  Fix asio DEPEND (bug #343469 by Pablo Cholaky).
+