How do I get past this OSC CI issue?
The version on the server is now newer than the version you checked out before your local change. I always solve this as follows, because anything else is a hassle: Copy your own changes or your local files. Delete the package locally. Check out the package again. Delete all files. Copy your files back in. Osc commit. Surely someone will now tell us that there is another way. That may be true. But this is the easiest and quickest way. Regards Eric Am 16. Juli 2024 19:34:24 MESZ schrieb Larry Len Rainey <llrainey15@gmail.com>:
I have built Virtualbox 7.0.20 and have built it on TW, 15.5 and 15.6 and tested it on Tumbleweed and 15.6 and want to check it in and I get this.
I have osc co home:larryr:branches:Virtualization/virtualbox and rebuilt it twice and still get this.
user@LLR3:~/home:larryr:branches:Virtualization/virtualbox> osc status M UserManual.pdf D VirtualBox-7.0.18-patched.tar.bz2 A VirtualBox-7.0.20-patched.tar.bz2 M fix_for_leap15.5.patch M fix_sdl_build.patch M fixes_for_gcc13.patch D fixes_for_leap.patch D fixes_for_makefile.patch D fixes_for_qt5.13.patch D fixes_for_sle12.patch D gcc5-real-support.patch D modify_for_4_8_bo_move.patch D python311.patch M remove_vbox_video_build.patch D smap.diff M turn_off_cloud_net.patch D vbox-default-os-type.diff D vbox-deprec-gsoap-service-proxies.diff D vbox-disable-updates.diff D vbox-fpie.diff D vbox-gsoapssl-deps.diff M vbox-permissions_warning.diff M vbox-suid-warning.diff M vbox-usb-warning.diff M vbox-vboxadd-init-script.diff M vbox-vboxdrv-init-script.diff M virtualbox.changes M virtualbox.spec user@LLR3:~/home:larryr:branches:Virtualization/virtualbox> osc ci Working copy '/home/user/home:larryr:branches:Virtualization/virtualbox' is out of date (rev 2d6e100be4d7cdef3b3a0e431832a75b vs rev f5203d5a212f5c9bc57d1d42ee6c2f88). Looks as if you need to update it first.
If you lost any edited commit messages due to an error, you may find them here: - /home/user/.cache/osc/edited-messages/2024-07-16_12:21:51.828251 user@LLR3:~/home:larryr:branches:Virtualization/virtualbox>
Hello, Am Dienstag, 16. Juli 2024, 19:34:24 MESZ schrieb Larry Len Rainey:
user@LLR3:~/home:larryr:branches:Virtualization/virtualbox> osc ci Working copy '/home/user/home:larryr:branches:Virtualization/virtualbox' is out of date (rev 2d6e100be4d7cdef3b3a0e431832a75b vs rev f5203d5a212f5c9bc57d1d42ee6c2f88). Looks as if you need to update it first.
It might sound too easy, but usually osc up fixes this and allows you to run osc ci afterwards. Since you modified quite some files, osc up might cause some merge conflicts. You'll need to edit these files and fix the conflicts, then use osc resolved $file to mark that file as resolved. Regards, Christian Boltz -- Gegen DOS-Attacken kann man sich wehren - meistens hilft es, Windows drüberzuspielen. [Martin Leyrer bei den Grazer Linuxtagen]
Am Dienstag, 16. Juli 2024, 22:14:08 MESZ schrieb Christian Boltz:
Am Dienstag, 16. Juli 2024, 19:34:24 MESZ schrieb Larry Len Rainey:
user@LLR3:~/home:larryr:branches:Virtualization/virtualbox> osc ci Working copy '/home/user/home:larryr:branches:Virtualization/virtualbox' is out of date (rev 2d6e100be4d7cdef3b3a0e431832a75b vs rev f5203d5a212f5c9bc57d1d42ee6c2f88). Looks as if you need to update it first.
It might sound too easy, but usually osc up fixes this and allows you to run osc ci afterwards.
...and an osc ar before the ci helps to sync the new/deleted files Cheers Axel
Hi Larry, Am 16.07.24 um 19:34 schrieb Larry Len Rainey:
I have built Virtualbox 7.0.20 and have built it on TW, 15.5 and 15.6 and tested it on Tumbleweed and 15.6 and want to check it in and I get this.
I have osc co home:larryr:branches:Virtualization/virtualbox and rebuilt it twice and still get this.
user@LLR3:~/home:larryr:branches:Virtualization/virtualbox> osc status M UserManual.pdf D VirtualBox-7.0.18-patched.tar.bz2 A VirtualBox-7.0.20-patched.tar.bz2 M fix_for_leap15.5.patch [...]> M virtualbox.changes M virtualbox.spec user@LLR3:~/home:larryr:branches:Virtualization/virtualbox> osc ci Working copy '/home/user/home:larryr:branches:Virtualization/virtualbox' is out of date (rev 2d6e100be4d7cdef3b3a0e431832a75b vs rev f5203d5a212f5c9bc57d1d42ee6c2f88). Looks as if you need to update it first.
First thing to try is "osc up", see if something gets a conflict during that update and if it does, fix the conflict and resolve it, then try again to commit. Conflicts will be indicated during osc up with C virtualbox.changes C virtualbox.spec You need to then edit the files, check for <<<<<< your changes ====== their changes >>>>>> resolve them and then mark the file as resolved with "osc resolved virtualbox.changes" This happens if someone changed the package after you last updated it. In this case of a branch in your home, probably the branched package has been updated, maybe just by an accepted submitrequest from Virtualization to Factory or such, which usually does just increase the checkin counter but not create any real conflicts. Real conflicts only occur if multiple people are doing changes to the package at the same time. Hope this helps a bit :-) You can also use the "smash everything with a big hammer" method that someone else suggested with deleting everything and trampling over the changes of others. But that should be the last resort IMVHO. Best regards and good luck, seife -- Stefan Seyfried "For a successful technology, reality must take precedence over public relations, for nature cannot be fooled." -- Richard Feynman
participants (5)
-
Axel Braun
-
Christian Boltz
-
Eric Schirra
-
Larry Len Rainey
-
Stefan Seyfried