Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 129543 - epiphany-2.14.0 has wrong configure option which prevents its build
Summary: epiphany-2.14.0 has wrong configure option which prevents its build
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
: 129544 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-04-10 17:04 UTC by Shogun
Modified: 2006-04-11 06:26 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 Shogun 2006-04-10 17:04:36 UTC
epiphany-2.14.0 specify a wrong configure option, which is

--with-mozilla=mozilla (or firefox, depending on USE flag)

but the correct option is

--with-gecko=mozilla (or firefox)

as you can see in its configure --help.

This error, at least on my system, leads to this failure:

---BEGIN---
[CUT]
checking whether we have a gtk 2 gecko build... yes
checking whether we have a gecko debug build... no
checking for gecko version... 1.8
checking for GECKO... yes
checking whether we can compile and run XPCOM programs... no
configure: error: Cannot compile and run XPCOM programs
See `config.log' for more details.

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/portage/epiphany-2.14.0/work/epiphany-2.14.0/config.log

!!! ERROR: www-client/epiphany-2.14.0 failed.
Call stack:
  ebuild.sh, line 1526:   Called dyn_compile
  ebuild.sh, line 923:   Called src_compile
  epiphany-2.14.0.ebuild, line 80:   Called gnome2_src_compile
  gnome2.eclass, line 55:   Called gnome2_src_configure
  gnome2.eclass, line 51:   Called econf '--disable-scrollkeeper' '--enable-dbus' '--enable-python' '--with-mozilla=firefox' '--disable-gtk-doc'
  ebuild.sh, line 527:   Called die

!!! econf failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
---END---

Enabling or disabling the "firefox" USE flag makes no difference (apart from GECKO version).
Changing the ebuild fix that...
I attach a patched ebuild.
Hope this helps!
Bye!
  Shogun
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-04-10 19:28:27 UTC
*** Bug 129544 has been marked as a duplicate of this bug. ***
Comment 2 Shogun 2006-04-10 23:15:56 UTC
(In reply to comment #0)
> epiphany-2.14.0 specify a wrong configure option, which is
> 
> --with-mozilla=mozilla (or firefox, depending on USE flag)
> 
> but the correct option is
> 
> --with-gecko=mozilla (or firefox)
> 
> as you can see in its configure --help.
> 
> This error, at least on my system, leads to this failure:
> 
> ---BEGIN---
> [CUT]
> checking whether we have a gtk 2 gecko build... yes
> checking whether we have a gecko debug build... no
> checking for gecko version... 1.8
> checking for GECKO... yes
> checking whether we can compile and run XPCOM programs... no
> configure: error: Cannot compile and run XPCOM programs
> See `config.log' for more details.
> 
> !!! Please attach the following file when filing a report to bugs.gentoo.org:
> !!! /var/tmp/portage/portage/epiphany-2.14.0/work/epiphany-2.14.0/config.log
> 
> !!! ERROR: www-client/epiphany-2.14.0 failed.
> Call stack:
>   ebuild.sh, line 1526:   Called dyn_compile
>   ebuild.sh, line 923:   Called src_compile
>   epiphany-2.14.0.ebuild, line 80:   Called gnome2_src_compile
>   gnome2.eclass, line 55:   Called gnome2_src_configure
>   gnome2.eclass, line 51:   Called econf '--disable-scrollkeeper'
> '--enable-dbus' '--enable-python' '--with-mozilla=firefox' '--disable-gtk-doc'
>   ebuild.sh, line 527:   Called die
> 
> !!! econf failed
> !!! If you need support, post the topmost build error, and the call stack if
> relevant.
> ---END---
> 
> Enabling or disabling the "firefox" USE flag makes no difference (apart from
> GECKO version).
> Changing the ebuild fix that...
> I attach a patched ebuild.
> Hope this helps!
> Bye!
>   Shogun
> 

Sorry for what I posted above...
But...my trick didn't fixed it...
The weirdness of all this is that if I try to emerge epiphany, it fails at the
configure script; BUT if I try to execute the configure script with SAME
arguments from the WORKDIR, it exit successfully...
It is a problem of my system?
I post my emerge info below...
Hope this helps...

---BEGIN---
Portage 2.1_pre7-r4 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.4-r1,
2.6.15-no4 i686)
=================================================================
System uname: 2.6.15-no4 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.12.0_pre16
dev-lang/python:     2.3.5-r2, 2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=i686 -pipe -fomit-frame-pointer -fforce-addr"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env
/usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config
/usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild
/etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/mnt/portage/distfiles"
FEATURES="autoconfig buildpkg digest distlocks keepwork metadata-transfer
sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
LANG="it_IT.UTF-8"
LC_ALL="it_IT.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--enable-new-dtags -Wl,-zdynsort
-Wl,--as-needed"
LINGUAS="it"
MAKEOPTS="-j3"
PKGDIR="/mnt/portage/packages"
PORTAGE_TMPDIR="/var/tmp/portage"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/mnt/portage/overlays/custom
/mnt/portage/overlays/xgl/xgl-coffee"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 7zip X a52 aac aalib ace acpi aim alsa amd amr amuled apache2 apm arts
audiofile avi bash-completion berkdb bitmap-fonts bluetooth bonobo bootsplash
bzip2 cdda cddb cdparanoia cdr clamav clamd cli cpdflib cpudetection crypt
ctype cups curl dba dbus divx4linux dlloader dmx dri dvd dvdr dvdread dvi
emboss encode epiphany esd expat fam fastbuild fat fbsplash ffmpeg firefox fltk
font-server foomaticdb force-cgi-redirect fortran ftp fuse gatos gd gdbm gif
glibc-omitfp glitz glut glx gmail gnome gpm gstreamer gtk gtk2 gtkhtml hal
imagemagick imap imlib ipod isdnlog java javascript joystick jpeg kad kde lame
libclamav libg++ libwww lirc mad maildir matroska mbox memlimit mikmod mime mmx
mmx2 mono motif mozilla moznocompose moznoirc moznomail mozsvg mozxmlterm mp3
mpeg mpeg2 mpeg4 mplayer msn msnextras mysql mysqli ncurses nls nptl nptlonly
nsplugin ntfs nvidia ogg opengl openssh openssl oss pam pcre pdflib perl plugin
png posix pppd python qt quicktime rar readline reiserfs rhythmbox samba sdl
sensord session sharedext sharedmem simplexml soap sockets spell spl sqlite
sqlite3 sse sse2 ssl svg svga sysfs tagwriting tcpd threads tokenizer truetype
truetype-fonts type1-fonts udev unicode usb userlocales utf8 v4l v4l2 vfat
vhosts vorbis wifi win32codecs xine xml xosd xprint xsl xslt xv xvid zlib zvbi
elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_it
userland_GNU video_cards_none video_cards_nvidia"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK
---END---

Comment 3 Shogun 2006-04-11 06:26:03 UTC
I fixed it...Problem with LDFLAG...
By the way, what I posted about configure script is correct.
I suggest to fix it...