Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] /usr/bin/env: '@PYTHON@': No such file or directory
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
micb
n00b
n00b


Joined: 15 Apr 2004
Posts: 49
Location: Germany

PostPosted: Sun Nov 19, 2017 2:09 pm    Post subject: [SOLVED] /usr/bin/env: '@PYTHON@': No such file or directory Reply with quote

Tried to recompile packaged depending on libstdc++.so.6 after updating gcc.

Now I'm getting the error /usr/bin/env: '@PYTHON@': No such file or directory for the following (previously installed) packages:

app-text/poppler-0.57.0
x11-libs/vte-0.48.3
media-gfx/geeqie-1.3-r1
net-print/cups-filters-1.17.9

I tried to use python 2.7, 3.4 and 3.6 (eselect python set ...). Always the same problem.

I cannot find any similar problem on this forum (search for @PYTHON@ is not the best idea at all :? ) nor on bugs.gentoo.org nor with the mighty google. And I'm a bit confused because hundrets of other packages compiled fine before and after these packages :(

Any idea, what the problem could be?

Output of emerge --info
Code:

Portage 2.3.14 (python 2.7.14-final-0, default/linux/amd64/13.0/desktop/plasma, gcc-6.4.0, glibc-2.26-r3, 4.14.0-gentoo x86_64)
=================================================================
System uname: Linux-4.14.0-gentoo-x86_64-AMD_FX-tm-8350_Eight-Core_Processor-with-gentoo-2.4.1
KiB Mem:    16412128 total,   9705296 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Sat, 18 Nov 2017 06:00:01 +0000
Head commit of repository gentoo: 7d01fbeb4f80986e85918cb5cc4fe63acb325d31
Timestamp of repository poly-c: Fri, 17 Nov 2017 17:36:04 +0000
sh bash 4.4_p12
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.26.1-r1::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.4.6-r1::gentoo, 3.6.3-r1::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.8::gentoo
sys-apps/sandbox:         2.12::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15.1-r1::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo, 2.27::gentoo, 2.28-r2::gentoo, 2.28.1::gentoo, 2.29::gentoo, 2.29.1-r1::gentoo
sys-devel/gcc:            4.9.4::gentoo, 5.4.0-r3::gentoo, 6.3.0::gentoo, 6.4.0::gentoo
sys-devel/gcc-config:     1.9.0::gentoo
sys-devel/libtool:        2.4.6-r4::gentoo
sys-devel/make:           4.2.1-r1::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.26-r3::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts:
                                                                                                                                                                               
bar                                                                                                                                                                                                     
    location: /var/lib/layman/bar                                                                                                                                                                       
    masters: gentoo                                                                                                                                                                                     
    priority: 50                                                                                                                                                                                       
                                                                                                                                                                                                       
eclipse                                                                                                                                                                                                 
    location: /var/lib/layman/eclipse                                                                                                                                                                   
    masters: gentoo                                                                                                                                                                                     
    priority: 50                                                                                                                                                                                       
                                                                                                                                                                                                       
palemoon                                                                                                                                                                                               
    location: /var/lib/layman/palemoon                                                                                                                                                                 
    masters: gentoo
    priority: 50

pg_overlay
    location: /var/lib/layman/pg_overlay
    masters: gentoo
    priority: 50

poly-c
    location: /var/lib/layman/poly-c
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA PUEL dlj-1.1 skype-eula AdobeFlash-10 AdobeFlash-10.1 Oracle-BCLA-JavaSE cadsoft AdobeFlash-10.3 skype-4.0.0.7-copyright AdobeFlash-11.x Intel-SDP Nero-AAC-EULA OPERA-2014 MakeMKV-EULA Vivaldi"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=bdver2 -O2 -pipe"
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/php/apache2-php7.1/ext-active/ /etc/php/cgi-php7.1/ext-active/ /etc/php/cli-php7.1/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=bdver2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=4 --keep-going y --load-average=20"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch 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://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ "
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j7"
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="/var/tmp"
USE="3dnow 3dnowext X a52 aac aalib acl acpi activities ads alsa amd64 apache2 apic arts asf avi bash-completion bcmath berkdb bluray branding bzip2 cairo calendar caps cdda cdr cgi cli colord consolekit cracklib crypt css cups curl cxx dba dbus declarative dga dri dri3 drm dts dvd dvdr dvdread emboss encode examples exif faac faad fam flac flatfile fortran freetype gd gdbm gif glamor glitz gpm graphviz gs gstreamer gtk gtk3 guile hddtemp iconv icu imagemagick imap ipv6 java java5 jpeg jpeg2k kerberos kipi kwallet latex lcms ldap libnotify lm_sensors lzma mad maildir md5 md5sum mhash mmx mng modules motif mozdevelop mp3 mp4 mpeg msn multilib musepack musicbrainz mysql ncurses nfs nls nptl nsplugin ntfs objc offensive ogg opengl openh264 openmp oss pam pango pcre pdf pear phonon plasma png policykit postscript ppds pulseaudio qml qt5 raw readline samba scanner sdl seccomp semantic-desktop session sftp slang smp sndfile soap sockets socks5 spell sse sse2 ssl startup-notification suhosin svg tcl tcltk tcpd themes theora threads tiff tk truetype udev udisks unicode usb v4l v4l2 vcd vhosts vorbis webkit widgets wmf wxwidgets x264 xattr xcb xcomposite xfs xine xinerama xml xml2 xplanet xrandr xscreensaver xsettings xsl xulrunner xv xvid xvmc zlib" ABI_X86="64" 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="actions alias auth_basic auth_digest authn_anon authn_core authn_dbd authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias unixd authz_core socache_shmcb slotmem_shm" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="canon ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx fma3 fma4 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 xop" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="libinput joystick" KERNEL="linux" L10N="de" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de de_DE" LLVM_TARGETS="AMDGPU BPF NVPTX ARM Hexagon MSP430 Mips PowerPC Sparc SystemZ XCore AArch64" NETBEANS_MODULES="enterprise php groovy extide" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" QEMU_SOFTMMU_TARGETS="arm i386 m68k mips mips64 mips64el mipsel ppc ppc64 x86_64" QEMU_USER_TARGETS="alpha arm armeb i386 m68k mips mipsel ppc ppc64 ppc64abi32 x86_64" RUBY_TARGETS="ruby24" SANE_BACKENDS="epson2 epson canon_dr gphoto2 hp pixma" USERLAND="GNU" VIDEO_CARDS="radeon radeonsi" 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:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

_________________
I think I've lost my english-skills...


Last edited by micb on Fri Nov 24, 2017 8:04 pm; edited 1 time in total
Back to top
View user's profile Send private message
tabascoz
n00b
n00b


Joined: 14 May 2003
Posts: 45
Location: Rio de Janeiro

PostPosted: Thu Nov 23, 2017 6:21 pm    Post subject: Reply with quote

Hi, same error, several packages...
trying to build emerge -e system to see if it works.


Code:

Portage 2.3.15 (python 3.5.4-final-0, default/linux/amd64/13.0/desktop/gnome/systemd, gcc-7.2.0, glibc-2.26-r3, 4.12.14-zen+ x86_64)
=================================================================
System uname: Linux-4.12.14-zen+-x86_64-Intel-R-_Core-TM-_i7-5600U_CPU_@_2.60GHz-with-gentoo-2.4.1
KiB Mem:     7950456 total,    186540 free
KiB Swap:    8388604 total,   7669500 free
Timestamp of repository gentoo: Tue, 21 Nov 2017 12:00:01 +0000
Head commit of repository gentoo: 773e85d8da0f903514afda380d10c510e9cae791
Timestamp of repository poly-c: Tue, 21 Nov 2017 15:30:37 +0000
sh bash 4.4_p12
ld GNU ld (Gentoo 2.29.1 p3) 2.29.1
distcc 3.2rc1 x86_64-pc-linux-gnu [disabled]
ccache version 3.3.4 [disabled]
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.26.1-r1::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.5.4-r1::gentoo
dev-util/ccache:          3.3.4-r1::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.9::gentoo
sys-apps/sandbox:         2.12::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.15.1-r1::gentoo
sys-devel/binutils:       2.29.1-r1::gentoo
sys-devel/gcc:            7.2.0::gentoo
sys-devel/gcc-config:     1.9.0::gentoo
sys-devel/libtool:        2.4.6-r4::gentoo
sys-devel/make:           4.2.1-r1::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.26-r3::gentoo
Repositories:

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

crossdev
    location: /usr/local/portage
    masters: gentoo sabayon dotnet
    priority: 0

dotnet
    location: /var/lib/layman/dotnet
    masters: gentoo
    priority: 50

eroen
    location: /var/lib/layman/eroen
    masters: gentoo
    priority: 50

fkmclane
    location: /var/lib/layman/fkmclane
    masters: gentoo
    priority: 50

gentoo-zh
    location: /var/lib/layman/gentoo-zh
    masters: gentoo
    priority: 50

gnome
    location: /var/lib/layman/gnome
    masters: gentoo
    priority: 50

ixit
    location: /var/lib/layman/ixit
    masters: gentoo
    priority: 50

mv
    location: /var/lib/layman/mv
    masters: gentoo
    priority: 50

pentoo
    location: /var/lib/layman/pentoo
    masters: gentoo
    priority: 50

poly-c
    location: /var/lib/layman/poly-c
    masters: gentoo
    priority: 50

sabayon
    location: /var/lib/layman/sabayon
    masters: gentoo
    priority: 50

seden
    location: /var/lib/layman/seden
    masters: gentoo
    priority: 50

srcshelton
    location: /var/lib/layman/srcshelton
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=broadwell -mabm -mavx256-split-unaligned-load -mavx256-split-unaligned-store -mrtm -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/davmail-4.8.0/conf /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/chromium/policies/managed/chrome-gnome-shell.json /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/opt/chrome/policies/managed/chrome-gnome-shell.json /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=broadwell -mabm -mavx256-split-unaligned-load -mavx256-split-unaligned-store -mrtm -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=4 --keep-going --load-average 4   "
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs candy clean-logs config-protect-if-modified distlocks downgrade-backup ebuild-locks fixlafiles merge-sync multilib-strict news noinfo 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="-j4"
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="/var/tmp"
USE="X a52 aac aacplus acl acpi alsa amd64 amr amrenc autoipd avahi avx bashlogger bazaar berkdb bluetooth bluray branding bs2b btrfs bzip2 cairo cdda cddb cdio cdr celt cli client colord connection-sharing cracklib crypt cryptsetup cups cvs cxx darcs dbus device-mapper dmraid dri dri3 drm dts dvd dvdr eds efi egl emboss encode equalizer evdev evo exif experimental extensions faac fam fat ffmpeg firefox flac fortran frei0r ftdi fuse gallium gdbm gdm gif git glamor gles gles1 gles3 gnome gnome-keyring gnome-online-accounts google googledrive gpm gptfdisk graphite gstreamer gtk gtk3 hddtemp http iconv icu idn introspection ios ipod iproute2 ipv6 ithreads javafx jpeg jpeg2k kdenlive lcms ldap libass libkms libnotify libsamplerate libsecret libsoxr libvisual lm_sensors lz4 lzma lzo mad mdnsresponder-compat melt mercurial minizip mms mmxext mng modules mono mount mp3 mp4 mpeg mtp multilib native-headset nautilus ncat ncurses ndiff networkmanager nfsdcld nfsidmap nfsv4 nfsv41 nls nmap-update nptl nsplugin ntfs nut ogg openal opengl openmp optimization opus pam pango pcre pcre16 pdf pdfimport pkcs11 plugin-dot15d4 plugins plymouth png pnm policykit postscript ppds pulseaudio python python3 qrcode qt3support qt5 quvi rar rdesktop readline rtc rtmp samba schroedinger scrobbler sdl seccomp sensord session skey sna sndfile spell sqlite squashfs sse3 sse4 sse4.1 sse4.2 sse4_1 sse4_2 ssl ssse3 startup-notification strong-optimization svg systemd tcpd tga theora threads tiff toolame tools tremor truetype tty-helpers twolame udev udisks unicode unison upnp upnp-av upower usb uvm vaapi vala vhosts vlc vnc vorbis vpx vulkan wavpack wext wifi wxwidgets x264 x265 xattr xcb xen xml xmp xv xvid zeroconf zlib zoran" ABI_X86="64 32" ALSA_CARDS="hda-intel" 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64 multiboot pc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="pt_BR en en_US linguas_pt_BR pt" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" RUBY_TARGETS="ruby23 ruby24" 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"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


[Moderator edit: changed [quote] tags to [code] tags to preserve output layout. -Hu]
_________________
Tabascoz
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9677
Location: almost Mile High in the USA

PostPosted: Thu Nov 23, 2017 6:39 pm    Post subject: Reply with quote

I am not using any overlays and not seeing the issue (*yet*), are the packages you're having problems with from overlays?

Errors like this seems to imply that something didn't get fully installed.

Can you post the exact error, with context?
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
tabascoz
n00b
n00b


Joined: 14 May 2003
Posts: 45
Location: Rio de Janeiro

PostPosted: Thu Nov 23, 2017 9:59 pm    Post subject: Reply with quote

That could be the problem, but I have other box with almost the same set of layman repos and it is compiling fine...

An example:

sys-fs/udisks-2.7.4::gentoo

Build log : https://pastebin.com/J13ZGi4g

Code:
gdbus-codegen                                     \
   --interface-prefix org.freedesktop.UDisks2.                             \
   --c-namespace UDisks                     \
   --c-generate-object-manager                  \
   --generate-c-code udisks-generated                                   \
   --generate-docbook udisks-generated-doc               \
   ../data/org.freedesktop.UDisks2.xml                  \
   
/usr/bin/env: ‘@PYTHON@’: No such file or directory
make[2]: *** [Makefile:1142: udisks-generated.h] Error 127
make[2]: *** Waiting for unfinished jobs....
/usr/bin/env: ‘@PYTHON@’: No such file or directory
make[2]: *** [Makefile:1142: udisks-generated.c] Error 127
/usr/bin/env: ‘@PYTHON@’: No such file or directory
/usr/bin/env: ‘@PYTHON@’: No such file or directory
make[2]: Leaving directory '/var/tmp/portage/sys-fs/udisks-2.7.4/work/udisks-udisks-2.7.4/udisks'
make[1]: *** [Makefile:508: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/sys-fs/udisks-2.7.4/work/udisks-udisks-2.7.4'
make: *** [Makefile:440: all] Error 2
 * ERROR: sys-fs/udisks-2.7.4::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=sys-fs/udisks-2.7.4::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-fs/udisks-2.7.4::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sys-fs/udisks-2.7.4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-fs/udisks-2.7.4/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-fs/udisks-2.7.4/work/udisks-udisks-2.7.4'
 * S: '/var/tmp/portage/sys-fs/udisks-2.7.4/work/udisks-udisks-2.7.4'



I've tried to rebuild python related, python-exec, coreutils and cmake/automake. Nothing ...
_________________
Tabascoz
Back to top
View user's profile Send private message
tabascoz
n00b
n00b


Joined: 14 May 2003
Posts: 45
Location: Rio de Janeiro

PostPosted: Thu Nov 23, 2017 10:28 pm    Post subject: Reply with quote

another one

gnome-base/gnome-keyring-3.20.1:0/0::gentoo,

Build log: https://pastebin.com/a4dq2R9R

Code:
>>> Compiling source in /var/tmp/portage/gnome-base/gnome-keyring-3.20.1/work/gnome-keyring-3.20.1 ...
make -j4
echo "#include \"gkm-marshal.h\"" > gkm-marshal.c && \
/usr/bin/glib-genmarshal pkcs11/gkm/gkm-marshal.list --body --prefix=gkm_marshal >> gkm-marshal.c
/usr/bin/glib-genmarshal pkcs11/gkm/gkm-marshal.list --header --prefix=gkm_marshal > gkm-marshal.h
/usr/bin/env: ‘@PYTHON@’: No such file or directory
/usr/bin/env: ‘@PYTHON@’: No such file or directorymake: *** [Makefile:6905: gkm-marshal.c] Error 127
make: *** Waiting for unfinished jobs....

make: *** [Makefile:6903: gkm-marshal.h] Error 127
 * ERROR: gnome-base/gnome-keyring-3.20.1::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=gnome-base/gnome-keyring-3.20.1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=gnome-base/gnome-keyring-3.20.1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/gnome-base/gnome-keyring-3.20.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/gnome-base/gnome-keyring-3.20.1/temp/environment'.
 * Working directory: '/var/tmp/portage/gnome-base/gnome-keyring-3.20.1/work/gnome-keyring-3.20.1'
 * S: '/var/tmp/portage/gnome-base/gnome-keyring-3.20.1/work/gnome-keyring-3.20.1

_________________
Tabascoz
Back to top
View user's profile Send private message
ct85711
Veteran
Veteran


Joined: 27 Sep 2005
Posts: 1791

PostPosted: Thu Nov 23, 2017 10:44 pm    Post subject: Reply with quote

Just wondering, but can you check the file contents in your /etc/env.d/ to see where this @PYTHON@ is coming from as these are not from the package(s)...
Back to top
View user's profile Send private message
tabascoz
n00b
n00b


Joined: 14 May 2003
Posts: 45
Location: Rio de Janeiro

PostPosted: Thu Nov 23, 2017 10:50 pm    Post subject: Reply with quote

Found.... something weird in /usr/bin/glib-genmarshal

Code:
pro2 ~ # /usr/bin/glib-genmarshal
/usr/bin/env: ‘@PYTHON@’: No such file or directory
pro2 ~ #


recompiling glib - version from overlay poly-c - probably same as micb... Weird is that my other box has the same version.

will post the results shortly
_________________
Tabascoz
Back to top
View user's profile Send private message
tabascoz
n00b
n00b


Joined: 14 May 2003
Posts: 45
Location: Rio de Janeiro

PostPosted: Thu Nov 23, 2017 10:55 pm    Post subject: Reply with quote

That's it ! recompiling glib and gdbus-codegen solved the issue !

Thanks eccerr0r
_________________
Tabascoz
Back to top
View user's profile Send private message
micb
n00b
n00b


Joined: 15 Apr 2004
Posts: 49
Location: Germany

PostPosted: Fri Nov 24, 2017 8:03 pm    Post subject: Reply with quote

I couldn't find any @PYTHON@ in /etc/env.d but glib::poly-c/gdbus-codegen::poly-c was the precious hint.

I've masked glib and gdbus-codegen from poly-c and installed both from portage. Now the other packages are compiling fine.

Many thanks eccerr0r, ct85711 and tabascoz!
_________________
I think I've lost my english-skills...
Back to top
View user's profile Send private message
Perfect Gentleman
Veteran
Veteran


Joined: 18 May 2014
Posts: 1246

PostPosted: Sat Nov 25, 2017 5:34 am    Post subject: Reply with quote

Fixed in pg_overlay.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
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