Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 317275 - www-client/kazehakase-0.5.8 compilation fails at MOZILLA_COMPONENT
Summary: www-client/kazehakase-0.5.8 compilation fails at MOZILLA_COMPONENT
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: MATSUU Takuto (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-26 09:53 UTC by Andre
Modified: 2010-07-21 12:39 UTC (History)
1 user (show)

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


Attachments
Build log (www-client:kazehakase-0.5.8:20100426-095025.log,8.15 KB, text/plain)
2010-04-26 10:29 UTC, Andre
Details
kazehakase-0.5.8.ebuild (kazehakase-0.5.8.ebuild,1.63 KB, text/plain)
2010-06-26 08:25 UTC, Samuli Suominen (RETIRED)
Details
kazehakase-0.5.8-xul192.patch (kazehakase-0.5.8-xul192.patch,2.64 KB, patch)
2010-06-26 08:26 UTC, Samuli Suominen (RETIRED)
Details | Diff
kazehakase-0.5.8-xulrunner192.patch (kazehakase-0.5.8-xulrunner192.patch,1.40 KB, patch)
2010-06-26 09:38 UTC, Harald van Dijk (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andre 2010-04-26 09:53:53 UTC
Compilation of www-client/kazehakase-0.5.8 fails in the configure stage at MOZILLA_COMPONENT.

My first build attempt had the "webkit" USE flag enabled, so I thought there was something wrong with passing the flag to the configure call, but I do get the same error when compiling with USE=-webkit.

===

The error message:

checking pkg-config is at least version 0.9.0... yes
checking for gecko engine... libxul
checking for MOZILLA_COMPONENT... configure: error: Package requirements (libxul-embedding-unstable >= 1.9) were not met:

No package 'libxul-embedding-unstable' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables MOZILLA_COMPONENT_CFLAGS
and MOZILLA_COMPONENT_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.


!!! Please attach the following file when seeking support:
!!! /tmp/portage/www-client/kazehakase-0.5.8/work/kazehakase-0.5.8/config.log
 * ERROR: www-client/kazehakase-0.5.8 failed:
 *   econf failed
 * 
 * Call stack:
 *     ebuild.sh, line   48:  Called src_configure
 *   environment, line 2597:  Called econf '--with-gecko-engine=libxul' '--disable-migemo' '--disable-heyper-estraier' '--with-ruby=no' '--with-rgettext=no'
 *     ebuild.sh, line  538:  Called die
 * The specific snippet of code:
 *                      die "econf failed"

==

Emerge -pqv:

slgp09 ~ # emerge -pqv =www-client/kazehakase-0.5.8 
[ebuild     U ] www-client/kazehakase-0.5.8 [0.5.7] USE="ssl webkit -hyperestraier -migemo -ruby" 

==

emerge --info:

slgp09 ~ # emerge --info =www-client/kazehakase-0.5.8
Portage 2.2_rc67 (default/linux/x86/10.0/desktop, gcc-4.3.4, glibc-2.10.1-r1, 2.6.33.2 i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.33.2-i686-Intel-R-_Pentium-R-_4_CPU_3.00GHz-with-gentoo-2.0.1
Timestamp of tree: Mon, 26 Apr 2010 07:00: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: 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.9.6-r3, 1.11.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/init.d /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 /usr/share/X11"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
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="/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acpi bash-completion berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif gnutls gpm gtk iconv ipv6 java jpeg lcms libnotify mad mikmod mmx mng modules mp3 mp4 mpeg mudflap ncurses nptl nptlonly ogg opengl openmp pango pcre pdf perl png ppds pppd python qt3support readline reflection session spell spl sqlite ssl startup-notification svg sysfs tcpd threads tiff truetype unicode usb vim-syntax vorbis wmf x264 x86 xcb xml xorg xulrunner xv xvid zlib" ELIBC="glibc" INPUT_DEVICES="mouse keyboard" KERNEL="linux" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

==

I will post the build log as an attachment.
Comment 1 Andre 2010-04-26 10:29:12 UTC
Created attachment 229215 [details]
Build log
Comment 2 Hicham HAOUARI 2010-06-22 10:50:33 UTC
I got it to compile, but then it doesn't work with xulrunner-1.9.2, and it is pretty dead upstream.
Comment 3 Andre 2010-06-22 11:38:02 UTC
How did you get it to compile? Which version?
As I use it against webkit anyway, 
I would like to try it out. 

It would be a bit sad to give up on kazehakase,
as I found it the most "mature" and "normal"
of the lightweight browsers (It works, if not
exactly snappy, but rather decently on my XO).

But if upstream is dead, I guess I'm out of luck.
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2010-06-26 08:25:56 UTC
Created attachment 236603 [details]
kazehakase-0.5.8.ebuild

This ebuild will apply the next attachment in this bug (kazehakase-0.5.8-xul192.patch) and clean up. It will also force webkit enabled, because it only fixes building... doesn't really work.
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2010-06-26 08:26:36 UTC
Created attachment 236605 [details, diff]
kazehakase-0.5.8-xul192.patch

Fix building with xulrunner-1.9.2.

Note that this doesn't really help much, because then it will fail to compile with gtk+-2.20... I'm opening a new bug for that.
Comment 6 Harald van Dijk (RETIRED) gentoo-dev 2010-06-26 09:38:07 UTC
Created attachment 236611 [details, diff]
kazehakase-0.5.8-xulrunner192.patch

gecko.m4 is not fixed upstream, but kz-mozwrapper.cpp is, with this patch
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2010-07-21 12:39:38 UTC
Removed from tree for now.