Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 646016 - dev-db/mongodb-3.4.10: escons failed: fatal error: js-config.h: No such file or directory
Summary: dev-db/mongodb-3.4.10: escons failed: fatal error: js-config.h: No such file ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ultrabug
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-29 01:57 UTC by Thomas Deutschmann (RETIRED)
Modified: 2018-05-11 19:23 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,74.92 KB, text/plain)
2018-01-29 01:57 UTC, Thomas Deutschmann (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Deutschmann (RETIRED) gentoo-dev 2018-01-29 01:57:12 UTC
Created attachment 517030 [details]
build.log

Generating placeholder library build/opt/mongo/rpc/libprotocol.a
Skipping ranlib for build/opt/mongo/rpc/libprotocol.a
Compiling build/opt/mongo/scripting/mozjs/base.o
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
cc1plus: fatal error: js-config.h: No such file or directory
compilation terminated.
scons: *** [build/opt/mongo/scripting/mozjs/base.o] Error 1
scons: building terminated because of errors.
build/opt/mongo/scripting/mozjs/base.o failed: Error 1
 * ERROR: dev-db/mongodb-3.4.10::gentoo failed (compile phase):
 *   escons failed.
 *
 * Call stack:


Portage 2.3.19 (python 3.5.4-final-0, default/linux/x86/17.0, gcc-6.4.0, glibc-2.25-r9, 4.9.76-gentoo-r1 i686)
=================================================================
System uname: Linux-4.9.76-gentoo-r1-i686-Intel-R-_Core-TM-_i7-3770K_CPU_@_3.50GHz-with-gentoo-2.4.1
KiB Mem:     3108324 total,   1510220 free
KiB Swap:     488276 total,    488272 free
Timestamp of repository gentoo: Sun, 28 Jan 2018 14:49:10 +0000
Head commit of repository gentoo: 2b76a905fb48c4c2670f27c6df62528fe994422a

sh bash 4.4_p12
ld GNU ld (Gentoo 2.29.1 p3) 2.29.1
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.3::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.5.4-r1::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.11::gentoo
sys-apps/sandbox:         2.12::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.15.1-r1::gentoo
sys-devel/binutils:       2.29.1-r1::gentoo
sys-devel/gcc:            6.4.0-r1::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r9::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: -1000

ABI="x86"
ABI_X86="32"
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
ACCEPT_PROPERTIES="*"
ACCEPT_RESTRICT="*"
ARCH="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=pentium4m -mtune=pentium4m"
CHOST="i686-pc-linux-gnu"
CHOST_x86="i686-pc-linux-gnu"
COLLISION_IGNORE="/lib/modules/* *.py[co] *$py.class */dropin.cache"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/bind"
CPU_FLAGS_X86="mmx mmxext sse sse2"
CXXFLAGS="-O2 -pipe -march=pentium4m -mtune=pentium4m"
DEFAULT_ABI="x86"
EDITOR="/usr/bin/mcedit"
ELIBC="glibc"
EPREFIX=""
EROOT="/"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs cgroup config-protect-if-modified distlocks downgrade-backup ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -march=i686 -pipe"
GCC_SPECS=""
GRUB_PLATFORMS="efi-32 pc"
GSETTINGS_BACKEND="dconf"
GUILE_LOAD_PATH="/usr/share/guile/1.8"
HOME="/root"
INFOPATH="/usr/share/gcc-data/i686-pc-linux-gnu/6.4.0/info:/usr/share/binutils-data/i686-pc-linux-gnu/2.29.1/info:/usr/share/info:/usr/share/info/emacs-25"
INPUT_DEVICES="libinput keyboard mouse"
IUSE_IMPLICIT="abi_x86_32 prefix prefix-chain prefix-guest"
JAVAC="/etc/java-config-2/current-system-vm/bin/javac"
JAVA_HOME="/etc/java-config-2/current-system-vm"
JDK_HOME="/etc/java-config-2/current-system-vm"
KERNEL="linux"
L10N="en en-US de de-DE"
LADSPA_PATH="/usr/lib/ladspa"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LC_MESSAGES="C"
LC_PAPER="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LIBDIR_x86="lib"
LINGUAS="en de"
LOGNAME="root"
MAIL="/var/mail/root"
MAKEOPTS="--jobs 5 --load-average 7.95"
MULTILIB_ABIS="x86"
NOCOLOR="true"
OFFICE_IMPLEMENTATION="libreoffice"
OLDPWD="/root"
OPENGL_PROFILE="xorg-x11"
PAGER="/usr/bin/less"
PATH="/usr/i686-pc-linux-gnu/gcc-bin/6.4.0:/usr/lib/llvm/4/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin"
PHP_TARGETS="php5-6 php7-0"
POSTGRES_TARGETS="postgres9_5"
PWD="/tmp/stable"
PYTHONDONTWRITEBYTECODE="1"
PYTHON_SINGLE_TARGET="python3_5"
PYTHON_TARGETS="python2_7 python3_5"
QT_GRAPHICSSYSTEM="raster"
QT_PLUGIN_PATH="/usr/lib/kde4/plugins"
ROOT="/"
ROOTPATH="/usr/i686-pc-linux-gnu/gcc-bin/6.4.0:/usr/lib/llvm/4/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin"
RUBY_TARGETS="ruby22 ruby23"
SHELL="/bin/bash"
SHLVL="2"
SSH_TTY="/dev/pts/0"
TERM="screen"
TMUX="/tmp/tmux-0/default,5075,0"
TMUX_PANE="%3"
TWISTED_DISABLE_WRITING_OF_PLUGIN_CACHE="1"
USER="root"
USERLAND="GNU"
VBOX_APP_HOME="/usr/lib/virtualbox"
VIDEO_CARDS="vmware"
XDG_CONFIG_DIRS="/etc/xdg"
XDG_DATA_DIRS="/usr/local/share:/usr/share"
Comment 1 Tomáš Mózes 2018-01-29 04:14:26 UTC
jira.mongodb.org/plugins/servlet/mobile#issue/SERVER-22810
Comment 2 Tomáš Mózes 2018-01-29 09:40:31 UTC
https://docs.mongodb.com/v3.4/installation/

Changed in version 3.4: MongoDB no longer supports 32-bit x86 platforms.
Comment 3 Thomas Deutschmann (RETIRED) gentoo-dev 2018-01-29 09:45:43 UTC
At least this build issue should be easy to fix (I hope they only forgot about an adjustment in build system). But yes, we maybe have to drop keywords for mongodb on x86. However I am unsure about the meaning for the c driver. Without mongodb we cannot verify if the client works. And having a database client marked stable which we cannot test is a bad idea... so maybe this is the end for Mongodb in general for x86.
Comment 4 Tomáš Mózes 2018-01-29 09:52:06 UTC
(In reply to Thomas Deutschmann from comment #3)
> so maybe this is the end for Mongodb in general for x86.

I think so :-/
Comment 5 Larry the Git Cow gentoo-dev 2018-02-09 14:15:46 UTC
The bug has been closed via the following commit(s):

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

commit 95cda0448c11be5feb4c688138c9003af097f815
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2018-02-09 14:15:29 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2018-02-09 14:15:29 +0000

    dev-db/mongodb: drop x86 support -- upstream no longer supports x86
    
    > Changed in version 3.4: MongoDB no longer supports 32-bit x86 platforms.
    
    Source: https://docs.mongodb.com/v3.4/installation/
    
    Closes: https://github.com/gentoo/gentoo/pull/6995
    Closes: https://bugs.gentoo.org/646016
    Package-Manager: Portage-2.3.24, Repoman-2.3.6

 dev-db/mongodb/mongodb-3.4.10.ebuild | 2 +-
 dev-db/mongodb/mongodb-3.6.2.ebuild  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Additionally, it has been referenced in the following commit(s):

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

commit 18602efd3de03bd491dcf492bd3cea8f3fa0992d
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2018-02-09 14:12:25 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2018-02-09 14:12:25 +0000

    dev-libs/mongo-c-driver: Restrict tests for x86
    
    Tests require a local mongodb instance. However, dev-db/mongodb upstream
    doesn't support x86 anymore [Bug 646016] so we are restricting tests.
    
    Bug: https://bugs.gentoo.org/646016
    Closes: https://bugs.gentoo.org/645994
    Package-Manager: Portage-2.3.24, Repoman-2.3.6

 dev-libs/mongo-c-driver/mongo-c-driver-1.8.2.ebuild | 4 ++++
 1 file changed, 4 insertions(+)}