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

Exception during package creation with unmet autodep #77

Open
Staudey opened this issue May 28, 2024 · 0 comments
Open

Exception during package creation with unmet autodep #77

Staudey opened this issue May 28, 2024 · 0 comments

Comments

@Staudey
Copy link
Member

Staudey commented May 28, 2024

While I was testing the current fakeroot symlink issue, I ran into an exception building a test package that was slightly unexpected. When building this package.yml without listing libglvnd as a builddep, the following exception occurs:

[...]
[Dependency] /usr/lib64/lib1.so adds dependency on libXrender.so.1 from libxrender
[Package] Creating /home/build/work/fakeroot-test-devel-1-1-1-x86_64.eopkg ...
Traceback (most recent call last):
  File "/tmp/onefile_14086_1716925137_855457/ypkg", line 7, in <module>
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "/tmp/onefile_14086_1716925137_855457/ypkg-build", line 19, in <module multidist-2-ypkg-build>
  File "/tmp/onefile_14086_1716925137_855457/ypkg2/main.py", line 105, in main
  File "/tmp/onefile_14086_1716925137_855457/ypkg2/main.py", line 503, in build_package
  File "/tmp/onefile_14086_1716925137_855457/ypkg2/metadata.py", line 417, in create_eopkg
  File "/tmp/onefile_14086_1716925137_855457/ypkg2/metadata.py", line 388, in create_meta_xml
  File "/tmp/onefile_14086_1716925137_855457/ypkg2/metadata.py", line 344, in handle_dependencies
  File "/tmp/onefile_14086_1716925137_855457/pisi/db/installdb.py", line 272, in get_package
  File "/tmp/onefile_14086_1716925137_855457/pisi/db/installdb.py", line 377, in package_path
Exception: Package libglvnd is not installed
 ✗  Failed to build packages err="Failed to start build of package, reason: exit status 1\n"
task: Failed to run task "build": exit status 1

I don't think this is the intended behaviour. At least I don't remember this happening before.

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

1 participant