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

Built attempt fails with errors | Fedora #18817

Closed
Ricky-Tigg opened this issue Jun 7, 2023 · 4 comments · Fixed by #19214
Closed

Built attempt fails with errors | Fedora #18817

Ricky-Tigg opened this issue Jun 7, 2023 · 4 comments · Fixed by #19214
Assignees
Labels
kind/bug Categorizes issue or PR as related to a bug. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.

Comments

@Ricky-Tigg
Copy link

Issue Description

Hello. Executing make package-install that is present as instruction at https://podman.io/docs/installation#building-from-scratch and seems to apply to Fedora, produces errors.

Steps to reproduce the issue

Pre-requisite

  • Packages installed as follows
$ sudo dnf -y install {btrfs-progs,device-mapper,glib2,glibc,gpgme,libassuan,libgpg-error,libseccomp,libselinux,ostree,shadow-utils-subid}-devel \
conmon containernetworking-plugins containers-common crun git glibc-static golang golang-github-cpuguy83-md2man go-rpm-macros iptables-libs make pkgconf
  • This repository as v.4.5.1 cloned. At its directory root.

Describe the results you received

$ make package-install
make -C rpm
make[1]: Entering directory '/home/yk/Lataukset/podman/rpm'
sed: can't read rpm/podman.spec: No such file or directory
spectool -g podman.spec
Downloading: https://github.com/containers/podman/archive/v0.tar.gz
Download failed:
404 Client Error: Not Found for url: https://codeload.github.com/containers/podman/tar.gz/v0
Downloading: https://github.com/containers/dnsname/archive/18822f9a4fb35d1349eb256f4cd2bfd372474d84/dnsname-18822f9a4fb35d1349eb256f4cd2bfd372474d84.tar.gz
File '/home/yk/Lataukset/podman/rpm/dnsname-18822f9a4fb35d1349eb256f4cd2bfd372474d84.tar.gz' already present.
Downloading: https://github.com/containers/gvisor-tap-vsock/archive/407efb5dcdb0f4445935f7360535800b60447544/gvisor-tap-vsock-407efb5dcdb0f4445935f7360535800b60447544.tar.gz
File '/home/yk/Lataukset/podman/rpm/gvisor-tap-vsock-407efb5dcdb0f4445935f7360535800b60447544.tar.gz' already present.
-   0.0 B Elapsed Time: 0:00:00                                               
rpmbuild -ba \
	--define '_sourcedir /home/yk/Lataukset/podman/rpm' \
	--define '_rpmdir %{_sourcedir}/RPMS' \
	--define '_srcrpmdir %{_sourcedir}/SRPMS' \
	--define '_builddir %{_sourcedir}/BUILD' \
	podman.spec
setting SOURCE_DATE_EPOCH=1682899200
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.I0R0bI
+ umask 022
+ cd /home/yk/Lataukset/podman/rpm/BUILD
+ cd /home/yk/Lataukset/podman/rpm/BUILD
+ rm -rf podman-0
+ /usr/lib/rpm/rpmuncompress -x /home/yk/Lataukset/podman/rpm/v0.tar.gz
error: File /home/yk/Lataukset/podman/rpm/v0.tar.gz: No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.I0R0bI (%prep)

RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.I0R0bI (%prep)
make[1]: *** [Makefile:5: rpm] Error 1
make[1]: Leaving directory '/home/yk/Lataukset/podman/rpm'
make: *** [Makefile:785: package] Error 2

Describe the results you expected

Isn't it intented to be executed without error.

podman info output

- Podman non-installed as aimed to be built from scratch, thus `podman version`, `podman info` and `rpm -q podman` are non-available or irrelevant.
- **OS:** Fedora 38 on x86_64.

Podman in a container

No

Privileged Or Rootless

None

Upstream Latest Release

Yes

Additional environment details

On physical machine.

Additional information

Always happens.

@Ricky-Tigg Ricky-Tigg added the kind/bug Categorizes issue or PR as related to a bug. label Jun 7, 2023
@Luap99
Copy link
Member

Luap99 commented Jun 7, 2023

@lsm5 PTAL

@lsm5 lsm5 self-assigned this Jun 7, 2023
@lsm5
Copy link
Member

lsm5 commented Jun 7, 2023

the package target was a poor choice. I'll probably rename it to rpm and fix the version 0 issue.

@github-actions
Copy link

github-actions bot commented Jul 8, 2023

A friendly reminder that this issue had no activity for 30 days.

@lsm5
Copy link
Member

lsm5 commented Jul 10, 2023

i'll take care of it this one this week.

lsm5 added a commit to lsm5/podman that referenced this issue Jul 12, 2023
package and package-install targets have been renamed
to rpm and rpm-install respectively for clarity.

`make rpm` will now build rpm using HEAD.

Resolves: containers#18817

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
@lsm5 lsm5 linked a pull request Jul 12, 2023 that will close this issue
lsm5 added a commit to lsm5/podman that referenced this issue Jul 12, 2023
package and package-install targets have been renamed
to rpm and rpm-install respectively for clarity.

`make rpm` will now build rpm using HEAD.

Resolves: containers#18817

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
lsm5 added a commit to lsm5/podman that referenced this issue Jul 12, 2023
package and package-install targets have been renamed
to rpm and rpm-install respectively for clarity.

`make rpm` will now build rpm using HEAD.

Resolves: containers#18817

[NO NEW TESTS NEEDED]

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
lsm5 added a commit to lsm5/podman that referenced this issue Jul 12, 2023
package and package-install targets have been renamed
to rpm and rpm-install respectively for clarity.

`make rpm` will now build rpm using HEAD.

Resolves: containers#18817

[NO NEW TESTS NEEDED]

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
lsm5 added a commit to lsm5/podman that referenced this issue Jul 13, 2023
package and package-install targets have been renamed
to rpm and rpm-install respectively for clarity.

`make rpm` will now build rpm using HEAD.

Resolves: containers#18817

[NO NEW TESTS NEEDED]

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
openshift-cherrypick-robot pushed a commit to openshift-cherrypick-robot/podman that referenced this issue Jul 13, 2023
package and package-install targets have been renamed
to rpm and rpm-install respectively for clarity.

`make rpm` will now build rpm using HEAD.

Resolves: containers#18817

[NO NEW TESTS NEEDED]

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
@github-actions github-actions bot added the locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. label Oct 12, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/bug Categorizes issue or PR as related to a bug. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants