Subject: pkg/28780: databases/db4: cxx_db.lo does not get built
To: None <,,>
From: None <>
List: pkgsrc-bugs
Date: 12/25/2004 21:09:00
>Number:         28780
>Category:       pkg
>Synopsis:       databases/db4: cxx_db.lo does not get built
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Dec 25 21:09:00 +0000 2004
>Originator:     Georg Schwarz
>Release:        current pkgsrc
IRIX lorenz 5.3 08031225 IP20 mips
Compiling databases/db4 end up like this:

/sbin/sh ./libtool --mode=link /usr/local/bin/g++ -avoid-version -rpath /usr/loc
al/pkg/lib -Wl,-rpath,/usr/local/pkg/lib  -o cxx_db.lo cxx_dbc
.lo cxx_dbt.lo cxx_env.lo cxx_except.lo  cxx_lock.lo cxx_logc.lo cxx_mpool.lo cx
x_txn.lo cxx_multi.lo mut_tas.lo db185.lo  bt_compare.lo bt_conv.lo bt_curadj.lo
 bt_cursor.lo bt_delete.lo  bt_method.lo bt_open.lo bt_put.lo bt_rec.lo bt_recla
im.lo  bt_recno.lo bt_rsearch.lo bt_search.lo bt_split.lo bt_stat.lo  bt_upgrade
.lo btree_auto.lo hash.lo hash_auto.lo hash_conv.lo hash_dup.lo hash_meta.lo  ha
sh_method.lo hash_open.lo hash_page.lo hash_rec.lo  hash_reclaim.lo hash_stat.lo
 hash_upgrade.lo hash_verify.lo qam.lo qam_auto.lo qam_conv.lo qam_files.lo qam_
method.lo  qam_open.lo qam_rec.lo qam_stat.lo qam_upgrade.lo qam_verify.lo rep_m
ethod.lo rep_record.lo rep_region.lo rep_util.lo db_ovfl_vrfy.lo db_vrfy.lo db_v
rfyutil.lo bt_verify.lo  snprintf.lo vsnprintf.lo aes_method.lo crypto.lo mt1993
7db.lo rijndael-alg-fst.lo  rijndael-api-fst.lo client.lo db_server_clnt.lo db_s
erver_xdr.lo gen_client.lo  gen_client_ret.lo  crdel_auto.lo crdel_rec.lo db.lo 
db_am.lo db_auto.lo  db_byteorder.lo db_cam.lo db_conv.lo db_dispatch.lo db_dup.
lo  db_err.lo db_getlong.lo db_idspace.lo db_iface.lo db_join.lo  db_log2.lo db_
meta.lo db_method.lo db_open.lo db_overflow.lo  db_pr.lo db_rec.lo db_reclaim.lo
 db_rename.lo db_remove.lo  db_ret.lo db_salloc.lo db_shash.lo db_truncate.lo db
_upg.lo  db_upg_opd.lo dbm.lo dbreg.lo dbreg_auto.lo dbreg_rec.lo  dbreg_util.lo
 env_file.lo env_method.lo env_open.lo  env_recover.lo env_region.lo fileops_aut
o.lo fop_basic.lo  fop_rec.lo fop_util.lo hash_func.lo hmac.lo hsearch.lo lock.l
o  lock_deadlock.lo lock_method.lo lock_region.lo lock_stat.lo  lock_util.lo log
.lo log_archive.lo log_compare.lo log_get.lo  log_method.lo log_put.lo mp_alloc.
lo mp_bh.lo mp_fget.lo  mp_fopen.lo mp_fput.lo mp_fset.lo mp_method.lo mp_region
.lo  mp_register.lo mp_stat.lo mp_sync.lo mp_trickle.lo mutex.lo  os_abs.lo os_a
lloc.lo os_clock.lo os_config.lo os_dir.lo  os_errno.lo os_fid.lo os_fsync.lo os
_handle.lo os_id.lo  os_map.lo os_method.lo os_oflags.lo os_open.lo os_region.lo
  os_rename.lo os_root.lo os_rpath.lo os_rw.lo os_seek.lo  os_sleep.lo os_spin.l
o os_stat.lo os_tmpdir.lo os_unlink.lo  sha1.lo txn.lo txn_auto.lo txn_method.lo
 txn_rec.lo  txn_recover.lo txn_region.lo txn_stat.lo txn_util.lo xa.lo  xa_db.l
o xa_map.lo 
func_infer_tag[27]: func_infer_tag: cannot open
libtool: link: `cxx_db.lo' is not a valid libtool object
*** Error code 1

bmake: stopped in /usr/people/schwarz/pkgsrc/databases/db4/work/db-4.2.52/build_unix
*** Error code 1

There exists no file cxx_db.lo. The func_infer_tag[27]: func_infer_tag: cannot open message seems to be related to my g++ installation and turned out to be harmless in other cases.
Now if I manually bmake cxx_db.lo in work/db-4.2.52/build_unix (which creates cxx_db.lo) and then continue, things work fine. I wonder if this is a problem in the Makefile?