[opensuse-factory] OBS: nothing provides this-is-only-for-build-envs
Hi, everyone! Again, I'm talking about OBS... I am moving to the next generation KIWI (https://suse.github.io/kiwi/), but when I try to build, I get unresolvable: nothing provides this-is-only-for-build-envs needed by libsystemd0-mini, nothing provides this-is-only-for-build-envs needed by systemd-mini Googling, I found this message: https://lists.opensuse.org/opensuse-buildservice/2016-03/msg00003.html
Add these lines to your prjconf: Ignore: systemd-mini:this-is-only-for-build-envs Ignore: libsystemd0-mini:this-is-only-for-build-envs Ignore: udev-mini:this-is-only-for-build-envs Ignore: libudev-mini1:this-is-only-for-build-envs
I did it: https://build.opensuse.org/project/prjconf/home:livesuse:dev Without success. The image does not rebuild. It keeps unresolvable. Any ideas? Here is the image: https://build.opensuse.org/package/show/home:livesuse:dev/LiveSUSE-Leap-KDE Thank you in advance! Antonio The Linux Kamarada Project https://kamarada.github.io/ -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Am 03.12.2017 um 03:58 schrieb Linux Kamarada:
Hi, everyone! Again, I'm talking about OBS...
I am moving to the next generation KIWI (https://suse.github.io/kiwi/), but when I try to build, I get unresolvable:
nothing provides this-is-only-for-build-envs needed by libsystemd0-mini, nothing provides this-is-only-for-build-envs needed by systemd-mini
Googling, I found this message:
https://lists.opensuse.org/opensuse-buildservice/2016-03/msg00003.html
Add these lines to your prjconf: Ignore: systemd-mini:this-is-only-for-build-envs Ignore: libsystemd0-mini:this-is-only-for-build-envs Ignore: udev-mini:this-is-only-for-build-envs Ignore: libudev-mini1:this-is-only-for-build-envs
This is to ignore it for normal package builds - for product builds this is harmful. What you need to do is adding systemd to your kiwi config, so that systemd-mini isn't even pulled in. Greetings, Stephan -- Ma muaß weiterkämpfen, kämpfen bis zum Umfalln, a wenn die ganze Welt an Arsch offen hat, oder grad deswegn. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Em Dom, 2017-12-03 às 08:12 +0100, Stephan Kulow escreveu:
Am 03.12.2017 um 03:58 schrieb Linux Kamarada:
Hi, everyone! Again, I'm talking about OBS...
I am moving to the next generation KIWI (https://suse.github.io/kiwi/), but when I try to build, I get unresolvable:
nothing provides this-is-only-for-build-envs needed by libsystemd0-mini, nothing provides this-is-only-for-build-envs needed by systemd-mini
Googling, I found this message:
https://lists.opensuse.org/opensuse-buildservice/2016-03/msg00003.html
Add these lines to your prjconf: Ignore: systemd-mini:this-is-only-for-build-envs Ignore: libsystemd0-mini:this-is-only-for-build-envs Ignore: udev-mini:this-is-only-for-build-envs Ignore: libudev-mini1:this-is-only-for-build-envs
This is to ignore it for normal package builds - for product builds this is harmful.
What you need to do is adding systemd to your kiwi config, so that systemd-mini isn't even pulled in.
Greetings, Stephan
-- Ma muaß weiterkämpfen, kämpfen bis zum Umfalln, a wenn die ganze Welt an Arsch offen hat, oder grad deswegn.
Thank you, Stephan Kulow. I deleted those lines from my prjconf and added systemd to config.kiwi. It worked. But now, I get a different error: [ 81s] [ INFO ]: Processing: [ ] 0%[ DEBUG ]: 12:41:27 | system: Loading repository data... [ 81s] [ DEBUG ]: 12:41:27 | system: Reading installed packages... [ 81s] [ DEBUG ]: 12:41:27 | system: 'systemd' is already installed. [ 81s] [ DEBUG ]: 12:41:27 | system: No update candidate for 'systemd-228-38.1.x86_64'. The highest available version is already installed. [ 81s] [ INFO ]: Processing: [########################################] 100% [ 81s] [ ERROR ]: 12:41:27 | KiwiInstallPhaseFailed: System package installation failed: Package 'dracut-kiwi-live' not found. [ 81s] Package 'yast2-live-installer' not found. I don't understand, because here is my config.kiwi: https://build.opensuse.org/package/view_file/home:livesuse:dev/LiveSUSE-Leap... My repository configuration: <repository alias="kiwi-next-generation" priority="1" type="rpm-md"> <source path="obs://Virtualization:Appliances:Builder/openSUSE_Leap_42.3"/> </repository> <repository alias="repo-update" imageinclude="true" priority="2" type="rpm-md"> <source path="obs://openSUSE:Leap:42.3:Update/standard"/> </repository> <repository alias="repo-oss" imageinclude="true" priority="3" type="rpm-md"> <source path="obs://openSUSE:Leap:42.3/standard"/> </repository> dracut-kiwi-live is available on the kiwi-next-generation repo. yast2-live-installer is available on the repo-oss repo. Why are those packages not found? Do you have any ideas? I'm using the following images as examples to move mine to the next generation KIWI: https://github.com/SUSE/kiwi-descriptions/tree/master/suse/x86_64/suse-leap-... https://build.opensuse.org/package/view_file/Virtualization:Appliances:Image... https://build.opensuse.org/package/view_file/home:probono:branches:KDE:Media... Antonio The Linux Kamarada Project https://kamarada.github.io/ -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Em Dom, 2017-12-03 às 10:54 -0200, Linux Kamarada escreveu:
Em Dom, 2017-12-03 às 08:12 +0100, Stephan Kulow escreveu:
Am 03.12.2017 um 03:58 schrieb Linux Kamarada:
Hi, everyone! Again, I'm talking about OBS...
I am moving to the next generation KIWI (https://suse.github.io/kiwi/), but when I try to build, I get unresolvable:
nothing provides this-is-only-for-build-envs needed by libsystemd0-mini, nothing provides this-is-only-for-build-envs needed by systemd-mini
Googling, I found this message:
https://lists.opensuse.org/opensuse-buildservice/2016-03/msg00003.html
Add these lines to your prjconf: Ignore: systemd-mini:this-is-only-for-build-envs Ignore: libsystemd0-mini:this-is-only-for-build-envs Ignore: udev-mini:this-is-only-for-build-envs Ignore: libudev-mini1:this-is-only-for-build-envs
This is to ignore it for normal package builds - for product builds this is harmful.
What you need to do is adding systemd to your kiwi config, so that systemd-mini isn't even pulled in.
Greetings, Stephan
-- Ma muaß weiterkämpfen, kämpfen bis zum Umfalln, a wenn die ganze Welt an Arsch offen hat, oder grad deswegn.
Thank you, Stephan Kulow. I deleted those lines from my prjconf and added systemd to config.kiwi. It worked.
But now, I get a different error:
[ 81s] [ INFO ]: Processing: [ ] 0%[ DEBUG ]: 12:41:27 | system: Loading repository data... [ 81s] [ DEBUG ]: 12:41:27 | system: Reading installed packages... [ 81s] [ DEBUG ]: 12:41:27 | system: 'systemd' is already installed. [ 81s] [ DEBUG ]: 12:41:27 | system: No update candidate for 'systemd-228-38.1.x86_64'. The highest available version is already installed. [ 81s] [ INFO ]: Processing: [########################################] 100% [ 81s] [ ERROR ]: 12:41:27 | KiwiInstallPhaseFailed: System package installation failed: Package 'dracut-kiwi-live' not found. [ 81s] Package 'yast2-live-installer' not found.
I don't understand, because here is my config.kiwi:
https://build.opensuse.org/package/view_file/home:livesuse:dev/LiveSUSE-Leap...
My repository configuration:
<repository alias="kiwi-next-generation" priority="1" type="rpm-md"> <source path="obs://Virtualization:Appliances:Builder/openSUSE_Leap_42.3"/> </repository> <repository alias="repo-update" imageinclude="true" priority="2" type="rpm-md"> <source path="obs://openSUSE:Leap:42.3:Update/standard"/> </repository> <repository alias="repo-oss" imageinclude="true" priority="3" type="rpm-md"> <source path="obs://openSUSE:Leap:42.3/standard"/> </repository>
dracut-kiwi-live is available on the kiwi-next-generation repo.
yast2-live-installer is available on the repo-oss repo.
Why are those packages not found? Do you have any ideas?
I'm using the following images as examples to move mine to the next generation KIWI:
https://github.com/SUSE/kiwi-descriptions/tree/master/suse/x86_64/suse-leap-...
https://build.opensuse.org/package/view_file/Virtualization:Appliances:Image...
https://build.opensuse.org/package/view_file/home:probono:branches:KDE:Media...
Antonio The Linux Kamarada Project https://kamarada.github.io/
Curiously, I changed: <packages type="image" patternType="plusRecommended"> ... </packages> <packages type="iso"> <package name="dracut-kiwi-live"/> <package name="yast2-live-installer" /> </packages> To: <packages type="image" patternType="plusRecommended"> ... <package name="dracut-kiwi-live"/> <package name="yast2-live-installer" /> </packages> <!--<packages type="iso"> <package name="dracut-kiwi-live"/> <package name="yast2-live-installer" /> </packages>--> And the package installation has proceeded. Actually, all the prepare step went well, but the create step failed with "No space left on device": [ 1869s] [ INFO ]: 01:20:09 | --> Creating squashfs container for root image [ 1869s] [ DEBUG ]: 01:20:09 | EXEC: [mkdir -p /usr/src/packages/KIWI-iso/live-container.c77ev8ou/LiveOS] [ 2118s] [ ERROR ]: 01:24:18 | Unexpected error: [ 2118s] /.build/build-vm: line 417: echo: write error: No space left on device [ 2118s] Traceback (most recent call last): [ 2118s] File "/usr/bin/kiwi", line 9, in <module> [ 2118s] load_entry_point('kiwi==9.11.24', 'console_scripts', 'kiwi-ng-3')() [ 2118s] File "/usr/lib/python3.4/site-packages/kiwi/kiwi.py", line 54, in main [ 2118s] App() [ 2118s] File "/usr/lib/python3.4/site-packages/kiwi/app.py", line 35, in __init__ [ 2118s] task_class().process() [ 2118s] File "/usr/lib/python3.4/site-packages/kiwi/tasks/system_build.py", line 256, in process [ 2118s] result = image_builder.create() [ 2118s] File "/usr/lib/python3.4/site-packages/kiwi/builder/live.py", line 178, in create [ 2118s] root_image.name, self.live_container_dir + '/LiveOS/rootfs.img' [ 2118s] File "/usr/lib64/python3.4/shutil.py", line 229, in copy [ 2118s] copyfile(src, dst, follow_symlinks=follow_symlinks) [ 2118s] File "/usr/lib64/python3.4/shutil.py", line 110, in copyfile [ 2118s] copyfileobj(fsrc, fdst) [ 2118s] File "/usr/lib64/python3.4/shutil.py", line 70, in copyfileobj [ 2118s] fdst.write(buf) [ 2118s] OSError: [Errno 28] No space left on device How much space can we use at OBS? SUSE Studio used to offer 15GB for free. I am also moving this thread to the opensuse-buildservice mailing list because maybe it is more appropriate. Thank you! Antonio The Linux Kamarada Project https://kamarada.github.io/ -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (2)
-
Linux Kamarada
-
Stephan Kulow