Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 270851 - sys-libs/db-4.7.25_p3 emerge error --enable-test requires --enable-tcl
Summary: sys-libs/db-4.7.25_p3 emerge error --enable-test requires --enable-tcl
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 264778 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-05-22 18:17 UTC by Kenneth Miller
Modified: 2009-09-17 14:54 UTC (History)
3 users (show)

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 Kenneth Miller 2009-05-22 18:17:45 UTC
!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/sys-libs/db-4.7.25_p3/work/db-4.7.25/build_unix/config.log
 * 
 * ERROR: sys-libs/db-4.7.25_p3 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 4769:  Called econf '--enable-compat185' '--enable-o_direct' '--without-uniquename' '--enable-rpc' '--enable-cxx' '--enable-java' '--disable-tcl' '--enable-test' '--with-java-prefix=/opt/sun-jdk-1.5.0.18' '--with-javac-flags=-source 1.5 -target 1.5'
 *               ebuild.sh, line  534:  Called die
 * The specific snippet of code:
 *   			die "econf failed"
 *  The die message:
 *   econf failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/sys-libs/db-4.7.25_p3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-libs/db-4.7.25_p3/temp/environment'.
 * 
!!! When you file a bug report, please include the following information:
GENTOO_VM=sun-jdk-1.5  CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.5.0.18"
JAVACFLAGS="-source 1.5 -target 1.5" COMPILER=""
and of course, the output of emerge --info

Reproducible: Always




Portage 2.1.6.13 (default/linux/x86/2008.0, gcc-4.3.3, glibc-2.10.1-r0, 2.6.29-gentoo-r4 i686)
=================================================================
System uname: Linux-2.6.29-gentoo-r4-i686-Intel-R-_Pentium-R-_III_Mobile_CPU_1000MHz-with-gentoo-2.0.0
Timestamp of tree: Fri, 22 May 2009 11:15:01 +0000
app-shells/bash:     4.0_p24
dev-java/java-config: 2.1.7
dev-lang/python:     2.5.4-r2, 2.6.2
dev-util/cmake:      2.6.4
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r2
sys-apps/sandbox:    1.9
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.29
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /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/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="C"
LDFLAGS="-Wl,-O1"
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="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X X11 acl acpi apm berkdb brasero bzip2 cdr cli consolekit cracklib crypt cups daap dbus debug dri flac fortran gdbm gnome gpm guile hal hbci iconv ipod ipv6 isdnlog jadetex java jpeg libnotify lirc mad midi mtp mudflap musicbrainz ncurses nls nptl nptlonly nsplugin ofx openmp pam pcre perl pppd python qt3 radeon readline reflection session spl ssl svg sysfs tagwriting tcpd test tiff unicode usb vorbis x86 xorg 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 mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon 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 deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-07-01 10:57:54 UTC
Would _really_ be a nice idea to make this die in pkg_setup instead of after configure!
Comment 2 SpanKY gentoo-dev 2009-07-02 01:19:24 UTC
forcing a die here is bad taste when it can easily be made transparent in the ebuild

if use tcl && ! use test ; then
  ewarn "Auto enabling USE=tcl for USE=test"
fi
...
$(use_enable tcl) \
$(use test && echo --enable-tcl) \
Comment 3 Steffen Bergner 2009-07-09 11:44:13 UTC
same with _p4

checking if --enable-test option specified... yes
checking if --enable-uimutexes option specified... no
checking if --enable-umrw option specified... no
checking if --with-mutex=MUTEX option specified... no
checking if --with-tcl=DIR option specified... no
checking if --with-uniquename=NAME option specified... no
configure: error: --enable-test requires --enable-tcl

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/sys-libs/db-4.7.25_p4/work/db-4.7.25/build_unix/config.log
 *
 * ERROR: sys-libs/db-4.7.25_p4 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 4848:  Called econf '--enable-compat185' '--enable-o_direct' '--without-uniquename' '--enable-rpc' '--enable-cxx' '--enable-java' '--disable-tcl' '--enable-test' '--with-java-prefix=/opt/sun-jdk-1.6.0.14' '--with-javac-flags=-source 1.5 -target 1.5'
 *               ebuild.sh, line  534:  Called die
 * The specific snippet of code:
 *                      die "econf failed"
 *  The die message:
 *   econf failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/sys-libs/db-4.7.25_p4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-libs/db-4.7.25_p4/temp/environment'.
 *
!!! When you file a bug report, please include the following information:
GENTOO_VM=sun-jdk-1.6  CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.6.0.14"
JAVACFLAGS="-source 1.5 -target 1.5" COMPILER=""
and of course, the output of emerge --info

>>> Failed to emerge sys-libs/db-4.7.25_p4, Log file:

>>>  '/var/tmp/portage/sys-libs/db-4.7.25_p4/temp/build.log'
linux01 ~ #
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-09-13 17:29:53 UTC
Why did you close this as invalid?
Comment 5 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2009-09-13 18:03:07 UTC
Fixed in db-4.7.25_p4
Comment 6 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-09-17 14:54:53 UTC
*** Bug 264778 has been marked as a duplicate of this bug. ***