Skip to content

Tagged release cannot be 'untarred' #6

Open

Description

@mtmcp

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?

Activity

  1. cyanogilvie commented on Jan 18, 2024

    @cyanogilvie
    Member

    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.

  2. mtmcp commented on Jan 18, 2024

    @mtmcp
    Author

    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.

  3. cyanogilvie commented on Jan 18, 2024

    @cyanogilvie
    Member
  4. mtmcp commented on Jan 18, 2024

    @mtmcp
    Author

    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.

  5. cyanogilvie commented on Jan 18, 2024

    @cyanogilvie
    Member
  6. mtmcp commented on Jan 18, 2024

    @mtmcp
    Author

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

  7. mtmcp commented on Mar 4, 2024

    @mtmcp
    Author

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions