Package Details: mos-git 20171115_101251-2

Git Clone URL: https://aur.archlinux.org/mos-git.git (read-only)
Package Base: mos-git
Description: Mongoose-OS build tool (latest)
Upstream URL: https://mongoose-os.com/software.html
Licenses: GPL
Submitter: lz3060
Maintainer: lz3060
Last Packager: lz3060
Votes: 1
Popularity: 0.135773
First Submitted: 2017-08-15 11:52
Last Updated: 2017-11-15 10:23

Latest Comments

tejpochiraju commented on 2017-09-18 10:29

Expanding on what @jobidon said below, I fixed this by uninstalling go-bindata installed from the Arch repos and modifying the PKGBUILD so that build() looks like:

build() {
# cd "$srcdir/mongoose-os/mos"
#
rm -rf "$srcdir/.go/src"
mkdir -p "$srcdir/.go/src"
export GOPATH="$srcdir/.go"
go get github.com/jteeuwen/go-bindata/
go get github.com/elazarl/go-bindata-assetfs/
export PATH=$PATH:"$srcdir/.go/bin"
mv "$srcdir/mongoose-os" "$srcdir/.go/src/cesanta.com"
cd "$srcdir/.go/src/cesanta.com"
sed -i 's,/usr/bin/env python,/usr/bin/env python2,g' "${srcdir}/.go/src/cesanta.com/common/tools/fw_meta.py"
govendor sync
make -C mos install
}

jobidon commented on 2017-09-16 01:51

Had the same issue. Resolved the "-modtime" problem by doing:
$ go get github.com/jteeuwen/go-bindata/
$ go get github.com/elazarl/go-bindata-assetfs/
and adding the resulting bin directory to the $PATH. Also had to install the missing dependency: python2-gitpython

lz3060 commented on 2017-08-28 12:38

The build works fine for me, even in a clean chroot, and the tool works fine as well.

Maybe a problem with Cesanta's lastest revisions ...

KriK commented on 2017-08-27 13:53

There is a problem:
flag provided but not defined: -modtime
Usage: go-bindata [options] <input directories>
===========
main.go:1: running "go-bindata": exit status 2