Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Bakefile fails to emerge [SOLVED]
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
pvh1987
n00b
n00b


Joined: 06 Jun 2012
Posts: 56

PostPosted: Sat Jan 19, 2013 1:43 am    Post subject: Bakefile fails to emerge [SOLVED] Reply with quote

I am having problems with emerging Bakefile. Looks Python-related but I can't figure out whats wrong. I know that the package is masked for x86_64 but I need to use it.

Code:

# emerge -av bakefile
These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ~] dev-util/bakefile-0.2.8  USE="-bash-completion -doc" 0 kB

Total: 1 package (1 new), Size of downloads: 0 kB

Would you like to merge these packages? [Yes/No] y

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) dev-util/bakefile-0.2.8
 * bakefile-0.2.8.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...                                            [ ok ]
>>> Unpacking source...
>>> Unpacking bakefile-0.2.8.tar.gz to /var/tmp/portage/dev-util/bakefile-0.2.8/work
>>> Source unpacked in /var/tmp/portage/dev-util/bakefile-0.2.8/work
>>> Preparing source in /var/tmp/portage/dev-util/bakefile-0.2.8/work/bakefile-0.2.8 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-util/bakefile-0.2.8/work/bakefile-0.2.8 ...
 * econf: updating bakefile-0.2.8/admin/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating bakefile-0.2.8/admin/config.guess with /usr/share/gnuconfig/config.guess
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of x86_64-pc-linux-gnu-gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r
checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar
checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
checking command to parse /usr/bin/nm -B output from x86_64-pc-linux-gnu-gcc object... ok
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC
checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes
checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes
checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for a Python interpreter with version >= 2.3.0... python
checking for python... /usr/bin/python
checking for python version... 3.2
checking for python platform... linux2
checking for python script directory... ${prefix}/lib64/python3.2/site-packages
checking for python extension module directory... ${exec_prefix}/lib64/python3.2/site-packages
checking for Python include path...   File "<string>", line 1
    from distutils import sysconfig; print sysconfig.get_python_inc()
                                                   ^
SyntaxError: invalid syntax

configure: error: cannot find Python include path

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/dev-util/bakefile-0.2.8/work/bakefile-0.2.8/config.log
 * ERROR: dev-util/bakefile-0.2.8 failed (configure phase):
 *   econf failed
 *
 * Call stack:
 *          ebuild.sh, line   93:  Called src_configure
 *        environment, line 4777:  Called base_src_configure
 *        environment, line  901:  Called econf
 *   phase-helpers.sh, line  501:  Called die
 * The specific snippet of code:
 *            die "econf failed"
 *
 * If you need support, post the output of `emerge --info '=dev-util/bakefile-0.2.8'`,
 * the complete build log and the output of `emerge -pqv '=dev-util/bakefile-0.2.8'`.
 * The complete build log is located at '/var/tmp/portage/dev-util/bakefile-0.2.8/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-util/bakefile-0.2.8/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-util/bakefile-0.2.8/work/bakefile-0.2.8'
 * S: '/var/tmp/portage/dev-util/bakefile-0.2.8/work/bakefile-0.2.8'

>>> Failed to emerge dev-util/bakefile-0.2.8, Log file:

>>>  '/var/tmp/portage/dev-util/bakefile-0.2.8/temp/build.log'

 * Messages for package dev-util/bakefile-0.2.8:

 * ERROR: dev-util/bakefile-0.2.8 failed (configure phase):
 *   econf failed
 *
 * Call stack:
 *          ebuild.sh, line   93:  Called src_configure
 *        environment, line 4777:  Called base_src_configure
 *        environment, line  901:  Called econf
 *   phase-helpers.sh, line  501:  Called die
 * The specific snippet of code:
 *            die "econf failed"
 *
 * If you need support, post the output of `emerge --info '=dev-util/bakefile-0.2.8'`,
 * the complete build log and the output of `emerge -pqv '=dev-util/bakefile-0.2.8'`.
 * The complete build log is located at '/var/tmp/portage/dev-util/bakefile-0.2.8/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-util/bakefile-0.2.8/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-util/bakefile-0.2.8/work/bakefile-0.2.8'
 * S: '/var/tmp/portage/dev-util/bakefile-0.2.8/work/bakefile-0.2.8'


Here is my emerge --info:
Code:

$ emerge --info
Portage 2.1.11.31 (default/linux/amd64/10.0/desktop, gcc-4.5.4, glibc-2.15-r3, 3.5.7-gentoo x86_64)
=================================================================
System uname: Linux-3.5.7-gentoo-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-gentoo-2.1
Timestamp of tree: Sat, 19 Jan 2013 00:45:01 +0000
ld GNU ld (GNU Binutils) 2.21.1
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.3-r2, 3.2.3
dev-util/cmake:           2.8.7-r5
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.4, 4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo java-overlay
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="$CONFIG_PROTECT /etc /usr/lib/oss/conf/ /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /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 -march=native -ggdb"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://de-mirror.org/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
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/java-overlay"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 artworkextra berkdb bluetooth bluray branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dhcpcd dri dts dvb dvd dvdr dvdread emboss encode exif fam ffmpeg firefox flac fortran gdbm gif gimp gmp gnutls gpm gtk gtkstyle guile hddtemp iconv ipv6 joystick jpeg jpeg2k latex lcms ldap libkms libnotify lm_sensors lock mad madwifi matroska mikmod mmx mng mod modplug modules mp3 mp4 mpeg mpeg2 mplayer mudflap multilib ncurses nls nptl nsplugin nvidia ogg opengl openmp pam pango pcre pdf pgf png policykit posix ppds pppd pstricks python qt3support qt4 quicktime readline sdl session spell sse sse2 ssl startup-notification svg tcpd threads thunar tiff truetype truetype-fonts type1 type1-fonts udev udisks unicode upower usb utf8 v4l v4l2 vcd vlc vorbis wma wma123 wxwidgets x264 xcb xcomposite xface xkb xml xscreensaver 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="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="udev evdev keyboard mouse synaptics mtrack joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en da" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="(-intel) fbdev vesa (-i810) (-i915) (-xgi) (-sis) (-virtualbox) (-vmware) (-voodoo) (-tseng) (-trident) (-tga) (-tdfx) (-suntcx) (-sunleo) (-sunffb) (-suncg6) (-suncg3) (-sungl4) (-sunbw2) (-sisusb) (-sis) (-siliconmotion) (-savage) (-s3virge) (-s3) (-rendition) (-r128) (-radeon) nvidia (-nv) nouveau (-apm) (-ark) (-ast) (-chips) (-cirrus) (-dummy) (-epson) (-neomagic) (-mga) (-mach64)" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON


Last edited by pvh1987 on Sat Jan 19, 2013 1:59 am; edited 1 time in total
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21490

PostPosted: Sat Jan 19, 2013 1:48 am    Post subject: Reply with quote

You have set your system Python to Python3, but that package uses a syntax that is not supported in Python3. Switch to Python2 or find an alternative package.
Back to top
View user's profile Send private message
pvh1987
n00b
n00b


Joined: 06 Jun 2012
Posts: 56

PostPosted: Sat Jan 19, 2013 1:59 am    Post subject: Reply with quote

Thanks. Now it works :-)
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