Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 516138 - dev-db/mongodb-2.4.6 - Usage: pip <command> [options] // no such option: -j
Summary: dev-db/mongodb-2.4.6 - Usage: pip <command> [options] // no such option: -j
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Ultrabug
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-03 09:17 UTC by Gaetan
Modified: 2014-07-30 09:45 UTC (History)
2 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 Gaetan 2014-07-03 09:17:39 UTC
Unable to compile dev-db/mongodb-2.4.6 (latest stable version so far) on a fresh system with world up-to-date.

Compilation fails with :

scons -j5 --cc=x86_64-pc-linux-gnu-gcc --cxx=x86_64-pc-linux-gnu-g++ --use-system-tcmalloc --use-system-pcre --use-system-snappy --use-system-boost --usev8 --ssl all

Usage:   
  pip <command> [options]

no such option: -j

Any idea?

Reproducible: Always

Steps to Reproduce:
1. emerge mongodb
Actual Results:  
Error on compile phase

Expected Results:  
Package installed

[ebuild  N    ] dev-db/mongodb-2.4.6-r2  USE="ssl -kerberos -mms-agent -sharedclient -spidermonkey -static-libs" 

Would you like to merge these packages? [Yes/No] 
>>> Verifying ebuild manifests
>>> Running pre-merge checks for dev-db/mongodb-2.4.6-r2
 * Checking for at least 2400 MiB disk space at "/var/tmp/portage/dev-db/mongodb-2.4.6-r2/temp" ...                                                                              [ ok ]
 * Checking for at least 512 MiB disk space at "//usr" ...                                                                                                                       [ ok ]
>>> Emerging (1 of 1) dev-db/mongodb-2.4.6-r2
>>> Failed to emerge dev-db/mongodb-2.4.6-r2, Log file:
>>>  '/var/tmp/portage/dev-db/mongodb-2.4.6-r2/temp/build.log'
>>> Jobs: 0 of 1 complete, 1 failed                 Load avg: 0.25, 0.59, 1.54
 * Package:    dev-db/mongodb-2.4.6-r2
 * Repository: gentoo
 * Maintainer: ultrabug@gentoo.org bugs@bergstroem.nu,proxy-maint@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux ssl userland_GNU
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
 * Applying mongodb-2.4.5-fix-scons.patch ...
 [ ok ]
 * Applying mongodb-2.2-r1-fix-boost.patch ...
 [ ok ]
 * Applying mongodb-2.4-fix-v8-pythonpath.patch ...
 [ ok ]
scons -j5 --cc=x86_64-pc-linux-gnu-gcc --cxx=x86_64-pc-linux-gnu-g++ --use-system-tcmalloc --use-system-pcre --use-system-snappy --use-system-boost --usev8 --ssl all

Usage:   
  pip <command> [options]

no such option: -j
 * ERROR: dev-db/mongodb-2.4.6-r2::gentoo failed (compile phase):
 *   escons failed.
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_compile
 *   environment, line 3161:  Called escons '--cc=x86_64-pc-linux-gnu-gcc' '--cxx=x86_64-pc-linux-gnu-g++' '--use-system-tcmalloc' '--use-system-pcre' '--use-system-snappy' '--use-system-boost' '--usev8' '--ssl' 'all'
 *   environment, line 1451:  Called die
 * The specific snippet of code:
 *       [[ ${ret} -ne 0 ]] && has "${EAPI:-0}" 4 5 && die "escons failed.";
 * 
 * If you need support, post the output of `emerge --info '=dev-db/mongodb-2.4.6-r2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-db/mongodb-2.4.6-r2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-db/mongodb-2.4.6-r2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-db/mongodb-2.4.6-r2/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-db/mongodb-2.4.6-r2/work/mongodb-src-r2.4.6'
 * S: '/var/tmp/portage/dev-db/mongodb-2.4.6-r2/work/mongodb-src-r2.4.6'

 * Messages for package dev-db/mongodb-2.4.6-r2:

 * ERROR: dev-db/mongodb-2.4.6-r2::gentoo failed (compile phase):
 *   escons failed.
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_compile
 *   environment, line 3161:  Called escons '--cc=x86_64-pc-linux-gnu-gcc' '--cxx=x86_64-pc-linux-gnu-g++' '--use-system-tcmalloc' '--use-system-pcre' '--use-system-snappy' '--use-system-boost' '--usev8' '--ssl' 'all'
 *   environment, line 1451:  Called die
 * The specific snippet of code:
 *       [[ ${ret} -ne 0 ]] && has "${EAPI:-0}" 4 5 && die "escons failed.";
 * 
 * If you need support, post the output of `emerge --info '=dev-db/mongodb-2.4.6-r2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-db/mongodb-2.4.6-r2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-db/mongodb-2.4.6-r2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-db/mongodb-2.4.6-r2/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-db/mongodb-2.4.6-r2/work/mongodb-src-r2.4.6'
 * S: '/var/tmp/portage/dev-db/mongodb-2.4.6-r2/work/mongodb-src-r2.4.6'
Comment 1 Gaetan 2014-07-03 09:33:21 UTC
Interestingly, the compilation fails because of my make.conf options.

The "-j" specified comes from my 

MAKEOPTS="-j5"

If I remove this option, the compilation error changes :

scons --cc=x86_64-pc-linux-gnu-gcc --cxx=x86_64-pc-linux-gnu-g++ --use-system-tcmalloc --use-system-pcre --use-system-snappy --use-system-boost --usev8 --ssl all

Usage:   
  pip <command> [options]

no such option: --cc

Why does pip does not like the options passed from my make.conf ?
Comment 2 Gaetan 2014-07-03 09:36:37 UTC
Complete make.conf :

# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
CFLAGS="-march=nocona -O2 -pipe"
CXXFLAGS=${CFLAGS}

# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="x86_64-pc-linux-gnu"

# These are the USE flags that were used in addition to what is provided by the
# profile used for building.
USE="apache2 mysql
        ssl -X ipv6 -ldap -sdl -qt -qt3 -qt4 -gtk -gtk2 -alsa -kde -gnome mmx sse sse2"

MAKEOPTS="-j5"

GENTOO_MIRRORS="ftp://mirror.ovh.net/gentoo-distfiles/ "
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"

APACHE2_MODULES="authz_host dir log_config mime rewrite status auth_basic auth_digest authn_file authn_default authz_default authz_groupfile authz_user authz_owner alias cgi autoindex headers deflate filter expires setenvif"
APACHE2_MPMS="prefork"

NGINX_MODULES_HTTP="access auth_basic gzip proxy stub_status rewrite fastcgi gzip_static"

# BinPKG
#PORTAGE_BINHOST="http://pkg.nexylan.net/"
#FEATURES="getbinpkg"
source /var/lib/layman/make.conf
PYTHON_TARGETS="python2_7 python3_2"
Comment 3 Johan Bergström 2014-07-24 00:30:26 UTC
I'm not able to reproduce this no matter what I do. What scons version do you run? I've tried 2.3.0. and 2.3.1.
Comment 4 Ultrabug gentoo-dev 2014-07-30 09:45:59 UTC
Please respond and reopen if needed, timeout for now.