Bug 176501 - Failure to build under mock
Summary: Failure to build under mock
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: compat-db
Version: 4
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jindrich Novy
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-12-23 18:51 UTC by Ignacio Vazquez-Abrams
Modified: 2013-07-02 23:12 UTC (History)
1 user (show)

Fixed In Version: FC5
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-09-22 02:19:09 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Ignacio Vazquez-Abrams 2005-12-23 18:51:53 UTC
I get the following errors when building under mock:

cc -c -I. -I../.. -D_GNU_SOURCE -D_REENTRANT -O2 -g -pipe
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m32 -march=i386 -mtune=pentium4
-fasynchronous-unwind-tables ../../env/env_open.c  -fPIC -DPIC -o .libs/env_open.o
../../env/env_open.c: In function 'db_version':
../../env/env_open.c:52: error: '__EDIT_DB_VERSION_MAJOR__' undeclared (first
use in this function)
../../env/env_open.c:52: error: (Each undeclared identifier is reported only once
../../env/env_open.c:52: error: for each function it appears in.)
../../env/env_open.c:54: error: '__EDIT_DB_VERSION_MINOR__' undeclared (first
use in this function)
../../env/env_open.c:56: error: '__EDIT_DB_VERSION_PATCH__' undeclared (first
use in this function)
make: *** [env_open.lo] Error 1

This usually indicates a missing BuildRequires, but in this case I can't figure
out which one.

Comment 1 Jindrich Novy 2006-02-17 12:28:48 UTC
Missing dependency to ed causes the mock build failure.

Comment 2 Bill Nottingham 2006-09-22 02:19:09 UTC
Closing bugs in MODIFIED state from prior Fedora releases. If this bug persists
in a current Fedora release (such as Fedora Core 5 or later), please reopen and
set the version appropriately.


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