openSUSE / osc

The Command Line Interface to work with an Open Build Service
http://openbuildservice.org/
GNU General Public License v2.0
170 stars 185 forks source link

Default source services prevent committing package changes #1631

Open hramrach opened 2 months ago

hramrach commented 2 months ago

Describe the bug home:michals/powerpc-utils> osc ci Running source_service 'format_spec_file' ... Running source_service 'source_validator' ... ERROR: powerpc-utils-1.3.12.tar.gz mentioned in spec file is not tracked. ERROR: nvsetenv mentioned in spec file is not tracked. ERROR: powerpc-utils-lsprop.patch mentioned in spec file is not tracked. ERROR: 0002-lparstat-Fix-Idle-and-busy-PURR-SPURR.patch mentioned in spec file is not tracked. ERROR: 0003-lparstat-app-Use-pic-value-at-boot-for-accurate-boot.patch mentioned in spec file is not tracked. ERROR: 0004-lparstat-Use-CLOCK_BOOTTIME-for-get_time-interface-a.patch mentioned in spec file is not tracked. ERROR: ofpathname_powernv.patch mentioned in spec file is not tracked. ERROR: fix_kexec_service_name_for_suse.patch mentioned in spec file is not tracked. ERROR: libvirt-service-dep.patch mentioned in spec file is not tracked. ERROR: 0001-drmgr-Return-from-get_node_by_name-if-matched-DRC-in.patch mentioned in spec file is not tracked. ERROR: 0006-drmgr-Free-nodes-returned-from-configure_connector.patch mentioned in spec file is not tracked. ERROR: 0005-ofpathname-skip-devices-with-no-devspec-when-coorela.patch mentioned in spec file is not tracked. ERROR: ppc64_cpu-Support-partial-SMT-level-through-SYS-FS-s.patch mentioned in spec file is not tracked. ERROR: ppc64_cpu-Clean-up-sysfs-smt-control-error-handling.patch mentioned in spec file is not tracked.

Needless to say these files ARE tracked, at least the source is. Yet the service insists that they aren't and prevents committing unrelated changes.

Versions

To Reproduce Steps to reproduce the behavior:

  1. change to existing package checkout
  2. run osc up
  3. edit sources
  4. run osc ci

Expected behavior Package changes are committed.

Additional context osc ar does nothing, rpmbuild -bp works, all files are present and tracked

Workaround: use osc ci --noservice, some other default service breaks the initial comments and other things in the spec file, anyway