Hello community, here is the log from the commit of package creduce for openSUSE:Factory checked in at 2019-05-07 23:18:18 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/creduce (Old) and /work/SRC/openSUSE:Factory/.creduce.new.5148 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "creduce" Tue May 7 23:18:18 2019 rev:17 rq:701041 version:2.9.0+git.20190501.0fc288e Changes: -------- --- /work/SRC/openSUSE:Factory/creduce/creduce.changes 2019-04-23 14:39:03.469578928 +0200 +++ /work/SRC/openSUSE:Factory/.creduce.new.5148/creduce.changes 2019-05-07 23:18:19.756838936 +0200 @@ -1,0 +2,13 @@ +Mon May 06 09:15:15 UTC 2019 - mliska@suse.cz + +- Update to version 2.9.0: + * Supports and requires LLVM 7 + * New pass to remove constant `#if` blocks + * New pass to remove `#if` blocks + * New pass to remove `#line` directives + * New binary-search pass for removing C++-style comments + * Automatically run parallel "interestingness" tests on FreeBSD + * New `--version` command-line option reports version and exits + * Numerous bug fixes + +------------------------------------------------------------------- Old: ---- creduce-2.9.0+git.20190422.763bd26.tar.xz New: ---- creduce-2.9.0+git.20190501.0fc288e.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ creduce.spec ++++++ --- /var/tmp/diff_new_pack.5YJrv0/_old 2019-05-07 23:18:20.172839811 +0200 +++ /var/tmp/diff_new_pack.5YJrv0/_new 2019-05-07 23:18:20.176839818 +0200 @@ -17,7 +17,7 @@ Name: creduce -Version: 2.9.0+git.20190422.763bd26 +Version: 2.9.0+git.20190501.0fc288e Release: 0 Summary: C-Reduce, a C program reducer License: BSD-3-Clause ++++++ _service ++++++ --- /var/tmp/diff_new_pack.5YJrv0/_old 2019-05-07 23:18:20.212839895 +0200 +++ /var/tmp/diff_new_pack.5YJrv0/_new 2019-05-07 23:18:20.212839895 +0200 @@ -5,7 +5,7 @@ <param name="changesgenerate">enable</param> <param name="filename">creduce</param> <param name="versionformat">2.9.0+git.%cd.%h</param> - <param name="revision">763bd26729783249be1efba1fa5b2e8b4cc77398</param> + <param name="revision">0fc288e1958a7c38c74ef85803f0e3b79f904a73</param> </service> <service mode="disabled" name="recompress"> <param name="file">*.tar</param> ++++++ creduce-2.9.0+git.20190422.763bd26.tar.xz -> creduce-2.9.0+git.20190501.0fc288e.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/creduce-2.9.0+git.20190422.763bd26/INSTALL.md new/creduce-2.9.0+git.20190501.0fc288e/INSTALL.md --- old/creduce-2.9.0+git.20190422.763bd26/INSTALL.md 2019-04-23 05:41:40.000000000 +0200 +++ new/creduce-2.9.0+git.20190501.0fc288e/INSTALL.md 2019-05-02 00:14:13.000000000 +0200 @@ -46,12 +46,12 @@ * [Flex](http://flex.sourceforge.net/) * [LLVM/Clang 7.0.0](http://llvm.org/releases/download.html#7.0.0) - (No need to compile it: the appropriate "Clang binaries" package is + (No need to compile it: the appropriate "pre-built binaries" package is all you need. If you use one of the binary packages, you may need to install additional packages that the binary package depends on. - For example, the "Clang for x86_64 Ubuntu 14.04" binary package - depends on "libtinfo5". You may need to install this, e.g.: "sudo - apt-get install libtinfo-dev".) + For example, the "Ubuntu 18.04" binary package depends on "libtinfo5" + and "libxml2". You may need to install these, e.g.: + `sudo apt-get install libtinfo-dev libxml2-dev`.) * Perl modules: - Exporter::Lite diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/creduce-2.9.0+git.20190422.763bd26/README.md new/creduce-2.9.0+git.20190501.0fc288e/README.md --- old/creduce-2.9.0+git.20190422.763bd26/README.md 2019-04-23 05:41:40.000000000 +0200 +++ new/creduce-2.9.0+git.20190501.0fc288e/README.md 2019-05-02 00:14:13.000000000 +0200 @@ -18,7 +18,7 @@ ## Installation -See [INSTALL.md](https://github.com/csmith-project/creduce/blob/master/INSTALL.md) +See [INSTALL.md](INSTALL.md). ## Notes diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/creduce-2.9.0+git.20190422.763bd26/clang_delta/CMakeLists.txt new/creduce-2.9.0+git.20190501.0fc288e/clang_delta/CMakeLists.txt --- old/creduce-2.9.0+git.20190422.763bd26/clang_delta/CMakeLists.txt 2019-04-23 05:41:40.000000000 +0200 +++ new/creduce-2.9.0+git.20190501.0fc288e/clang_delta/CMakeLists.txt 2019-05-02 00:14:13.000000000 +0200 @@ -1,6 +1,6 @@ ## -*- mode: CMake -*- ## -## Copyright (c) 2012, 2013, 2014, 2015, 2016, 2017, 2018 The University of Utah +## Copyright (c) 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019 The University of Utah ## All rights reserved. ## ## This file is distributed under the University of Illinois Open Source @@ -57,6 +57,23 @@ link_directories(${LLVM_LIBRARY_DIRS}) +# ENE: Note that LLVM_LIBS is unused. +# +# The CLANG_LIBS defined below depend on various LLVM libraries. When we do +# `target_link_libraries(clang_delta ${CLANG_LIBS})`, CMake's automatic library +# dependency tracking adds ("is expected to add") the necessary LLVM libraries +# and other libraries to the link set without us doing anything special. +# +# There are reports that this automatic tracking does not always work. If this +# is the case for you, you can try adding LLVM_LIBS to the invocation of +# `target_link_libraries()` later in this file. There are reports that +# sometimes this doesn't solve the problem, so caveat emptor. +# +# There are reports that including LLVM_LIBS in `target_link_libraries()`, when +# it is not needed, can cause dynamic link errors when `clang_delta` is run +# (multiply defined symbols). This is another reason why we don't include +# LLVM_LIBS in the `target_link_libraries()` call by default. +# llvm_map_components_to_libnames(LLVM_LIBS coverage irreader @@ -242,18 +259,16 @@ git_version.h ) -# ENE, LLVM 6.0: LLVM_LIBS end up in the link command line anyway. I'm not -# quite sure why! But if you list LLVM_LIBS here, the `clang_delta' binary -# can end up with dynamic link errors when it runs (multiply defined symbols). -# +# ENE: See comment above about why LLVM_LIBS is not included in this call. target_link_libraries(clang_delta ${CLANG_LIBS}) -# Custom target for running clang_delta tests -# -add_custom_target(check-clang-delta - COMMAND ${LLVM_TOOLS_BINARY_DIR}/llvm-lit - -sv ${CMAKE_CURRENT_BINARY_DIR}/tests - DEPENDS clang_delta) +# For cases in which the LLVM libraries are shared libraries, remember where +# the shared libraries are. +set_target_properties(clang_delta + PROPERTIES + BUILD_WITH_INSTALL_RPATH "yes" + INSTALL_RPATH "${LLVM_LIBRARY_DIRS}" +) # On Windows, we also need to link with "Version.dll" system library. # See <https://github.com/csmith-project/creduce/pull/126>. @@ -279,6 +294,15 @@ # PERMISSIONS # OWNER_READ OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE +##### + +# Custom target for running clang_delta tests +# +add_custom_target(check-clang-delta + COMMAND ${LLVM_TOOLS_BINARY_DIR}/llvm-lit + -sv ${CMAKE_CURRENT_BINARY_DIR}/tests + DEPENDS clang_delta) + ############################################################################### ## End of file. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/creduce-2.9.0+git.20190422.763bd26/clang_delta/Makefile.am new/creduce-2.9.0+git.20190501.0fc288e/clang_delta/Makefile.am --- old/creduce-2.9.0+git.20190422.763bd26/clang_delta/Makefile.am 2019-04-23 05:41:40.000000000 +0200 +++ new/creduce-2.9.0+git.20190501.0fc288e/clang_delta/Makefile.am 2019-05-02 00:14:13.000000000 +0200 @@ -1,6 +1,6 @@ ## -*- mode: Makefile-Automake -*- ## -## Copyright (c) 2012, 2013, 2014, 2015, 2016, 2017, 2018 The University of Utah +## Copyright (c) 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019 The University of Utah ## All rights reserved. ## ## This file is distributed under the University of Illinois Open Source @@ -31,7 +31,7 @@ # we have to manually copy llvm-lit from LLVM's build dir. This is also the # reason that I didn't create a check-local rule for running clang_delta tests. # It would fail everywhere else llvm-lit does exist, e.g. travis? -check-clang-delta: tests/lit.site.cfg remove_lit_checks clang_delta +check-clang-delta: tests/lit.site.cfg tests/remove_lit_checks clang_delta @ echo "--- Running tests for clang_delta ---" @ $(LLVM_BINDIR)/llvm-lit -sv tests @@ -39,13 +39,13 @@ @ echo s=@abs_builddir[@]=$(abs_builddir)=g > lit.site.cfg.tmp @ echo s=@LLVM_BINDIR[@]=$(LLVM_BINDIR)=g >> lit.site.cfg.tmp @ echo s=@clang_delta_srcdir@=$(abs_srcdir)=g >> lit.site.cfg.tmp - @ sed -f lit.site.cfg.tmp tests/lit.site.cfg.in > $@ + @ sed -f lit.site.cfg.tmp $< > $@ @ rm -f lit.site.cfg.tmp -remove_lit_checks: tests/remove_lit_checks.in +tests/remove_lit_checks: tests/remove_lit_checks.in @ echo s=@PERL_EXECUTABLE[@]=$(PERL)=g > remove_lit_checks.tmp - @ sed -f remove_lit_checks.tmp tests/remove_lit_checks.in > tests/$@ - @ chmod +x tests/$@ + @ sed -f remove_lit_checks.tmp $< > $@ + @ chmod +x $@ @ rm -f remove_lit_checks.tmp # When setting `LLVMCXXFLAGS', we weed out command-line options that might be @@ -310,11 +310,18 @@ README.txt \ git_version.cpp.in \ test_transformation \ + tests/empty-struct-to-int/empty-struct.cpp \ + tests/empty-struct-to-int/empty-struct2.cpp \ + tests/empty-struct-to-int/empty-struct3.cpp \ + tests/empty-struct-to-int/empty-struct4.cpp \ + tests/empty-struct-to-int/empty-struct5.cpp \ tests/lit.cfg \ tests/lit.site.cfg.in \ tests/local-to-global/unnamed_1.c \ tests/local-to-global/unnamed_2.c \ tests/local-to-global/unnamed_3.c \ + tests/reduce-array-dim/non-type-temp-arg.cpp \ + tests/remove-nested-function/remove_nested_func1.cc \ tests/remove-unused-field/designated1.c \ tests/remove-unused-field/designated2.c \ tests/remove-unused-field/designated3.c \ @@ -322,11 +329,17 @@ tests/remove-unused-field/designated5.c \ tests/remove-unused-field/unused_field1.c \ tests/remove-unused-field/unused_field2.c \ + tests/remove-unused-field/unused_field3.cpp \ tests/remove-unused-var/unused_var.cpp \ tests/remove_lit_checks.in \ + tests/rename-class/rename-class1.cpp \ + tests/rename-class/rename-class2.cpp \ tests/rename-fun/test1.c \ tests/rename-fun/test1.h \ tests/rename-var/rename-var.c \ + tests/replace-derived-class/replace-derived1.cpp \ + tests/replace-derived-class/replace-derived2.cpp \ + tests/replace-derived-class/replace-derived3.cpp \ tests/union-to-struct/union1.c \ tests/union-to-struct/union2.c \ tests/union-to-struct/union3.c diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/creduce-2.9.0+git.20190422.763bd26/clang_delta/Makefile.in new/creduce-2.9.0+git.20190501.0fc288e/clang_delta/Makefile.in --- old/creduce-2.9.0+git.20190422.763bd26/clang_delta/Makefile.in 2019-04-23 05:41:40.000000000 +0200 +++ new/creduce-2.9.0+git.20190501.0fc288e/clang_delta/Makefile.in 2019-05-02 00:14:13.000000000 +0200 @@ -757,11 +757,18 @@ README.txt \ git_version.cpp.in \ test_transformation \ + tests/empty-struct-to-int/empty-struct.cpp \ + tests/empty-struct-to-int/empty-struct2.cpp \ + tests/empty-struct-to-int/empty-struct3.cpp \ + tests/empty-struct-to-int/empty-struct4.cpp \ + tests/empty-struct-to-int/empty-struct5.cpp \ tests/lit.cfg \ tests/lit.site.cfg.in \ tests/local-to-global/unnamed_1.c \ tests/local-to-global/unnamed_2.c \ tests/local-to-global/unnamed_3.c \ + tests/reduce-array-dim/non-type-temp-arg.cpp \ + tests/remove-nested-function/remove_nested_func1.cc \ tests/remove-unused-field/designated1.c \ tests/remove-unused-field/designated2.c \ tests/remove-unused-field/designated3.c \ @@ -769,11 +776,17 @@ tests/remove-unused-field/designated5.c \ tests/remove-unused-field/unused_field1.c \ tests/remove-unused-field/unused_field2.c \ + tests/remove-unused-field/unused_field3.cpp \ tests/remove-unused-var/unused_var.cpp \ tests/remove_lit_checks.in \ + tests/rename-class/rename-class1.cpp \ + tests/rename-class/rename-class2.cpp \ tests/rename-fun/test1.c \ tests/rename-fun/test1.h \ tests/rename-var/rename-var.c \ + tests/replace-derived-class/replace-derived1.cpp \ + tests/replace-derived-class/replace-derived2.cpp \ + tests/replace-derived-class/replace-derived3.cpp \ tests/union-to-struct/union1.c \ tests/union-to-struct/union2.c \ tests/union-to-struct/union3.c @@ -2370,7 +2383,7 @@ # we have to manually copy llvm-lit from LLVM's build dir. This is also the # reason that I didn't create a check-local rule for running clang_delta tests. # It would fail everywhere else llvm-lit does exist, e.g. travis? -check-clang-delta: tests/lit.site.cfg remove_lit_checks clang_delta +check-clang-delta: tests/lit.site.cfg tests/remove_lit_checks clang_delta @ echo "--- Running tests for clang_delta ---" @ $(LLVM_BINDIR)/llvm-lit -sv tests @@ -2378,13 +2391,13 @@ @ echo s=@abs_builddir[@]=$(abs_builddir)=g > lit.site.cfg.tmp @ echo s=@LLVM_BINDIR[@]=$(LLVM_BINDIR)=g >> lit.site.cfg.tmp @ echo s=@clang_delta_srcdir@=$(abs_srcdir)=g >> lit.site.cfg.tmp - @ sed -f lit.site.cfg.tmp tests/lit.site.cfg.in > $@ + @ sed -f lit.site.cfg.tmp $< > $@ @ rm -f lit.site.cfg.tmp -remove_lit_checks: tests/remove_lit_checks.in +tests/remove_lit_checks: tests/remove_lit_checks.in @ echo s=@PERL_EXECUTABLE[@]=$(PERL)=g > remove_lit_checks.tmp - @ sed -f remove_lit_checks.tmp tests/remove_lit_checks.in > tests/$@ - @ chmod +x tests/$@ + @ sed -f remove_lit_checks.tmp $< > $@ + @ chmod +x $@ @ rm -f remove_lit_checks.tmp clean-local: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/creduce-2.9.0+git.20190422.763bd26/configure new/creduce-2.9.0+git.20190501.0fc288e/configure --- old/creduce-2.9.0+git.20190422.763bd26/configure 2019-04-23 05:41:40.000000000 +0200 +++ new/creduce-2.9.0+git.20190501.0fc288e/configure 2019-05-02 00:14:13.000000000 +0200 @@ -19177,8 +19177,8 @@ fi if test "$missing_required_runtime_prereq" = "yes"; then : - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Read the INSTALL file for info about C-Reduce dependencies." >&5 -$as_echo "$as_me: WARNING: Read the INSTALL file for info about C-Reduce dependencies." >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Read the INSTALL.md file for info about C-Reduce dependencies." >&5 +$as_echo "$as_me: WARNING: Read the INSTALL.md file for info about C-Reduce dependencies." >&2;} fi # ...and then warn about optional run-time dependencies. @@ -19201,8 +19201,8 @@ $as_echo "$as_me: C-Reduce will use these tools if you install them in the future." >&6;} fi if test "$missing_optional_runtime_prereq" = "yes"; then : - { $as_echo "$as_me:${as_lineno-$LINENO}: Read the INSTALL file for info about C-Reduce dependencies." >&5 -$as_echo "$as_me: Read the INSTALL file for info about C-Reduce dependencies." >&6;} + { $as_echo "$as_me:${as_lineno-$LINENO}: Read the INSTALL.md file for info about C-Reduce dependencies." >&5 +$as_echo "$as_me: Read the INSTALL.md file for info about C-Reduce dependencies." >&6;} fi ############################################################################### diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/creduce-2.9.0+git.20190422.763bd26/configure.ac new/creduce-2.9.0+git.20190501.0fc288e/configure.ac --- old/creduce-2.9.0+git.20190422.763bd26/configure.ac 2019-04-23 05:41:40.000000000 +0200 +++ new/creduce-2.9.0+git.20190501.0fc288e/configure.ac 2019-05-02 00:14:13.000000000 +0200 @@ -157,7 +157,7 @@ ]) AS_IF([test "$missing_required_runtime_prereq" = "yes"], - AC_MSG_WARN([Read the INSTALL file for info about C-Reduce dependencies.])) + AC_MSG_WARN([Read the INSTALL.md file for info about C-Reduce dependencies.])) # ...and then warn about optional run-time dependencies. # @@ -172,7 +172,7 @@ AS_IF([test "$missing_optional_runtime_prereq" = "yes"], AC_MSG_NOTICE([C-Reduce will use these tools if you install them in the future.])) AS_IF([test "$missing_optional_runtime_prereq" = "yes"], - AC_MSG_NOTICE([Read the INSTALL file for info about C-Reduce dependencies.])) + AC_MSG_NOTICE([Read the INSTALL.md file for info about C-Reduce dependencies.])) ############################################################################### diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/creduce-2.9.0+git.20190422.763bd26/creduce/CMakeLists.txt new/creduce-2.9.0+git.20190501.0fc288e/creduce/CMakeLists.txt --- old/creduce-2.9.0+git.20190422.763bd26/creduce/CMakeLists.txt 2019-04-23 05:41:40.000000000 +0200 +++ new/creduce-2.9.0+git.20190501.0fc288e/creduce/CMakeLists.txt 2019-05-02 00:14:13.000000000 +0200 @@ -116,7 +116,7 @@ endif() if(missing_required_runtime_prereq STREQUAL "yes") - message("Read the INSTALL file for info about C-Reduce dependencies.") + message("Read the INSTALL.md file for info about C-Reduce dependencies.") endif() # ...and then warn about optional run-time dependencies. @@ -131,7 +131,7 @@ if(missing_optional_runtime_prereq STREQUAL "yes") message("C-Reduce will use these tools if you install them in the future.") - message("Read the INSTALL file for info about C-Reduce dependencies.") + message("Read the INSTALL.md file for info about C-Reduce dependencies.") endif() ############################################################################### diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/creduce-2.9.0+git.20190422.763bd26/scripts/travis_deps.sh new/creduce-2.9.0+git.20190501.0fc288e/scripts/travis_deps.sh --- old/creduce-2.9.0+git.20190422.763bd26/scripts/travis_deps.sh 2019-04-23 05:41:40.000000000 +0200 +++ new/creduce-2.9.0+git.20190501.0fc288e/scripts/travis_deps.sh 2019-05-02 00:14:13.000000000 +0200 @@ -38,7 +38,7 @@ wget -O - http://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add - apt-get update -qq -# Install LLVM 7.0. See file "INSTALL". +# Install LLVM 7.0. See file "INSTALL.md". apt-get install -y -qq \ llvm-7 \ llvm-7-dev \ @@ -47,7 +47,7 @@ clang-format-7 \ libedit-dev -# Install other C-Reduce dependencies. See file "INSTALL". +# Install other C-Reduce dependencies. See file "INSTALL.md". apt-get install -y -qq \ libexporter-lite-perl \ libfile-which-perl \