Changeset: ab2cb6fb036d for MonetDB URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=ab2cb6fb036d Added Files: clients/R/Tests/deps-install.timeout gdk/xoshiro256starstar.h sql/jdbc/tests/Tests/SQLcopyinto.SQL.bat sql/jdbc/tests/Tests/SQLcopyinto.SQL.sh sql/jdbc/tests/Tests/SQLcopyinto.stable.err sql/jdbc/tests/Tests/SQLcopyinto.stable.out sql/test/BugTracker-2018/Tests/convert-key.Bug-6648.sql sql/test/BugTracker-2018/Tests/convert-key.Bug-6648.stable.err sql/test/BugTracker-2018/Tests/convert-key.Bug-6648.stable.out sql/test/BugTracker-2018/Tests/in-subquery-having-Bug-6651.sql sql/test/BugTracker-2018/Tests/in-subquery-having-Bug-6651.stable.err sql/test/BugTracker-2018/Tests/in-subquery-having-Bug-6651.stable.out sql/test/BugTracker-2018/Tests/prepared-statement-with-udf.Bug-6650.sql sql/test/BugTracker-2018/Tests/timestamp-as-boolean.Bug-6642.sql sql/test/BugTracker-2018/Tests/timestamp-as-boolean.Bug-6642.stable.err sql/test/BugTracker-2018/Tests/timestamp-as-boolean.Bug-6642.stable.out sql/test/BugTracker-2018/Tests/timestamp-roundtrip.Bug-6640.sql sql/test/BugTracker-2018/Tests/timestamp-roundtrip.Bug-6640.stable.err sql/test/BugTracker-2018/Tests/timestamp-roundtrip.Bug-6640.stable.out sql/test/BugTracker-2018/Tests/update-transaction-select.Bug-6649.sql sql/test/BugTracker-2018/Tests/update-transaction-select.Bug-6649.stable.err sql/test/BugTracker-2018/Tests/update-transaction-select.Bug-6649.stable.out sql/test/sample/Tests/All sql/test/sample/Tests/sample.1.sql sql/test/sample/Tests/sample.1.stable.err sql/test/sample/Tests/sample.1.stable.out sql/test/sample/Tests/sample.10.sql sql/test/sample/Tests/sample.10.stable.err sql/test/sample/Tests/sample.10.stable.out sql/test/sample/Tests/sample.11.sql sql/test/sample/Tests/sample.11.stable.err sql/test/sample/Tests/sample.11.stable.out sql/test/sample/Tests/sample.12.sql sql/test/sample/Tests/sample.12.stable.err sql/test/sample/Tests/sample.12.stable.out sql/test/sample/Tests/sample.13.sql sql/test/sample/Tests/sample.13.stable.err sql/test/sample/Tests/sample.13.stable.out sql/test/sample/Tests/sample.14.sql sql/test/sample/Tests/sample.14.stable.err sql/test/sample/Tests/sample.14.stable.out sql/test/sample/Tests/sample.15.sql sql/test/sample/Tests/sample.15.stable.err sql/test/sample/Tests/sample.15.stable.out sql/test/sample/Tests/sample.2.sql sql/test/sample/Tests/sample.2.stable.err sql/test/sample/Tests/sample.2.stable.out sql/test/sample/Tests/sample.3.sql sql/test/sample/Tests/sample.3.stable.err sql/test/sample/Tests/sample.3.stable.out sql/test/sample/Tests/sample.4.sql sql/test/sample/Tests/sample.4.stable.err sql/test/sample/Tests/sample.4.stable.out sql/test/sample/Tests/sample.5.sql sql/test/sample/Tests/sample.5.stable.err sql/test/sample/Tests/sample.5.stable.out sql/test/sample/Tests/sample.6.sql sql/test/sample/Tests/sample.6.stable.err sql/test/sample/Tests/sample.6.stable.out sql/test/sample/Tests/sample.7.sql sql/test/sample/Tests/sample.7.stable.err sql/test/sample/Tests/sample.7.stable.out sql/test/sample/Tests/sample.8.sql sql/test/sample/Tests/sample.8.stable.err sql/test/sample/Tests/sample.8.stable.out sql/test/sample/Tests/sample.9.sql sql/test/sample/Tests/sample.9.stable.err sql/test/sample/Tests/sample.9.stable.out Removed Files: buildtools/autogen/setup.py Modified Files: .hgtags ChangeLog-Archive ChangeLog.Aug2018 MonetDB.spec NT/monetdb_config.h.in NT/rules.msc buildtools/ChangeLog-Archive buildtools/ChangeLog.Aug2018 buildtools/autogen/autogen/msc.py buildtools/doc/windowsbuild.rst clients/ChangeLog clients/R/Tests/dbapply.R clients/R/Tests/deps-install.R clients/R/Tests/deps-test.R clients/R/Tests/deps-test.timeout clients/R/Tests/dplyr-flights.R clients/R/Tests/dplyr-flights.stable.err clients/R/Tests/install.R clients/Tests/MAL-signatures.stable.out clients/Tests/MAL-signatures.stable.out.int128 clients/Tests/exports.stable.out clients/examples/C/sample0.c clients/examples/C/sample1.c clients/examples/C/sample4.c clients/examples/C/smack00.c clients/examples/C/smack01.c clients/mapiclient/ReadlineTools.c clients/mapiclient/dump.c clients/mapiclient/eventparser.c clients/mapiclient/mclient.c clients/mapiclient/mhelp.c clients/mapiclient/mnc.c clients/mapiclient/msqldump.c clients/mapiclient/stethoscope.c clients/mapiclient/tachograph.c clients/mapiclient/tomograph.c clients/mapilib/ChangeLog clients/mapilib/mapi.c clients/mapilib/mapi.h clients/mapilib/mapi.rc clients/odbc/driver/ODBCConvert.c clients/odbc/driver/ODBCDesc.c clients/odbc/driver/ODBCUtil.c clients/odbc/driver/ODBCUtil.h clients/odbc/driver/SQLError.c clients/odbc/driver/SQLExecute.c clients/odbc/driver/SQLGetDescRec.c clients/odbc/driver/SQLGetDiagField.c clients/odbc/driver/SQLGetDiagRec.c clients/odbc/driver/SQLGetTypeInfo.c clients/odbc/driver/driver.rc clients/odbc/winsetup/setup.rc common/stream/ChangeLog common/stream/stream.c common/stream/stream.h common/stream/stream_socket.h common/utils/mcrypt.c common/utils/msabaoth.c common/utils/mutils.c configure.ag debian/changelog debian/compat debian/control debian/fix-deb.sh debian/libmonetdb-client-dev.install debian/libmonetdb-client-odbc.install debian/libmonetdb-client10.install debian/libmonetdb-dev.install debian/libmonetdb-stream-dev.install debian/libmonetdb-stream11.install debian/libmonetdb17.install debian/libmonetdb5-server-bam.install debian/libmonetdb5-server-cfitsio.install debian/libmonetdb5-server-geom.install debian/libmonetdb5-server-lidar.install debian/monetdb-python2.install debian/monetdb-python3.install debian/monetdb-r.install debian/monetdb5-server-dev.install debian/monetdb5-server-hugeint.install debian/monetdb5-server.install debian/monetdb5-sql-hugeint.install debian/monetdb5-sql.install gdk/Makefile.ag gdk/gdk.h gdk/gdk_align.c gdk/gdk_atoms.c gdk/gdk_bat.c gdk/gdk_batop.c gdk/gdk_bbp.c gdk/gdk_calc.c gdk/gdk_cross.c gdk/gdk_heap.c gdk/gdk_join.c gdk/gdk_logger.c gdk/gdk_logger.h gdk/gdk_orderidx.c gdk/gdk_posix.c gdk/gdk_project.c gdk/gdk_qsort.c gdk/gdk_qsort_impl.h gdk/gdk_sample.c gdk/gdk_select.c gdk/gdk_storage.c gdk/gdk_tm.c gdk/gdk_unique.c gdk/gdk_utils.c gdk/libbat.rc geom/monetdb5/geom_upgrade.c libversions monetdb5/extras/mal_optimizer_template/Tests/opt_sql_append.stable.out monetdb5/mal/Tests/tst1150.malC monetdb5/mal/mal_authorize.c monetdb5/mal/mal_client.c monetdb5/mal/mal_client.h monetdb5/mal/mal_exception.c monetdb5/mal/mal_import.c monetdb5/mal/mal_instruction.c monetdb5/mal/mal_linker.c monetdb5/mal/mal_parser.c monetdb5/mal/mal_readline.c monetdb5/mal/mal_session.c monetdb5/mal/mal_session.h monetdb5/modules/atoms/blob.c monetdb5/modules/atoms/color.c monetdb5/modules/atoms/inet.c monetdb5/modules/atoms/json.c monetdb5/modules/atoms/mtime.c monetdb5/modules/atoms/str.c monetdb5/modules/atoms/streams.c monetdb5/modules/atoms/url.c monetdb5/modules/atoms/uuid.c monetdb5/modules/mal/mal_io.c monetdb5/modules/mal/mal_mapi.c monetdb5/modules/mal/pcre.c monetdb5/modules/mal/projectionpath.c monetdb5/modules/mal/remote.c monetdb5/modules/mal/sample.c monetdb5/modules/mal/sample.h monetdb5/modules/mal/sample.mal monetdb5/modules/mal/tablet.c monetdb5/modules/mal/tokenizer.c monetdb5/modules/mal/txtsim.c monetdb5/optimizer/opt_candidates.c monetdb5/optimizer/opt_dataflow.c monetdb5/optimizer/opt_macro.c monetdb5/optimizer/opt_profiler.c monetdb5/optimizer/opt_pushselect.c monetdb5/optimizer/opt_querylog.c monetdb5/tools/libmonetdb5.rc rpm.mk.in sql/ChangeLog sql/backends/monet5/UDF/capi/capi.c sql/backends/monet5/UDF/pyapi/type_conversion.c sql/backends/monet5/UDF/pyapi/type_conversion.h sql/backends/monet5/mal_backend.c sql/backends/monet5/mal_backend.h sql/backends/monet5/rel_bin.c sql/backends/monet5/sql.c sql/backends/monet5/sql.mal sql/backends/monet5/sql_assert.c sql/backends/monet5/sql_gencode.c sql/backends/monet5/sql_result.c sql/backends/monet5/sql_result.h sql/backends/monet5/sql_scenario.c sql/backends/monet5/sql_statement.c sql/backends/monet5/sql_statement.h sql/backends/monet5/vaults/bam/bam_db_interface.c sql/backends/monet5/vaults/bam/bam_export.c sql/backends/monet5/vaults/bam/bam_globals.c sql/backends/monet5/vaults/bam/bam_globals.h sql/backends/monet5/vaults/bam/bam_loader.c sql/backends/monet5/vaults/bam/bam_wrapper.c sql/backends/monet5/vaults/shp/shp.c sql/backends/monet5/wlr.c sql/benchmarks/tpch/load-sf-0.01-LOCKED.sql sql/benchmarks/tpch/load-sf-0.01.sql sql/benchmarks/tpch/load-sf-1.sql sql/common/sql_list.c sql/common/sql_types.c sql/include/sql_catalog.h sql/include/sql_hash.h sql/jdbc/tests/Tests/All sql/server/rel_optimizer.c sql/server/rel_select.c sql/server/rel_sequence.c sql/server/rel_updates.c sql/server/sql_atom.c sql/server/sql_decimal.c sql/server/sql_parser.h sql/server/sql_parser.y sql/server/sql_partition.c sql/server/sql_scan.c sql/storage/bat/bat_logger.c sql/storage/bat/bat_storage.c sql/storage/sql_storage.h sql/storage/store.c sql/test/BugTracker-2009/Tests/copy_multiple_files.SF-2902320.stable.out sql/test/BugTracker-2012/Tests/update_crash.Bug-2655.sql sql/test/BugTracker-2012/Tests/update_crash.Bug-2655.stable.out sql/test/BugTracker-2017/Tests/cleanup_statistics.Bug-6439.stable.out sql/test/BugTracker-2017/Tests/cleanup_statistics.Bug-6439.stable.out.FreeBSD sql/test/BugTracker-2017/Tests/cleanup_statistics.Bug-6439.stable.out.Windows sql/test/BugTracker-2018/Tests/All sql/test/BugTracker-2018/Tests/remote-table-where-is-null.Bug-6601.py sql/test/BugTracker/Tests/drop_sequence_crash.SF-1505973.sql sql/test/BugTracker/Tests/drop_sequence_crash_2.SF-1505973.sql sql/test/Tests/seq-default.stable.out sql/test/Tests/systemfunctions.stable.out sql/test/Tests/systemfunctions.stable.out.int128 sql/test/Users/Tests/copyinto.stable.err sql/test/Users/Tests/copyinto.stable.out sql/test/emptydb-upgrade-chain-hge/Tests/upgrade.stable.out.int128 sql/test/emptydb-upgrade-chain/Tests/upgrade.stable.out sql/test/emptydb-upgrade-chain/Tests/upgrade.stable.out.32bit sql/test/emptydb-upgrade-chain/Tests/upgrade.stable.out.int128 sql/test/emptydb-upgrade-hge/Tests/upgrade.stable.out.int128 sql/test/emptydb-upgrade/Tests/upgrade.stable.out sql/test/emptydb-upgrade/Tests/upgrade.stable.out.32bit sql/test/emptydb-upgrade/Tests/upgrade.stable.out.int128 sql/test/emptydb/Tests/check.stable.out sql/test/emptydb/Tests/check.stable.out.32bit sql/test/emptydb/Tests/check.stable.out.int128 sql/test/group-concat/Tests/groupconcat01.sql sql/test/group-concat/Tests/groupconcat01.stable.out sql/test/group-concat/Tests/groupconcat05.sql sql/test/group-concat/Tests/groupconcat05.stable.out sql/test/seq-default.sql sql/test/testdb-upgrade-chain-hge/Tests/upgrade.stable.out.int128 sql/test/testdb-upgrade-chain/Tests/upgrade.stable.out sql/test/testdb-upgrade-chain/Tests/upgrade.stable.out.32bit sql/test/testdb-upgrade-chain/Tests/upgrade.stable.out.int128 sql/test/testdb-upgrade-hge/Tests/upgrade.stable.out.int128 sql/test/testdb-upgrade/Tests/upgrade.stable.out sql/test/testdb-upgrade/Tests/upgrade.stable.out.32bit sql/test/testdb-upgrade/Tests/upgrade.stable.out.int128 sql/test/testdb-upgrade/Tests/upgrade.stable.out.powerpc64.int128 testing/Mtest.py.in testing/exportutils.py testing/listexports.py.in tools/merovingian/daemon/client.c tools/merovingian/daemon/config/monetdbd.in tools/merovingian/daemon/connections.c tools/merovingian/daemon/multiplex-funnel.c tools/merovingian/daemon/proxy.c tools/merovingian/utils/control.c tools/merovingian/utils/database.c tools/merovingian/utils/properties.c tools/merovingian/utils/utils.c tools/mserver/monet_version.c.in tools/mserver/mserver5.c vertoo.data Branch: candidate-type Log Message:
Merge with default branch. diffs (truncated from 61965 to 300 lines): diff --git a/.hgtags b/.hgtags --- a/.hgtags +++ b/.hgtags @@ -712,3 +712,8 @@ 3aaf6c916bd870cc478d3973241bc24cafbe1655 a242d6de1de3dc99a9583d96a61c53044108e576 Aug2018_7 3aaf6c916bd870cc478d3973241bc24cafbe1655 Aug2018_release a242d6de1de3dc99a9583d96a61c53044108e576 Aug2018_release +a2d8e19ac9d6f847dd59c5f12ff48aae815e6b5d Aug2018_9 +a2d8e19ac9d6f847dd59c5f12ff48aae815e6b5d Aug2018_SP1_release +24d62811fd9372b1ee7525aa1cf2fc8860d20bf7 Aug2018_11 +a2d8e19ac9d6f847dd59c5f12ff48aae815e6b5d Aug2018_SP1_release +24d62811fd9372b1ee7525aa1cf2fc8860d20bf7 Aug2018_SP1_release diff --git a/ChangeLog-Archive b/ChangeLog-Archive --- a/ChangeLog-Archive +++ b/ChangeLog-Archive @@ -1,6 +1,9 @@ # DO NOT EDIT THIS FILE -- MAINTAINED AUTOMATICALLY # This file contains past ChangeLog entries +* Wed Oct 10 2018 Sjoerd Mullender <sjo...@acm.org> - 11.31.11-20181011 +- Some subtle dependencies between RPMs have been fixed. + * Wed Feb 14 2018 Stefan Manegold <stefan.maneg...@cwi.nl> - 11.29.1-20180315 - mclient's execution time profiling options and output format have been changed. Instead of implicitly via the "--interactive"/"-i" diff --git a/ChangeLog.Aug2018 b/ChangeLog.Aug2018 --- a/ChangeLog.Aug2018 +++ b/ChangeLog.Aug2018 @@ -1,2 +1,3 @@ # ChangeLog file for devel # This file is updated with Maddlog +* Wed Oct 10 2018 Sjoerd Mullender <sjo...@acm.org> diff --git a/MonetDB.spec b/MonetDB.spec --- a/MonetDB.spec +++ b/MonetDB.spec @@ -14,6 +14,10 @@ %global release %{buildno}%{?dist} +# This package contains monetdbd which is a (long running) daemon, so +# we need to harden: +%global _hardened_build 1 + # On RedHat Enterprise Linux and derivatives, if the Extra Packages # for Enterprise Linux (EPEL) repository is available, you can enable # its use by providing rpmbuild or mock with the "--with epel" option. @@ -108,7 +112,7 @@ Vendor: MonetDB BV <i...@monetdb.org> Group: Applications/Databases License: MPLv2.0 URL: https://www.monetdb.org/ -Source: https://www.monetdb.org/downloads/sources/Aug2018/%{name}-%{version}.tar.bz2 +Source: https://www.monetdb.org/downloads/sources/Aug2018-SP1/%{name}-%{version}.tar.bz2 # we need systemd for the _unitdir macro to exist # we need checkpolicy and selinux-policy-devel for the SELinux policy @@ -350,7 +354,8 @@ This package contains the files needed t Summary: MonetDB ODBC driver Group: Applications/Databases Requires: %{name}-client%{?_isa} = %{version}-%{release} -Requires(pre): unixODBC +Requires(post): unixODBC +Requires(postun): unixODBC %description client-odbc MonetDB is a database management system that is developed from a @@ -737,11 +742,7 @@ used from the MAL level. %package SQL-server5 Summary: MonetDB5 SQL server modules Group: Applications/Databases -Requires: MonetDB5-server%{?_isa} = %{version}-%{release} -%if %{?rhel:0}%{!?rhel:1} || 0%{?rhel} >= 7 -# RHEL >= 7, and all current Fedora -Requires: %{_bindir}/systemd-tmpfiles -%endif +Requires(pre): MonetDB5-server%{?_isa} = %{version}-%{release} %if (0%{?fedora} >= 22) %if %{with hugeint} Recommends: %{name}-SQL-server5-hugeint%{?_isa} = %{version}-%{release} @@ -758,11 +759,6 @@ accelerators. It also has an SQL fronte This package contains the SQL frontend for MonetDB. If you want to use SQL with MonetDB, you will need to install this package. -%if %{?rhel:0}%{!?rhel:1} || 0%{?rhel} >= 7 -%post SQL-server5 -systemd-tmpfiles --create %{_sysconfdir}/tmpfiles.d/monetdbd.conf -%endif - %files SQL-server5 %defattr(-,root,root) %{_bindir}/monetdb @@ -770,7 +766,8 @@ systemd-tmpfiles --create %{_sysconfdir} %dir %attr(775,monetdb,monetdb) %{_localstatedir}/log/monetdb %if %{?rhel:0}%{!?rhel:1} || 0%{?rhel} >= 7 # RHEL >= 7, and all current Fedora -%{_sysconfdir}/tmpfiles.d/monetdbd.conf +%dir %attr(775,monetdb,monetdb) /run/monetdb +%{_tmpfilesdir}/monetdbd.conf %{_unitdir}/monetdbd.service %else # RedHat Enterprise Linux < 7 @@ -881,9 +878,12 @@ Group: Applications/Databases %if "%{?_selinux_policy_version}" != "" Requires: selinux-policy >= %{?_selinux_policy_version} %endif -Requires: %{name}-SQL-server5 = %{version}-%{release} -Requires(post): /usr/sbin/semodule, /sbin/restorecon, /sbin/fixfiles, MonetDB-SQL-server5, MonetDB5-server -Requires(postun): /usr/sbin/semodule, /sbin/restorecon, /sbin/fixfiles, MonetDB-SQL-server5, MonetDB5-server +Requires(post): MonetDB5-server%{?_isa} = %{version}-%{release} +Requires(postun): MonetDB5-server%{?_isa} = %{version}-%{release} +Requires(post): %{name}-SQL-server5%{?_isa} = %{version}-%{release} +Requires(postun): %{name}-SQL-server5%{?_isa} = %{version}-%{release} +Requires(post): /usr/sbin/semodule, /sbin/restorecon, /sbin/fixfiles +Requires(postun): /usr/sbin/semodule, /sbin/restorecon, /sbin/fixfiles BuildArch: noarch %global selinux_types %(%{__awk} '/^#[[:space:]]*SELINUXTYPE=/,/^[^#]/ { if ($3 == "-") printf "%s ", $2 }' /etc/selinux/config 2>/dev/null) @@ -904,6 +904,8 @@ do /usr/sbin/semodule -s ${selinuxvariant} -i \ %{_datadir}/selinux/${selinuxvariant}/monetdb.pp &> /dev/null || : done +# use %{_localstatedir}/run/monetdb here for EPEL 6; on other systems, +# %{_localstatedir}/run is a symlink to /run /sbin/restorecon -R %{_localstatedir}/monetdb5 %{_localstatedir}/log/monetdb %{_localstatedir}/run/monetdb %{_bindir}/monetdbd %{_bindir}/mserver5 %{_unitdir}/monetdbd.service &> /dev/null || : /usr/bin/systemctl try-restart monetdbd.service @@ -917,6 +919,8 @@ if [ $1 -eq 0 ] ; then do /usr/sbin/semodule -s ${selinuxvariant} -r monetdb &> /dev/null || : done + # use %{_localstatedir}/run/monetdb here for EPEL 6; on other systems, + # %{_localstatedir}/run is a symlink to /run /sbin/restorecon -R %{_localstatedir}/monetdb5 %{_localstatedir}/log/monetdb %{_localstatedir}/run/monetdb %{_bindir}/monetdbd %{_bindir}/mserver5 %{_unitdir}/monetdbd.service &> /dev/null || : if [ $active = active ]; then /usr/bin/systemctl start monetdbd.service @@ -939,11 +943,18 @@ fi # that causes it to report an internal error when compiling # testing/difflib.c. The work around is to not use -fstack-protector-strong. # The bug exhibits itself on CentOS 7 on AArch64. -if [ `gcc -v 2>&1 | grep -c 'Target: aarch64\|gcc version 4\.'` -eq 2 ]; then - # set CFLAGS before configure, so that this value gets used - CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -grecord-gcc-switches ' - export CFLAGS -fi +# Everywhere else, add -Wno-format-truncation to the compiler options +# to reduce the number of warnings during compilation. +%ifarch aarch64 + if gcc -v 2>&1 | grep -q 'gcc version 4\.'; then + CFLAGS="${CFLAGS:-$(echo %optflags | sed 's/-fstack-protector-strong//')" + else + CFLAGS="${CFLAGS:-%optflags -Wno-format-truncation}" + fi +%else + CFLAGS="${CFLAGS:-%optflags -Wno-format-truncation}" +%endif +export CFLAGS %{configure} \ --enable-assert=no \ --enable-console=yes \ @@ -1013,10 +1024,23 @@ cd - %install %make_install -mkdir -p %{buildroot}%{_localstatedir}/MonetDB -mkdir -p %{buildroot}%{_localstatedir}/monetdb5/dbfarm -mkdir -p %{buildroot}%{_localstatedir}/log/monetdb -mkdir -p %{buildroot}%{_localstatedir}/run/monetdb +# move file to correct location +%if %{?rhel:0}%{!?rhel:1} || 0%{?rhel} >= 7 +mkdir -p %{buildroot}%{_tmpfilesdir} +mv %{buildroot}%{_sysconfdir}/tmpfiles.d/monetdbd.conf %{buildroot}%{_tmpfilesdir} +rmdir %{buildroot}%{_sysconfdir}/tmpfiles.d +%endif + +install -d -m 0750 %{buildroot}%{_localstatedir}/MonetDB +install -d -m 0770 %{buildroot}%{_localstatedir}/monetdb5/dbfarm +install -d -m 0775 %{buildroot}%{_localstatedir}/log/monetdb +%if %{?rhel:0}%{!?rhel:1} || 0%{?rhel} >= 7 +# RHEL >= 7, and all current Fedora +install -d -m 0775 %{buildroot}/run/monetdb +%else +# RedHat Enterprise Linux < 7 +install -d -m 0775 %{buildroot}%{_localstatedir}/run/monetdb +%endif # remove unwanted stuff # .la files @@ -1038,6 +1062,26 @@ done %postun -p /sbin/ldconfig %changelog +* Thu Oct 11 2018 Sjoerd Mullender <sjo...@acm.org> - 11.31.11-20181011 +- Rebuilt. +- BZ#6648: key property potentially wrong after type conversion +- BZ#6649: Projection inside within transaction gives wrong results + +* Wed Oct 10 2018 Sjoerd Mullender <sjo...@acm.org> - 11.31.11-20181011 +- MonetDB: Some subtle dependencies between RPMs have been fixed. + +* Fri Oct 05 2018 Sjoerd Mullender <sjo...@acm.org> - 11.31.9-20181005 +- Rebuilt. +- BZ#6640: timestamp_to_str returning incorrectly adjusted results +- BZ#6641: race condition in SQL UDF with update +- BZ#6642: Hanging query +- BZ#6646: Example SQLcopyinto.java does not work + +* Wed Oct 3 2018 Sjoerd Mullender <sjo...@acm.org> - 11.31.9-20181005 +- buildtools: On Ubuntu 18.10 (Cosmic Cuttlefish), the libmonetdb5-server-bam package + cannot be built because of an incompatibility in the libbam library + (it cannot be used in a shared object. + * Wed Aug 29 2018 Sjoerd Mullender <sjo...@acm.org> - 11.31.7-20180829 - Rebuilt. diff --git a/NT/monetdb_config.h.in b/NT/monetdb_config.h.in --- a/NT/monetdb_config.h.in +++ b/NT/monetdb_config.h.in @@ -80,9 +80,6 @@ /* Define if building universal (internal helper macro) */ /* #undef AC_APPLE_UNIVERSAL_BUILD */ -/* location where binaries are installed */ -/* #undef BINDIR */ - /* read-only architecture-independent data */ #define DATA_DIR PREFIX "\\share" @@ -95,6 +92,9 @@ /* architecture-dependent files */ #define EXEC_PREFIX PREFIX +/* location where binaries are installed */ +#define BINDIR EXEC_PREFIX "\\bin" + /* Define to nothing if C supports flexible array members, and to 1 if it does not. That way, with a declaration like `struct s { int n; double d[FLEXIBLE_ARRAY_MEMBER]; };', the struct hack can be used with pre-C99 @@ -910,5 +910,6 @@ typedef __uint128_t uhge; #define PROMPT1 "\001\001\n" /* prompt: ready for new query */ #define PROMPT2 "\001\002\n" /* prompt: more data needed */ +#define PROMPT3 "\001\003\n" /* prompt: get file content */ #endif /* _SEEN_MONETDB_CONFIG_H */ diff --git a/buildtools/ChangeLog-Archive b/buildtools/ChangeLog-Archive --- a/buildtools/ChangeLog-Archive +++ b/buildtools/ChangeLog-Archive @@ -1,6 +1,11 @@ # DO NOT EDIT THIS FILE -- MAINTAINED AUTOMATICALLY # This file contains past ChangeLog entries +* Wed Oct 3 2018 Sjoerd Mullender <sjo...@acm.org> - 11.31.9-20181005 +- On Ubuntu 18.10 (Cosmic Cuttlefish), the libmonetdb5-server-bam package + cannot be built because of an incompatibility in the libbam library + (it cannot be used in a shared object. + * Tue Aug 28 2018 Sjoerd Mullender <sjo...@acm.org> - 11.31.5-20180829 - Build the MonetDB-cfitsio RPM and libmonetdb5-server-cfitsio Debian/Ubuntu package. diff --git a/buildtools/autogen/autogen/msc.py b/buildtools/autogen/autogen/msc.py --- a/buildtools/autogen/autogen/msc.py +++ b/buildtools/autogen/autogen/msc.py @@ -326,18 +326,16 @@ def msc_dep(fd, tar, deplist, msc): fd.write(getsrc) x, de = split_filename(deplist[0]) of = b + '.' + de - of = msc_translate_file(of, msc) fd.write('\t$(YACC) $(YFLAGS) $(AM_YFLAGS) "%s"\n' % of) - if ext == "tab.c": + elif ext == "tab.c": fd.write(getsrc) x, de = split_filename(deplist[0]) of = b + '.' + de - of = msc_translate_file(of, msc) fd.write('\t$(YACC) $(YFLAGS) $(AM_YFLAGS) "%s"\n' % of) - if ext == "yy.c": + elif ext == "yy.c": fd.write(getsrc) fd.write('\t$(LEX) $(LFLAGS) $(AM_LFLAGS) "%s.l"\n' % b) - if ext in ("obj", "tab.obj", "yy.obj"): + elif ext in ("obj", "tab.obj", "yy.obj"): target, name = msc_find_target(tar, msc) if name[0] == '_': name = name[1:] @@ -346,7 +344,7 @@ def msc_dep(fd, tar, deplist, msc): if dext in ("c", "cpp", "yy.c", "tab.c"): fd.write('\t$(CC) /EHsc $(CFLAGS) $(%s_CFLAGS) $(GENDLL) -D_CRT_SECURE_NO_WARNINGS -DLIB%s "-Fo%s" -c "%s"\n' % (split_filename(msc_basename(src))[0], name, t, src)) - if ext == 'res': + elif ext == 'res': fd.write("\t$(RC) -fo%s %s\n" % (t, src)) def msc_deps(fd, deps, objext, msc): diff --git a/buildtools/autogen/setup.py b/buildtools/autogen/setup.py deleted file mode 100755 --- a/buildtools/autogen/setup.py +++ /dev/null @@ -1,21 +0,0 @@ -#!/usr/bin/env python - -# This Source Code Form is subject to the terms of the Mozilla Public _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list