Package Details: fatx 1.17-2

Git Clone URL: https://aur.archlinux.org/fatx.git (read-only, click to copy)
Package Base: fatx
Description: XBox filesystem support for linux
Upstream URL: http://sourceforge.net/projects/fatx/
Keywords: filesystem xbox
Licenses: GPL
Provides: fatx
Submitter: t3kk3n
Maintainer: t3kk3n
Last Packager: t3kk3n
Votes: 10
Popularity: 0.38
First Submitted: 2014-08-09 19:19 (UTC)
Last Updated: 2024-04-17 15:37 (UTC)

Dependencies (7)

Required by (0)

Sources (1)

Pinned Comments

Bakasura commented on 2021-07-24 22:05 (UTC)

@everyone this package works again!

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

Bakasura commented on 2022-11-29 17:21 (UTC)

Hi @sl1pkn07, can tell me how to change the dependence by: libboost_program_options.so? I can not find it. Regards

sl1pkn07 commented on 2022-10-03 14:10 (UTC) (edited on 2022-10-03 14:10 (UTC) by sl1pkn07)

Hello, please add libboost_program_options.so to depends instead of boost-libs and change boost to makedepends

greetings

Bakasura commented on 2021-07-27 18:00 (UTC)

@t3kk3n Thanks to you for keeping it all this time, I hope that your way becomes calmer for you and your family.

Regards!

t3kk3n commented on 2021-07-26 15:14 (UTC)

My apologies for not getting to this sooner! Life got busy, then even busier within the last few months, as I landed a new full time job within the IT world. I woke up this morning with an influx of emails regarding this package, and the previous emails got drowned out from work emails and such.

My sincere apologies for not taking the time with this package. @Bakasura, thank you for taking the time to maintain this.

Cheers!

Bakasura commented on 2021-07-24 22:05 (UTC)

@everyone this package works again!

Bakasura commented on 2021-05-09 17:29 (UTC)

@morcar try this patch @t3kk3n please update the patch

--- fatx.cpp    2018-02-15 12:27:26.000000000 -0500
+++ fatx.cpp    2021-05-09 12:16:25.971134000 -0500
@@ -61,7 +61,7 @@
            }
            if(container.size() + vv.size() > capacity) {
                typename container_type::right_iterator b = container.right.begin();
-               advance(b, container.size() + vv.size() - capacity);
+                std::advance(b, container.size() + vv.size() - capacity);
                #if defined DEBUG && defined DBG_CACHE
                    dbglog((format("Xx. fatbuf: reduce (%d)\n") % container.size()).str())
                #endif
@@ -1969,8 +1969,8 @@

                            dskmap::        dskmap(const fatxpar& par) :
    memnext(
-       bind(&dskmap::real_read, this, _1, _2),
-       bind(&dskmap::real_write, this, _1, _2),
+       bind(&dskmap::real_read, this, boost::placeholders::_1, boost::placeholders::_2),
+       bind(&dskmap::real_write, this, boost::placeholders::_1, boost::placeholders::_2),
        #define CACHESIZE (par.clus_fat * par.chain_size / max_cache_div > par.clus_size ? par.clus_fat * par.chain_size / max_cache_div : par.clus_size)
        CACHESIZE, 
        (CACHESIZE / nb_cache_div > par.clus_size ? CACHESIZE / nb_cache_div : par.clus_size)

morcar commented on 2021-03-07 11:04 (UTC) (edited on 2021-03-07 11:05 (UTC) by morcar)

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...

abouvier commented on 2020-09-29 20:36 (UTC) (edited on 2020-09-29 20:37 (UTC) by abouvier)

boost is only needed for building (in makedepends array).

Also the arch should be x86_64.

t3kk3n commented on 2019-03-30 15:25 (UTC)

Ahh, thanks for that, I originally copied it in from one of my many skeleton PKGBUILD files. Removed/updated.

(And for gcc6, it's available in the AUR.)

Wilfinity commented on 2019-03-22 09:05 (UTC)

Had the same problem as @HisDudeness:

$ makepkg
==> Making package: fatx 1.15-2 (Fri 22 Mar 2019 08:49:03 GMT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
<snip>
configure: error: C compiler cannot create executables
See `config.log' for more details
==> ERROR: A failure occurred in build().
    Aborting...

Also like him, compile.log wasn't really helpful. So I went directly into the source directory and did the ./configure && make incantation and it compiled cleanly. Figured that PKGBUILD was doing something so I went looking there. Long story short, I commented this line in PKGBUILD:

export CC=/usr/bin/gcc-6

Works fine after that.

I don't have a gcc-6 on my system, and don't see any in the repo either.