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

Tagged release cannot be 'untarred' #6

Open
bandoti opened this issue Jan 18, 2024 · 7 comments
Open

Tagged release cannot be 'untarred' #6

bandoti opened this issue Jan 18, 2024 · 7 comments

Comments

@bandoti
Copy link

bandoti commented Jan 18, 2024

When trying to extract the released tar file, it fails as follows:

+ gzip -dc ./parse_args-0.5.1.tar.gz
+ tar -xf -
tar: parse_args-0.5.1/bench/run.tcl: Cannot create symlink to ‘../teabase/run_bench.tcl’: No such file or directory
tar: parse_args-0.5.1/generic/tclstuff.h: Cannot create symlink to ‘../teabase/tclstuff.h’: No such file or directory
tar: parse_args-0.5.1/generic/tip445.h: Cannot create symlink to ‘../teabase/tip445.h’: No such file or directory
tar: Exiting with failure status due to previous errors

It appears as though it is an issue with the sub-module files missing. Should they be bundled together for the tar/zip release?

@cyanogilvie
Copy link
Member

cyanogilvie commented Jan 18, 2024

Did you clone the recursive git submodules?

The version tags are just tags, not releases, you still need the submodules to be able to build the package.

@bandoti
Copy link
Author

bandoti commented Jan 18, 2024

Apologies I should have added more context here. What I attempted before was to pull down the tarball as though it is the product of a make dist sort of behavior, packaging all sources together. However, after doing some research it looks like Github tags do not package the sub-modules—just whatever is in the repo.

I was working on adding the parse_args module to kitcreator and the default action is to pull a bundled source archive. However, I modified the new build script to use git and recursively clone. 😊

It seems like there is a way to do this with custom Github actions as part of the test/release cycle—but for now I am okay simply cloning directly from Github.

@cyanogilvie
Copy link
Member

cyanogilvie commented Jan 18, 2024 via email

@bandoti
Copy link
Author

bandoti commented Jan 18, 2024

Do you know what initial steps would be required for parse_args? If time permits I can try to add the sources together in the Makefile.in and try to add a distcheck target for testing. But if you'd like to wait and add common functionality from tcl-tomcrypt I wouldn't want to step on your shoes there.

I am working on getting the tdk and teapot repositories packaged into standalone executables (almost finished there). Part of that work I split submodules for the tbcload, tclcompiler, and tclparser. I will likely have to follow suit and add similar dist targets.

@cyanogilvie
Copy link
Member

cyanogilvie commented Jan 18, 2024 via email

@bandoti
Copy link
Author

bandoti commented Jan 18, 2024

Okay sounds good—I'll post an update here when I make progress. Thanks.

@bandoti
Copy link
Author

bandoti commented Mar 4, 2024

I haven't forgotten about this! Just working on wrapping up some other tasks and I will be back on it shortly. :)

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