Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 225385 - dev-perl/Gtk2-MozEmbed-0.06 fails to build
Summary: dev-perl/Gtk2-MozEmbed-0.06 fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on: 227407
Blocks:
  Show dependency tree
 
Reported: 2008-06-08 16:15 UTC by Thomas Kahle (RETIRED)
Modified: 2008-12-31 17:35 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 Thomas Kahle (RETIRED) gentoo-dev 2008-06-08 16:15:19 UTC
Build fails with the following lines:

...
Running Mkbootstrap for Gtk2::MozEmbed ()
chmod 644 MozEmbed.bs
rm -f blib/arch/auto/Gtk2/MozEmbed/MozEmbed.so
[ LD blib/arch/auto/Gtk2/MozEmbed/MozEmbed.so ]
chmod 755 blib/arch/auto/Gtk2/MozEmbed/MozEmbed.so
cp MozEmbed.bs blib/arch/auto/Gtk2/MozEmbed/MozEmbed.bs
chmod 644 blib/arch/auto/Gtk2/MozEmbed/MozEmbed.bs
Generating POD...
Can't load 'blib/arch/auto/Gtk2/MozEmbed/MozEmbed.so' for module Gtk2::MozEmbed: libxul.so: cannot open shared object file: No such file or directory at /usr/lib/perl5/5.8.8/i686-linux/DynaLoader.pm line 230.
 at -e line 0
Compilation failed in require.
BEGIN failed--compilation aborted.
make: *** [build/podindex] Error 2

Reproducible: Always

Steps to Reproduce:
1. emerge dev-perl/Gtk2-MozEmbed-0.06
2.
3.




emerge --info
Portage 2.1.4.4 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25 i686)
=================================================================
System uname: 2.6.25 i686 Intel(R) Core(TM)2 Duo CPU L7500 @ 1.60GHz
Timestamp of tree: Sun, 08 Jun 2008 09:17:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r13
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.0/env /usr/kde/4.0/share/config /usr/kde/4.0/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.tiscali.nl/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_US de ja es fr it"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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/sunrise /usr/portage/local/layman/science /usr/portage/local/layman/science /usr/portage/local/layman/x11 /usr/portage/local/layman/gentopia /usr/portage/local/tom-overlay"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa anthy apache2 arts avahi bash-completion berkdb bluetooth bzip2 cairo canna cddb cdparanoia cdr cjk cli cracklib crypt ctype cups curl daap dbus dri dvd dvdr dvdread eds emacs encode esd evo expat fam fbcon ffmpeg firefox flac fortran freewnn ftp gd gdbm gif glut gmp gnome gnome-keyring gphoto2 gpm graphviz gstreamer gtk guile hal hdaps iconv ieee1394 imagemagick imap imlib ipod ipv6 isdnlog java javascript jpeg kde kerberos latex ldap leim libnotify lm_sensors m17n-lib mad midi migemo mikmod mime mmx mp3 mp4 mpeg mplayer mudflap mule musicbrainz mysql mysqli ncurses networkmanager nls nptl nptlonly nsplugin obex ocaml ogg oggvorbis openal opengl openmp oss pam pcmcia pcre pdf perl php plotutils png pppd python qt3 qt3support qt4 quicktime readline real reflection samba sasl sdl session slang spell spl sqlite3 sse ssl svg tcpd texlive theora tiff tk truetype unicode usb vhosts vim vim-syntax visualization vorbis wifi win32codecs wxwindows x86 xcomposite xine xinerama xml xorg xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 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" FRITZCAPI_CARDS="fcpcmcia" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US de ja es fr it" USERLAND="GNU" VIDEO_CARDS="i810"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Thomas Kahle (RETIRED) gentoo-dev 2008-06-08 16:17:18 UTC
It may be related to xulrunner. 
I have xulrunner-1.9_rc2 installed and NO version of 1.8 or firefox-2.*

thanks
Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2008-06-08 21:30:36 UTC
The current ebuild requires you to have www-client/mozilla-firefox or www-client/seamonkey installed. So, this is your very local problem...


Marking as enhancement and assigning, as xulrunner 1.8 might be a possible target?!? Also: Does the ebuild work with Firefox 3 as the dependency implies?
Comment 3 Thomas Kahle (RETIRED) gentoo-dev 2008-06-11 09:43:05 UTC
I have firefox-3.0_rc2 installed, so it does not work without modification. 
The dependency on firefox-2 should be explicit until v3 is supported.
Comment 4 Thomas Kahle (RETIRED) gentoo-dev 2008-06-16 11:35:28 UTC
This ebuild/module depends on libxul and other stuff from net-libs/xulrunner being built by firefox / seamonkey. As far as I know this is deprecated as xulrunner and firefox are split in the upcoming firefox-3.

There is also a new version 0.07 of this module. I will opened a revbump request, which maybe solves the problem. I also added a dependency, please correct me if I should not. 
Comment 5 Sergiy Borodych 2008-09-15 12:58:14 UTC
You can try dirty hack

ln -s /usr/lib/xulrunner-1.9/lib/libxul.so /usr/lib/

It works for me
Also maybe add ldpath to env.d solve this problem too
/etc/env.d/71xulrunner
<<<
LDPATH="/usr/lib/xulrunner-1.9 /usr/lib/xulrunner-1.9/lib"
>>>
like
/etc/env.d/71xulrunner-bin
(see net-libs/xulrunner-bin)

also new version 0.08 appear
with another hack
set GTK_MOZ_EMBED_PERL_XULRUNNER_PATH in Makefile
and use it as set gtk_moz_embed_set_path in xs/GtkMozEmbed.xs later
I try it but it dont help me :(
so I setup link and use it
Comment 6 Torsten Veller (RETIRED) gentoo-dev 2008-12-31 17:35:05 UTC
0.08 is in the tree.