Does the package build for you ? It fails for me, with no meaningful error message:
/home/nicoulaj/tmp/yaourt-tmp-nicoulaj/aur-gogs/src/build/go/pkg/tool/linux_amd64/compile -o $WORK/github.com/gogits/gogs/vendor/github.com/urfave/cli.a -trimpath $WORK -p github.com/gogits/gogs/vendor/github.com/urfave/cli -complete -buildid 4518143d9ac4151794dcdd0e4aab9cd4408a7740 -D _/home/nicoulaj/tmp/yaourt-tmp-nicoulaj/aur-gogs/src/build/src/github.com/gogits/gogs/vendor/github.com/urfave/cli -I $WORK -pack ./app.go ./category.go ./cli.go ./command.go ./context.go ./errors.go ./flag.go ./flag_generated.go ./funcs.go ./help.go
==> ERROR: A failure occurred in build().
Aborting...
Search Criteria
Package Details: gogs 1:0.13.0-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/gogs.git (read-only, click to copy) |
---|---|
Package Base: | gogs |
Description: | Self Hosted Git Service written in Go |
Upstream URL: | https://gogs.io |
Keywords: | git go gogs |
Licenses: | MIT |
Submitter: | kureikain |
Maintainer: | krumelmonster |
Last Packager: | dcelasun |
Votes: | 50 |
Popularity: | 0.000000 |
First Submitted: | 2014-05-12 08:56 (UTC) |
Last Updated: | 2023-08-10 14:22 (UTC) |
Dependencies (9)
- git (git-gitAUR, git-glAUR)
- pam (pam-selinuxAUR)
- go (go-gitAUR, gcc-go-gitAUR, go-sylixosAUR, gcc-go-snapshotAUR, gcc-go) (make)
- mariadb (mysql55AUR, mysql56AUR, mytop-gitAUR, mysql81AUR, mysql57AUR, mysql80AUR, mysqlAUR, mariadb-lts, percona-server) (optional) – MariaDB support
- memcached (memcached-gitAUR) (optional) – MemCached support
- openssh (openssh-gitAUR, openssh-dotconfigAUR, openssh-dotconfig-binAUR, openssh-selinuxAUR, openssh-hpn-shimAUR, openssh-gssapiAUR) (optional) – GIT over SSH support
- postgresql (postgresql-12AUR, postgresql13AUR, postgresql15-docsAUR, postgresql15AUR, postgresql-gitAUR, postgresql17-docsAUR, postgresql17AUR) (optional) – PostgreSQL support
- redis (redis-testingAUR, redis-gitAUR, keydbAUR, valkey) (optional) – Redis support
- sqlite (sqlite-fossilAUR) (optional) – SQLite support
Required by (0)
Sources (3)
Latest Comments
« First ‹ Previous 1 .. 5 6 7 8 9 10 11 12 13 14 15 .. 18 Next › Last »
nicoulaj commented on 2016-11-25 23:12 (UTC)
fanningert commented on 2016-09-27 14:33 (UTC) (edited on 2016-09-28 16:21 (UTC) by fanningert)
I update the PKGBUILD file and add following points.
* Add 'glide update' before 'glide install'
But it looks like the is an problem in the source with the current release. So I openend a Git-Issue.
https://github.com/gogits/gogs/issues/3707 <- was a caching problem on my machine
but after that I get a new error
https://github.com/gogits/gogs/issues/3712 <- corrected with the next release of gogs, gogs-git is working
mikroskeem commented on 2016-09-27 08:25 (UTC) (edited on 2016-09-27 08:30 (UTC) by mikroskeem)
Adding "glide update" before "glide install" fixes checkout error, but then I get this error: https://paste.nightsnack.cf/ifexamurek.pas
fbis251 commented on 2016-09-22 16:25 (UTC)
@FoPref
Unfortunately the download script doesn't keep the version of the source package in the downloaded file and instead renames them all "gogs".
Just delete the "gogs" file from the package folder and try to rebuild the package and it should work fine.
@fanningert would you mind keeping the version number in the packages to prevent this from happening?
FoPref commented on 2016-09-22 15:56 (UTC)
Does not install:
-> Downloading gogs...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 120 0 120 0 0 250 0 --:--:-- --:--:-- --:--:-- 250
100 8511k 100 8511k 0 0 3952k 0 0:00:02 0:00:02 --:--:-- 9300k
==> Validating source files with sha512sums...
gogs.service.patch ... Passed
app.ini.patch ... Passed
gogs ... NOT FOUND
==> ERROR: One or more files did not pass the validity check!
miopa commented on 2016-09-16 15:16 (UTC)
I had do add
glide update
before
glide install
in prepare()
in order to build it
majewsky commented on 2016-08-12 11:39 (UTC) (edited on 2016-08-12 11:39 (UTC) by majewsky)
I tried to update from 0.9.0 to 0.9.71, but the epoch decreased (!) from 2 to 1, thus breaking my AUR helpers. Can you please increase the epoch again?
freswa commented on 2016-08-08 13:59 (UTC)
the checksum for the archive seems to be not up 2 date
runical commented on 2016-08-03 19:10 (UTC) (edited on 2016-08-03 19:17 (UTC) by runical)
@Mic92: I recently asked them to remove this because it isn't expected behaviour and not the normal way to package for Arch :) You can add the hook to the wiki though, some people like something like this.
EDIT: Sorry, what I asked to be removed was an automatic enabling and starting of GOGS on install. My bad. On the other hand, I don't really see the added value to do this in the package. A hook is the perfect solution for this problem.
Pinned Comments
Martchus commented on 2020-08-24 14:06 (UTC)
The release 0.12.0 will change various configuration variables, e.g.
ROOT_URL
is changed toEXTERNAL_URL
. Please read the official changelog before reporting any issues: https://github.com/gogs/gogs/releases/tag/v0.12.0Further notes from myself:
ROOT_URL
did not work at all for me anymore. So it is apparently not just deprecated (as the changelog states).STATIC_ROOT_PATH
. It looks like this directory is simply not required at all anymore because files are built into the executable. Overrides should be possible by placing files into the working directory (should be/var/lib/gogs/public
with the default config provided by this package; haven't tested yet).Martchus commented on 2017-06-12 22:24 (UTC) (edited on 2020-08-24 14:22 (UTC) by Martchus)
Important note: You likely want to use the official Gitea package instead.
Gitea - a fork of Gogs - has been added to the official repositories: https://www.archlinux.org/packages/community/x86_64/gitea
That means for Arch Linux the decision has been made to support Gitea rather than Gogs. Hence I suggest everyone to use Gitea instead of Gogs for new installations. I've been testing Gitea for a while myself now and it works well. So I'm also going to switch fully to Gitea myself.
Nevertheless I'll continue maintaining this package for a while now to support old installations. However, I'm not doing any fine-tuning for this package anymore.
Further notes
gitea
and the official package the usergit
. So that has to be changed in the config and for the ownership of/var/lib/gitea
.~~~ The official package now uses the usergitea
similar to my initial packaging was done.