Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 380549 - sci-libs/cholmod-1.7.3 - shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Summary: sci-libs/cholmod-1.7.3 - shell-init: error retrieving current directory: getc...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-24 18:56 UTC by Alex
Modified: 2011-12-08 19:35 UTC (History)
0 users

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


Attachments
build.log (build.log,12.02 KB, text/plain)
2011-08-24 18:56 UTC, Alex
Details
config.log (config.log,65.75 KB, text/plain)
2011-08-24 18:57 UTC, Alex
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alex 2011-08-24 18:56:14 UTC
can not find lapack libraries due configuring

Reproducible: Always




Portage 2.3-r4 (default/linux/amd64/2008.0/desktop, gcc-4.4.5, glibc-2.11.3-r0, 3.0.0-gentoo x86_64)
=================================================================
System uname: Linux-3.0.0-gentoo-x86_64-AMD_Athlon-tm-_64_Processor_2800+-with-gentoo-2.1.8
Portage Tree: /home/portage-tree/portage
Portage HEAD: 9b94cc084d475a99ff5097a610e7bd269279c1c1 /home/portage-tree/portage/.git/refs/heads/funtoo.org
ccache version 3.1.6 [enabled]
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.1-r3
dev-util/ccache:          3.1.6
dev-util/cmake:           2.8.5-r2
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1.8-r2
sys-apps/openrc:          0.8.3-r2
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:       2.20.1
sys-devel/gcc:            4.4.5
sys-devel/gcc-config:     1.4.1
sys-devel/libtool:        2.4-r3
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.32 (virtual/os-headers)
sys-libs/glibc:           2.11.3
Repositories: gentoo ibormuth science emacs eatnumber1 lisp mineover enlightenment ikelos maggu2810-overlay
Installed sets: @system
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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 /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/mnt/remote/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=2 --keep-going"
FEATURES="assume-digests binpkg-logs ccache distlocks ebuild-locks fixlafiles fixpackages mini-manifest news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://mirror.qubenet.net/mirror/gentoo/ ftp://ftp.romnet.org/gentoo/ ftp://91.121.125.139/gentoo-distfiles/ ftp://mirror.bytemark.co.uk/gentoo/ ftp://ftp.klid.dk/gentoo/ ftp://mirror.opteamax.de/gentoo/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://mirror.bih.net.ba/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo"
LANG="ru_RU.UTF-8"
LC_ALL="POSIX"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed"
LINGUAS="ru"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_TMPDIR="/home/portage"
PORTDIR="/home/portage-tree/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/ibormuth /usr/local/portage/layman/science /usr/local/portage/layman/emacs /usr/local/portage/layman/eatnumber1 /usr/local/portage/layman/archimag-lisp /usr/local/portage/layman/mineover /usr/local/portage/layman/enlightenment /usr/local/portage/layman/ikelos /usr/local/portage/layman/maggu2810-overlay"
SYNC="git://github.com/funtoo/portage-mini-2011.git"
SYNC_USER="root"
USE="3dnow 3dnowext X a52 aac acl acpi alac alsa amd64 berkdb blas branding bzip2 cairo cdda cdparanoia cdr cjk cli consolekit cracklib crypt cups cxx dbus djvu dri dts dvd dvdr dvdread emacs emboss encode epoll esd exif fam ffmpeg firefox flac fontconfig fortran gdbm gdu gif glade gmp gnome gnutls gpm gstreamer gtk gtk3 iconv icu introspection jack jpeg lame lapack lcms ldap libnotify mad mdnsresponder-compat mmx mng modules mp3 mp4 mpeg mpi mudflap multilib ncurses nls nptl nptlonly ogg openexr opengl openmp pam pango pcre pdf perl png policykit ppds pppd pulseaudio python qt3 qt3support qt4 raw readline sdl session spell sqlite sse sse2 ssl startup-notification svg sysfs tcpd theora threads tiff truetype udev unicode usb vim-syntax vorbis wavpack x264 xcb xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 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 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="x86_64 i386" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa" 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, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, SYNC_UMASK
Comment 1 Alex 2011-08-24 18:56:43 UTC
Created attachment 284519 [details]
build.log
Comment 2 Alex 2011-08-24 18:57:23 UTC
Created attachment 284521 [details]
config.log
Comment 3 Rafał Mużyło 2011-08-24 22:08:42 UTC
Most likely a case of too many overlays, well, unless it's a minor ebuild bug.

This should have been a hint:
Package blas was not found in the pkg-config search path.
Perhaps you should add the directory containing `blas.pc'
to the PKG_CONFIG_PATH environment variable
No package 'blas' found
Package blas was not found in the pkg-config search path.
Perhaps you should add the directory containing `blas.pc'
to the PKG_CONFIG_PATH environment variable
Package 'blas', required by 'lapack', not found

See what provides virtual/lapack, if it's not one of the things from portage tree, bug overlay owner, if it is, check if it really doesn't provide pkgconfig file - if it doesn't, the bug lies in the ebuild.
Comment 4 Rafał Mużyło 2011-08-24 22:10:30 UTC
Correction, I meant virtual/blas.
Comment 5 Alex 2011-08-25 07:10:12 UTC
>>eix virtual/blas
[I] virtual/blas
     Available versions:  1.0 (~)2.0[1] {doc}
     Installed versions:  2.0[1](17:29:13 24.08.2011)(-doc)
     Description:         Virtual for FORTRAN 77 BLAS implementation

[1] "science" /usr/local/portage/layman/science

>>eix virtual/lapack
[I] virtual/lapack
     Available versions:  3.0 3.1 (~)3.3[1] {doc}
     Installed versions:  3.3[1](00:22:21 25.08.2011)(-doc)
     Description:         Virtual for Linear Algebra Package FORTRAN 77 (LAPACK) implementation

[1] "science" /usr/local/portage/layman/science

Do you suggest remove science overlay ?
Comment 6 Rafał Mużyło 2011-08-25 07:30:00 UTC
No, as I already said, I suggest that you check which package exactly provides virtual/blas and if it's one out of portage tree.

We'll go from there.
Comment 7 Alex 2011-08-25 11:21:58 UTC
virtual/blas installed from overlay science as posted above
Comment 8 Rafał Mużyło 2011-08-25 14:40:36 UTC
:roll: To re-repeat myself: virtual/blas is just that - virtual.
You need to see which real package provides it.
Only you can do it, as per design, a virtual is resolved by any of packages it lists.
Comment 9 Jeroen Roovers (RETIRED) gentoo-dev 2011-08-26 16:50:53 UTC
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory

That's a weird error. src_prepare() fails because of this.

I cannot reproduce the src_prepare() errors with regular sys-apps/portage, so I guess this is a Funtoo problem. Please report this there.
Comment 10 Rafał Mużyło 2011-08-26 19:27:50 UTC
(In reply to comment #9)
> shell-init: error retrieving current directory: getcwd: cannot access parent
> directories: No such file or directory
> 
> I cannot reproduce the src_prepare() errors with regular sys-apps/portage, so I
> guess this is a Funtoo problem. Please report this there.

Actually, that part is quite easy to reproduce:
- run mc
- cd <a dir>
- press Ctrl-O for subshell
- from a different terminal remove the previously changed to dir
- in the subshel run emerge 

As the current dir no longer exists, you'll get series of that error.
Comment 11 SpanKY gentoo-dev 2011-12-08 19:35:25 UTC
(In reply to comment #10)

yes, it's easy to reproduce, but that reproduction does not indicate a bug on Gentoo's side.  bash has always operated that way.