[Bug 382936] New: RPM build ignores _topdir at some point
https://bugzilla.novell.com/show_bug.cgi?id=382936 Summary: RPM build ignores _topdir at some point Product: openSUSE 10.3 Version: Final Platform: i686 OS/Version: openSUSE 10.3 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: archie@dellroad.org QAContact: qa@suse.de Found By: --- I'm running this command: $ cd /home/archie $ rpmbuild -bb --define='_topdir /home/archie/rpm' rpm/SPECS/voiceglue.spec Everything works OK but I notice an error in the output: .. Processing files: voiceglue-0.6-2awx Finding Provides: /usr/lib/rpm/find-provides voiceglue Finding Requires: /usr/lib/rpm/find-requires voiceglue sed: can't read /usr/src/packages/SOURCES/voiceglue.spec: No such file or directory Finding Supplements: /usr/lib/rpm/find-supplements voiceglue .. Note the attempt to read /usr/src/packages/SOURCES/voiceglue.spec which is invalid, because I set _topdir to /home/arche/rpm. Not sure if this error matters or not, but at least it indicates some underlying bug in the code. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=382936 Robert Vojcik <rvojcik@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rvojcik@novell.com AssignedTo|bnc-team-screening@forge.provo.novell.com |mls@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=382936 User mls@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=382936#c1 Michael Schröder <mls@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|mls@novell.com |agruen@novell.com --- Comment #1 from Michael Schröder <mls@novell.com> 2008-04-25 10:01:09 MST --- Probably find-supplements.ksyms. Reassigning to maintainer. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=382936 User agruen@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=382936#c2 Andreas Gruenbacher <agruen@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |mls@novell.com --- Comment #2 from Andreas Gruenbacher <agruen@novell.com> 2008-04-28 04:17:35 MST --- I didn't find a better mechanism for implementing the %supplements_kernel_module macro other than parsing the spec file, and I need to locate the spec file from find-supplements.ksyms for that. It would be possible to use a temp file and check for that temp file in find-supplements.ksyms, but then we would need to make sure that the temp file is removed when the %supplements_kernel_module macro isn't used.
From find-supplements.ksyms, I don't think I have access to macros like %_specdir, and I think rpm doesn't set an environment variable for %_specdir. (Also I'm not even sure that %_specdir even points at /usr/src/packages/SOURCES in build/mbuild/Autobuild.)
Any ideas? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=382936 User archie@dellroad.org added comment https://bugzilla.novell.com/show_bug.cgi?id=382936#c3 Archie Cobbs <archie@dellroad.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|mls@novell.com | --- Comment #3 from Archie Cobbs <archie@dellroad.org> 2008-04-28 08:49:09 MST --- I don't know the details of how these scripts get called, but it looks like there simply needs to be some change to the internal APIs so that _topdir (or specfile path, or whatever) can be passed through to this script, as there doesn't seem to be any alternative. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=382936 User mls@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=382936#c4 Michael Schröder <mls@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bwhiteley@novell.com --- Comment #4 from Michael Schröder <mls@novell.com> 2008-04-30 03:22:15 MST --- *** Bug 384419 has been marked as a duplicate of this bug. *** https://bugzilla.novell.com/show_bug.cgi?id=384419 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=382936 User agruen@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=382936#c5 Andreas Gruenbacher <agruen@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |mls@novell.com --- Comment #5 from Andreas Gruenbacher <agruen@novell.com> 2008-04-30 08:53:21 MST --- Micha, could you please check if there is a way to pass the spec file location to find-supplements? Thanks! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=382936 User aj@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=382936#c6 Andreas Jaeger <aj@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|mls@novell.com | --- Comment #6 from Andreas Jaeger <aj@novell.com> 2008-10-23 13:36:37 MDT --- is this solved now? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com