Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 20325 - syntax error in /usr/lib/rpm/find-provides
syntax error in /usr/lib/rpm/find-provides
Product: Red Hat Linux
Classification: Retired
Component: rpm (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Jeff Johnson
David Lawrence
Depends On:
  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:
Last Closed: 2000-11-03 19:50:06 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
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
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

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