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
ctags: fix source url #41382
ctags: fix source url #41382
Conversation
The upstream SVN appears to no longer exist: ``` svn: E170013: Unable to connect to a repository at URL 'https://ctags.svn.sourceforge.net/svnroot/ctags/trunk' svn: E160013: '/svnroot/ctags/trunk' path not found ``` The download homepage just references the sourceforge download: http://ctags.sourceforge.net/ which is version 5.8.
# don't use $T(E)MP which is set to the build directory | ||
configureFlags= [ "--enable-tmpdir=/tmp" ]; | ||
# lregex.c:411:4: error: format not a string literal and no format arguments [-Werror=format-security] | ||
hardeningDisable = [ "format" ]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know what the difference between this version and whatever they had in their (deco'd?) SVN repository is, but this one appears to not need the configure flag, although it does need the hardening flag.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we should make this change. The latest available release (816, which we have now) is from 2014, this PR downgrades to a 2009 version (IIRC, with some CVE vulnerabilities). The 816 code is still there at https://sourceforge.net/p/ctags/code/HEAD/tree/trunk/ .
@GrahamcOfBorg build ctags |
Success on x86_64-linux (full log) Attempted: ctags Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: ctags Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: ctags Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: ctags Partial log (click to expand)
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please try to figure out the correct stable URL for fetching r816 from svn.
# don't use $T(E)MP which is set to the build directory | ||
configureFlags= [ "--enable-tmpdir=/tmp" ]; | ||
# lregex.c:411:4: error: format not a string literal and no format arguments [-Werror=format-security] | ||
hardeningDisable = [ "format" ]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we should make this change. The latest available release (816, which we have now) is from 2014, this PR downgrades to a 2009 version (IIRC, with some CVE vulnerabilities). The 816 code is still there at https://sourceforge.net/p/ctags/code/HEAD/tree/trunk/ .
Update: just change the fetchsvn url to |
Ah thanks @xeji! I'm glad we can just swap to a moved URL instead of downgrading to the "official" release, which appears semi-abandonded. |
Success on x86_64-linux (full log) Attempted: ctags Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: ctags Partial log (click to expand)
|
* master: (26 commits) python.pkgs.cairocffi: update tests for Cairo 1.15.12 python.pkgs.cairocffi: 0.8.0 -> 0.8.1 freecell-solver: fix build perlPackages.CPANPLUS: restore build inputs removed in #41394 Fix GHCJS 8.4/8.2 in sandboxed builds (#41411) dockerTools.pullImage: expose image* attributes (#41366) rust: disable tests on darwin python.pkgs.detox: 0.11 -> 0.12 certbot: disable check on darwin freeimage: fix build with glibc 2.27 shadowsocks-libev: supports darwin (#41421) pythonPackages.jira: fix build (#41419) SDL: propagate libiconv schema2ldif: Init at 1.3 nixos/exim: Add unit restart trigger (#41418) Add myself as maintainer for dnsdist Add myself as maintainer synapse-bt: init at 2018-06-04 (#41402) skim: 0.3.2 -> 0.4.0 (#41417) ctags: fix source url (#41382) ...
The upstream SVN appears to no longer exist:
The download homepage just references the sourceforge download:
http://ctags.sourceforge.net/
which is version 5.8.
Motivation for this change
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)