Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 557580 - dev-python/pycparser - error: cannot copy tree '/var/tmp/portage/dev-python/pycparser-2.14/work/pycparser-2.14-python3_4/scripts': not a directory
Summary: dev-python/pycparser - error: cannot copy tree '/var/tmp/portage/dev-python/p...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-14 14:51 UTC by Jean-Francois Ostiguy
Modified: 2017-08-20 03:33 UTC (History)
0 users

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


Attachments
build log (build.log,15.49 KB, text/plain)
2015-08-21 21:13 UTC, Jean-Francois Ostiguy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jean-Francois Ostiguy 2015-08-14 14:51:54 UTC
Install phase dies with this error:

running build_scripts
error: cannot copy tree '/var/tmp/portage/dev-python/pycparser-2.14/work/pycparser-2.14-python3_4/scripts': not a directory
 * ERROR: dev-python/pycparser-2.14::gentoo failed (install phase):
 *   (no error message)
 * 
 
===============================================================================
emerge --info 

Portage 2.2.20 (python 2.7.10-final-0, default/linux/amd64/13.0/desktop/kde, gcc-4.9.2, glibc-2.21-r1, 3.16.1-gentoo x86_64)
=================================================================
System uname: Linux-3.16.1-gentoo-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9550_@_2.83GHz-with-gentoo-2.2
KiB Mem:     8098460 total,   1468968 free
KiB Swap:   25173848 total,  24793712 free
Timestamp of repository gentoo: Fri, 14 Aug 2015 14:30:01 +0000
sh bash 4.3_p33-r2
ld GNU ld (Gentoo 2.25 p1.2) 2.25
ccache version 3.2.2 [disabled]
app-shells/bash:          4.3_p33-r2::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.22.0::gentoo
dev-lang/python:          2.7.10::gentoo, 3.3.5-r1::gentoo, 3.4.3::gentoo
dev-util/ccache:          3.2.2::gentoo
dev-util/cmake:           3.2.3::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.17::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25-r1::gentoo
sys-devel/gcc:            3.4.6-r2::gentoo, 4.7.4::gentoo, 4.8.3::gentoo, 4.9.2::gentoo, 5.1.0::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.21-r1::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 0

science
    location: /var/lib/layman/science
    sync-uri: git://github.com/gentoo-science/sci.git
    masters: gentoo
    priority: 50

sunrise
    location: /var/lib/layman/sunrise
    sync-uri: git://anongit.gentoo.org/proj/sunrise-reviewed.git
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 x86 ~amd64 ~x86"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/php/cli-php5.6/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="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="rsync://gentoo.chem.wisc.edu/gentoo/ rsync://rsync.gtlib.gatech.edu/gentoo rsync://distro.ibiblio.org/pub/linux/distributions/gentoo/ rsync://mirrors.rit.edu/gentoo/ ftp://mirror.iawnet.sandia.gov/pub/gentoo/ rsync://gentoo.cs.uni.edu/gentoo-distfiles"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude ChangeLog --delete-excluded"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cleartype cli consolekit corefonts cracklib crypt cups cxx dbus declarative dri dts dvd dvdr dvdread egl emboss encode exif fam fftw firefox flac fontconfig fortran gcj gdbm geant4 gif glamor glut gpm gtk hal iconv icu ipv6 ipython java jpeg kde kerberos kipi kpathsea lcms ldap libnotify mad matplotlib mmx mmxext mng modules mp3 mp4 mpeg multilib mysql ncurses nls nptl nptlonly nsplugin odbc ogg opengl openmp pam pango pcre pdf phonon php plasma png policykit postgres ppds pulse pulseaudio python qt3support qt4 readline real scipy sdl semantic-desktop session spell sql sqlite sse sse2 ssl startup-notification svg tcpd threads tiff tinfo truetype truetype-fonts type1 type1-fonts udev udisks unicode upower usb vhosts vorbis webkit wxwidgets x264 xcb xcomposite xinerama xml xscreensaver xv xvid zlib" ABI_X86="64 32" 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" 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 author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx sse sse2 sse3 ssse3 mmxext" 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 ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" NETBEANS_MODULES="apisupport java websvccommon php profiler" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5 php-5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="nvidia vesa fbdev" 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"
USE_PYTHON="2.7 3.4"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 1 Mike Gilbert gentoo-dev 2015-08-19 20:33:18 UTC
Please attach the build log.
Comment 2 Jean-Francois Ostiguy 2015-08-21 21:13:01 UTC
Created attachment 409788 [details]
build log
Comment 3 Ian Delaney (RETIRED) gentoo-dev 2015-09-12 00:27:03 UTC
gentoo/dev-python/pycparser $ PYTHON_TARGETS=python3_4 ebuild pycparser-2.14.ebuild clean install

 * python3_4: running distutils-r1_run_phase distutils-r1_python_install_all
>>> Completed installing pycparser-2.14 into ......./image

$ grep running install_scripts /path/to/pycparser-2.14/temp/build.log 
grep: install_scripts: No such file or directory
/path/to/pycparser-2.14/temp/build.log: * python3_4: running distutils-r1_run_phase python_compile
/path/to/pycparser-2.14/temp/build.log:running build
/path/to/pycparser-2.14/temp/build.log:running build_py
/path/to/pycparser-2.14/temp/build.log: * python3_4: running distutils-r1_run_phase distutils-r1_python_install
/path/to/pycparser-2.14/temp/build.log:running install
/path/to/pycparser-2.14/temp/build.log:running build
/path/to/pycparser-2.14/temp/build.log:running build_py
/path/to/pycparser-2.14/temp/build.log:running install_lib
/path/to/pycparser-2.14/temp/build.log:running install_egg_info
/path/to/pycparser-2.14/temp/build.log:running egg_info
/path/to/pycparser-2.14/temp/build.log:running install_scripts
/path/to/pycparser-2.14/temp/build.log: * python3_4: running distutils-r1_run_phase distutils-r1_python_install_all

Perfect run
Comment 4 Roland Wittmann 2015-12-01 15:05:10 UTC
I had the same issue couple of days ago when using dev-python/setuptools-9999.
Downgrading to dev-python/setuptools-18.4 solved this issue for me.
Comment 5 Tim Harder gentoo-dev 2017-08-20 03:33:12 UTC
Closing this since I don't think it exists anymore with versions in the tree.