Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Oct 2024 00:01:07 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 282395] www/gitea: Fails to build on 15-CURRENT
Message-ID:  <bug-282395-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D282395

            Bug ID: 282395
           Summary: www/gitea: Fails to build on 15-CURRENT
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: cy@FreeBSD.org
                CC: stb@lassitu.de
                CC: stb@lassitu.de
             Flags: maintainer-feedback?(stb@lassitu.de)

www/gitea fails to build with the following error.

=3D=3D=3D>  Building for gitea-1.22.3_1
fatal: not a git repository (or any parent up to mount point /export/wrkdir)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
Running go generate...
CGO_CFLAGS=3D"-O2 -g -DSQLITE_MAX_VARIABLE_NUMBER=3D32766" go build -buildv=
cs=3Dfalse
 -tags 'pam sqlite sqlite_unlock_notify' -ldflags '-s -w  -X
"code.gitea.io/gitea/modules/setting.CustomPath=3D/usr/local/etc/gitea" -X
"code.gitea.io/gitea/modules/setting.AppWorkPath=3D/usr/local/share/gitea"
-L/usr/local/lib  -X "main.MakeVersion=3DGNU Make 4.4.1" -X "main.Version=
=3D1.22.3"
-X "main.Tags=3Dpam sqlite sqlite_unlock_notify"' -o gitea
# code.gitea.io/gitea
flag provided but not defined: -L/usr/local/lib
usage: link [options] main.o
  -B note
        add an ELF NT_GNU_BUILD_ID note when using ELF; use "gobuildid" to
generate it from the Go build ID
  -E entry
        set entry symbol name
  -H type
        set header type
  -I linker
        use linker as ELF dynamic linker
  -L directory
        add specified directory to library path
  -R quantum
        set address rounding quantum (default -1)
  -T int
        set the start address of text symbols (default -1)
  -V    print version and exit
  -X definition
        add string value definition of the form importpath.name=3Dvalue
  -a    no-op (deprecated)
  -asan
        enable ASan interface
  -aslr
        enable ASLR for buildmode=3Dc-shared on windows (default true)
  -benchmark string
        set to 'mem' or 'cpu' to enable phase benchmarking
  -benchmarkprofile base
        emit phase profiles to base_phase.{cpu,mem}prof
  -buildid id
        record id as Go toolchain build id
  -buildmode mode
        set build mode
  -c    dump call graph
  -capturehostobjs string
        capture host object files loaded during internal linking to specifi=
ed
dir
  -compressdwarf
        compress DWARF if possible (default true)
  -cpuprofile file
        write cpu profile to file
  -d    disable dynamic executable
  -debugnosplit
        dump nosplit call graph
  -debugtextsize int
        debug text section max size
  -debugtramp int
        debug trampolines
  -dumpdep
        dump symbol dependency graph
  -extar string
        archive program for buildmode=3Dc-archive
  -extld linker
        use linker when linking in external mode
  -extldflags flags
        pass flags to external linker
  -f    ignore version mismatch
  -g    disable go package data checks
  -h    halt on error
  -importcfg file
        read import configuration from file
  -installsuffix suffix
        set package directory suffix
  -k symbol
        set field tracking symbol
  -libgcc string
        compiler support lib for internal linking; use "none" to disable
  -linkmode mode
        set link mode
  -linkshared
        link against installed Go shared libraries
  -memprofile file
        write memory profile to file
  -memprofilerate rate
        set runtime.MemProfileRate to rate
  -msan
        enable MSan interface
  -n    no-op (deprecated)
  -o file
        write output to file
  -pluginpath string
        full path name for plugin
  -pruneweakmap
        prune weak mapinit refs (default true)
  -r path
        set the ELF dynamic linker search path to dir1:dir2:...
  -race
        enable race detector
  -s    disable symbol table
  -strictdups int
        sanity check duplicate symbol contents during object file reading
(1=3Dwarn 2=3Derr).
  -tmpdir directory
        use directory for temporary files
  -v    print link trace
  -w    disable DWARF generation
gmake: *** [Makefile:788: gitea] Error 1
*** Error code 1

Stop.
make[1]: stopped making
"/export/wrkdir/amd64/usr/ports/www/gitea/work/.stage_done.gitea._usr_local=
" in
/usr/ports/www/gitea
*** Error code 1

Stop.
make: stopped making "all" in /usr/ports/www/gitea

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-282395-7788>