CentOS / RHEL 9 64 bits

Logs

====== Attempt #1

-----> Fetching repository

Cloning into '/tmp/d20260201-6-1v3mnyd/input'...

-----> Setting up package repository...

-----> Starting packaging process

-----> Additional environment variables

UUID=65.109.31.162:22/a0bd1cfe-664e-45ef-9445-22ca10a44e5a

HOME=/home/pkgr

-----> Found valid cache

-----> Restoring cache...

-----> Fetching pkgr 64a6838f812abf6374d9ec397729bb2866d6617e...

-----> Starting packaging process...

-----> Installing missing build dependencies: postgresql-devel, pam-devel, perl-Digest-SHA

-----> Fetching buildpack https://github.com/heroku/heroku-buildpack-go.git at main

-----> Running hook: "/tmp/before_hook20260201-37-5rjobd.sh"

-----> Go app

-----> Fetching stdlib.sh.v8... done

----->

 Detected go modules via go.mod

----->

 Detected Module Name: gogs.io/gogs

----->

-----> Using go1.25.6

-----> Determining packages to install

-----> Running: go install -v -tags heroku ./

gogs.io/gogs

# gogs.io/gogs

runtime.main_mainĀ·f: function main is undeclared in the main package

! ERROR: compile failed

Failed to package application

tar: This does not look like a tar archive

tar: Exiting with failure status due to previous errors

! FAILED - Build error.

! Please contact support.