Bug 20325 - syntax error in /usr/lib/rpm/find-provides
syntax error in /usr/lib/rpm/find-provides
Status: CLOSED NOTABUG
Product: Red Hat Linux
Classification: Retired
Component: rpm (Show other bugs)
7.0
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Jeff Johnson
David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2000-11-03 19:49 EST by greg hosler
Modified: 2007-04-18 12:29 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2000-11-03 19:50:06 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description greg hosler 2000-11-03 19:49:59 EST
When I do a rpm -bb, at the end when it is finding the dependencies, I see
the
following message scrolled to the screen:

Processing files: <rpm name>
Finding  Provides: (using 
line 186: Dependency tokens must begin with alpha-numeric, '_' or '/': 

Failed to find Provides:

=============

I looked at line 186 of /usr/lib/rpm/find-provides, and see

	done | sort -u

might it be the case that the whole

	for ... do | sort -u

needs to be

	(for ... do) | sort -u

?
Comment 1 Jeff Johnson 2000-12-16 20:30:38 EST
No, the find-provides script is returning something unusual in your build,
almost certainly
because of what is in your build.

Try doing
	rpm -i <your_src_rpm>
	rpm -bi /usr/src/redhat/SPECS/<your_spec_file>
and then doing
	find <your_build_root> | /usr/lib/rpm/find-provides
to examine what find-requires is returning from the installed tree (i.e. what's
in $RPM_BUILD_ROOT).

Note You need to log in before you can comment on or make changes to this bug.