Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 532246 - dev-lang/go-1.4 fails to install with USE=vim-syntax
Summary: dev-lang/go-1.4 fails to install with USE=vim-syntax
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: William Hubbs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-11 09:48 UTC by Tobias Klausmann (RETIRED)
Modified: 2014-12-11 17:12 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Klausmann (RETIRED) gentoo-dev 2014-12-11 09:48:23 UTC
>>> Install go-1.4 into /var/tmp/portage/dev-lang/go-1.4/image/ category dev-lang
install: cannot stat ‘misc/vim/ftdetect’: No such file or directory
!!! doins: misc/vim/ftdetect does not exist
 * ERROR: dev-lang/go-1.4::gentoo failed (install phase):
 *   doins failed
 * 
 * If you need support, post the output of `emerge --info '=dev-lang/go-1.4::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-lang/go-1.4::gentoo'`.
 * The complete build log is located at '/var/log/portage/dev-lang:go-1.4:20141211-094022.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-lang/go-1.4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-lang/go-1.4/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-lang/go-1.4/work/go'
 * S: '/var/tmp/portage/dev-lang/go-1.4/work/go'
 * QA Notice: file does not exist:
 * 
 *      doins: misc/vim/ftdetect does not exist

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

>>>  '/var/log/portage/dev-lang:go-1.4:20141211-094022.log'


Works fine with USE=-vim-syntax

Near as I can tell from ${S}/misc/editors, the files have been moved to https://code.google.com/p/go-wiki/wiki/IDEsAndTextEditorPlugins and are no longer shipped with the base language.
Comment 1 Jouni Kosonen 2014-12-11 10:05:51 UTC
Same applies to USE=emacs

 * Compiling GNU Emacs Elisp files ...
>>Error occurred processing misc/emacs/*.el: File error (("Opening input file" "no such file or directory" "/var/tmp/portage/dev-lang/go-1.4/work/go/misc/emacs/*.el"))
 * elisp-compile: batch-byte-compile failed

From https://github.com/dominikh/go-mode.el :
Beginning with Go 1.4, editor integration will not be part of the Go distribution anymore, making this repository the canonical place for go-mode.
Comment 2 Frank Ridderbusch 2014-12-11 10:57:48 UTC
Same applies to USE=zsh-completion

>>> Install go-1.4 into /var/tmp/portage/dev-lang/go-1.4/image/ category dev-lang
/usr/bin/install: cannot stat ‘misc/zsh/go’: No such file or directory
!!! doins: misc/zsh/go does not exist
 * ERROR: dev-lang/go-1.4::gentoo failed (install phase):
 *   doins failed
 *

As with the VIM support files, the zsh files are no longer present in the go 1.4 source archive.
Comment 3 William Hubbs gentoo-dev 2014-12-11 17:12:07 UTC
This is covered in the go 1.4 release notes [1].

This zero-day version bump was done by another developer who apparently
did a blind copy from 1.3.3 to 1.4 without checking anything.

Sorry about the inconvenience; this should now be fixed.

[1] http://golang.org/doc/go1.4