Hello community, here is the log from the commit of package fusecompress for openSUSE:Factory checked in at 2015-06-02 10:02:58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/fusecompress (Old) and /work/SRC/openSUSE:Factory/.fusecompress.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "fusecompress" Changes: -------- --- /work/SRC/openSUSE:Factory/fusecompress/fusecompress.changes 2015-01-14 11:46:05.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.fusecompress.new/fusecompress.changes 2015-06-02 10:02:59.000000000 +0200 @@ -1,0 +2,6 @@ +Mon May 25 18:50:53 UTC 2015 - [email protected] + +- update to unreleased version 2.6+git20150501: + * Fix compile time errors with boost and GCC-5 + +------------------------------------------------------------------- Old: ---- fusecompress-2.6+git20120612.tar.xz New: ---- fusecompress-2.6+git20150501.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ fusecompress.spec ++++++ --- /var/tmp/diff_new_pack.iN5vFL/_old 2015-06-02 10:03:00.000000000 +0200 +++ /var/tmp/diff_new_pack.iN5vFL/_new 2015-06-02 10:03:00.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package fusecompress # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: fusecompress -Version: 2.6+git20120612 +Version: 2.6+git20150501 Release: 0 Summary: FUSE-based filesystem with transparent compression License: GPL-2.0 ++++++ fusecompress-2.6+git20120612.tar.xz -> fusecompress-2.6+git20150501.tar.xz ++++++ ++++ 3236 lines of diff (skipped) ++++ retrying with extended exclude list diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/fusecompress-2.6+git20120612/README new/fusecompress-2.6+git20150501/README --- old/fusecompress-2.6+git20120612/README 2012-08-16 12:24:19.000000000 +0200 +++ new/fusecompress-2.6+git20150501/README 2015-05-01 16:15:16.000000000 +0200 @@ -80,7 +80,7 @@ If you don't have pkg-tool installed, try following: - FUSE_CFLAGS="-D_GNU_SOURCE -D_REENTRANT -D_POSIX_C_SOURCE=200112L -D_POSIX_SOURCE -D_SVID_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=500 -pedantic -Wno-long-long -Wall -fpermissive -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=26" FUSE_LIBS="-lfuse" ./configure --with-boost=/usr/include/ --with-boost-libdir=/usr/lib64 + FUSE_CFLAGS="-D_GNU_SOURCE -D_REENTRANT -D_POSIX_C_SOURCE=200112L -D_POSIX_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=500 -pedantic -Wno-long-long -Wall -fpermissive -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=26" FUSE_LIBS="-lfuse" ./configure --with-boost=/usr/include/ --with-boost-libdir=/usr/lib64 If your boost library was compiled for 32bit system without support for long files (bigger than 2GiB) configure script prints this error message: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/fusecompress-2.6+git20120612/src/LayerMap.hpp new/fusecompress-2.6+git20150501/src/LayerMap.hpp --- old/fusecompress-2.6+git20120612/src/LayerMap.hpp 2012-08-16 12:24:19.000000000 +0200 +++ new/fusecompress-2.6+git20150501/src/LayerMap.hpp 2015-05-01 16:15:16.000000000 +0200 @@ -1,5 +1,5 @@ /* - (C) Copyright Milan Svoboda 2009. + (C) Copyright Milan Svoboda 2009 - 2015. This file is part of FuseCompress. @@ -14,7 +14,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with Foobar. If not, see <http://www.gnu.org/licenses/>. + along with FuseCompress. If not, see <http://www.gnu.org/licenses/>. */ #ifndef LayerMap_H @@ -23,6 +23,7 @@ #include <iostream> #include <climits> +#include <boost/serialization/serialization.hpp> #include <boost/serialization/set.hpp> #include <boost/serialization/tracking.hpp> #include <boost/serialization/version.hpp> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/fusecompress-2.6+git20120612/src/LinearMap.cpp new/fusecompress-2.6+git20150501/src/LinearMap.cpp --- old/fusecompress-2.6+git20120612/src/LinearMap.cpp 2012-08-16 12:24:19.000000000 +0200 +++ new/fusecompress-2.6+git20150501/src/LinearMap.cpp 2015-05-01 16:15:16.000000000 +0200 @@ -1,7 +1,5 @@ /* - (C) Copyright Milan Svoboda 2009. - - (C) Copyright Milan Svoboda 2009. + (C) Copyright Milan Svoboda 2009 - 2015. This file is part of FuseCompress. @@ -16,7 +14,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with Foobar. If not, see <http://www.gnu.org/licenses/>. + along with FuseCompress. If not, see <http://www.gnu.org/licenses/>. */ #include <errno.h> @@ -62,7 +60,7 @@ { con_t::iterator prev = it; --prev; - if (prev->first + prev->second->size == offset) + if ((off_t) (prev->first + prev->second->size) == offset) { // Merge with previous Buffer // @@ -75,7 +73,7 @@ } if (it != m_map.end()) { - if (it->first == offset + size) + if (it->first == (off_t) (offset + size)) { // Merge with next Buffer // diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/fusecompress-2.6+git20120612/src/Makefile.am new/fusecompress-2.6+git20150501/src/Makefile.am --- old/fusecompress-2.6+git20120612/src/Makefile.am 2012-08-16 12:24:19.000000000 +0200 +++ new/fusecompress-2.6+git20150501/src/Makefile.am 2015-05-01 16:15:16.000000000 +0200 @@ -58,8 +58,7 @@ -D_REENTRANT \ -D_POSIX_C_SOURCE=200112L \ -D_POSIX_SOURCE \ - -D_SVID_SOURCE \ - -D_BSD_SOURCE \ + -D_DEFAULT_SOURCE \ -D_XOPEN_SOURCE=500 \ -Wno-long-long \ -Wall \ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/fusecompress-2.6+git20120612/src/Memory.cpp new/fusecompress-2.6+git20150501/src/Memory.cpp --- old/fusecompress-2.6+git20120612/src/Memory.cpp 2012-08-16 12:24:19.000000000 +0200 +++ new/fusecompress-2.6+git20150501/src/Memory.cpp 2015-05-01 16:15:16.000000000 +0200 @@ -1,5 +1,5 @@ /* - (C) Copyright Milan Svoboda 2009. + (C) Copyright Milan Svoboda 2009 - 2015. This file is part of FuseCompress. @@ -14,7 +14,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with Foobar. If not, see <http://www.gnu.org/licenses/>. + along with FuseCompress. If not, see <http://www.gnu.org/licenses/>. */ #include <algorithm> @@ -284,7 +284,7 @@ ssize_t tmp = min(m_FileSize - offset, (off_t) len); assert(tmp >= 0); - assert(tmp <= len); + assert((size_t) tmp <= len); memset(buf, 0, tmp); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/fusecompress-2.6+git20120612/src/main_offline.cpp new/fusecompress-2.6+git20150501/src/main_offline.cpp --- old/fusecompress-2.6+git20120612/src/main_offline.cpp 2012-08-16 12:24:19.000000000 +0200 +++ new/fusecompress-2.6+git20150501/src/main_offline.cpp 2015-05-01 16:15:16.000000000 +0200 @@ -1,5 +1,5 @@ /* - (C) Copyright Milan Svoboda 2009. + (C) Copyright Milan Svoboda 2009 - 2015. This file is part of FuseCompress. @@ -14,7 +14,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with Foobar. If not, see <http://www.gnu.org/licenses/>. + along with FuseCompress. If not, see <http://www.gnu.org/licenses/>. */ #include "config.h" @@ -194,7 +194,11 @@ if (!((mode == FTW_F) && (S_ISREG(i_st->st_mode)))) return 0; - fs::path input(i, fs::native); + fs::path input(i +#if BOOST_VERSION <= 104600 + , fs::native +#endif + ); fs::path input_directory(input.branch_path()); fs::path output(input_directory / "XXXXXX"); @@ -416,7 +420,11 @@ } } - fs::path pathLower(g_dirLower, fs::native); + fs::path pathLower(g_dirLower +#if BOOST_VERSION <= 104600 + , fs::native +#endif + ); if (!pathLower.is_complete()) { @@ -430,7 +438,11 @@ exit(EXIT_FAILURE); } - pathLower = fs::path(cwd, fs::native) / pathLower; + pathLower = fs::path(cwd +#if BOOST_VERSION <= 104600 + , fs::native +#endif + ) / pathLower; } // Set signal handler to catch SIGINT (CTRL+C). diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/fusecompress-2.6+git20120612/src/tests/Makefile.am new/fusecompress-2.6+git20150501/src/tests/Makefile.am --- old/fusecompress-2.6+git20120612/src/tests/Makefile.am 2012-08-16 12:24:19.000000000 +0200 +++ new/fusecompress-2.6+git20150501/src/tests/Makefile.am 2015-05-01 16:15:16.000000000 +0200 @@ -46,8 +46,7 @@ -D_REENTRANT \ -D_POSIX_C_SOURCE=200112L \ -D_POSIX_SOURCE \ - -D_SVID_SOURCE \ - -D_BSD_SOURCE \ + -D_DEFAULT_SOURCE \ -D_XOPEN_SOURCE=500 \ -Wno-long-long \ -Wall \
