Hello community, here is the log from the commit of package boost-jam checked in at Fri Aug 3 17:06:32 CEST 2007. -------- --- boost-jam/boost-jam.changes 2006-05-27 23:54:53.000000000 +0200 +++ /mounts/work_src_done/STABLE/boost-jam/boost-jam.changes 2007-07-27 20:22:34.000000000 +0200 @@ -1,0 +2,22 @@ +Fri Jul 27 20:22:29 CEST 2007 - pth@suse.de + +- Directly pass CFLAGS and RPM_OPTFLAGS to jam0 when bootstrapping + (obsoletes the fix from Daniel Schepler) and pass + -fno-strict-aliasing to gcc to fix the bjam segfault. +- Build optimized binary but don't strip it. + +------------------------------------------------------------------- +Tue Jul 24 19:39:15 CEST 2007 - bk@suse.de + +- fix early bjam segfault with gcc-4.2 (fix from Daniel Schepler) +- add testsuite from today's boost CVS and allow a maxium of 5 fails +- build debug binary by default, adds debuginfo package(thanks pth) + +------------------------------------------------------------------- +Thu Jul 19 17:45:04 CEST 2007 - pth@suse.de + +- Update to 3.1.14. Changes since 3.1.4: + * Implement NATIVE_FILE builtin and several native rules. + * Use default value of BOOST_BUILD_PATH is not is set in environment. + +------------------------------------------------------------------- Old: ---- boost-jam-3.1.4.tar.bz2 New: ---- boost-jam-3.1.14.tar.bz2 boost-jam-jam0_use_passed_cflags.diff test.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ boost-jam.spec ++++++ --- /var/tmp/diff_new_pack.R21956/_old 2007-08-03 17:05:46.000000000 +0200 +++ /var/tmp/diff_new_pack.R21956/_new 2007-08-03 17:05:46.000000000 +0200 @@ -1,5 +1,5 @@ # -# spec file for package boost-jam (Version 3.1.4) +# spec file for package boost-jam (Version 3.1.14) # # Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine @@ -14,13 +14,16 @@ License: BSD 3-Clause Group: Development/Tools/Building Autoreqprov: on -Version: 3.1.4 -Release: 188 +Version: 3.1.14 +Release: 4 Summary: An Enhanced Make Replacement Source: %{name}-%{version}.tar.bz2 +# From http://boost.cvs.sourceforge.net/boost/boost/tools/jam/test/: +Source2: test.tar.gz URL: http://www.boost.org/ Patch1: boost-jam-cflags_for_build.diff Patch2: boost-jam-codecleanup.diff +Patch3: boost-jam-jam0_use_passed_cflags.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -42,14 +45,24 @@ find . -type f|xargs chmod -R u+w %patch1 %patch2 +%patch3 +chmod -x images/*.png %build %ifarch s390 -export RPM_OPT_FLAGS="$RPM_OPT_FLAGS -O1" +#export RPM_OPT_FLAGS="$RPM_OPT_FLAGS -O1" %endif -export RPM_OPT_FLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" -export CFLAGS="$RPM_OPT_FLAGS -W -Wall -Wstrict-prototypes -Wno-unused-parameter" -LOCATE_TARGET=bin ./build.sh gcc +export RPM_OPT_FLAGS="$RPM_OPT_FLAGS -Wall -fno-strict-aliasing" +export CFLAGS="$RPM_OPT_FLAGS" +LOCATE_TARGET=bin ./build.sh gcc --symbols +# Trivial test: -- Documented used of bjam -v: Print the version of jam and exit: +bin/bjam -v +ln -s bin bin.linux +cd .. +tar xvf %{SOURCE2} +ln -s %{name}-%{version} src +cd test +sh test.sh || if [ $? -gt 5 ]; then sh test.sh;fi %install mkdir -p %{buildroot}%{_bindir} @@ -61,12 +74,25 @@ %files %defattr(-,root,root) %attr(755,root,root) %{_bindir}/* -%doc *.html RELNOTES +%doc *.html images %clean rm -rf %{buildroot} %changelog +* Fri Jul 27 2007 - pth@suse.de +- Directly pass CFLAGS and RPM_OPTFLAGS to jam0 when bootstrapping + (obsoletes the fix from Daniel Schepler) and pass + -fno-strict-aliasing to gcc to fix the bjam segfault. +- Build optimized binary but don't strip it. +* Tue Jul 24 2007 - bk@suse.de +- fix early bjam segfault with gcc-4.2 (fix from Daniel Schepler) +- add testsuite from today's boost CVS and allow a maxium of 5 fails +- build debug binary by default, adds debuginfo package(thanks pth) +* Thu Jul 19 2007 - pth@suse.de +- Update to 3.1.14. Changes since 3.1.4: + * Implement NATIVE_FILE builtin and several native rules. + * Use default value of BOOST_BUILD_PATH is not is set in environment. * Sat May 27 2006 - schwab@suse.de - Don't strip binaries. * Wed Jan 25 2006 - mls@suse.de ++++++ boost-jam-3.1.4.tar.bz2 -> boost-jam-3.1.14.tar.bz2 ++++++ ++++ 25158 lines of diff (skipped) ++++++ boost-jam-cflags_for_build.diff ++++++ --- /var/tmp/diff_new_pack.R21956/_old 2007-08-03 17:05:47.000000000 +0200 +++ /var/tmp/diff_new_pack.R21956/_new 2007-08-03 17:05:47.000000000 +0200 @@ -1,28 +1,26 @@ ---- build.jam -+++ build.jam -@@ -74,7 +74,7 @@ - : -g -O0 -fno-inline -pg ; - ## GCC 2.x, 3.x - toolset gcc gcc : "-o " : -D -- : -s -O3 -finline-functions -+ : -O3 -finline-functions $RPM_OPT_FLAGS - : -g -O0 -fno-inline -pg ; - ## GCC 2.x, 3.x on CYGWIN but without cygwin1.dll - toolset gcc-nocygwin gcc : "-o " : -D --- build.sh +++ build.sh -@@ -197,12 +197,12 @@ - mv -f y.tab.h jamgram.h - fi - if test ! -r jambase.c ; then -- echo_run ${BOOST_JAM_CC} ${BOOST_JAM_OPT_MKJAMBASE} ${MKJAMBASE_SOURCES} -+ echo_run ${BOOST_JAM_CC} ${CFLAGS} ${BOOST_JAM_OPT_MKJAMBASE} ${MKJAMBASE_SOURCES} - if test -x "./bootstrap.$BOOST_JAM_TOOLSET/mkjambase0" ; then - echo_run ./bootstrap.$BOOST_JAM_TOOLSET/mkjambase0 jambase.c Jambase +@@ -247,7 +247,7 @@ + echo_run rm -rf bootstrap + echo_run mkdir bootstrap + if test ! -r jamgram.y -o ! -r jamgramtab.h ; then +- echo_run ${BOOST_JAM_CC} ${BOOST_JAM_OPT_YYACC} ${YYACC_SOURCES} ++ echo_run ${BOOST_JAM_CC} ${CFLAGS} ${BOOST_JAM_OPT_YYACC} ${YYACC_SOURCES} + if test -x "./bootstrap/yyacc0" ; then + echo_run ./bootstrap/yyacc0 jamgram.y jamgramtab.h jamgram.yy + fi +@@ -261,12 +261,12 @@ + mv -f y.tab.h jamgram.h fi + if test ! -r jambase.c ; then +- echo_run ${BOOST_JAM_CC} ${BOOST_JAM_OPT_MKJAMBASE} ${MKJAMBASE_SOURCES} ++ echo_run ${BOOST_JAM_CC} ${CFLAGS} ${BOOST_JAM_OPT_MKJAMBASE} ${MKJAMBASE_SOURCES} + if test -x "./bootstrap/mkjambase0" ; then + echo_run ./bootstrap/mkjambase0 jambase.c Jambase + fi + fi +- echo_run ${BOOST_JAM_CC} ${BOOST_JAM_OPT_JAM} ${BJAM_SOURCES} ++ echo_run ${BOOST_JAM_CC} ${CFLAGS} ${BOOST_JAM_OPT_JAM} ${BJAM_SOURCES} fi --echo_run ${BOOST_JAM_CC} ${BOOST_JAM_OPT_JAM} ${BJAM_SOURCES} -+echo_run ${BOOST_JAM_CC} ${CFLAGS} ${BOOST_JAM_OPT_JAM} ${BJAM_SOURCES} - if test -x "./bootstrap.$BOOST_JAM_TOOLSET/jam0" ; then - echo_run ./bootstrap.$BOOST_JAM_TOOLSET/jam0 -f build.jam --toolset=$BOOST_JAM_TOOLSET "--toolset-root=$BOOST_JAM_TOOLSET_ROOT" "$@" - fi + if test -x "./bootstrap/jam0" ; then + if test "${BJAM_UPDATE}" != "update" ; then ++++++ boost-jam-codecleanup.diff ++++++ ++++ 1320 lines (skipped) ++++ between boost-jam/boost-jam-codecleanup.diff ++++ and /mounts/work_src_done/STABLE/boost-jam/boost-jam-codecleanup.diff ++++++ boost-jam-jam0_use_passed_cflags.diff ++++++ --- build.jam +++ build.jam @@ -153,7 +153,7 @@ ## GCC 2.x, 3.x, 4.x toolset gcc gcc : "-o " : -D : -pedantic - [ opt --release : [ opt --symbols : -g : -s ] -O3 ] + [ opt --release : [ opt --symbols : -g : -s ] $(CFLAGS) ] [ opt --debug : -g -O0 -fno-inline ] -I$(--python-include) -Wno-long-long : -L$(--python-lib[1]) -l$(--python-lib[2]) ; --- build.sh +++ build.sh @@ -12,7 +12,7 @@ echo_run () { echo "$@" - $@ + eval "$@" r=$? if test $r -ne 0 ; then exit $r @@ -272,5 +272,9 @@ if test "${BJAM_UPDATE}" != "update" ; then echo_run ./bootstrap/jam0 -f build.jam --toolset=$BOOST_JAM_TOOLSET "--toolset-root=$BOOST_JAM_TOOLSET_ROOT" clean fi - echo_run ./bootstrap/jam0 -f build.jam --toolset=$BOOST_JAM_TOOLSET "--toolset-root=$BOOST_JAM_TOOLSET_ROOT" "$@" + if test -z "$BOOST_JAM_TOOLSET_ROOT"; then + echo_run ./bootstrap/jam0 -f build.jam --toolset=$BOOST_JAM_TOOLSET "$@" + else + echo_run ./bootstrap/jam0 -f build.jam --toolset=$BOOST_JAM_TOOLSET "--toolset-root=$BOOST_JAM_TOOLSET_ROOT" "$@" + fi fi ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org