#3 find-debuginfo gets confused without python2 binaries
Merged 6 years ago by tdawson. Opened 6 years ago by tdawson.
rpms/ tdawson/mod_wsgi fix-debug  into  master

file modified
+1
@@ -16,6 +16,7 @@ 

  %global with_python2 1

  %else

  %global with_python2 0

+ %global debug_package %{nil}

  %endif

  

  Name:           mod_wsgi

When building packages without python2, debugsourcefiles.list is always empty.
I believe find-debuginfo.sh get's confused because the binaries are built in the py3dir directory.
Until a way is found to get correct debugsoucefiles.list, I'm proposing to turn off the debug if python2 isn't being built.

I think this is a find-debuginfo bug of some sorts, I've pinged the logs to @mjw

I tried to reply to this email. But i believe src.fedoraproject.org is setup incorrectly. It does set a special Reply-To: field, pointing to an @src.fedoraproject.org, but src.fedoraproject.org doesn't actually accepts email???

Anyway, from what I can see this never worked "correctly", just by accident because one of either the python2 or python3 variant would use the real subbuilddir created by %setup. But the python3dir is setup outside the subbuilddir. And so if only that subpackage is build rpmbuild cannot find anything in the subbuilddir.

I sent a longer email to @jorton with a possible workaround.

The real solution would be to put the py3dir under the subbuilddir (%name-%version) as given to $setup.

Pull-Request has been merged by tdawson

6 years ago