Repository navigation
Closed
Labels
kind/documentationImprovements to docs
Description
Hello,
I've found this issue when I was adding Packit support to one of our projects. Seems that tar has an issue with generated number for the package version from Packit.
Message: Preparing of the upstream to the SRPM build failed: Command failed (rc=2, reason={"metadata":{},"status":"Failure","message":"command terminated with non-zero exit code: Error executing in Docker Container: 2","reason":"NonZeroExitCode","details":{"causes":[{"reason":"ExitCode","message":"2"}]}})
TEMP_DIR=$(mktemp --tmpdir -d initial-setup-localization-XXXXXXXXXX) && \
git clone --depth 1 -b master -- https://github.com/rhinstaller/initial-setup-l10n.git $TEMP_DIR && \
cp $TEMP_DIR/master/*.po ./po/ && \
rm -rf $TEMP_DIR
Cloning into '/tmp/initial-setup-localization-Ekg2Mdt3Yx'...
make[1]: Entering directory '/sandcastle/docker-io-usercont-sandcastle-prod-20201116-122742104903'
(GIT_DIR=.git git log > .changelog.tmp && mv .changelog.tmp ChangeLog; rm -f .changelog.tmp) || (touch ChangeLog; echo 'git directory not found: installing possibly empty changelog.' >&2)
make[1]: Leaving directory '/sandcastle/docker-io-usercont-sandcastle-prod-20201116-122742104903'
git archive --format=tar --prefix=initial-setup-0.3.84/ r0.3.84-1 > initial-setup-0.3.84.tar
mkdir initial-setup-0.3.84
cp -r po initial-setup-0.3.84
cp ChangeLog initial-setup-0.3.84/
tar -rf initial-setup-0.3.84.tar initial-setup-0.3.84
tar: value 1021440000 out of uid_t range 0..2097151
tar: Exiting with failure status due to previous errors
make: *** [Makefile:81: archive] Error 2
From my understanding tar archive couldn't be modified because of name but it's possible that I understand it wrong. It's not happening when the SRPM archive is created locally.
Not a priority issue for us. Instead of fixing this I'm changing how the project is packaged but it could be a valid issue for another project.
Metadata
Metadata
Assignees
Labels
kind/documentationImprovements to docs
Activity
TomasTomecek commentedon Nov 18, 2020
This seems like a similar issue as with the archive generation in anaconda.
The problem is that openshift pod is running as a big UID (1021440000) which makes tar break.
I'd suggest pax tar format (
tar -H pax): https://mgorny.pl/articles/portability-of-tar-features.html#user-and-group-informationjkonecny12 commentedon Nov 23, 2020
I was thinking if it is not related. Thanks for that!
In that case, feel free to close this issue because as I mentioned in the description I'm switching the release process to setup.py instead.
lachmanfrantisek commentedon Nov 24, 2020
We agreed with @TomasTomecek that we should at least document this behaviour.
stale commentedon Jan 23, 2021
This issue has been marked as stale because it hasn't seen any
activity for the last 60 days.
Stale issues are closed after 14 days, unless the label is removed
by a maintainer or someone comments on it.
This is done in order to ensure that open issues are still relevant.
Thank you for your contribution! 🦄 🚀 🤖
(Note: issues labeled with pinned or EPIC are
never marked as stale.)
stale commentedon Jun 2, 2021
This issue has been marked as stale because it hasn't seen any
activity for the last 60 days.
Stale issues are closed after 14 days, unless the label is removed
by a maintainer or someone comments on it.
This is done in order to ensure that open issues are still relevant.
Thank you for your contribution! 🦄 🚀 🤖
(Note: issues labeled with pinned or EPIC are
never marked as stale.)
stale commentedon Aug 4, 2021
This issue has been marked as stale because it hasn't seen any
activity for the last 60 days.
Stale issues are closed after 14 days, unless the label is removed
by a maintainer or someone comments on it.
This is done in order to ensure that open issues are still relevant.
Thank you for your contribution! 🦄 🚀 🤖
(Note: issues labeled with pinned or EPIC are
never marked as stale.)
actions structure overhaul
Merge pull request #325 from TomasTomecek/fix192