Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge gperf problem [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
jonsag
n00b
n00b


Joined: 06 Nov 2006
Posts: 4

PostPosted: Thu Aug 18, 2011 3:24 pm    Post subject: emerge gperf problem [SOLVED] Reply with quote

I'm having trouble emergeing gperf (among other things)

This is the output:

Code:

amd64-4400 ~ # emerge -1 gperf

Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) dev-util/gperf-3.0.4
 * gperf-3.0.4.tar.gz RMD160 SHA1 SHA256 size ;-) ...                            [ ok ]
 * Package:    dev-util/gperf-3.0.4
 * Repository: gentoo
 * Maintainer: maintainer-needed@gentoo.org
 * USE:        amd64 elibc_glibc kernel_linux multilib userland_GNU
 * FEATURES:   sandbox
>>> Unpacking source...
>>> Unpacking gperf-3.0.4.tar.gz to /var/tmp/portage/dev-util/gperf-3.0.4/work
>>> Source unpacked in /var/tmp/portage/dev-util/gperf-3.0.4/work
>>> Preparing source in /var/tmp/portage/dev-util/gperf-3.0.4/work/gperf-3.0.4 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-util/gperf-3.0.4/work/gperf-3.0.4 ...
./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 whether make sets $(MAKE)... yes
configure: creating ./config.status
config.status: creating Makefile
=== configuring in lib (/var/tmp/portage/dev-util/gperf-3.0.4/work/gperf-3.0.4/lib)
configure: running /bin/sh ./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' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=x86_64-pc-linux-gnu' --cache-file=/dev/null --srcdir=.
checking whether make sets $(MAKE)... yes
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 how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++
checking whether we are using the GNU C++ compiler... no
checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes
checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
checking for a BSD compatible install... /usr/bin/install -c
configure: creating ./config.status
config.status: creating Makefile
=== configuring in src (/var/tmp/portage/dev-util/gperf-3.0.4/work/gperf-3.0.4/src)
configure: running /bin/sh ./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' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=x86_64-pc-linux-gnu' --cache-file=/dev/null --srcdir=.
checking whether make sets $(MAKE)... yes
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 how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++
checking whether we are using the GNU C++ compiler... no
checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes
checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E
checking for a BSD compatible install... /usr/bin/install -c
checking for stack-allocated variable-size arrays... no
checking for rand in -lm... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
=== configuring in tests (/var/tmp/portage/dev-util/gperf-3.0.4/work/gperf-3.0.4/tests)
configure: running /bin/sh ./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' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=x86_64-pc-linux-gnu' --cache-file=/dev/null --srcdir=.
checking whether make sets $(MAKE)... yes
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 how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++
checking whether we are using the GNU C++ compiler... no
checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes
checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E
configure: creating ./config.status
config.status: creating Makefile
=== configuring in doc (/var/tmp/portage/dev-util/gperf-3.0.4/work/gperf-3.0.4/doc)
configure: running /bin/sh ./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' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=x86_64-pc-linux-gnu' --cache-file=/dev/null --srcdir=.
checking whether make sets $(MAKE)... yes
checking for a BSD compatible install... /usr/bin/install -c
configure: creating ./config.status
config.status: creating Makefile
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-util/gperf-3.0.4/work/gperf-3.0.4 ...
make
cd lib; make all
make[1]: Entering directory `/var/tmp/portage/dev-util/gperf-3.0.4/work/gperf-3.0.4/lib'
x86_64-pc-linux-gnu-gcc -march=k8-sse3 -O2 -pipe -I. -c ./getopt.c
x86_64-pc-linux-gnu-gcc -march=k8-sse3 -O2 -pipe -I. -c ./getopt1.c
x86_64-pc-linux-gnu-g++ -march=k8-sse3 -O2 -pipe MAKEOPTS=-j3   -I. -c ./getline.cc
x86_64-pc-linux-gnu-g++: MAKEOPTS=-j3: No such file or directory
make[1]: *** [getline.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-util/gperf-3.0.4/work/gperf-3.0.4/lib'
make: *** [all] Error 2
emake failed
 * ERROR: dev-util/gperf-3.0.4 failed (compile phase):
 *   emake failed
 *
 * Call stack:
 *     ebuild.sh, line  56:  Called src_compile
 *   environment, line 161:  Called _eapi2_src_compile
 *     ebuild.sh, line 665:  Called die
 * The specific snippet of code:
 *              emake || die "emake failed"
 *
 * If you need support, post the output of 'emerge --info =dev-util/gperf-3.0.4',
 * the complete build log and the output of 'emerge -pqv =dev-util/gperf-3.0.4'.
 * The complete build log is located at '/var/tmp/portage/dev-util/gperf-3.0.4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-util/gperf-3.0.4/temp/environment'.
 * S: '/var/tmp/portage/dev-util/gperf-3.0.4/work/gperf-3.0.4'


Output of emerge --info
Code:
amd64-4400 ~ # emerge --info
Portage 2.1.10.3 (default/linux/amd64/10.0/desktop, gcc-4.4.5, glibc-2.12.2-r0, 2.6.39-gentoo-r3 x86_64)
=================================================================
System uname: Linux-2.6.39-gentoo-r3-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4400+-with-gentoo-2.0.3
Timestamp of tree: Wed, 17 Aug 2011 16:30:01 +0000
app-shells/bash:          4.1_p9
dev-lang/python:          2.7.1-r1, 3.1.3-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.4
sys-devel/autoconf:       2.68
sys-devel/automake:       1.11.1
sys-devel/binutils:       2.20.1-r1
sys-devel/gcc:            4.4.5
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82
sys-kernel/linux-headers: 2.6.36.1 (virtual/os-headers)
sys-libs/glibc:           2.12.2
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA AdobeFlash-10 AdobeFlash-10.1 dlj-1.1"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8-sse3 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=k8-sse3 -O2 -pipe MAKEOPTS=-j3  #GENTOO_MIRRORS=http://mirror.gentoo.se GENTOO_MIRRORS=ftp://ftp.ds.karen.hj.se/gentoo #ftp://ftp.ing.umu.se/linux/gentoo #ftp://ftp.df.lth.se/pub/gentoo #ftp://mirror.mdfnet.se/gentoo"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="se sv"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="#cups #directfb #dts #php #sdl #smbkrb5passwd #subversion #threads 3dnow 3dnowext 7zip X a52 aac aalib acl acpi alsa amd64 amr apache2 asf audacious audio audiofile authfile avahi avi bcmath berkdb bindist bluetooth branding bzip2 cairo cdb cdda cddb cdparanoia cdr cgi clamav cli consolekit cracklib crypt cscope css ctype cups curl custom-cflags cvs cxx daap dba dbus device-mapper divx dri dts dvb dvd dvdr dvdread dxr3 eds emacs emboss encode esd evo exif extrafilters extras faac fam fame fbcon ffmpeg fftw firefox flac force-cgi-redirect fortran ftp fts3 gd gdbm gdu gif glitz glut gnutls gphoto2 gpm gstreamer gtk gzip-el hddtemp httpd iconv id3tag imagemagick imlib ipv6 isdnlog java javascript joystick jpeg jpeg2k jpegldap json kerberos latin1 lcd lcms ldap libclamav libnotify lirc lm_sensors logrotate mad mailwrapper matroska mbox mdnsresponder-compat midi mikmod milter mjpeg mmx mmxext mng modplug modules mozilla mp3 mp4 mpeg mplayer mudflap multilib musepack musicbrainz mysql nagios-dns nagios-ntp nagios-ping nagios-ssh ncurses net nfs nls nptl nptlonly nsplugin nspluginwrapper ntfs nvidia nxclient oav ogg opengl openmp opensslcrypt pam pango pccts pcre pdf perl php4 php5 png policykit posix ppds pppd pvr python qt qt3 qt3support qt4 quicktime rdesktop readline reflection reiserfs rss rtc samba sdl se_swedb sendmail sensord server session sndfile snmp sockets sound spell spl sqlite sse sse2 sse3 ssl startup-notification svg swat sysfs tcpd theora threadsafe thunar tiff tk transcode truetype tv type1 udev unicode usb v4l v4l2 vcd vnc vorbis vram vroot wav wifi wma wmv x264 xcb xcomposite xine xinerama xml xorg xulrunner xv xvid xvmc yv12 zip zlib zvbi" ALSA_CARDS="hda-intel" 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" 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="se sv" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, LANG, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Code:

amd64-4400 ~ # cat /proc/cpuinfo
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 15
model           : 107
model name      : AMD Athlon(tm) 64 X2 Dual Core Processor 4400+
stepping        : 2
cpu MHz         : 2305.189
cache size      : 512 KB
physical id     : 0
siblings        : 2
core id         : 0
cpu cores       : 2
apicid          : 0
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow rep_good nopl pni cx16 lahf_lm cmp_legacy svm extapic cr8_legacy 3dnowprefetch lbrv
bogomips        : 4610.37
TLB size        : 1024 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp tm stc 100mhzsteps

processor       : 1
vendor_id       : AuthenticAMD
cpu family      : 15
model           : 107
model name      : AMD Athlon(tm) 64 X2 Dual Core Processor 4400+
stepping        : 2
cpu MHz         : 2305.189
cache size      : 512 KB
physical id     : 0
siblings        : 2
core id         : 1
cpu cores       : 2
apicid          : 1
initial apicid  : 1
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow rep_good nopl pni cx16 lahf_lm cmp_legacy svm extapic cr8_legacy 3dnowprefetch lbrv
bogomips        : 4609.63
TLB size        : 1024 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp tm stc 100mhzsteps


Code:

amd64-4400 ~ # gcc-config -l   
 [1] x86_64-pc-linux-gnu-4.4.5 *


I have tried fiddling with MAKEOPTS in make.conf, setting it to -j2 and then -j1, and with the latter alternative it compiled, but then i got errors with other packages.

Am I missing something?


Last edited by jonsag on Thu Aug 18, 2011 3:35 pm; edited 1 time in total
Back to top
View user's profile Send private message
jonsag
n00b
n00b


Joined: 06 Nov 2006
Posts: 4

PostPosted: Thu Aug 18, 2011 3:33 pm    Post subject: Reply with quote

Sorry, think I found it myself...

Was missing a " at the end of the line CXXFLAGS="${CFLAGS}" in /etc/make.conf
Back to top
View user's profile Send private message
jonsag
n00b
n00b


Joined: 06 Nov 2006
Posts: 4

PostPosted: Thu Aug 18, 2011 3:37 pm    Post subject: Reply with quote

Also I can add, this is what happens when you do not use a nice editor, and cut and paste text.

I was using nano when I created make.conf, but now I looked in to it with emacs which indents the code.
Very nice editor!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 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