Was trying to install gnu-smalltalk (which is 32 bit) on x86_64 which had a dependency on libsigsegv-devel
I installed a 64bit copy of libsigsegv thinking the 64 bit library should be able to handle 32 bit code but...
[gjohnson@loser src]$ rpmbuild --rebuild --target=i686 gnu-smalltalk-3.0.2-2.fc9.src.rpm ....... gcc -DHAVE_CONFIG_H -I. -I.. -DKERNEL_PATH="/usr/share/gnu-smalltalk/kernel" -DIMAGE_PATH="/usr/lib/gnu-smalltalk" -DMODULE_PATH="/usr/lib/gnu-smalltalk" -DLIBEXEC_PATH="/usr/libexec/gnu-smalltalk" -I../lib-src -I/usr/lib/libffi-3.0.1/include -I../snprintfv -I../snprintfv -I../lib-src -I../lightning -I../lightning -I.. -I.. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=generic -fasynchronous-unwind-tables -Wa,--noexecstack -Wall -Wdeclaration-after-statement -Wno-format -Wpointer-arith -Wno-pointer-sign -Wwrite-strings -Wno-strict-aliasing -Wno-switch -fno-gcse -fstrict-aliasing -MT gstpub.lo -MD -MP -MF .deps/gstpub.Tpo -c gstpub.c -fPIC -DPIC -o .libs/gstpub.o In file included from gstpriv.h:110, from gstpub.c:57: /usr/include/sigsegv.h:9:26: error: sigsegv-i386.h: No such file or directory make[3]: *** [gstpub.lo] Error 1
[gjohnson@loser src]$ rpmbuild --target=i686 --rebuild libsigsegv-2.4-6.fc9.src.rpm .... Wrote: /home/gjohnson/rpmbuild/RPMS/i686/libsigsegv-2.4-6.fc9.i686.rpm Wrote: /home/gjohnson/rpmbuild/RPMS/i686/libsigsegv-devel-2.4-6.fc9.i686.rpm Wrote: /home/gjohnson/rpmbuild/RPMS/i686/libsigsegv-static-2.4-6.fc9.i686.rpm Wrote: /home/gjohnson/rpmbuild/RPMS/i686/libsigsegv-debuginfo-2.4-6.fc9.i686.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.51156 + umask 022 + cd /home/gjohnson/rpmbuild/BUILD + cd libsigsegv-2.4 + rm -rf /var/tmp/libsigsegv-2.4-6.fc9-root-gjohnson + exit 0 Executing(--clean): /bin/sh -e /var/tmp/rpm-tmp.51156 + umask 022 + cd /home/gjohnson/rpmbuild/BUILD + rm -rf libsigsegv-2.4 + exit 0 [gjohnson@loser src]$ su -c 'rpm -ivh /home/gjohnson/rpmbuild/RPMS/i686/libsigsegv-2.4-6.fc9.i686.rpm /home/gjohnson/rpmbuild/RPMS/i686/libsigsegv-devel-2.4-6.fc9.i686.rpm /home/gjohnson/rpmbuild/RPMS/i686/libsigsegv-static-2.4-6.fc9.i686.rpm' Password: Preparing... ########################################### [100%] file /usr/include/sigsegv.h from install of libsigsegv-devel-2.4-6.fc9.i686 conflicts with file from package libsigsegv-devel-2.4-6.fc9.x86_64
So libsissegv can't have 32bit and 64bit libraries installed at the same time AND the 64bit library doesn't seem to handle 32 programs.
gjohnson5 wrote:
So libsissegv can't have 32bit and 64bit libraries installed at the same time AND the 64bit library doesn't seem to handle 32 programs.
fedora's stock libsigsegv packages don't have conflicts. I'd recommend using those, instead of your home-brewed ones.
I (help) maintain it, so if you've got needs/suggestions on improving it, I'd love to hear it.
-- Rex
On a side note. The gnu-smalltalk package is x86_64 and ppc64 excluded in the spec file. If you delete that line in the spec file and build it anyway...
make[2]: Leaving directory `/usr/local/rpmbuild/BUILD/smalltalk-3.0.2/tests' make check-local make[2]: Entering directory `/usr/local/rpmbuild/BUILD/smalltalk-3.0.2/tests' /bin/sh './testsuite' ## ------------------------------- ## ## GNU Smalltalk 3.0.2 test suite. ## ## ------------------------------- ##
Regression tests.
1: arrays.st ok 2: classes.st ok 3: blocks.st ok 4: sets.st ok 5: processes.st ok 6: exceptions.st ok 7: intmath.st ok 8: floatmath.st ok 9: dates.st ok 10: objects.st ok 11: strings.st ok 12: chars.st ok 13: objdump.st ok 14: delays.st ok 15: geometry.st ok 16: cobjects.st ok 17: compiler.st ok 18: fileext.st ok 19: mutate.st ok 20: untrusted.st ok 21: getopt.st ok 22: quit.st ok
Other simple tests.
23: ackermann.st ok 24: ary3.st ok 25: except.st ok 26: fibo.st ok 27: hash.st ok 28: hash2.st ok 29: heapsort.st ok 30: lists.st ok 31: lists1.st ok 32: lists2.st ok 33: matrix.st ok 34: methcall.st ok 35: nestedloop.st ok 36: objinst.st ok 37: prodcons.st ok 38: random-bench.st ok 39: sieve.st ok 40: strcat.st ok
Basic packages.
41: SUnit ok 42: Parser ok
ANSI compliancy tests.
43: ArrayANSITest ok 44: ArrayFactoryANSITest ok 45: BagANSITest ok 46: BagFactoryANSITest ok 47: BooleanANSITest ok 48: ByteArrayANSITest ok 49: ByteArrayFactoryANSITest ok 50: CharacterANSITest ok 51: CharacterFactoryANSITest ok 52: DateAndTimeANSITest ok 53: DateAndTimeFactoryANSITest ok 54: DictionaryANSITest ok 55: DictionaryFactoryANSITest ok 56: DurationANSITest ok 57: DurationFactoryANSITest ok 58: DyadicValuableANSITest ok 59: ErrorANSITest ok 60: ErrorClassANSITest ok 61: ExceptionANSITest ok 62: ExceptionClassANSITest ok 63: ExceptionSetANSITest ok 64: FailedMessageANSITest ok 65: FileStreamFactoryANSITest ok 66: FloatANSITest ok 67: FloatCharacterizationANSITest ok 68: FractionANSITest ok 69: FractionFactoryANSITest ok 70: IdentityDictionaryANSITest ok 71: IdentityDictionaryFactoryANSITest ok 72: IntegerANSITest ok 73: IntervalANSITest ok 74: IntervalFactoryANSITest ok 75: MessageNotUnderstoodANSITest ok 76: MessageNotUnderstoodSelectorANSITest ok 77: MonadicBlockANSITest ok 78: NilANSITest ok 79: NiladicBlockANSITest ok 80: NotificationANSITest ok 81: NotificationClassANSITest ok 82: ObjectANSITest ok 83: ObjectClassANSITest ok 84: OrderedCollectionANSITest ok 85: OrderedCollectionFactoryANSITest ok 86: ReadFileStreamANSITest ok 87: ReadStreamANSITest ok 88: ReadStreamFactoryANSITest ok 89: ReadWriteStreamANSITest ok 90: ReadWriteStreamFactoryANSITest ok 91: ScaledDecimalANSITest ok 92: SelectorANSITest ok 93: SetANSITest ok 94: SetFactoryANSITest ok 95: SortedCollectionANSITest ok 96: SortedCollectionFactoryANSITest ok 97: StringANSITest ok 98: StringFactoryANSITest ok 99: SymbolANSITest ok 100: TranscriptANSITest ok 101: WarningANSITest ok 102: WarningClassANSITest ok 103: WriteFileStreamANSITest ok 104: WriteStreamANSITest ok 105: WriteStreamFactoryANSITest ok 106: ZeroDivideANSITest ok 107: ZeroDivideFactoryANSITest ok
Other packages.
108: Complex ok 109: Continuations ok 110: DBD-MySQL skipped (testsuite.at:148) 111: DBD-SQLite ok 112: DebugTools ok 113: DhbNumericalMethods ok 114: Digest ok 115: GDBM ok 116: Iconv ok 117: Sport ok 118: ZLib ok
## ------------- ## ## Test results. ## ## ------------- ##
117 tests were successful. 1 test was skipped. make[2]: Leaving directory `/usr/local/rpmbuild/BUILD/smalltalk-3.0.2/tests' make[1]: Leaving directory `/usr/local/rpmbuild/BUILD/smalltalk-3.0.2/tests' + exit 0 Processing files: gnu-smalltalk-3.0.2-2.fc9 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.51395 + umask 022 + cd /home/gjohnson/rpmbuild/BUILD + cd smalltalk-3.0.2 + DOCDIR=/var/tmp/gnu-smalltalk-3.0.2-root-gjohnson/usr/share/doc/gnu-smalltalk-3.0.2 + export DOCDIR + rm -rf /var/tmp/gnu-smalltalk-3.0.2-root-gjohnson/usr/share/doc/gnu-smalltalk-3.0.2 + /bin/mkdir -p /var/tmp/gnu-smalltalk-3.0.2-root-gjohnson/usr/share/doc/gnu-smalltalk-3.0.2 + cp -pr AUTHORS COPYING COPYING.DOC COPYING.LIB ChangeLog /var/tmp/gnu-smalltalk-3.0.2-root-gjohnson/usr/share/doc/gnu-smalltalk-3.0.2 + cp -pr NEWS README THANKS TODO /var/tmp/gnu-smalltalk-3.0.2-root-gjohnson/usr/share/doc/gnu-smalltalk-3.0.2 + exit 0 Provides: dbd-sqlite3-3.0.2.so()(64bit) digest-3.0.2.so()(64bit) gdbm-3.0.2.so()(64bit) gst-gtk-3.0.2.so()(64bit) i18n-3.0.2.so()(64bit) iconv-3.0.2.so()(64bit) libgst.so.7()(64bit) tcp-3.0.2.so()(64bit) zlib-3.0.2.so()(64bit) Requires(interp): /bin/sh /bin/sh /sbin/ldconfig Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh /sbin/install-info Requires(preun): /bin/sh /sbin/install-info Requires(postun): /sbin/ldconfig Requires: /bin/sed /bin/sh /usr/bin/perl dbd-sqlite3-3.0.2.so()(64bit) digest-3.0.2.so()(64bit) gdbm-3.0.2.so()(64bit) gst-gtk-3.0.2.so()(64bit) i18n-3.0.2.so()(64bit) iconv-3.0.2.so()(64bit) libatk-1.0.so.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libcairo.so.2()(64bit) libdl.so.2()(64bit) libdl.so.2(GLIBC_2.2.5)(64bit) libffi.so.5()(64bit) libgdbm.so.2()(64bit) libgdk-x11-2.0.so.0()(64bit) libgdk_pixbuf-2.0.so.0()(64bit) libgio-2.0.so.0()(64bit) libglib-2.0.so.0()(64bit) libgmodule-2.0.so.0()(64bit) libgmp.so.3()(64bit) libgobject-2.0.so.0()(64bit) libgst.so.7()(64bit) libgtk-x11-2.0.so.0()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libpango-1.0.so.0()(64bit) libpangocairo-1.0.so.0()(64bit) libreadline.so.5()(64bit) libsigsegv.so.0()(64bit) libsqlite3.so.0()(64bit) libz.so.1()(64bit) rtld(GNU_HASH) tcp-3.0.2.so()(64bit) zlib-3.0.2.so()(64bit) Processing files: gnu-smalltalk-emacs-3.0.2-2.fc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: emacs gnu-smalltalk = 3.0.2 Processing files: gnu-smalltalk-devel-3.0.2-2.fc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /bin/sh libgst.so.7()(64bit) pkgconfig Processing files: gnu-smalltalk-debuginfo-3.0.2-2.fc9 Provides: dbd-sqlite3-3.0.2.so.debug()(64bit) digest-3.0.2.so.debug()(64bit) gdbm-3.0.2.so.debug()(64bit) gst-gtk-3.0.2.so.debug()(64bit) i18n-3.0.2.so.debug()(64bit) iconv-3.0.2.so.debug()(64bit) libgst.so.7.0.0.debug()(64bit) tcp-3.0.2.so.debug()(64bit) zlib-3.0.2.so.debug()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: dbd-sqlite3-3.0.2.so()(64bit) digest-3.0.2.so()(64bit) gdbm-3.0.2.so()(64bit) gst-gtk-3.0.2.so()(64bit) i18n-3.0.2.so()(64bit) iconv-3.0.2.so()(64bit) libgst.so.7()(64bit) tcp-3.0.2.so()(64bit) zlib-3.0.2.so()(64bit) Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/gnu-smalltalk-3.0.2-root-gjohnson Wrote: /home/gjohnson/rpmbuild/RPMS/x86_64/gnu-smalltalk-3.0.2-2.fc9.x86_64.rpm Wrote: /home/gjohnson/rpmbuild/RPMS/x86_64/gnu-smalltalk-emacs-3.0.2-2.fc9.x86_64.rpm Wrote: /home/gjohnson/rpmbuild/RPMS/x86_64/gnu-smalltalk-devel-3.0.2-2.fc9.x86_64.rpm Wrote: /home/gjohnson/rpmbuild/RPMS/x86_64/gnu-smalltalk-debuginfo-3.0.2-2.fc9.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.81002 + umask 022 + cd /home/gjohnson/rpmbuild/BUILD + cd smalltalk-3.0.2 + rm -rf /var/tmp/gnu-smalltalk-3.0.2-root-gjohnson + exit 0 [gjohnson@loser SPECS]$
SO maybe this was common knowledge all along and I'm just behind, but just letting everyone know
Thanks again for a great OS and 64 bit choices other then M$
gjohnson5 wrote:
On a side note. The gnu-smalltalk package is x86_64 and ppc64 excluded in the spec file. If you delete that line in the spec file and build it anyway...
make[2]: Leaving directory `/usr/local/rpmbuild/BUILD/smalltalk-3.0.2/tests'
Why is it in /usr/local?
It's a symlink...
John Summerfield wrote:
gjohnson5 wrote:
On a side note. The gnu-smalltalk package is x86_64 and ppc64 excluded in the spec file. If you delete that line in the spec file and build it anyway...
make[2]: Leaving directory `/usr/local/rpmbuild/BUILD/smalltalk-3.0.2/tests'
Why is it in /usr/local?
--
Cheers John
-- spambait 1aaaaaaa@coco.merseine.nu Z1aaaaaaa@coco.merseine.nu -- Advice http://webfoot.com/advice/email.top.php http://www.catb.org/~esr/faqs/smart-questions.html http://support.microsoft.com/kb/555375
You cannot reply off-list:-)
-- fedora-test-list mailing list fedora-test-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-test-list
gjohnson5 wrote:
It's a symlink...
Doesn't really answer the question; package software shouldn't touch that area - http://pathname.com/fhs/pub/fhs-2.3.html#USRLOCALLOCALHIERARCHY and /usr is supposed to be shareable ro - http://pathname.com/fhs/pub/fhs-2.3.html#THEUSRHIERARCHY
John Summerfield wrote:
gjohnson5 wrote:
On a side note. The gnu-smalltalk package is x86_64 and ppc64 excluded in the spec file. If you delete that line in the spec file and build it anyway...
make[2]: Leaving directory `/usr/local/rpmbuild/BUILD/smalltalk-3.0.2/tests'
Why is it in /usr/local?
--
Cheers John
-- spambait 1aaaaaaa@coco.merseine.nu Z1aaaaaaa@coco.merseine.nu -- Advice http://webfoot.com/advice/email.top.php http://www.catb.org/~esr/faqs/smart-questions.html http://support.microsoft.com/kb/555375
You cannot reply off-list:-)
-- fedora-test-list mailing list fedora-test-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-test-list
I thank you for your concern and comments on how you would manage your system. If you have any questions as far as the installation of the relevant package I will gladly answer them
How my disk is partitioned or where I place symlinks does not seem relevant to the issue I posted. But thank you for posting your concerns,
Thanks Tony
John Summerfield wrote:
gjohnson5 wrote:
It's a symlink...
Doesn't really answer the question; package software shouldn't touch that area - http://pathname.com/fhs/pub/fhs-2.3.html#USRLOCALLOCALHIERARCHY and /usr is supposed to be shareable ro - http://pathname.com/fhs/pub/fhs-2.3.html#THEUSRHIERARCHY
John Summerfield wrote:
gjohnson5 wrote:
On a side note. The gnu-smalltalk package is x86_64 and ppc64 excluded in the spec file. If you delete that line in the spec file and build it anyway...
make[2]: Leaving directory `/usr/local/rpmbuild/BUILD/smalltalk-3.0.2/tests'
Why is it in /usr/local?
--
Cheers John
-- spambait 1aaaaaaa@coco.merseine.nu Z1aaaaaaa@coco.merseine.nu -- Advice http://webfoot.com/advice/email.top.php http://www.catb.org/~esr/faqs/smart-questions.html http://support.microsoft.com/kb/555375
You cannot reply off-list:-)
-- fedora-test-list mailing list fedora-test-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-test-list
--
Cheers John
-- spambait 1aaaaaaa@coco.merseine.nu Z1aaaaaaa@coco.merseine.nu -- Advice http://webfoot.com/advice/email.top.php http://www.catb.org/~esr/faqs/smart-questions.html http://support.microsoft.com/kb/555375
You cannot reply off-list:-)
-- fedora-test-list mailing list fedora-test-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-test-list
gjohnson5 wrote:
I thank you for your concern and comments on how you would manage your system. If you have any questions as far as the installation of the relevant package I will gladly answer them
How my disk is partitioned or where I place symlinks does not seem relevant to the issue I posted. But thank you for posting your concerns,
I'm simply referring you to the standards; if you created that package for your own private use, that's one matter and entirely your affair.
OTOH, if someone, anyone, created it for distribution (including to you), then it ought comply with established Linux standards. If that is the case, then it becomes a matter of concern to all Linux users, whether they know it or not. If you don't want /usr to be shareable, ro that's fine, but if you (as some do) want to share /usr between a thousand virtual penguins you might care a great deal.
I saw no evidence that it was, apparently, doing stuff in /usr/local was in any way related to your symlinks.
fwiw I use /var/local for shared (on the same system and for nfs-export) data such as my mirrored repos. It's entirely the administrator's affair what goes in there, so I can expect that RH/Fedora, SUSE, Debian et al will keep right out of it.
Thanks Tony
John Summerfield wrote:
gjohnson5 wrote:
It's a symlink...
Doesn't really answer the question; package software shouldn't touch that area - http://pathname.com/fhs/pub/fhs-2.3.html#USRLOCALLOCALHIERARCHY and /usr is supposed to be shareable ro - http://pathname.com/fhs/pub/fhs-2.3.html#THEUSRHIERARCHY
Thank you again for your comments and concerns
John Summerfield wrote:
I'm simply referring you to the standards; if you created that package for your own private use, that's one matter and entirely your affair.
I rpmbuild the package out of choice. Where the files are placed on the filesystem is in control of the package management software
OTOH, if someone, anyone, created it for distribution (including to you), then it ought comply with established Linux standards. If that is the case, then it becomes a matter of concern to all Linux users, whether they know it or not
If Fedora wishes to follow FHS, then good... The rpm's which were built in my example will install files in the placed where Fedora developers have deemed they should go.... The functionality of rpmbuild also places built rpms where Fedora developers deem they should go. That in no way has been changed or altered by me.
John Summerfield wrote:
. If you don't want /usr to be shareable, ro that's fine, but if you (as some do) want to share /usr between a thousand virtual penguins you might care a great deal.
Some put files in places others would find awkward. Some people spend their time in ways other would consider an absolute waste. Depends on your priorities I guess....
John Summerfield wrote:
I saw no evidence that it was, apparently, doing stuff in /usr/local was in any way related to your symlinks.
Which is also not related to the rpmbuild or installation of either of the packages in question I reported the problem as I saw a platform specific header file in the installation of the package Also I saw a package which was excluded from certain arch bu builds anyway. This was the intennt of this thread
John Summerfield wrote:
fwiw I use /var/local for shared (on the same system and for nfs-export) data such as my mirrored repos. It's entirely the administrator's affair what goes in there, so I can expect that RH/Fedora, SUSE, Debian et al will keep right out of it.
Assuming you only use Linux distros... Anyway thank you for your comments and concerns
Thanks Tony
John Summerfield wrote:
gjohnson5 wrote:
It's a symlink...
Doesn't really answer the question; package software shouldn't touch that area - http://pathname.com/fhs/pub/fhs-2.3.html#USRLOCALLOCALHIERARCHY and /usr is supposed to be shareable ro - http://pathname.com/fhs/pub/fhs-2.3.html#THEUSRHIERARCHY
--
Cheers John
-- spambait 1aaaaaaa@coco.merseine.nu Z1aaaaaaa@coco.merseine.nu -- Advice http://webfoot.com/advice/email.top.php http://www.catb.org/~esr/faqs/smart-questions.html http://support.microsoft.com/kb/555375
You cannot reply off-list:-)
-- fedora-test-list mailing list fedora-test-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-test-list