-
Notifications
You must be signed in to change notification settings - Fork 358
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
_debugsource_packages sometimes crashes due to non-existing debugsourcefiles.list #279
Comments
On Tue, 2017-07-25 at 15:11 -0700, Igor Gnatenko wrote:
Partially found in #277, although I think it makes sense to track it here separately.
```
Processing files: gdb-debugsource-8.0-17.fc27.x86_64
RPM build errors:
error: Could not open %files file /builddir/build/BUILD/gdb-8.0/debugsourcefiles.list: No such file or directory
Could not open %files file /builddir/build/BUILD/gdb-8.0/debugsourcefiles.list: No such file or directory
```
|
…under the builddir The %_debugsource_template expects the debugsourcefiles.list file to be in the (current) build dir. Make sure that is always the case even if find-debuginfo.sh was invoked in a different (sub) directory by prepending $BUILDDIR to the output file as written in description "All file names in switches are relative to builddir (. if not given).". Closes: rpm-software-management#279 Based-on-patch-by: Mark Wielaard <mark@klomp.org> Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
…under the builddir The %_debugsource_template expects the debugsourcefiles.list file to be in the (current) build dir. Make sure that is always the case even if find-debuginfo.sh was invoked in a different (sub) directory by prepending $BUILDDIR to the output file as written in description "All file names in switches are relative to builddir (. if not given).". Closes: #279 Based-on-patch-by: Mark Wielaard <mark@klomp.org> Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
…under the builddir The %_debugsource_template expects the debugsourcefiles.list file to be in the (current) build dir. Make sure that is always the case even if find-debuginfo.sh was invoked in a different (sub) directory by prepending $BUILDDIR to the output file as written in description "All file names in switches are relative to builddir (. if not given).". Closes: rpm-software-management#279 Based-on-patch-by: Mark Wielaard <mark@klomp.org> Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
This still happens to me on F29 (with most recent rpm). With exactly the same errors. The weird thing is that I am not alone, it happens to some participant of rpm packaging workshop too. The weird part is that when I generate src.rpm and then build it in mock, it passes without a problem. |
My system tries to execute:
Which interestingly results to |
Interesting. That -l4 is supposed to be -j4, and apparently find-debuginfo just takes anything unknown as the builddir. @xsuchy , what does |
Got it. It is because:
which for Makefile has semantics:
But find-debuginfo.sh does not recognize it and interpet it differently. I will open new issue for that. |
I filed: |
…under the builddir The %_debugsource_template expects the debugsourcefiles.list file to be in the (current) build dir. Make sure that is always the case even if find-debuginfo.sh was invoked in a different (sub) directory by prepending $BUILDDIR to the output file as written in description "All file names in switches are relative to builddir (. if not given).". Closes: rpm-software-management/rpm#279 Based-on-patch-by: Mark Wielaard <mark@klomp.org> Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
Partially found in #277, although I think it makes sense to track it here separately.
The text was updated successfully, but these errors were encountered: