pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/35569: suse100_compat: add fortran run-time libraries



>Number:         35569
>Category:       pkg
>Synopsis:       suse100_compat: add fortran run-time libraries
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Feb 08 14:50:00 +0000 2007
>Originator:     Nicolas Joly
>Release:        NetBSD 4.99.9
>Organization:
Institut Pasteur, Paris.
>Environment:
System: NetBSD lanfeust.sis.pasteur.fr 4.99.9 NetBSD 4.99.9 (LANFEUST_DEVEL) 
#46: Thu Feb 8 11:46:55 CET 2007 
njoly%lanfeust.sis.pasteur.fr@localhost:/local/src/NetBSD/obj/amd64/sys/arch/amd64/compile/LANFEUST_DEVEL
 amd64
Architecture: x86_64
Machine: amd64
>Description:
I'm currently running, on my -current NetBSD/amd64 workstation some
biological programs under compat linux emulation (they comes from
a RHEL clone x86_64 server, through NFS). My problem is that programs
compiled with g77 (fortran sources) require an additional run-time library
libg2c.so which not currently available, and comes from a compat-g77 rpm.

njoly@lanfeust [gensoft/bin]> /emul/linux/usr/bin/ldd ./nafold 
        libg2c.so.0 => not found
        libm.so.6 => /lib64/tls/libm.so.6 (0x00007f7ffdca9000)
        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f7ffdb9c000)
        libc.so.6 => /lib64/tls/libc.so.6 (0x00007f7ffd971000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f7ffde00000)

Once installed, it works.

njoly@lanfeust [gensoft/bin]> /emul/linux/usr/bin/ldd ./nafold
        libg2c.so.0 => /usr/lib64/libg2c.so.0 (0x00007f7ffdcdf000)
        libm.so.6 => /lib64/tls/libm.so.6 (0x00007f7ffdb88000)
        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f7ffda7b000)
        libc.so.6 => /lib64/tls/libc.so.6 (0x00007f7ffd850000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f7ffde00000)

>How-To-Repeat:
Simply try to run a linux program that was compiled with g77, under
linux emulation.
>Fix:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/emulators/suse100_compat/Makefile,v
retrieving revision 1.4
diff -u -r1.4 Makefile
--- Makefile    30 Jun 2006 16:20:23 -0000      1.4
+++ Makefile    8 Feb 2007 14:46:41 -0000
@@ -1,7 +1,7 @@
 # $NetBSD: Makefile,v 1.4 2006/06/30 16:20:23 salo Exp $
 
 DISTNAME=              suse_compat-${SUSE_VERSION}
-PKGREVISION=           1
+PKGREVISION=           2
 CATEGORIES=            emulators
 MASTER_SITES=          ${MASTER_SITE_SUSE100}
 DISTFILES=             ${RPMFILES}
Index: Makefile.i386
===================================================================
RCS file: /cvsroot/pkgsrc/emulators/suse100_compat/Makefile.i386,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 Makefile.i386
--- Makefile.i386       9 Mar 2006 20:34:38 -0000       1.1.1.1
+++ Makefile.i386       8 Feb 2007 14:46:41 -0000
@@ -1,4 +1,5 @@
 # $NetBSD: Makefile.i386,v 1.1.1.1 2006/03/09 20:34:38 tonio Exp $
 
 RPMFILES=              compat-2004.11.13-4.${SUSE_ARCH}.rpm \
+                       compat-g77-3.3.5-2.${SUSE_ARCH}.rpm \
                        compat-libstdc++-5.0.7-6.${SUSE_ARCH}.rpm
Index: Makefile.powerpc
===================================================================
RCS file: /cvsroot/pkgsrc/emulators/suse100_compat/Makefile.powerpc,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 Makefile.powerpc
--- Makefile.powerpc    9 Mar 2006 20:34:38 -0000       1.1.1.1
+++ Makefile.powerpc    8 Feb 2007 14:46:41 -0000
@@ -1,4 +1,5 @@
 # $NetBSD: Makefile.powerpc,v 1.1.1.1 2006/03/09 20:34:38 tonio Exp $
 
 RPMFILES=              compat-2004.11.13-4.${SUSE_ARCH}.rpm \
+                       compat-g77-3.3.5-2.${SUSE_ARCH}.rpm \
                        compat-libstdc++-5.0.7-6.${SUSE_ARCH}.rpm
Index: Makefile.x86_64
===================================================================
RCS file: /cvsroot/pkgsrc/emulators/suse100_compat/Makefile.x86_64,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 Makefile.x86_64
--- Makefile.x86_64     9 Mar 2006 20:34:38 -0000       1.1.1.1
+++ Makefile.x86_64     8 Feb 2007 14:46:41 -0000
@@ -1,4 +1,5 @@
 # $NetBSD: Makefile.x86_64,v 1.1.1.1 2006/03/09 20:34:38 tonio Exp $
 
 RPMFILES=              compat-2004.11.13-4.${SUSE_ARCH}.rpm \
+                       compat-g77-3.3.5-2.${SUSE_ARCH}.rpm \
                        compat-libstdc++-5.0.7-6.${SUSE_ARCH}.rpm
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/emulators/suse100_compat/distinfo,v
retrieving revision 1.1
diff -u -r1.1 distinfo
--- distinfo    3 Apr 2006 18:17:54 -0000       1.1
+++ distinfo    8 Feb 2007 14:46:41 -0000
@@ -1,20 +1,29 @@
-$NetBSD: distinfo,v 1.1 2006/04/03 18:17:54 ghen Exp $
+$NetBSD$
 
 SHA1 (suse100/i586/compat-2004.11.13-4.i586.rpm) = 
20a4574823be5b2a8a82a4b0988702baa1b618a5
 RMD160 (suse100/i586/compat-2004.11.13-4.i586.rpm) = 
681d3a00970e232f7f37201dd1a8d842c3738043
 Size (suse100/i586/compat-2004.11.13-4.i586.rpm) = 1363979 bytes
+SHA1 (suse100/i586/compat-g77-3.3.5-2.i586.rpm) = 
56ed1c2491fc9907930f8ace990ade4673b422ff
+RMD160 (suse100/i586/compat-g77-3.3.5-2.i586.rpm) = 
ef8d345f5d152cbb885fb7e0286e9e2908509b41
+Size (suse100/i586/compat-g77-3.3.5-2.i586.rpm) = 2018811 bytes
 SHA1 (suse100/i586/compat-libstdc++-5.0.7-6.i586.rpm) = 
5bf42bac9c07f49d92861034eb06c05d31968116
 RMD160 (suse100/i586/compat-libstdc++-5.0.7-6.i586.rpm) = 
f4935251c3ef4aa67fd3d656248ab0185bc57636
 Size (suse100/i586/compat-libstdc++-5.0.7-6.i586.rpm) = 233040 bytes
 SHA1 (suse100/ppc/compat-2004.11.13-4.ppc.rpm) = 
d56387052cd865d0325e00dbba03f8086500a2cd
 RMD160 (suse100/ppc/compat-2004.11.13-4.ppc.rpm) = 
732dde7d78d1fb0a09f437aab47bda6cdeeda702
 Size (suse100/ppc/compat-2004.11.13-4.ppc.rpm) = 853476 bytes
+SHA1 (suse100/ppc/compat-g77-3.3.5-2.ppc.rpm) = 
6aa9e0ae12ac151a46913bd6f727309d248d1fb3
+RMD160 (suse100/ppc/compat-g77-3.3.5-2.ppc.rpm) = 
de0181de957c5993c02674feeecc40ead05a3aa8
+Size (suse100/ppc/compat-g77-3.3.5-2.ppc.rpm) = 2557135 bytes
 SHA1 (suse100/ppc/compat-libstdc++-5.0.7-6.ppc.rpm) = 
32d0566212edb261d12a396992ea82c08614fe11
 RMD160 (suse100/ppc/compat-libstdc++-5.0.7-6.ppc.rpm) = 
43d526649a0d14861caf941321abbe1f7c6f39c5
 Size (suse100/ppc/compat-libstdc++-5.0.7-6.ppc.rpm) = 267312 bytes
 SHA1 (suse100/x86_64/compat-2004.11.13-4.x86_64.rpm) = 
5dcbd5f5c18630cce3be6770bf235ca6cd4ec248
 RMD160 (suse100/x86_64/compat-2004.11.13-4.x86_64.rpm) = 
cd4274f17e45a69909afe4e6315fa2d5a3d95c09
 Size (suse100/x86_64/compat-2004.11.13-4.x86_64.rpm) = 120440 bytes
+SHA1 (suse100/x86_64/compat-g77-3.3.5-2.x86_64.rpm) = 
7c0b8aa75dc5c7b0ed188d97c8ede438a57d07e8
+RMD160 (suse100/x86_64/compat-g77-3.3.5-2.x86_64.rpm) = 
15d004a599fc4ccc83ccd817202fec5e3ebe0c8c
+Size (suse100/x86_64/compat-g77-3.3.5-2.x86_64.rpm) = 2423407 bytes
 SHA1 (suse100/x86_64/compat-libstdc++-5.0.7-6.x86_64.rpm) = 
95ba61ed1d7c998c4f1177044a6047814a9671d8
 RMD160 (suse100/x86_64/compat-libstdc++-5.0.7-6.x86_64.rpm) = 
98c43e40940efd442ff6c8a47cc47f711af69c1b
 Size (suse100/x86_64/compat-libstdc++-5.0.7-6.x86_64.rpm) = 453853 bytes




Home | Main Index | Thread Index | Old Index