This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Specfile - name(rpm) filepath(/usr/people/dan/rpmbuild/SPECS/rpm.spec) | |
package(rpm) | |
package(rpm-libs) | |
package(rpm-build-libs) | |
package(rpm-sign-libs) | |
package(rpm-devel) | |
package(rpm-build) | |
package(rpm-sign) | |
package(rpm-apidocs) | |
package(rpm-cron) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From fedora 31: | |
[dan@localhost ~]$ /usr/lib/rpm/elfdeps --requires /usr/lib64/libsndfile.so.1 | |
libc.so.6(GLIBC_2.14)(64bit) | |
libm.so.6(GLIBC_2.29)(64bit) | |
libgsm.so.1()(64bit) | |
libFLAC.so.8()(64bit) | |
libogg.so.0()(64bit) | |
libvorbis.so.0()(64bit) | |
libvorbisenc.so.2()(64bit) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Configuration on Sat Jan 11 16:48:51 GMT 2020: | |
Host: mips-sgi-irix6.5 -- unknown unknown | |
Bacula version: Bacula 9.4.4 (28 May 2019) | |
Source code location: . | |
Install binaries: /usr/sgug/sbin | |
Install libraries: /usr/sgug/lib32 | |
Install config files: /usr/sgug/etc | |
Scripts directory: /usr/sgug/etc | |
Archive directory: /tmp |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -r -u -w libtool-2.4.6/m4/libtool.m4 libtool-2.4.6-patched/m4/libtool.m4 | |
--- libtool-2.4.6/m4/libtool.m4 2015-01-20 16:15:19.000000000 +0000 | |
+++ libtool-2.4.6-patched/m4/libtool.m4 2019-12-01 16:11:18.641181680 +0000 | |
@@ -6910,13 +6910,16 @@ | |
# necessary to make sure instantiated templates are included | |
# in the archive. | |
_LT_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs' | |
+ _LT_TAGVAR(inherit_rpath, $1)=yes | |
;; | |
*) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef MYUID_IRIX_H | |
#define MYUID_IRIX_H | |
#include <string.h> | |
#include <config.h> | |
inline size_t strnlen (const char *string, size_t maxlen) | |
{ | |
const char *end = memchr (string, '\0', maxlen); | |
return end ? (size_t) (end - string) : maxlen; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/usr/didbs/current/bin/g++ -shared -DPIC -nostdlib /usr/didbs/0_1_7_n32_mips3_gcc/lib32/gcc/mips-sgi-irix6.5/9.2.0/irix-crti.o /usr/didbs/0_1_7_n32_mips3_gcc/lib32/gcc/mips-sgi-irix6.5/9.2.0/crtbegin.o .libs/attr.o .libs/base64.o .libs/berrno.o .libs/bsys.o .libs/binflate.o .libs/bget_msg.o .libs/bnet.o .libs/bnet_server.o .libs/bsock.o .libs/bpipe.o .libs/bsnprintf.o .libs/btime.o .libs/cram-md5.o .libs/crc32.o .libs/crypto.o .libs/daemon.o .libs/edit.o .libs/fnmatch.o .libs/guid_to_name.o .libs/hmac.o .libs/jcr.o .libs/lex.o .libs/lz4.o .libs/alist.o .libs/dlist.o .libs/md5.o .libs/message.o .libs/mem_pool.o .libs/openssl.o .libs/plugins.o .libs/priv.o .libs/queue.o .libs/bregex.o .libs/bsockcore.o .libs/runscript.o .libs/rwlock.o .libs/scan.o .libs/sellist.o .libs/serial.o .libs/sha1.o .libs/sha2.o .libs/signal.o .libs/smartall.o .libs/rblist.o .libs/tls.o .libs/tree.o .libs/util.o .libs/var.o .libs/watchdog.o .libs/workq.o .libs/btimers.o .libs/worker.o .libs/flist.o .libs/address_conf.o .libs/breg.o .l |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ufdio: 1 reads, 18252 total bytes in 0.000090 secs | |
ufdio: 1 reads, 13 total bytes in 0.000057 secs | |
ufdio: 1 reads, 13 total bytes in 0.000022 secs | |
ufdio: 1 reads, 13 total bytes in 0.000023 secs | |
ufdio: 1 reads, 13 total bytes in 0.000022 secs | |
ufdio: 1 reads, 13 total bytes in 0.000023 secs | |
ufdio: 1 reads, 13 total bytes in 0.000023 secs | |
ufdio: 1 reads, 13 total bytes in 0.000025 secs | |
ufdio: 1 reads, 13 total bytes in 0.000021 secs | |
ufdio: 1 reads, 13 total bytes in 0.000023 secs |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[dan@leafy didbs.git]$ ldd `which rpm` | |
librpm.so.9 => /usr/didbs/0_1_6_n32_mips3_gcc/lib32/librpm.so.9 | |
libdb-5.3.so => /usr/didbs/0_1_6_n32_mips3_gcc/lib32/libdb-5.3.so | |
librpmio.so.9 => /usr/didbs/0_1_6_n32_mips3_gcc/lib32/librpmio.so.9 | |
libz.so.1.2.11 => /usr/didbs/0_1_6_n32_mips3_gcc/lib32/libz.so.1.2.11 | |
libpopt.so.0 => /usr/didbs/0_1_6_n32_mips3_gcc/lib32/libpopt.so.0 | |
libiconv.so.2 => /usr/didbs/0_1_6_n32_mips3_gcc/lib32/libiconv.so.2 | |
libcrypto.so.1.1 => /usr/didbs/0_1_6_n32_mips3_gcc/lib32/libcrypto.so.1.1 | |
libgen.so => /usr/lib32/libgen.so | |
libdicl-0.1.so.0 => /usr/didbs/0_1_6_n32_mips3_gcc/lib32/libdicl-0.1.so.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
How to get "rpm" fixed and installed in the right directory | |
----------------------------------------------------------- | |
I assume you've got the appropriate pre-requisites installed for didbs. | |
Extract the didbs 0.1.6 gcc release under /usr/didbs | |
cd /usr/didbs | |
gunzip usr-didbs-0.1.6-n32m3gcc.tar.gz |tar xf |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# | |
# | |
[[ $- != *i* ]] && return | |
if [ -t 0 ] | |
then | |
stty sane | |
stty intr '^C' echoe | |
stty susp '^Z' echoe |