rpms/sbcl/EL-4 sbcl-0.9.17-LIB_DIR.patch, NONE, 1.1 sbcl-1.0-gcc4_sparc.patch, NONE, 1.1 sbcl-1.0-optflags.patch, NONE, 1.1 .cvsignore, 1.10, 1.11 sbcl.spec, 1.30, 1.31 sources, 1.10, 1.11 ppc-linux-mcontext.h, 1.1, NONE sbcl-0.8.18-default-sbcl-home.patch, 1.1, NONE sbcl-0.9.10-make-config-ppc.patch, 1.1, NONE sbcl-0.9.4-LIB_DIR.patch, 1.3, NONE sbcl-0.9.5-optflags.patch, 1.1, NONE sbcl-0.9.5-personality.patch, 1.1, NONE sbcl-0.9.5-verbose-build.patch, 1.2, NONE sbcl-0.9.9-permissive.patch, 1.1, NONE
Rex Dieter (rdieter)
fedora-extras-commits at redhat.com
Mon Dec 18 17:08:42 UTC 2006
- Previous message (by thread): rpms/xforms/EL-4 xforms-1.0.90-prelink.patch, NONE, 1.1 .cvsignore, 1.2, 1.3 sources, 1.2, 1.3 xforms.spec, 1.5, 1.6
- Next message (by thread): rpms/sbcl/EL-4 sbcl-0.8.18-default-sbcl-home.patch, 1.2, 1.3 sbcl-0.9.5-personality.patch, 1.2, 1.3 sbcl-0.9.5-verbose-build.patch, 1.3, 1.4 sbcl-0.9.9-permissive.patch, 1.2, 1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: rdieter
Update of /cvs/extras/rpms/sbcl/EL-4
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv20068
Modified Files:
.cvsignore sbcl.spec sources
Added Files:
sbcl-0.9.17-LIB_DIR.patch sbcl-1.0-gcc4_sparc.patch
sbcl-1.0-optflags.patch
Removed Files:
ppc-linux-mcontext.h sbcl-0.8.18-default-sbcl-home.patch
sbcl-0.9.10-make-config-ppc.patch sbcl-0.9.4-LIB_DIR.patch
sbcl-0.9.5-optflags.patch sbcl-0.9.5-personality.patch
sbcl-0.9.5-verbose-build.patch sbcl-0.9.9-permissive.patch
Log Message:
sync w/devel branch
sbcl-0.9.17-LIB_DIR.patch:
--- NEW FILE sbcl-0.9.17-LIB_DIR.patch ---
--- sbcl-0.9.17/install.sh.LIB_DIR 2006-09-24 11:17:20.000000000 -0500
+++ sbcl-0.9.17/install.sh 2006-09-27 06:41:45.000000000 -0500
@@ -23,9 +23,10 @@
MAN_DIR=${MAN_DIR-"$INSTALL_ROOT"/share/man}
INFO_DIR=${INFO_DIR-"$INSTALL_ROOT"/share/info}
DOC_DIR=${DOC_DIR-"$INSTALL_ROOT"/share/doc/sbcl}
+LIB_DIR=${LIB_DIR-$INSTALL_ROOT/lib}
# Does the environment look sane?
-if [ -n "$SBCL_HOME" -a "$INSTALL_ROOT/lib/sbcl" != "$SBCL_HOME" ];then
+if [ -n "$SBCL_HOME" -a "$LIB_DIR/sbcl" != "$SBCL_HOME" ];then
echo SBCL_HOME environment variable is set, and conflicts with INSTALL_ROOT.
echo Aborting installation. Unset one or reset the other, then try again
echo INSTALL_ROOT="$INSTALL_ROOT"
@@ -46,10 +47,10 @@
exit 1
fi
-SBCL_HOME="$INSTALL_ROOT"/lib/sbcl
+SBCL_HOME="$LIB_DIR"/sbcl
export SBCL_HOME INSTALL_ROOT
ensure_dirs "$BUILD_ROOT$INSTALL_ROOT" "$BUILD_ROOT$INSTALL_ROOT"/bin \
- "$BUILD_ROOT$INSTALL_ROOT"/lib \
+ "$BUILD_ROOT$LIB_DIR" \
"$BUILD_ROOT$MAN_DIR" "$BUILD_ROOT$MAN_DIR"/man1 \
"$BUILD_ROOT$INFO_DIR" "$BUILD_ROOT$DOC_DIR" \
"$BUILD_ROOT$DOC_DIR"/html \
@@ -89,7 +90,7 @@
echo
echo "SBCL has been installed:"
echo " binary $BUILD_ROOT$INSTALL_ROOT/bin/$RUNTIME"
-echo " core and contribs in $BUILD_ROOT$INSTALL_ROOT/lib/sbcl/"
+echo " core and contribs in $BUILD_ROOT$LIB_DIR/sbcl"
# Installing manual & misc bits of documentation
#
sbcl-1.0-gcc4_sparc.patch:
--- NEW FILE sbcl-1.0-gcc4_sparc.patch ---
--- sbcl-1.0/src/runtime/sparc-arch.c.BAD 2006-12-14 10:58:21.000000000 -0600
+++ sbcl-1.0/src/runtime/sparc-arch.c 2006-12-14 10:59:02.000000000 -0600
@@ -86,8 +86,8 @@
void arch_skip_instruction(os_context_t *context)
{
- ((char *) *os_context_pc_addr(context)) = ((char *) *os_context_npc_addr(context));
- ((char *) *os_context_npc_addr(context)) += 4;
+ *os_context_pc_addr(context) = *os_context_npc_addr(context);
+ *os_context_npc_addr(context) += 4;
}
unsigned char *arch_internal_error_arguments(os_context_t *context)
sbcl-1.0-optflags.patch:
--- NEW FILE sbcl-1.0-optflags.patch ---
--- sbcl-1.0/src/runtime/Config.x86_64-linux.optflags 2006-11-19 10:38:57.000000000 -0600
+++ sbcl-1.0/src/runtime/Config.x86_64-linux 2006-12-14 08:55:17.000000000 -0600
@@ -34,7 +34,7 @@
OS_LIBS += -lpthread
endif
-CFLAGS += -fno-omit-frame-pointer
+CFLAGS += -fno-omit-frame-pointer $(RPM_OPT_FLAGS)
GC_SRC = gencgc.c
--- sbcl-1.0/src/runtime/Config.sparc-linux.optflags 2005-09-16 08:26:39.000000000 -0500
+++ sbcl-1.0/src/runtime/Config.sparc-linux 2006-12-14 08:57:04.000000000 -0600
@@ -10,6 +10,7 @@
# files for more information.
ASFLAGS = -g -Wall
+CFLAGS += $(RPM_OPT_FLAGS)
LINKFLAGS += -v -rdynamic
NM = ./linux-nm
--- sbcl-1.0/src/runtime/Config.x86-linux.optflags 2006-11-19 10:38:57.000000000 -0600
+++ sbcl-1.0/src/runtime/Config.x86-linux 2006-12-14 08:55:17.000000000 -0600
@@ -38,6 +38,8 @@
OS_LIBS += -lpthread
endif
+CFLAGS += $(RPM_OPT_FLAGS)
+
GC_SRC = gencgc.c
# Nothing to do for after-grovel-headers.
--- sbcl-1.0/src/runtime/Config.ppc-linux.optflags 2006-11-19 10:38:57.000000000 -0600
+++ sbcl-1.0/src/runtime/Config.ppc-linux 2006-12-14 08:55:17.000000000 -0600
@@ -9,7 +9,7 @@
# provided with absolutely no warranty. See the COPYING and CREDITS
# files for more information.
-CFLAGS = -g
+CFLAGS += $(RPM_OPT_FLAGS)
LINKFLAGS += -v -rdynamic
NM = ./linux-nm
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/sbcl/EL-4/.cvsignore,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- .cvsignore 28 Apr 2006 12:34:14 -0000 1.10
+++ .cvsignore 18 Dec 2006 17:08:12 -0000 1.11
@@ -1,4 +1,5 @@
-sbcl-0.9.12-source.tar.bz2
-sbcl-0.9.11-x86-64-linux-binary.tar.bz2
-sbcl-0.9.11-x86-linux-binary.tar.bz2
sbcl-0.9.8-powerpc-linux-binary.tar.bz2
+sbcl-0.9.18-source.tar.bz2
+sbcl-0.9.18-x86-64-linux-binary.tar.bz2
+sbcl-1.0-x86-linux-binary.tar.bz2
+sbcl-1.0-source.tar.bz2
Index: sbcl.spec
===================================================================
RCS file: /cvs/extras/rpms/sbcl/EL-4/sbcl.spec,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -r1.30 -r1.31
--- sbcl.spec 28 Apr 2006 12:34:14 -0000 1.30
+++ sbcl.spec 18 Dec 2006 17:08:12 -0000 1.31
@@ -5,39 +5,26 @@
# define to enable verbose build for debugging
#define sbcl_verbose 1
-
-# shell to use
-#define sbcl_shell /bin/bash -x
-%define sbcl_shell /bin/bash
+%define sbcl_shell /bin/bash
Name: sbcl
Summary: Steel Bank Common Lisp
-Version: 0.9.12
-Release: 1%{?dist}
+Version: 1.0
+Release: 2%{?dist}
License: BSD/MIT
Group: Development/Languages
URL: http://sbcl.sourceforge.net/
Source0: http://dl.sourceforge.net/sourceforge/sbcl/sbcl-%{version}-source.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-ExclusiveArch: %{ix86} x86_64
+ExclusiveArch: %{ix86} x86_64 ppc sparc
# Pre-generated html docs (not used)
#Source1: http://dl.sourceforge.net/sourceforge/sbcl/sbcl-%{version}-html.tar.bz2
Source2: customize-target-features.lisp
-## Bootstraps
-# %{ix86}
-#Source10: http://dl.sourceforge.net/sourceforge/sbcl/sbcl-0.9.11-x86-linux-binary.tar.bz2
-# x86_64
-#Source20: http://dl.sourceforge.net/sourceforge/sbcl/sbcl-0.9.11-x86-64-linux-binary.tar.bz2
-# ppc
-#Source30: http://dl.sourceforge.net/sourceforge/sbcl/sbcl-0.9.8-powerpc-linux-binary.tar.bz2
-# another possible ppc bootstrap to try
-#Source31: http://clozure.com/openmcl/ftp/openmcl-linuxppc-all-0.14.3.tar.gz
-
-
## x86 section
+#Source10: http://dl.sourceforge.net/sourceforge/sbcl/sbcl-1.0-x86-linux-binary.tar.bz2
%ifarch %{ix86}
%define sbcl_arch x86
BuildRequires: sbcl
@@ -46,33 +33,44 @@
%endif
## x86_64 section
+#Source20: http://dl.sourceforge.net/sourceforge/sbcl/sbcl-0.9.18-x86-64-linux-binary.tar.bz2
%ifarch x86_64
%define sbcl_arch x86-64
BuildRequires: sbcl
# or
-#Source20: http://dl.sourceforge.net/sourceforge/sbcl/sbcl-0.9.11-x86-64-linux-binary.tar.bz2
#define sbcl_bootstrap_src -a 20
%endif
## ppc section
-# Latest powerpc-linux bootstrap build fails:
-# http://bugzilla.redhat.com/bugzilla/177029
-Source35: ppc-linux-mcontext.h
+#Source30: http://dl.sourceforge.net/sourceforge/sbcl/sbcl-0.9.12-powerpc-linux-binary.tar.bz2
%ifarch ppc
%define sbcl_arch ppc
-%define sbcl_bootstrap_src -a 30
+BuildRequires: sbcl
+# or
+#define sbcl_bootstrap_src -a 30
%endif
+## sparc section
+#Source40: http://dl.sourceforge.net/sourceforge/sbcl/sbcl-0.9.17-sparc-linux-binary.tar.bz2
+%ifarch sparc
+%define sbcl_arch sparc
+#BuildRequires: sbcl
+# or
+%define sbcl_bootstrap_src -a 40
+%endif
+
+
Source100: my_setarch.c
Patch1: sbcl-0.8.18-default-sbcl-home.patch
Patch2: sbcl-0.9.5-personality.patch
-Patch3: sbcl-0.9.5-optflags.patch
-Patch4: sbcl-0.9.4-LIB_DIR.patch
-#Patch5: sbcl-0.9.10-make-config-ppc.patch
+Patch3: sbcl-1.0-optflags.patch
+Patch4: sbcl-0.9.17-LIB_DIR.patch
+
Patch6: sbcl-0.9.5-verbose-build.patch
# Allow override of contrib test failure(s)
Patch7: sbcl-0.9.9-permissive.patch
+Patch8: sbcl-1.0-gcc4_sparc.patch
Requires(post): /sbin/install-info
Requires(preun): /sbin/install-info
@@ -101,18 +99,15 @@
%patch2 -p1 -b .personality
%patch3 -p1 -b .optflags
%patch4 -p1 -b .LIB_DIR
-#patch5 -p1 -b .make-config-ppc
%{?sbcl_verbose:%patch6 -p1 -b .verbose-build}
%patch7 -p1 -b .permissive
+%patch8 -p1 -b .gcc4_sparc
-# Enable sb-thread
+## Enable sb-thread
%ifarch %{ix86} x86_64
#sed -i -e "s|; :sb-thread|:sb-thread|" base-target-features.lisp-expr
-cp %{SOURCE2} ./customize-target-features.lisp
-%endif
-
-%ifarch ppc
-cp %{SOURCE35} src/runtime/ppc-linux-mcontext.h.BAK
+# or
+#install -m644 -p %{SOURCE2} ./customize-target-features.lisp
%endif
# "install" local bootstrap
@@ -129,7 +124,8 @@
%build
-export CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE"
+#export CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE"
+export CFLAGS="$RPM_OPT_FLAGS"
# setup local bootstrap
%if "%{?sbcl_bootstrap_src}" != "%{nil}"
@@ -142,9 +138,11 @@
#define my_setarch ./my_setarch
# WORKAROUND sb-posix STAT.2, STAT.4 test failures (fc3/fc4 only, fc5 passes?)
-# at least until a better solution is found
-# http://bugzilla.redhat.com/bugzilla/169506
+# http://bugzilla.redhat.com/169506
touch contrib/sb-posix/test-passed
+# WORKAROUND sb-bsd-sockets test failures
+# http://bugzilla.redhat.com/214568
+touch contrib/sb-bsd-sockets/test-passed
# trick contrib/ modules to use optflags too
export EXTRA_CFLAGS="$CFLAGS"
@@ -161,18 +159,21 @@
%check
-# santity check, did sb-posix get built/included?
-# http://bugzilla.redhat.com/bugzilla/169506
-SB_POSIX=%{_libdir}/sbcl/sb-posix
-if [ ! -d $RPM_BUILD_ROOT${SB_POSIX} ]; then
- echo "${SB_POSIX} awol!"
- exit 1
-fi
+ERROR=0
+# santity check, essential contrib modules get built/included?
+CONTRIBS="sb-posix sb-bsd-sockets"
+for CONTRIB in $CONTRIBS ; do
+ if [ ! -d $RPM_BUILD_ROOT%{_libdir}/sbcl/$CONTRIB ]; then
+ echo "WARNING: ${CONTRIB} awol!"
+ ERROR=1
+ fi
+done
pushd tests
# Only x86 builds are expected to pass all
# Don't worry about thread.impure failure(s), threading is optional anyway.
%{?setarch} %{?sbcl_shell} ./run-tests.sh ||:
popd
+exit $ERROR
%install
@@ -232,6 +233,43 @@
%changelog
+* Thu Dec 14 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.0-2
+- initial sparc support (bootstrap, optflags)
+
+* Mon Dec 04 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.0-1
+- sbcl-1.0
+- don't enable sb:thread (for now), to avoid hang in 'make check' tests
+
+* Mon Nov 13 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.18-2
+- fix awol contrib/sb-bsd-sockets (#214568)
+
+* Thu Oct 26 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.18-1
+- sbcl-0.9.18
+
+* Tue Sep 26 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.17-1
+- sbcl-0.9.17
+
+* Mon Aug 28 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.16-3
+- fc6 respin
+
+* Sun Aug 27 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.16-1
+- 0.9.16
+
+* Mon Jun 26 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.14-1
+- 0.9.14
+
+* Tue Jun 20 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.13-3
+- use -fPIC in threads.impure.lisp
+
+* Tue May 30 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.13-2
+- 0.9.13
+
+* Mon Apr 26 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.12-2
+- respin, using new ppc bootstrap
+
+* Mon Apr 26 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.12-1.1
+- try re-enabling ppc build
+
* Mon Apr 26 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.12-1
- 0.9.12
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/sbcl/EL-4/sources,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- sources 28 Apr 2006 12:34:14 -0000 1.10
+++ sources 18 Dec 2006 17:08:12 -0000 1.11
@@ -1 +1 @@
-82eef4f47d6a72a36d4484bf503fc7db sbcl-0.9.12-source.tar.bz2
+52e07dcc8eef0dc45ecdc35e46d4999f sbcl-1.0-source.tar.bz2
--- ppc-linux-mcontext.h DELETED ---
--- sbcl-0.8.18-default-sbcl-home.patch DELETED ---
--- sbcl-0.9.10-make-config-ppc.patch DELETED ---
--- sbcl-0.9.4-LIB_DIR.patch DELETED ---
--- sbcl-0.9.5-optflags.patch DELETED ---
--- sbcl-0.9.5-personality.patch DELETED ---
--- sbcl-0.9.5-verbose-build.patch DELETED ---
--- sbcl-0.9.9-permissive.patch DELETED ---
- Previous message (by thread): rpms/xforms/EL-4 xforms-1.0.90-prelink.patch, NONE, 1.1 .cvsignore, 1.2, 1.3 sources, 1.2, 1.3 xforms.spec, 1.5, 1.6
- Next message (by thread): rpms/sbcl/EL-4 sbcl-0.8.18-default-sbcl-home.patch, 1.2, 1.3 sbcl-0.9.5-personality.patch, 1.2, 1.3 sbcl-0.9.5-verbose-build.patch, 1.3, 1.4 sbcl-0.9.9-permissive.patch, 1.2, 1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list