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

multibuild misses dependencies #547

Open
bmwiedemann opened this issue May 7, 2019 · 1 comment

Comments

Projects
None yet
1 participant
@bmwiedemann
Copy link
Member

commented May 7, 2019

Reproducer:

osc co openSUSE:Factory/pg_cron && cd $_
osc build --noservice --clean -M postgresql95 --local-package
osc build --noservice --clean -M postgresql95 --alternative-project $PRJ

Such a build misses the postgresql95-server-devel dependency and thus the build fails with
make: pg_config: Command not found

A workaround is to patch the spec file to work without -M

other affected packages might be imb, kicad-doc, mvapich2 and tensorflow

@bmwiedemann

This comment has been minimized.

Copy link
Member Author

commented May 27, 2019

I captured debug output from

osc -d build --noservice --clean -M openmpi --local-package > /tmp/osc.debug.bad 2>&1
osc -d build --noservice --clean -M openmpi > /tmp/osc.debug.good 2>&1

and the only diff in API calls was

--- /tmp/osc.debug.bad  2019-05-27 14:29:05.779602037 +0000
+++ /tmp/osc.debug.good 2019-05-27 14:28:28.599574781 +0000
-POST https://api.opensuse.org/build/openSUSE:Factory/standard/x86_64/_repository/_buildinfo
+POST https://api.opensuse.org/build/openSUSE:Factory/standard/x86_64/imb:openmpi/_buildinfo
 ...
-[   15s] [126/126] cumulate gcc-c++-9-1.1
+[   14s] [156/156] cumulate openmpi-devel-1.10.7-21.2

and osc api /build/openSUSE:Factory/standard/x86_64/_repository/_buildinfo returns

Server returned an error: HTTP Error 404: Not Found
openSUSE:Factory/_repository

osc api -X POST -f imb.spec /build/openSUSE:Factory/standard/x86_64/_repository:imb-openmpi/_buildinfo
Server returned an error: HTTP Error 400: Bad Request
packid '_repository' is illegal

And that might be why it ends up with 30 fewer packages installed in the build environment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.