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

electrum/www/pay is not a symlink in the tarball #8030

Open
sorenstoutner opened this issue Oct 20, 2022 · 3 comments
Open

electrum/www/pay is not a symlink in the tarball #8030

sorenstoutner opened this issue Oct 20, 2022 · 3 comments

Comments

@sorenstoutner
Copy link
Contributor

In the Git repository electrum/www/pay is a symlink to electrum/www/index.html. However, in the tarball, pay is a separate file with identical contents. When it is not a symlink, trying to access it with a browser causes a download to be initiated instead of displaying the website.

My guess is that some aspect of the packaging of the tarball is converting the symlink into a separate file, but I am unsure at what stage that is happening.

@SomberNight
Copy link
Member

hmm I wonder if this explains #7672

@SomberNight
Copy link
Member

The tarball is built by setuptools, here:

TZ=UTC faketime -f '2000-11-11 11:11:11' python3 setup.py --quiet sdist --format=gztar --dist-dir="$PY_DISTDIR"

note the setuptools is the successor of distutils (used to be in stdlib), for which this was reported as a bug at one point:
https://bugs.python.org/issue12585

@sorenstoutner
Copy link
Contributor Author

FYI, I have deleted the duplicate file and added the symlink in the upcoming 4.3.3 Debian package. Let me know when this is fixed in the tarball generation.

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

No branches or pull requests

2 participants