Package Details: hugo 0.21-1

Git Clone URL: https://aur.archlinux.org/hugo.git (read-only)
Package Base: hugo
Description: Fast and Flexible Static Site Generator in Go — built from source.
Upstream URL: http://hugo.spf13.com/
Licenses: Apache
Conflicts: hugo-bin, hugo-src
Submitter: fusion809
Maintainer: fordprefect
Last Packager: fordprefect
Votes: 16
Popularity: 4.071013
First Submitted: 2016-11-04 00:38
Last Updated: 2017-05-22 17:53

Dependencies (5)

Required by (0)

Sources (1)

Latest Comments

geekinthesticks commented on 2017-03-22 08:51

I just tried again on a different Arch VM and it works correctly. So, the problem is somewhere on my other machine, not with AUR!

fordprefect commented on 2017-03-21 21:48

there is no need for that, you could use makechrootpkg from devtools for the same effect.
what i meant was not when you cloned it, important is that you clean up src before build.

geekinthesticks commented on 2017-03-21 21:44

Yes, my Arch is up to date and I cloned the package yesterday. I'll try again tomorrow on a fresh Arch VM.

fordprefect commented on 2017-03-20 20:01

@geekinthesticks: i could not reproduce your error. are you sure you build on an up-to-date system in a newly cloned environment?

fusion809 commented on 2017-03-20 19:24

I disowned the package. I don't see what else I can do to fix it, so whomever wishes to adopt it go ahead.

geekinthesticks commented on 2017-03-20 11:21

I am still getting:
==> Starting build()...
Error: flag provided but not defined: -v
govendor sync
Ensures the contents of the vendor folder matches the vendor file.
Options:
-n dry run, print out action only
-insecure allow downloading over insecure connection
govendor failedgo get github.com/kardianos/govendor
govendor sync github.com/spf13/hugo
go build -ldflags "-X github.com/spf13/hugo/hugolib.BuildDate=`date +%FT%T%z`" github.com/spf13/hugo
go build github.com/spf13/hugo: /usr/lib/go/pkg/tool/linux_amd64/link: signal: killed
make: *** [Makefile:17: hugo] Error 1
make no-git-info failed==> Entering fakeroot environment...
==> Starting package()...
install: cannot stat 'hugo': No such file or directory

I have installed govendor from AUR.

fusion809 commented on 2017-02-28 04:31

@markusk na your approach suggestion would install the latest GIT release of Hugo, instead of the latest STABLE version. I have tried to fix the build error by adding the govendor package as a dep and ditching my efforts to build the govendor package myself in the build() function.

markusk commented on 2017-02-28 04:23

Hi again

i just tried aur/hugo-git and that worked. Seem's you might profit from taking the following two lines from that PKGBUILD

go get -d -v github.com/spf13/hugo
go build

markusk commented on 2017-02-28 04:21

Hi

version 0.19 did not build on a system where 0.18.1 did. I tried it with pacaur and also using makepkg directly. The "govendor" binary is build in GOPATH/bin but the make file does not find it in the path ...


fetch "golang.org/x/text/transform"
fetch "golang.org/x/text/unicode/bidi"
fetch "golang.org/x/text/unicode/norm"
fetch "golang.org/x/text/width"
fetch "gopkg.in/yaml.v2"
go get github.com/kardianos/govendor
govendor sync github.com/spf13/hugo
make: govendor: Command not found
make: *** [Makefile:14: vendor] Error 127
make no-git-info failed==> Entering fakeroot environment...
==> Starting package()...
install: cannot stat 'hugo': No such file or directory
==> ERROR: A failure occurred in package().
Aborting...

alan1world commented on 2017-02-05 00:13

Redirects worked for me:
git config --global http.https://gopkg.in.followRedirects true

All comments