View previous topic :: View next topic |
Author |
Message |
Perfect Gentleman Veteran
Joined: 18 May 2014 Posts: 1249
|
Posted: Tue Oct 25, 2016 2:05 am Post subject: [solved] Problems with merging python2.7 packages |
|
|
Code: | >>> Emerging (1 of 1) dev-python/simplejson-3.9.0::gentoo
* simplejson-3.9.0.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking simplejson-3.9.0.tar.gz to /tmp/portage/dev-python/simplejson-3.9.0/work
>>> Source unpacked in /tmp/portage/dev-python/simplejson-3.9.0/work
>>> Preparing source in /tmp/portage/dev-python/simplejson-3.9.0/work/simplejson-3.9.0 ...
>>> Source prepared.
>>> Configuring source in /tmp/portage/dev-python/simplejson-3.9.0/work/simplejson-3.9.0 ...
>>> Source configured.
>>> Compiling source in /tmp/portage/dev-python/simplejson-3.9.0/work/simplejson-3.9.0 ...
* python2_7: running distutils-r1_run_phase python_compile
/usr/bin/python2.7 setup.py build
Traceback (most recent call last):
File "setup.py", line 6, in <module>
from setuptools import setup, Extension, Command
File "/usr/lib64/python2.7/site-packages/setuptools/__init__.py", line 10, in <module>
from setuptools.extern.six.moves import filterfalse, map
File "/usr/lib64/python2.7/site-packages/setuptools/extern/__init__.py", line 1, in <module>
from pkg_resources.extern import VendorImporter
File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 2985, in <module>
@_call_aside
File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 2971, in _call_aside
f(*args, **kwargs)
File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 2998, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 651, in _build_master
ws = cls()
File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 644, in __init__
self.add_entry(entry)
File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 700, in add_entry
for dist in find_distributions(entry, True):
File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 1990, in find_on_path
path_item, entry, metadata, precedence=DEVELOP_DIST
File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 2399, in from_location
py_version=py_version, platform=platform, **kw
File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 2740, in _reload_version
md_version = _version_from_file(self._get_metadata(self.PKG_INFO))
File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 2364, in _version_from_file
line = next(iter(version_lines), '')
File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 2532, in _get_metadata
for line in self.get_metadata_lines(name):
File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 1472, in get_metadata_lines
return yield_lines(self.get_metadata(name))
File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 1468, in get_metadata
value = self._get(self._fn(self.egg_info, name))
File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 1577, in _get
with open(path, 'rb') as stream:
IOError: [Errno 13] Permission denied: '/usr/lib64/python2.7/site-packages/pycparser-2.16-py2.7.egg-info/PKG-INFO'
* ERROR: dev-python/simplejson-3.9.0::gentoo failed (compile phase):
* (no error message)
*
* Call stack:
* ebuild.sh, line 115: Called src_compile
* environment, line 4015: Called distutils-r1_src_compile
* environment, line 1044: Called _distutils-r1_run_foreach_impl 'python_compile'
* environment, line 316: Called python_foreach_impl 'distutils-r1_run_phase' 'python_compile'
* environment, line 3470: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_compile'
* environment, line 2563: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_compile'
* environment, line 2561: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_compile'
* environment, line 627: Called distutils-r1_run_phase 'python_compile'
* environment, line 1037: Called python_compile
* environment, line 3058: Called distutils-r1_python_compile
* environment, line 912: Called esetup.py 'build'
* environment, line 1603: Called die
* The specific snippet of code:
* "${@}" || die "${die_args[@]}";
*
* If you need support, post the output of `emerge --info '=dev-python/simplejson-3.9.0::gentoo'`,
* the complete build log and the output of `emerge -pqv '=dev-python/simplejson-3.9.0::gentoo'`.
* The complete build log is located at '/tmp/portage/dev-python/simplejson-3.9.0/temp/build.log'.
* The ebuild environment file is located at '/tmp/portage/dev-python/simplejson-3.9.0/temp/environment'.
* Working directory: '/tmp/portage/dev-python/simplejson-3.9.0/work/simplejson-3.9.0'
* S: '/tmp/portage/dev-python/simplejson-3.9.0/work/simplejson-3.9.0' |
Code: | ~ $ emerge --info
Portage 2.3.2 (python 3.5.2-final-0, default/linux/amd64/13.0/desktop/plasma, gcc-6.2.0, glibc-2.23-r2, 4.8.4-gentoo x86_64)
=================================================================
System uname: Linux-4.8.4-gentoo-x86_64-Intel-R-_Core-TM-_i7-4770K_CPU_@_3.50GHz-with-gentoo-2.3
KiB Mem: 16084296 total, 9333436 free
KiB Swap: 16777212 total, 16768632 free
Timestamp of repository gentoo: Tue, 25 Oct 2016 01:04:14 +0000
Timestamp of repository kde: Sun, 23 Oct 2016 16:44:14 +0000
Timestamp of repository x11: Sat, 22 Oct 2016 23:19:04 +0000
sh bash 4.4-r1
ld GNU gold (Gentoo 2.26.1 p1.0 2.26.1) 1.11
distcc 3.2rc1 x86_64-pc-linux-gnu [disabled]
app-shells/bash: 4.4-r1::gentoo
dev-lang/perl: 5.24.0-r2::gentoo
dev-lang/python: 2.7.12::gentoo, 3.5.2::gentoo
dev-util/cmake: 3.6.2::gentoo
dev-util/pkgconfig: 0.29.1::gentoo
sys-apps/baselayout: 2.3::gentoo
sys-apps/openrc: 0.22.2::gentoo
sys-apps/sandbox: 2.10-r2::gentoo
sys-devel/autoconf: 2.13::gentoo, 2.69-r2::gentoo
sys-devel/automake: 1.12.6-r1::gentoo, 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils: 2.26.1::gentoo
sys-devel/gcc: 6.2.0-r1::gentoo
sys-devel/gcc-config: 1.8-r1::gentoo
sys-devel/libtool: 2.4.6-r2::gentoo
sys-devel/make: 4.2.1::gentoo
sys-kernel/linux-headers: 4.7::gentoo (virtual/os-headers)
sys-libs/glibc: 2.23-r2::gentoo
Repositories:
gentoo
location: /usr/portage
sync-type: git
sync-uri: git://github.com/gentoo-mirror/gentoo.git
priority: 1
sync-git-clone-extra-opts: --branch master
kde
location: /usr/portage/proj/kde
sync-type: git
sync-uri: git://github.com/gentoo-mirror/kde.git
masters: gentoo
priority: 3
x11
location: /usr/portage/proj/x11
sync-type: git
sync-uri: git://github.com/gentoo-mirror/x11.git
masters: gentoo
priority: 3
pg_overlay
location: /usr/local/overlay
sync-type: git
sync-uri: git://github.com/perfect7gentleman/pg_overlay.git
masters: gentoo
priority: 7
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -mtune=native -O2 -pipe -fomit-frame-pointer -fno-stack-protector"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -mtune=native -O2 -pipe -fomit-frame-pointer -fno-stack-protector"
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 parallel-install preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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 --exclude=/.git"
PORTAGE_TMPDIR="/tmp"
USE="X acl acpi amd64 bash-completion branding bzip2 cairo cli consolekit cracklib cups custom-cflags cxx dbus declarative dri dts exif fam ffmpeg flac fontconfig gif gmp gzip iconv icu introspection jabber jit jpeg kipi lcms libass libnotify lm_sensors lua lzma lzo matroska minimal mmap mmx mmxext mng modules multilib ncurses nls nptl nsplugin ntpl opengl openmp orc pam pango pcre pdf phonon png policykit ppds pulseaudio qml readline seccomp session smp sox spell sse sse2 ssl svg symlink tcmalloc threads tiff truetype udev udisks udisks2 unicode usb v4l vaapi wavpack webp widgets wxwidgets x264 xattr xcb xcomposite xml xmpp xv xvid zlib" ABI_X86="64" ALSA_CARDS="emu10k1" 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="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 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="libinput roccat_kovaplus roccat_ryosmk" KERNEL="linux" L10N="en en-US ru" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US ru ru_RU" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python3_5" QEMU_SOFTMMU_TARGETS="x86_64 i386" QEMU_USER_TARGETS="x86_64 i386" RUBY_TARGETS="ruby23" USERLAND="GNU" VIDEO_CARDS="intel i965" 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="3.5"
Unset: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
|
Last edited by Perfect Gentleman on Tue Oct 25, 2016 2:20 am; edited 1 time in total |
|
Back to top |
|
|
jburns Veteran
Joined: 18 Jan 2007 Posts: 1214 Location: Massachusetts USA
|
Posted: Tue Oct 25, 2016 2:19 am Post subject: |
|
|
dev-python/pycparser-2.16 has a permissions problem that is fixed in dev-python/pycparser-2.16-r1 |
|
Back to top |
|
|
Perfect Gentleman Veteran
Joined: 18 May 2014 Posts: 1249
|
Posted: Tue Oct 25, 2016 2:20 am Post subject: |
|
|
yep, i unmerged pycparser, then re-emerged it. now it's okay. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|