Comments (8)
I've seen this before but I'm not sure what is causing it. The build should work though with go build .
. Could you test that?
from vikunja.
Confirmed: go build .
does indeed build successfully as expected \o/
Also I can confirm that it appears to work correctly, in the sense that I can point the frontend at it and it functions, in case there was a concern about missing config or something
from vikunja.
I've just pushed a change in bb086eb which should give us better error messages. Can you try that and send me the output? It probably still won't work but at least we should know why.
from vikunja.
As expected it still doesn't work but now produces significantly more information:
root@vikunja:~/api # mage -v build:build
Running target: Build:Build
Running dependency: initVars
Error getting packages: error running command: package modernc.org/libc/errno: build constraints exclude all Go files in /root/go/pkg/mod/modernc.org/[email protected]/errno
package modernc.org/libc/signal: build constraints exclude all Go files in /root/go/pkg/mod/modernc.org/[email protected]/signal
package modernc.org/libc/sys/types: build constraints exclude all Go files in /root/go/pkg/mod/modernc.org/[email protected]/sys/types
package modernc.org/libc/time: build constraints exclude all Go files in /root/go/pkg/mod/modernc.org/[email protected]/time
package modernc.org/libc/unistd: build constraints exclude all Go files in /root/go/pkg/mod/modernc.org/[email protected]/unistd
package modernc.org/tcl/lib: build constraints exclude all Go files in /root/go/pkg/mod/modernc.org/[email protected]/lib
, exit status 1
root@vikunja:~/api #
Hopefully that helps?
from vikunja.
Looks like this is the root cause: https://gitlab.com/cznic/libc/-/issues/11 (Vikunja is using that library, though not directly)
I'm not sure what to do about it other than to ping the dev in the issue. Open for ideas.
from vikunja.
Is the call to list go packages required if one is just building? I'm not particularly familiar with mage but it looks like the results of that command are only used for tests? If that could only be run when running tests then I expect the build would at least complete successfully? If I comment out the line that calls setApiPackages
then it builds as expected.
On a related note, what would it take to get FreeBSD added to the list of pre-built binaries? I don't see anything in the repo that obviously handles CI/builds.
from vikunja.
It looks like it, yes. I've changed that in 73a99eb so that the function is only called when testing. Please test.
from vikunja.
Awesome, looks like it builds just fine with mage now :) Thanks!
from vikunja.
Related Issues (20)
- Upcoming "Today" not showing expected tasks HOT 1
- Problems with single-container version: 502, Migration failed, no live upstreams HOT 1
- cannot scroll sidebar to switch to different list items HOT 2
- Line breaks not working in task description HOT 2
- Date picker current date incorrect if page was not refreshed in browser today HOT 3
- 403 Forbidden when adding Label in Share Link HOT 4
- Dark mode - Low contrast for table headers within tasks HOT 1
- Todoist migration: Buckets HOT 3
- Saved filters are not updated when tasks are updated HOT 4
- sticky openid login / Authentik OpenID misconfiguration HOT 4
- Switching back from :unstable tag to :latest tag breaks website HOT 3
- Kanban board width too small in share link HOT 1
- Error when paste text to task - error reading 'nodeSize' HOT 2
- Unable to go to cloud app in Brave Private tab. HOT 1
- Add cache-control headers to background images
- State in docs where to report bugs/issues
- patch to fix typos HOT 2
- Make import page have formatting consistent with other pages HOT 2
- Succesful login does not redirect/login HOT 1
- Various API routes return 401 error with valid token HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vikunja.