public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Can't update to go-1.4.2
@ 2015-09-04 20:23 Ajai Khattri
  2015-09-04 20:28 ` Fernando Rodriguez
  0 siblings, 1 reply; 8+ messages in thread
From: Ajai Khattri @ 2015-09-04 20:23 UTC (permalink / raw
  To: gentoo-user


I know that Go 1.5 is limited to 64bit CPUs but im running on a 64bit CPU 
and Im trying to update Go from 1.0 to the latest stable (which is 1.4.2 
anyway):

dev ~ #  emerge -uDatv dev-lang/go

  * IMPORTANT: 8 news items need reading for repository 'gentoo'.
  * Use eselect news read to view new items.


These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[ebuild     U  ] dev-lang/go-1.4.2::gentoo [1.0.1::gentoo] 
USE="(-bash-completion%*) (-emacs%) (-pax_kernel%) (-vim-syntax%*) 
(-zsh-completion%)" 0 KiB

Total: 1 package (1 upgrade), Size of downloads: 0 KiB

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

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) dev-lang/go-1.4.2::gentoo
  * go1.4.2.src.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...               [ 
ok ]
>>> Unpacking source...
>>> Unpacking go1.4.2.src.tar.gz to 
/var/tmp/portage/dev-lang/go-1.4.2/work
>>> Source unpacked in /var/tmp/portage/dev-lang/go-1.4.2/work
>>> Preparing source in /var/tmp/portage/dev-lang/go-1.4.2/work/go ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-lang/go-1.4.2/work/go ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-lang/go-1.4.2/work/go ...
# Building C bootstrap tool.
cmd/dist

# Building compilers and Go bootstrap tool for host, linux/amd64.
lib9
/var/tmp/portage/dev-lang/go-1.4.2/work/go/src/lib9/atoi.c:1:0: error: CPU 
you selected does not support x86-64 instruction set
/var/tmp/portage/dev-lang/go-1.4.2/work/go/src/lib9/_p9dir.c:1:0: error: 
CPU you selected does not support x86-64 instruction 
set/var/tmp/portage/dev-lang/go-1.4.2/work/go/src/lib9/await.c:1:0: error: 
CPU you selected does not support x86-64 instruction set

go tool dist: FAILED: i686-pc-linux-gnu-gcc -O2 -mtune=i686 -pipe -Wall 
-Wstrict-prototypes -Wextra -Wunused -Wno-sign-compare -Wno-missing-braces 
-Wno-parentheses -Wno-unknown-pragmas -Wno-switch -Wno-comment 
-Wno-missing-field-initializers -fno-common -ggdb -pipe -fmessage-length=0 
-c -m64 -I /var/tmp/portage/dev-lang/go-1.4.2/work/go/include -DPLAN9PORT 
-I /var/tmp/portage/dev-lang/go-1.4.2/work/go/src/lib9 -o $WORK/atoi.o 
/var/tmp/portage/dev-lang/go-1.4.2/work/go/src/lib9/atoi.c
/var/tmp/portage/dev-lang/go-1.4.2/work/go/src/lib9/_exits.c:1:0: error: 
CPU you selected does not support x86-64 instruction set
go tool dist: FAILED: i686-pc-linux-gnu-gcc -O2 -mtune=i686 -pipe -Wall 
-Wstrict-prototypes -Wextra -Wunused -Wno-sign-compare -Wno-missing-braces 
-Wno-parentheses -Wno-unknown-pragmas -Wno-switch -Wno-comment 
-Wno-missing-field-initializers -fno-common -ggdb -pipe -fmessage-length=0 
-c -m64 -I /var/tmp/portage/dev-lang/go-1.4.2/work/go/include -DPLAN9PORT 
-I /var/tmp/portage/dev-lang/go-1.4.2/work/go/src/lib9 -o $WORK/_exits.o 
/var/tmp/portage/dev-lang/go-1.4.2/work/go/src/lib9/_exits.c
go tool dist: FAILED: i686-pc-linux-gnu-gcc -O2 -mtune=i686 -pipe -Wall 
-Wstrict-prototypes -Wextra -Wunused -Wno-sign-compare -Wno-missing-braces 
-Wno-parentheses -Wno-unknown-pragmas -Wno-switch -Wno-comment 
-Wno-missing-field-initializers -fno-common -ggdb -pipe -fmessage-length=0 
-c -m64 -I /var/tmp/portage/dev-lang/go-1.4.2/work/go/include -DPLAN9PORT 
-I /var/tmp/portage/dev-lang/go-1.4.2/work/go/src/lib9 -o $WORK/await.o 
/var/tmp/portage/dev-lang/go-1.4.2/work/go/src/lib9/await.c
go tool dist: FAILED: i686-pc-linux-gnu-gcc -O2 -mtune=i686 -pipe -Wall 
-Wstrict-prototypes -Wextra -Wunused -Wno-sign-compare -Wno-missing-braces 
-Wno-parentheses -Wno-unknown-pragmas -Wno-switch -Wno-comment 
-Wno-missing-field-initializers -fno-common -ggdb -pipe -fmessage-length=0 
-c -m64 -I /var/tmp/portage/dev-lang/go-1.4.2/work/go/include -DPLAN9PORT 
-I /var/tmp/portage/dev-lang/go-1.4.2/work/go/src/lib9 -o $WORK/_p9dir.o 
/var/tmp/portage/dev-lang/go-1.4.2/work/go/src/lib9/_p9dir.c
  * ERROR: dev-lang/go-1.4.2::gentoo failed (compile phase):
  *   build failed
  *
  * Call stack:
  *     ebuild.sh, line  93:  Called src_compile
  *   environment, line 1886:  Called die
  * The specific snippet of code:
  *       ./make.bash || die "build failed"
  *
  * If you need support, post the output of `emerge --info 
'=dev-lang/go-1.4.2::gentoo'`,
  * the complete build log and the output of `emerge -pqv 
'=dev-lang/go-1.4.2::gentoo'`.
  * The complete build log is located at 
'/var/tmp/portage/dev-lang/go-1.4.2/temp/build.log'.
  * The ebuild environment file is located at 
'/var/tmp/portage/dev-lang/go-1.4.2/temp/environment'.
  * Working directory: '/var/tmp/portage/dev-lang/go-1.4.2/work/go/src'
  * S: '/var/tmp/portage/dev-lang/go-1.4.2/work/go'

>>> Failed to emerge dev-lang/go-1.4.2, Log file:

>>>  '/var/tmp/portage/dev-lang/go-1.4.2/temp/build.log'

  * Messages for package dev-lang/go-1.4.2:

  * ERROR: dev-lang/go-1.4.2::gentoo failed (compile phase):
  *   build failed
  *
  * Call stack:
  *     ebuild.sh, line  93:  Called src_compile
  *   environment, line 1886:  Called die
  * The specific snippet of code:
  *       ./make.bash || die "build failed"
  *
  * If you need support, post the output of `emerge --info 
'=dev-lang/go-1.4.2::gentoo'`,
  * the complete build log and the output of `emerge -pqv 
'=dev-lang/go-1.4.2::gentoo'`.
  * The complete build log is located at 
'/var/tmp/portage/dev-lang/go-1.4.2/temp/build.log'.
  * The ebuild environment file is located at 
'/var/tmp/portage/dev-lang/go-1.4.2/temp/environment'.
  * Working directory: '/var/tmp/portage/dev-lang/go-1.4.2/work/go/src'
  * S: '/var/tmp/portage/dev-lang/go-1.4.2/work/go'
dev ~ #



Not sure how the ebuild is picking CPU, but Im on a 64bit CPU anyway:

dev ~ # lscpu
Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                2
On-line CPU(s) list:   0,1
Thread(s) per core:    1
Core(s) per socket:    1
Socket(s):             2
NUMA node(s):          1
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 63
Model name:            Intel(R) Xeon(R) CPU E5-2680 v3 @ 2.50GHz
Stepping:              2
CPU MHz:               2499.996
BogoMIPS:              5001.32
Hypervisor vendor:     KVM
Virtualization type:   full
L1d cache:             32K
L1i cache:             32K
L2 cache:              256K
L3 cache:              30720K
NUMA node0 CPU(s):     0,1
dev ~ #


-- 
Aj


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-09-12 12:41 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-04 20:23 [gentoo-user] Can't update to go-1.4.2 Ajai Khattri
2015-09-04 20:28 ` Fernando Rodriguez
2015-09-04 20:42   ` Fernando Rodriguez
2015-09-09 19:37   ` Ajai Khattri
2015-09-09 19:49     ` Alan McKinnon
2015-09-12 12:41       ` Bruce Schultz
2015-09-09 23:04     ` Fernando Rodriguez
2015-09-09 23:08       ` Fernando Rodriguez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox