Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 442536 - sys-apps/portage: on failures for some packages, portage displays messages referring to non-existing files/directories.
Summary: sys-apps/portage: on failures for some packages, portage displays messages re...
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 445274
  Show dependency tree
 
Reported: 2012-11-10 02:23 UTC by Chris Slycord
Modified: 2012-11-29 23:54 UTC (History)
1 user (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 Chris Slycord 2012-11-10 02:23:39 UTC
I have sys-apps/portage-2.2.0_alpha142 installed and received the following.

* There is NOT at least 2 gigabytes RAM
 * 
 * Space constrains set in the ebuild were not met!
 * The build will most probably fail, you should enhance the space
 * as per failed tests.
 * 
 * ERROR: dev-python/pypy-1.9-r1 failed (pretend phase):
 *   Build requirements not met!
 * 
 * Call stack:
 *            ebuild.sh, line  93:  Called pkg_pretend
 *   pypy-1.9-r1.ebuild, line  36:  Called check-reqs_pkg_pretend
 *    check-reqs.eclass, line 107:  Called check-reqs_pkg_setup
 *    check-reqs.eclass, line  98:  Called check-reqs_output
 *    check-reqs.eclass, line 239:  Called die
 * The specific snippet of code:
 *   		[[ ${EBUILD_PHASE} == "pretend" && -z ${I_KNOW_WHAT_I_AM_DOING} ]] && \
 *   			die "Build requirements not met!"
 * 
 * If you need support, post the output of `emerge --info '=dev-python/pypy-1.9-r1'`,
 * the complete build log and the output of `emerge -pqv '=dev-python/pypy-1.9-r1'`.
 * The complete build log is located at '/var/tmp/portage/dev-python/pypy-1.9-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/pypy-1.9-r1/temp/die.env'.
 * Working directory: '/var/tmp/portage/dev-python/pypy-1.9-r1'
 * S: '/var/tmp/portage/dev-python/pypy-1.9-r1/work/pypy-1.9'

And per the output, I should post the build log located at /var/tmp/portage/dev-python/pypy-1.9-r1/temp/build.log

But that file directory tree doesn't exist.
# ls /var/tmp/portage/dev-python/                
ls: cannot access /var/tmp/portage/dev-python/: No such file or directory

Reproducible: Always

Steps to Reproduce:
1. Install sys-apps/portage-2.2.0_alpha142
2. Try to install dev-python/pypy-1.9-r1
3. Look at output
Actual Results:  
Tells user to post contents of files in a temporary directory that doesn't exist


Portage 2.2.0_alpha142 (default/linux/x86/10.0, gcc-4.6.3, glibc-2.16.0, 3.6.6-gentoo i686)
=================================================================
System uname: Linux-3.6.6-gentoo-i686-Intel-R-_Core-TM-2_CPU_6420_@_2.13GHz-with-gentoo-2.2
Timestamp of tree: Fri, 09 Nov 2012 23:15:01 +0000
ld GNU ld (GNU Binutils) 2.23
distcc 3.1 i686-pc-linux-gnu [disabled]
ccache version 3.1.8 [enabled]
app-shells/bash:          4.2_p39
dev-java/java-config:     2.1.12
dev-lang/python:          2.7.3-r2, 3.2.3-r1
dev-util/ccache:          3.1.8
dev-util/cmake:           2.8.9-r1
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.4
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.4
sys-devel/binutils:       2.23
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.6 (virtual/os-headers)
sys-libs/glibc:           2.16.0
Repositories: gentoo mv sabayon dev-zero local_portage
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -D_FORTIFY_SOURCE=2 -march=core2 -mcx16 -msahf --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=4096 -mtune=core2 -mmmx -msse -msse2 -msse3 -mssse3 -pipe -fomit-frame-pointer -mno-tls-direct-seg-refs"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf /etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -D_FORTIFY_SOURCE=2 -march=core2 -mcx16 -msahf --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=4096 -mtune=core2 -mmmx -msse -msse2 -msse3 -mssse3 -pipe -fomit-frame-pointer -mno-tls-direct-seg-refs"
DISTDIR="/home/ftp/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y --keep-going"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch usersandbox"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_US es es_LA es_MX ja ko zh_CN zh_TW zh"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/mv /var/lib/layman/sabayon /var/lib/layman/dev-zero /usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="X aac acl acpi alsa bash-completion berkdb bluray bzip2 cairo cdda cddb cdr cjk cli clutter consolekit corefonts cracklib crypt css cups cxx dbus dri dvd dvdread eds ffmpeg flac fontconfig fortran gdbm gif gmp gnome gnome-keyring gpm gstreamer gtk iconv icu ipv6 jpeg jpeg2k lcms libnotify lm_sensors lzma mmx modules mp3 msn mudflap nautilus ncurses nls nptl nsplugin ogg opengl openmp pam pcre png policykit pppd pulseaudio qemu-ifup qt3support readline session sse sse2 sse3 ssl ssse3 svg tcpd theora threads tiff truetype udev unicode vaapi vdpau vorbis win32codecs x264 x86 xml xvid xvmc 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="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer nlpsolver pdfimport" LINGUAS="en en_US es es_LA es_MX ja ko zh_CN zh_TW zh" NETBEANS_MODULES="apisupport cnd dlight enterprise ergonomics groovy java javacard javafx mobility php profiler websvccommon" PHP_TARGETS="php5-3" PYTHON_TARGETS="python2_7 python3_2 pypy1_9 jython2_5" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="nouveau nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2012-11-11 16:21:06 UTC
> * There is NOT at least 2 gigabytes RAM
> * 
> * Space constrains set in the ebuild were not met!
> * The build will most probably fail, you should enhance the space
> * as per failed tests.

Did you read this? Have you tried fixing that?
Comment 2 Chris Slycord 2012-11-11 16:46:56 UTC
1) Of course I read it.
2) no, I haven't fixed it as it is part of a bug reported elsewhere (imo, the error isn't valid).
3) whether I did our didn't read it doesn't change the fact that portage gives error messages referring to non-existent files.
Comment 3 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2012-11-11 17:01:02 UTC
Okay, just checking the obvious, relisted bug and assigned to maintainers.

> 2) no, I haven't fixed it as it is part of a bug reported elsewhere (imo, the error isn't valid).

Which bug is this? It might be the cause of this problem.

This information might or might not help the maintainer.

> 3) whether I did our didn't read it doesn't change the fact that portage gives error messages referring to non-existent files.

If it ran out of space, it can't create the folder; so it does play a role.

> I have sys-apps/portage-2.2.0_alpha142 installed and received the following.

Why are you on a masked portage? It is alpha for a reason.
Comment 4 Chris Slycord 2012-11-11 17:18:48 UTC
Nothing ran out of space.
Pypy checks for 2 gb of ram. Gentoo, for whatever reason only recognizes 2000 mb of my ram and so it complains, but I still have memory space available both in ram, swap, and disk space.
Comment 6 Zac Medico gentoo-dev 2012-11-29 23:54:14 UTC
This is fixed in 2.1.11.32 and 2.2.0_alpha143.