When I try to compile this within Manjaro it fails.
Hope someone can help as this is what goes on.
Preparing... Cloning fatx build files... Checking fatx dependencies... Resolving dependencies... Checking inter-conflicts...
Building fatx...
==> Making package: fatx 1.15-3 (Sun 07 Mar 2021 11:00:05 GMT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found fatx-1.15.tar.gz
-> Found fatx.patch
==> Validating source files with sha256sums...
fatx-1.15.tar.gz ... Passed
fatx.patch ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
-> Extracting fatx-1.15.tar.gz with bsdtar
==> Starting prepare()...
patching file fatx.cpp
==> Removing existing $pkgdir/ directory...
==> Starting build()...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for main in -lfuse... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gawk... (cached) gawk
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking whether g++ supports C++14 features by default... yes
checking how to run the C++ preprocessor... g++ -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for boostlib >= 1.55... yes
checking whether the Boost::Program_Options library is available... yes
checking for exit in -lboost_program_options... yes
checking for main in -lpthread... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for stdbool.h that conforms to C99... no
checking for Bool... no
checking for uid_t in sys/types.h... yes
checking for inline... inline
checking for int64_t... yes
checking for mode_t... yes
checking for off_t... yes
checking for size_t... yes
checking for struct stat.st_blksize... yes
checking for struct stat.st_blocks... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for uint8_t... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking whether time.h and sys/time.h may both be included... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for alarm... yes
checking for working mktime... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking for memset... yes
checking for doxygen... /usr/bin/doxygen
checking for perl... /usr/bin/perl
checking for dot... no
configure: WARNING: dot not found - will not generate graphics for doxygen documentation
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
make all-am
make[1]: Entering directory '/var/tmp/pamac-build-xbox/fatx/src/fatx-1.15'
g++ -DHAVE_CONFIG_H -I. -D_FORTIFY_SOURCE=2 -Wall -Wextra -pedantic -Wno-long-long -D_FILE_OFFSET_BITS=64 -D NO_SPLICE -D NO_HANDLR -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -MT fatx-fatx.o -MD -MP -MF .deps/fatx-fatx.Tpo -c -o fatx-fatx.o test -f 'fatx.cpp' || echo './'
fatx.cpp
fatx.cpp: In constructor ‘buffer::buffer(streamptr, streamptr)’:
fatx.cpp:259:30: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers]
259 | size_t siz = min<streamptr>((const streamptr)max_buf, s);
| ^~~~~~~~~~~~~~~~~~~~~~~~
fatx.cpp: In member function ‘void buffer::enlarge(streamptr)’:
fatx.cpp:283:9: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers]
283 | if(s > (const streamptr)max_buf)
| ^~~~~~~~~~~~~~~~~~~~~~~~
fatx.cpp: In constructor ‘dskmap::dskmap(const fatxpar&)’:
fatx.cpp:1972:34: error: ‘_1’ was not declared in this scope
1972 | bind(&dskmap::real_read, this, _1, _2),
| ^~
fatx.cpp:1972:34: note: suggested alternatives:
In file included from /usr/include/boost/mpl/aux/include_preprocessed.hpp:37,
from /usr/include/boost/mpl/placeholders.hpp:43,
from /usr/include/boost/iterator/iterator_categories.hpp:16,
from /usr/include/boost/iterator/iterator_facade.hpp:13,
from /usr/include/boost/range/iterator_range_core.hpp:27,
from /usr/include/boost/lexical_cast.hpp:30,
from /usr/include/boost/program_options/value_semantic.hpp:14,
from /usr/include/boost/program_options/options_description.hpp:13,
from /usr/include/boost/program_options.hpp:15,
from fatx.hpp:97,
from fatx.cpp:19:
/usr/include/boost/mpl/aux_/preprocessed/gcc/placeholders.hpp:29:16: note: ‘mpl_::1’
29 | typedef arg<1> _1;
| ^~
In file included from /usr/include/boost/config/no_tr1/functional.hpp:21,
from /usr/include/boost/function/detail/prologue.hpp:14,
from /usr/include/boost/function/function_template.hpp:13,
from /usr/include/boost/function/detail/maybe_include.hpp:22,
from /usr/include/boost/function/function1.hpp:11,
from /usr/include/boost/program_options/value_semantic.hpp:13,
from /usr/include/boost/program_options/options_description.hpp:13,
from /usr/include/boost/program_options.hpp:15,
from fatx.hpp:97,
from fatx.cpp:19:
/usr/include/c++/10.2.0/functional:221:34: note: ‘std::placeholders::_1’
221 | extern const _Placeholder<1> _1;
| ^~
In file included from /usr/include/boost/mpl/aux/include_preprocessed.hpp:37,
from /usr/include/boost/mpl/placeholders.hpp:43,
from /usr/include/boost/iterator/iterator_categories.hpp:16,
from /usr/include/boost/iterator/iterator_facade.hpp:13,
from /usr/include/boost/range/iterator_range_core.hpp:27,
from /usr/include/boost/lexical_cast.hpp:30,
from /usr/include/boost/program_options/value_semantic.hpp:14,
from /usr/include/boost/program_options/options_description.hpp:13,
from /usr/include/boost/program_options.hpp:15,
from fatx.hpp:97,
from fatx.cpp:19:
/usr/include/boost/mpl/aux_/preprocessed/gcc/placeholders.hpp:29:16: note: ‘mpl_::1’
29 | typedef arg<1> _1;
| ^~
In file included from /usr/include/boost/bind/bind.hpp:2335,
from /usr/include/boost/multi_index/detail/ord_index_impl.hpp:83,
from /usr/include/boost/multi_index/ordered_index.hpp:17,
from /usr/include/boost/bimap/set_of.hpp:37,
from /usr/include/boost/bimap/detail/manage_bimap_key.hpp:26,
from /usr/include/boost/bimap/detail/bimap_core.hpp:43,
from /usr/include/boost/bimap/bimap.hpp:61,
from /usr/include/boost/bimap.hpp:13,
from fatx.hpp:127,
from fatx.cpp:19:
/usr/include/boost/bind/placeholders.hpp:58:38: note: ‘boost::placeholders::_1’
58 | BOOST_STATIC_CONSTEXPR boost::arg<1> _1;
| ^~
In file included from /usr/include/boost/mpl/aux/include_preprocessed.hpp:37,
from /usr/include/boost/mpl/placeholders.hpp:43,
from /usr/include/boost/iterator/iterator_categories.hpp:16,
from /usr/include/boost/iterator/iterator_facade.hpp:13,
from /usr/include/boost/range/iterator_range_core.hpp:27,
from /usr/include/boost/lexical_cast.hpp:30,
from /usr/include/boost/program_options/value_semantic.hpp:14,
from /usr/include/boost/program_options/options_description.hpp:13,
from /usr/include/boost/program_options.hpp:15,
from fatx.hpp:97,
from fatx.cpp:19:
/usr/include/boost/mpl/aux_/preprocessed/gcc/placeholders.hpp:29:16: note: ‘mpl_::1’
29 | typedef arg<1> _1;
| ^~
fatx.cpp:1972:38: error: ‘_2’ was not declared in this scope
1972 | bind(&dskmap::real_read, this, _1, _2),
| ^~
fatx.cpp:1972:38: note: suggested alternatives:
In file included from /usr/include/boost/mpl/aux/include_preprocessed.hpp:37,
from /usr/include/boost/mpl/placeholders.hpp:43,
from /usr/include/boost/iterator/iterator_categories.hpp:16,
from /usr/include/boost/iterator/iterator_facade.hpp:13,
from /usr/include/boost/range/iterator_range_core.hpp:27,
from /usr/include/boost/lexical_cast.hpp:30,
from /usr/include/boost/program_options/value_semantic.hpp:14,
from /usr/include/boost/program_options/options_description.hpp:13,
from /usr/include/boost/program_options.hpp:15,
from fatx.hpp:97,
from fatx.cpp:19:
/usr/include/boost/mpl/aux_/preprocessed/gcc/placeholders.hpp:42:16: note: ‘mpl_::2’
42 | typedef arg<2> _2;
| ^~
In file included from /usr/include/boost/config/no_tr1/functional.hpp:21,
from /usr/include/boost/function/detail/prologue.hpp:14,
from /usr/include/boost/function/function_template.hpp:13,
from /usr/include/boost/function/detail/maybe_include.hpp:22,
from /usr/include/boost/function/function1.hpp:11,
from /usr/include/boost/program_options/value_semantic.hpp:13,
from /usr/include/boost/program_options/options_description.hpp:13,
from /usr/include/boost/program_options.hpp:15,
from fatx.hpp:97,
from fatx.cpp:19:
/usr/include/c++/10.2.0/functional:222:34: note: ‘std::placeholders::_2’
222 | extern const _Placeholder<2> _2;
| ^~
In file included from /usr/include/boost/mpl/aux/include_preprocessed.hpp:37,
from /usr/include/boost/mpl/placeholders.hpp:43,
from /usr/include/boost/iterator/iterator_categories.hpp:16,
from /usr/include/boost/iterator/iterator_facade.hpp:13,
from /usr/include/boost/range/iterator_range_core.hpp:27,
from /usr/include/boost/lexical_cast.hpp:30,
from /usr/include/boost/program_options/value_semantic.hpp:14,
from /usr/include/boost/program_options/options_description.hpp:13,
from /usr/include/boost/program_options.hpp:15,
from fatx.hpp:97,
from fatx.cpp:19:
/usr/include/boost/mpl/aux_/preprocessed/gcc/placeholders.hpp:42:16: note: ‘mpl_::2’
42 | typedef arg<2> _2;
| ^~
In file included from /usr/include/boost/bind/bind.hpp:2335,
from /usr/include/boost/multi_index/detail/ord_index_impl.hpp:83,
from /usr/include/boost/multi_index/ordered_index.hpp:17,
from /usr/include/boost/bimap/set_of.hpp:37,
from /usr/include/boost/bimap/detail/manage_bimap_key.hpp:26,
from /usr/include/boost/bimap/detail/bimap_core.hpp:43,
from /usr/include/boost/bimap/bimap.hpp:61,
from /usr/include/boost/bimap.hpp:13,
from fatx.hpp:127,
from fatx.cpp:19:
/usr/include/boost/bind/placeholders.hpp:59:38: note: ‘boost::placeholders::_2’
59 | BOOST_STATIC_CONSTEXPR boost::arg<2> _2;
| ^~
In file included from /usr/include/boost/mpl/aux/include_preprocessed.hpp:37,
from /usr/include/boost/mpl/placeholders.hpp:43,
from /usr/include/boost/iterator/iterator_categories.hpp:16,
from /usr/include/boost/iterator/iterator_facade.hpp:13,
from /usr/include/boost/range/iterator_range_core.hpp:27,
from /usr/include/boost/lexical_cast.hpp:30,
from /usr/include/boost/program_options/value_semantic.hpp:14,
from /usr/include/boost/program_options/options_description.hpp:13,
from /usr/include/boost/program_options.hpp:15,
from fatx.hpp:97,
from fatx.cpp:19:
/usr/include/boost/mpl/aux_/preprocessed/gcc/placeholders.hpp:42:16: note: ‘mpl_::_2’
42 | typedef arg<2> _2;
| ^~
fatx.cpp: In constructor ‘entry::entry(const streamptr&, const char)’:
fatx.cpp:2612:5: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers]
2612 | (const unsigned char)buf[2] < ' ' || (
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
fatx.cpp:2613:21: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers]
2613 | buf[3] != 0 && ((const unsigned char)buf[3] < ' ' || (
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
fatx.cpp:2614:21: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers]
2614 | buf[4] != 0 && ((const unsigned char)buf[4] < ' '
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: [Makefile:829: fatx-fatx.o] Error 1
make[1]: Leaving directory '/var/tmp/pamac-build-xbox/fatx/src/fatx-1.15'
make: * [Makefile:691: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
Pinned Comments
Bakasura commented on 2021-07-24 22:05 (UTC)
@everyone this package works again!