SuSE 8.1 axp -> rpm.spm (4.1.1-154) ?

[email protected] (Juergen Bierlein) Thu, 11 Mar 2004 13:09:00 +0100
Newsgroups gmane.linux.suse.axp
Organization @ home
Message-ID <[email protected]>
Hi there,

has anybody had succes to build this rpm under Linux alpha:
ftp://ftp.suse.com/pub/suse/axp/supplementary/KDE/update_for_8.1/source/rpm.spm

I first got some warnings which were treated as errors:
In file included from elf_getshnum.c:23:
libelfP.h:365: warning: `visibility' attribute directive ignored
libelfP.h:367: warning: `visibility' attribute directive ignored
libelfP.h:373: warning: `visibility' attribute directive ignored

Then i removed the option "-Werror" from the Makefiles and got stuck 
again in the rpmio subdirectory. It fails to link the file aes.lo which 
is derived from beecrypt/aes.lo. After copying the *.lo files from 
beecrypt to rpmio directory it fails again at:
#####################################################
gcc -shared  dbconfig.lo fprint.lo hdrNVR.lo header.lo 
header_internal.lo legacy.lo merge.lo poptDB.lo rpmhash.lo rpmdb.lo 
tagname.lo tagtbl.lo db3.lo mut_tas.lo aes_method.lo crypto.lo 
mt19937db.lo rijndael-alg-fst.lo rijndael-api-fst.lo client.lo 
db_server_clnt.lo db_server_xdr.lo gen_client.lo gen_client_ret.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_reclaim.lo bt_recno.lo 
bt_rsearch.lo bt_search.lo bt_split.lo bt_stat.lo bt_upgrade.lo 
bt_verify.lo btree_auto.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 
db_vrfy.lo db_vrfyutil.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_auto.lo fop_basic.lo fop_rec.lo fop_util.lo 
hash.lo hash_auto.lo hash_conv.lo hash_dup.lo hash_func.lo hash_meta.lo 
hash_method.lo hash_open.lo hash_page.lo hash_rec.lo hash_reclaim.lo 
hash_stat.lo hash_upgrade.lo hash_verify.lo hmac.lo hsearch.lo lock.lo 
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_alloc.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.lo os_stat.lo os_tmpdir.lo os_unlink.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_method.lo 
rep_record.lo rep_region.lo rep_util.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.lo xa_map.lo  -Wl,--rpath 
-Wl,/usr/src/packages/BUILD/rpm-4.1.1/rpmio/.libs -Wl,--rpath 
-Wl,/usr/src/packages/BUILD/rpm-4.1.1/popt/.libs  -L/usr/lib 
-L/usr/local/lib -L/usr/src/packages/BUILD/rpm-4.1.1/zlib 
-L/var/tmp/rpm-root/usr/lib ../rpmio/.libs/librpmio.so ../popt/.libs/libpopt.so ../elfutils/libelf/libelf_pic.a    
-Wl,-soname -Wl,librpmdb-4.1.so -o .libs/librpmdb-4.1.so
collect2: ld terminated with signal 11 [Segmentation fault], core dumped
/usr/lib/gcc-lib/alpha-suse-linux/3.2.2/../../../../alpha-suse-linux/bin/ld: 
mut_tas.lo: invalid string offset 1969382756 >= 0 for section `'
make[3]: *** [librpmdb.la] Error 1
#####################################################

The reason i want to build it is that i want to build the k3b-0.11 
package from SuSE 9.0 which seems to require rpm4 ...

cu,
  Juergen
-- 
EMail: jotbee at t-online dot de

The sun shines on my way, every night and every day. :-))