Skip to content

incus 6.7 fails to (cross)compile on 32bit archs #1395

Closed
@dkwo

Description

@dkwo

I believe the relevant errors are

# github.com/lxc/incus/v6/internal/linux
In file included from internal/linux/socket_linux_cgo.go:25:
internal/linux/../../shared/cgo/process_utils.h: In function 'setproctitle':
internal/linux/../../shared/cgo/process_utils.h:222:30: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
  222 |                 char *dest = (char *)arg_start;
      |                              ^
cc1: all warnings being treated as errors
github.com/mitchellh/mapstructure
html
github.com/russross/blackfriday/v2
gopkg.in/yaml.v3
github.com/cpuguy83/go-md2man/v2/md2man
net/http/httputil
github.com/gorilla/mux
# github.com/lxc/incus/v6/shared/idmap
In file included from shared/idmap/shift_linux.go:26:
shared/idmap/../../shared/cgo/process_utils.h: In function 'setproctitle':
shared/idmap/../../shared/cgo/process_utils.h:222:30: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
  222 |                 char *dest = (char *)arg_start;
      |                              ^
cc1: all warnings being treated as errors

as seen in void-linux/void-packages#53135

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions