RPM

Comment 3 for bug 928770

Revision history for this message
Jeff Johnson (n3npq) wrote :

The ROSA2012-nightly waterfall here
      http://harwich.jbj.org:8010/builders/ROSA2012-nightly/builds/26/steps/compile_2/logs/stdio
is now running ".devtool cooker" successfully.

The compile failure indicates that
   /usr/include/db52/db.h
isn't being included by rpmdb/dbconfig.c.

The gcc invocation has the necessary -I/usr/include/db52 line.

Examining the devtool output:

1) db52-utils isn't installed (%{_bindir} should have been an absolute path if present)
checking for db52_archive... %{_bindir}/db52_archive
checking for db52_checkpoint... %{_bindir}/db52_checkpoint
checking for db52_deadlock... %{_bindir}/db52_deadlock
checking for db52_dump... %{_bindir}/db52_dump
checking for db52_hotbackup... %{_bindir}/db52_hotbackup
checking for db52_load... %{_bindir}/db52_load
checking for db52_log_verify... %{_bindir}/db52_log_verify
checking for db52_printlog... %{_bindir}/db52_printlog
checking for db52_recover... %{_bindir}/db52_recover
checking for db52_replicate... %{_bindir}/db52_replicate
checking for db52_stat... %{_bindir}/db52sql
checking for db52_stat... %{_bindir}/db52_sql_codegen
checking for db52_stat... %{_bindir}/db52_stat
checking for db52_stat... %{_bindir}/db52_tuner
checking for db52_upgrade... %{_bindir}/db52_upgrade
checking for db52_verify... %{_bindir}/db52_verify

2) And you appear not to have db52-devel installed (or at least configure.ac cannot find)

++ executing success action
++ mapping --with-db=yes to --with-db="external"
++ searching location: external
checking db.h usability... yes
checking db.h presence... yes
checking for db.h... yes
checking for db_create in -ldb-5.2... no
checking whether to build with Berkeley-DB library... no

So the root cause of the build failure (confirm by examining config.h) is that
you are attempting a build without Berkeley DB.

(aside)
The @rpm5.org project decided that they wished maximal
    Have it your own way!
build time configuration. So it is (or at least was) entirely possible to build RPM
   without any database support
   without any compression
RPM built without a database or compression is utterly useless of course.