Comments (9)
Can you install from source? I'm using the oldest version of Ubuntu in GitHub actions that is still supported.
from difftastic.
I will try! I have a restricted environment. If all fails, I will need to boot up a VM.
from difftastic.
I tried using "cargo vendor" to do an offline installation, as I am in a restricted environment. However, I get this when I try cargo build
on my SLES12 system:
$ cargo build --offline
error: failed to load source for dependency `tree_magic_mini`
Caused by:
Unable to update https://github.com/Wilfred/tree_magic?branch=fix-panic-for-empty-strings#13dd6dda
Caused by:
failed to update replaced source https://github.com/Wilfred/tree_magic?branch=fix-panic-for-empty-strings#13dd6dda
Caused by:
failed to read root of directory source: $HOME/workspace/difftastic-0.53.1/vendor
Caused by:
No such file or directory (os error 2)
As I am not a rust user, I need additional help.
Just FYI, cargo install
:
$ cargo install --offline --path $PWD
Installing difftastic v0.53.1 ($HOME/workspace/difftastic-0.53.1)
error: failed to compile `difftastic v0.53.1 ($HOME/workspace/difftastic-0.53.1)`, intermediate artifacts can be found at `$HOME/workspace/difftastic-0.53.1/target`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.
Caused by:
failed to load source for dependency `tree_magic_mini`
Caused by:
Unable to update https://github.com/Wilfred/tree_magic?branch=fix-panic-for-empty-strings
Caused by:
the source https://github.com/Wilfred/tree_magic requires a lock file to be present first before it can be
used against vendored source code
remove the source replacement configuration, generate a lock file, and then
restore the source replacement configuration to continue the build
from difftastic.
Here's a build on 16.04. Will do 14.04 later after sorting out that no tls1.2 is available....
difft-0.53.1-ubuntu16.04.tar.gz
from difftastic.
Huh, that did not work:
[user@host:~/.local/apps/difftastic-0.53.1] $ ./bin/difft
./bin/difft: $HOME/.local/apps/gcc-4.9.4/lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by ./bin/difft)
./bin/difft: $HOME/.local/apps/gcc-4.9.4/lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by ./bin/difft)
[user@host:~/.local/apps/difftastic-0.53.1] $ ldd bin/difft
bin/difft: $HOME/.local/apps/gcc-4.9.4/lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by bin/difft)
bin/difft: $HOME/.local/apps/gcc-4.9.4/lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by bin/difft)
linux-vdso.so.1 (0x00007ffdcece9000)
libstdc++.so.6 => $HOME/.local/apps/gcc-4.9.4/lib64/libstdc++.so.6 (0x00007f32dc662000)
libgcc_s.so.1 => $HOME/.local/apps/gcc-4.9.4/lib64/libgcc_s.so.1 (0x00007f32dc44b000)
librt.so.1 => /lib64/librt.so.1 (0x00007f32dc42b000)
libpthread.so.0 => /lib64/noelision/libpthread.so.0 (0x00007f32dc40d000)
libm.so.6 => /lib64/libm.so.6 (0x00007f32dc310000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007f32dc30b000)
libc.so.6 => /lib64/libc.so.6 (0x00007f32dc166000)
/lib64/ld-linux-x86-64.so.2 (0x00007f32e0ed6000)
@Wilfred can you give me build instructions? I used relocate (so the build users does not appear), and that's it.
Not sure why $HOME/.local/apps/gcc-4.9.4/lib64/libstdc++.so.6
got into it...
from difftastic.
Perhaps your C++ compiler is too old? https://difftastic.wilfred.me.uk/installation.html#build-requirements
from difftastic.
Actually, it works! I had a bad LD_LIBRARY_PATH
.
BUILT on Ubuntu 16.04.
If you like, you can append them to the release. I'd love to see some download stats for them.
from difftastic.
Glad you got it building! :)
I'm avoiding doing packaging for difftastic, as I'm not in a position to test lots of platforms and other people are doing a great job already. You might want to consider asking the upstream SUSE distro to package it?
from difftastic.
Glad you got it building! :)
Thanks :)
You might want to consider asking the upstream SUSE distro to package it?
They will probably not accept it. It is EOL unless you are a premium customer, and they will probably only accept bug fixes unless there's a good reason.
I tried to talk the support into Upgrading a GnuPG version from 2012/2013 which was the last version which did not properly import ed255199 keys (the next version a month later fixed a bug). They refused to backport it because it was not a security fix. So, SLES 12 is basically useless if you are trying to use a private GnuPG key more recent than 2020 or so... But thanks for the heads up :)
from difftastic.
Related Issues (20)
- Provide automatic display options that consider terminal width, etc.
- Error: "index out of bounds: the len is 20 but the index is 20" HOT 4
- Unchanged HTML reported as changed HOT 1
- No option to diff hidden files in directories HOT 1
- Word differ returns out-of-bounds column numbers HOT 1
- tree-sitter-lua is out-dated
- index out of bounds: the len is X but the index is X', src/display/inline.rs:115:21
- Bad error recovery from (incorrect) C preprocessor error
- Inline diff is ignoring unchanged lines between hunks
- "index out of bounds" error, panic in side_by_side.rs HOT 2
- Crash inside eshell with memory allocation error HOT 5
- Output file paths as relative to current working directory
- Feature Request: Compare Subdirectories, ignore directory name difference
- Elm diff shows no syntactic changes for changes to doc comments
- `--language` command line argument is not supported
- difft does shows single/double quote as a diff for python HOT 3
- Include line number in patch diff header
- difftastic do not show color in fzf preview
- Dynamic sublanguages (injections)
- [Question] Want to know the changes in the AST nodes of the old and new files? HOT 1
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 difftastic.