Skip to content

Build failure Arch Linux #12

Open
Open
@micwoj92

Description

@micwoj92

Hello, today I tried to build it, first time for convenience sake I tried using gorsync-git package from AUR but it failed and I realized it was packaging error so I decided to just use "old" go get and I also got failure.

go version go1.16.3 linux/amd64
glib2 2.68.1

pasting build output under:

[micwoj92@desktop]: ~>$ go get -u github.com/d2r2/go-rsync
go: downloading github.com/d2r2/go-rsync v0.4.1
go: downloading github.com/d2r2/go-logger v0.0.0-20181221090742-9998a510495e
go: downloading github.com/d2r2/go-shell v0.0.0-20191113051817-7664ea33645f
go: downloading github.com/d2r2/gotk3 v0.0.0-20200913114742-7c4e0af10014
go: downloading github.com/nicksnyder/go-i18n v1.10.1
go: downloading golang.org/x/text v0.3.6
go: downloading github.com/nicksnyder/go-i18n/v2 v2.1.2
# github.com/d2r2/gotk3/glib
cgo-gcc-prolog: In function ‘_cgo_ecc09caf901d_Cfunc_g_binding_get_source’:
cgo-gcc-prolog:71:2: warning: ‘g_binding_get_source’ is deprecated: Use 'g_binding_dup_source' instead [-Wdeprecated-declarations]
In file included from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from go/pkg/mod/github.com/d2r2/[email protected]/glib/binding.go:4:
/usr/include/glib-2.0/gobject/gbinding.h:112:23: note: declared here
  112 | GObject *             g_binding_get_source          (GBinding *binding);
      |                       ^~~~~~~~~~~~~~~~~~~~
cgo-gcc-prolog: In function ‘_cgo_ecc09caf901d_Cfunc_g_binding_get_target’:
cgo-gcc-prolog:107:2: warning: ‘g_binding_get_target’ is deprecated: Use 'g_binding_dup_target' instead [-Wdeprecated-declarations]
In file included from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from go/pkg/mod/github.com/d2r2/[email protected]/glib/binding.go:4:
/usr/include/glib-2.0/gobject/gbinding.h:116:23: note: declared here
  116 | GObject *             g_binding_get_target          (GBinding *binding);
      |                       ^~~~~~~~~~~~~~~~~~~~
[micwoj92@desktop]: ~>$ 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions