#696 mbs-build that can not open debugsourcefiles.list
Closed: Fixed Opened by jaruga.

I built with mbs-build today.
And I got below error.
Any idea to fix it?

Thanks.

~/modulebuild/build/module-ruby-master-20170918083207/results/ruby-mock-stderr.log

...
DEBUG: Processing files: ruby-debugsource-2.4.1-84.module_9de77811.x86_64
DEBUG: RPM build errors:
DEBUG: error: Could not open %files file /builddir/build/BUILD/ruby-2.4.1/debugsourcefiles.list: No such file or directory 
DEBUG:     Could not open %files file /builddir/build/BUILD/ruby-2.4.1/debugsourcefiles.list: No such file or directory 
DEBUG: Child return code was: 1
INFO: EXCEPTION: [Error()]
Traceback (most recent call last):
  File "/usr/lib/python3.5/site-packages/mockbuild/trace_decorator.py", line 96, in trace
    result = func(*args, **kw)
  File "/usr/lib/python3.5/site-packages/mockbuild/util.py", line 590, in do
    raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode)mockbuild.exception.Error: Command failed:-
 # /usr/bin/systemd-nspawn -q -M a963193308a44408adff2acda72e240a -D /var/lib/mock/module-ruby-master-20170918083207-Thread-24/root -a --setenv=SHELL=/bin/bash --setenv=LANG=en_US.UTF-8 --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=HOME=/builddir --setenv=PROMPT_COMMAND=printf "\033]0;<mock-chroot>\007" --setenv=PS1=<mock-chroot> \s-\v\$  --setenv=HOSTNAME=mock --setenv=TERM=vt100 -u mockbuild bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/ruby.spec
...

The mdmodule file ruby.yaml is here.
https://src.fedoraproject.org/fork/jaruga/modules/ruby/blob/feature/mbs-build/f/ruby.yaml

Perhaps do I have to add debuginfo rpms such as ruby-debuginfo, ruby-libs-debuginfo to /data/api/rpms ?


what version of mbs-build do you have?

@ignatenkobrain

Below version. is it old?

$ rpm -qf /usr/bin/mbs-build
module-build-service-1.3.26-3.fc25.noarch

Yes it is.

https://pagure.io/fm-orchestrator/pull-request/662

Metadata Update from @ignatenkobrain:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

OK
But in case of f25, the module-build-service-1.3.26-3.fc25.noarch looks latest version right now.

So, I would wait.
https://bodhi.fedoraproject.org/updates/?packages=module-build-service

Metadata Update from @jaruga:
- Issue status updated to: Open (was: Closed)

So wait ;) Issue is fixed in upstream, so closing.

Metadata Update from @ignatenkobrain:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

This issue has been migrated to Fedora Forge:
https://forge.fedoraproject.org/koji/mbs/issues/696

Please continue any further discussion there.

Metadata