Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker installation fails at step 8 #1140

Open
nigelhorne opened this issue Dec 28, 2023 · 5 comments
Open

Docker installation fails at step 8 #1140

nigelhorne opened this issue Dec 28, 2023 · 5 comments

Comments

@nigelhorne
Copy link

Step 8/18 : RUN nimble build -d:danger -d:lto -d:strip && nimble scss && nimble md
---> Running in 7601e82812ef
Verifying dependencies for [email protected]
Info: Dependency on jester@#baca3f already satisfied
Verifying dependencies for [email protected]
Info: Dependency on httpbeast@>= 0.3.0 already satisfied
Verifying dependencies for [email protected]
Info: Dependency on asynctools@#0e6bdc3ed5bae8c7cc9 already satisfied
Verifying dependencies for [email protected]
Info: Dependency on https://github.com/timotheecour/asynctools@#pr_fix_compilation already satisfied
Verifying dependencies for [email protected]
Info: Dependency on karax@#5cf360c already satisfied
Verifying dependencies for [email protected]
Info: Dependency on ws@any version already satisfied
Verifying dependencies for [email protected]
Info: Dependency on dotenv@>= 2.0.0 already satisfied
Verifying dependencies for [email protected]
Info: Dependency on sass@#7dfdd03 already satisfied
Verifying dependencies for [email protected]
Info: Dependency on nimcrypto@#4014ef9 already satisfied
Verifying dependencies for [email protected]
Info: Dependency on markdown@#158efe3 already satisfied
Verifying dependencies for [email protected]
Info: Dependency on packedjson@#9e6fbb6 already satisfied
Verifying dependencies for [email protected]
Info: Dependency on supersnappy@#6c94198 already satisfied
Verifying dependencies for [email protected]
Info: Dependency on redpool@#8b7c1db already satisfied
Verifying dependencies for [email protected]
Info: Dependency on https://github.com/zedeus/redis@#d0a0e6f already satisfied
Verifying dependencies for [email protected]
Info: Dependency on https://github.com/zedeus/redis@#d0a0e6f already satisfied
Verifying dependencies for [email protected]
Info: Dependency on zippy@#ca5989a already satisfied
Verifying dependencies for [email protected]
Info: Dependency on flatty@#e668085 already satisfied
Verifying dependencies for [email protected]
Info: Dependency on jsony@#ea811be already satisfied
Verifying dependencies for [email protected]
Building nitter/nitter using c backend
Tip: 38 messages have been suppressed, use --verbose to show them.
nimble.nim(229) buildFromDir

Error:  Build failed for the package: nitter

The command '/bin/sh -c nimble build -d:danger -d:lto -d:strip && nimble scss && nimble md' returned a non-zero code: 1

@zedeus
Copy link
Owner

zedeus commented Dec 28, 2023

There's no actual error in this output besides "it failed". Are you building the docker file from the guest accounts branch?

@nigelhorne
Copy link
Author

I followed the instructions on the GitHub code page. Those say nothing about using or not using a guest account's branch, so it'll be whatever happens when you follow those instructions.

@zedeus
Copy link
Owner

zedeus commented Dec 30, 2023

The project is undergoing a major change, you'd have to use the guest_accounts branch to get anything to work at all.
Follow this guide: https://github.com/zedeus/nitter/wiki/Guest-Account-Branch-Deployment

@nigelhorne
Copy link
Author

Thanks,

I tried that but that failed as well:

$ nimble build -d:release
   Warning: Package 'nitter' has an incorrect structure. It should contain a single directory hierarchy for source files, named 'nitterpkg', but file 'resolver.nim' is in a directory named 'routes' instead. This will be an error in the future.
      Hint: If 'routes' contains source files for building 'nitter', rename it to 'nitterpkg'. Otherwise, prevent its installation by adding `skipDirs = @["routes"]` to the .nimble file.
  Verifying dependencies for [email protected]
     Error: Unsatisfied dependency: nim (>= 1.6.10)

@zedeus
Copy link
Owner

zedeus commented Jan 4, 2024

Your version of Nim is too old.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants