LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-29-2020, 11:42 AM   #1
The_Dark_Passenger
Member
 
Registered: Apr 2018
Distribution: Slackware64 14.2 & -Current
Posts: 93

Rep: Reputation: Disabled
Issue with LXD SlackBuild


Hello,

I'm trying to use the Slackbuild to build and install LXD on Slackware64 14.2. I downloaded, built and installed google-go-lang from the following URL:

https://slackbuilds.org/repository/1...oogle-go-lang/

I used the version of Go Lang as provided from the source link on the page, and that Slackbuild. This builds and installs without issue.

Then I download the LXD Slackbuild, and LXD 3.0.1 from the URL on the Slackbuilds page:

https://slackbuilds.org/repository/14.2/system/lxd/

However, when I attempt to build LXD, I see the following error:

Code:
lxd-3.0.1/.github/ISSUE_TEMPLATE.md
lxd-3.0.1/.appveyor.yml
# gopkg.in/lxc/go-lxc.v2
dist/src/gopkg.in/lxc/go-lxc.v2/container.go:843:12: identifier "_Ctype_char" may conflict with identifiers generated by cgo
# github.com/lxc/lxd/shared/idmap
dist/src/github.com/lxc/lxd/shared/idmap/shift_linux.go:131:40: identifier "_Ctype_acl_type_t" may conflict with identifiers generated by cgo
It appears related to be the same issue as reported in the following link:

https://github.com/lxc/lxd/issues/5529

However, I've tried to build later versions of LXD, and also tried to make the change to the file in the commit mentioned in that report to the version 3.0.1 source. However, the build continues to fail with various errors. For example when trying to build 4.0.4:

Code:
lxd-4.0.4/.appveyor.yml
can't load package: package github.com/lxc/lxd/lxd: cannot find package "github.com/lxc/lxd/lxd" in any of:
        /usr/lib64/go1.13.10/go/src/github.com/lxc/lxd/lxd (from $GOROOT)
        /tmp/SBo/lxd-4.0.4/dist/src/github.com/lxc/lxd/lxd (from $GOPATH)
What would be the best way to fix this Slackbuild script so that I can compile LXD?

Last edited by The_Dark_Passenger; 10-29-2020 at 11:58 AM.
 
Old 10-29-2020, 12:44 PM   #2
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,098

Rep: Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175
try to get in touch with the maintainer on SBo.

Last edited by ponce; 10-29-2020 at 12:49 PM.
 
Old 10-29-2020, 02:27 PM   #3
The_Dark_Passenger
Member
 
Registered: Apr 2018
Distribution: Slackware64 14.2 & -Current
Posts: 93

Original Poster
Rep: Reputation: Disabled
Ok, thanks! I've reached out to the maintainer. I'll see if I get a reply back.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] sbopkg installs "original" SlackBuild to /usr/doc/<pkg>/ instead of "local" SlackBuild drumz Slackware 29 01-20-2018 12:12 AM
[Patch and SlackBuild] Grub-2.02~beta2 SlackBuild and Patch. ReaperX7 Slackware 3 01-28-2015 09:30 AM
LXer: Ubuntu LXD: Not a Docker replacement, a Docker enhancement LXer Syndicated Linux News 0 11-05-2014 08:40 PM
LXer: Ubuntu is working on a new secure container hypervisor: LXD LXer Syndicated Linux News 0 11-04-2014 03:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration