Debian 12 Bookworm 64 bits

Logs

====== Attempt #1

-----> Fetching repository

Cloning into '/tmp/d20260201-7-1v3ils6/input'...

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

-----> Starting packaging process

-----> Additional environment variables

UUID=65.109.31.162:22/986f6222-fb1f-4696-870b-2298b6ff51b5

HOME=/home/pkgr

-----> Found valid cache

-----> Restoring cache...

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

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

-----> Installing missing build dependencies: libpam0g-dev

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

-----> Running hook: "/tmp/before_hook20260201-49-ude6q9.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.