Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 859271 - app-office/abiword-3.0.5[map] - configure: error: --with-champlain was given, but test for champlain failed
Summary: app-office/abiword-3.0.5[map] - configure: error: --with-champlain was given,...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-19 08:59 UTC by ernsteiswuerfel
Modified: 2022-10-01 18:56 UTC (History)
1 user (show)

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


Attachments
build.log (ppc, 3.0.5) (abiword-3.0.5:20220719-084613.log,12.94 KB, text/plain)
2022-07-19 08:59 UTC, ernsteiswuerfel
Details
config.log (config.log,53.24 KB, text/plain)
2022-07-19 08:59 UTC, ernsteiswuerfel
Details
emerge --info (file_859271.txt,6.15 KB, text/plain)
2022-07-19 09:00 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ernsteiswuerfel archtester 2022-07-19 08:59:00 UTC
Created attachment 792335 [details]
build.log (ppc, 3.0.5)

media-libs/libchamplain-0.12.20 is installed but not found in the config phase. app-office/abiword-3.0.5[-map] builds fine.

[...]
checking for CHAMPLAIN... no
configure: error: in `/var/tmp/portage/app-office/abiword-3.0.5/work/abiword-3.0.5':
configure: error: --with-champlain was given, but test for champlain failed
See `config.log' for more details

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/app-office/abiword-3.0.5/work/abiword-3.0.5/config.log
 * ERROR: app-office/abiword-3.0.5::gentoo failed (configure phase):
 *   econf failed
Comment 1 ernsteiswuerfel archtester 2022-07-19 08:59:20 UTC
Created attachment 792338 [details]
config.log
Comment 2 ernsteiswuerfel archtester 2022-07-19 09:00:06 UTC
Created attachment 792341 [details]
emerge --info
Comment 3 ernsteiswuerfel archtester 2022-09-18 20:02:16 UTC
Hmm, interesting... I am only seeing this on ppc. Builds fine with USE=map on amd64.
Comment 4 Matt Turner gentoo-dev 2022-09-24 13:23:00 UTC
> configure:19623: checking for CHAMPLAIN
> configure:19630: $PKG_CONFIG --exists --print-errors " $champlain_req "
> Package champlain-gtk-0.12 was not found in the pkg-config search path.
> Perhaps you should add the directory containing `champlain-gtk-0.12.pc'
> to the PKG_CONFIG_PATH environment variable
> Package 'champlain-gtk-0.12', required by 'virtual:world', not found
> configure:19633: $? = 1
> configure:19647: $PKG_CONFIG --exists --print-errors " $champlain_req "
> Package champlain-gtk-0.12 was not found in the pkg-config search path.
> Perhaps you should add the directory containing `champlain-gtk-0.12.pc'
> to the PKG_CONFIG_PATH environment variable
> Package 'champlain-gtk-0.12', required by 'virtual:world', not found
> configure:19650: $? = 1
> configure:19664: result: no
> Package 'champlain-gtk-0.12', required by 'virtual:world', not found
> configure:19681: error: in `/var/tmp/portage/app-office/abiword-3.0.5/work/abiword-3.0.5':
> configure:19683: error: --with-champlain was given, but test for champlain failed

What does `qlist libchamplain | grep pc` show? What are the contents of those files?
Comment 5 ernsteiswuerfel archtester 2022-09-25 13:54:08 UTC
(In reply to Matt Turner from comment #4)
> > configure:19623: checking for CHAMPLAIN
> > configure:19630: $PKG_CONFIG --exists --print-errors " $champlain_req "
> > Package champlain-gtk-0.12 was not found in the pkg-config search path.
> > Perhaps you should add the directory containing `champlain-gtk-0.12.pc'
> > to the PKG_CONFIG_PATH environment variable
> > Package 'champlain-gtk-0.12', required by 'virtual:world', not found
> > configure:19633: $? = 1
> > configure:19647: $PKG_CONFIG --exists --print-errors " $champlain_req "
> > Package champlain-gtk-0.12 was not found in the pkg-config search path.
> > Perhaps you should add the directory containing `champlain-gtk-0.12.pc'
> > to the PKG_CONFIG_PATH environment variable
> > Package 'champlain-gtk-0.12', required by 'virtual:world', not found
> > configure:19650: $? = 1
> > configure:19664: result: no
> > Package 'champlain-gtk-0.12', required by 'virtual:world', not found
> > configure:19681: error: in `/var/tmp/portage/app-office/abiword-3.0.5/work/abiword-3.0.5':
> > configure:19683: error: --with-champlain was given, but test for champlain failed
> 
> What does `qlist libchamplain | grep pc` show? What are the contents of
> those files?
 # qlist libchamplain | grep pc
/usr/lib/pkgconfig/champlain-0.12.pc

 # cat /usr/lib/pkgconfig/champlain-0.12.pc
prefix=/usr
includedir=${prefix}/include
libdir=${prefix}/lib

Name: champlain-0.12
Description: Map View for Clutter
Version: 0.12.20
Requires: glib-2.0 >=  2.38, gobject-2.0 >=  2.38, cairo >=  1.4, clutter-1.0 >=  1.24
Requires.private: gio-2.0 >=  2.38, gdk-3.0 >=  3.0, sqlite3 >=  3.0, libsoup-2.4 >=  2.42
Libs: -L${libdir} -lchamplain-0.12
Libs.private: -lm
Cflags: -I${includedir}/champlain-0.12
Comment 6 Matt Turner gentoo-dev 2022-09-26 02:28:34 UTC
Ah, ha!

It needs to depend on media-libs/libchamplain[gtk].
Comment 7 Larry the Git Cow gentoo-dev 2022-10-01 18:56:00 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0661b53c8c3cb8460334da855c63861c375a5ee

commit b0661b53c8c3cb8460334da855c63861c375a5ee
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2022-10-01 18:52:57 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2022-10-01 18:55:54 +0000

    app-office/abiword: Depend on libchamplain[gtk]
    
    Closes: https://bugs.gentoo.org/859271
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 app-office/abiword/abiword-3.0.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)