Boost Sources: Cannot utime: Argument list too long
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    eliot
    Posts: 621 from 2004/4/15
    Sorry for double post.

    [ Edited by eliot 15.01.2025 - 07:51 ]
    regards
    eliot
  • »15.01.25 - 07:49
    Profile
  • ASiegel
    Posts: 1380 from 2003/2/15
    From: Central Europe
    I am afraid you edited the original thread, not the duplicate one, which got deleted.
  • »15.01.25 - 08:05
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    eliot
    Posts: 621 from 2004/4/15
    Oh, damn ;)

    I wanted to compile boost 1.87.0 on MorphOs but I am not able to extract the tar archive.
    I am getting the following error:

    Code:

    Work:> tar xzf boost_1_87_0.tar.gz
    tar (child): boost_1_87_0/libs/icl/doc/html/doxygen/interval_container_library_reference/structboost_1_1icl_1_1dynamic__interval__traits_3_01boost_1_1icl_1_1continuous__interval_3_01DomainT_00_01Compare_01_4_01_4.html: Cannot utime: Argument list too long
    tar (child): boost_1_87_0/libs/icl/doc/html/doxygen/interval_container_library_reference/structboost_1_1icl_1_1interval__bound__type_3_01continuous__interval_3_01DomainT_00_01Compare_01_4_01_4.html: Cannot utime: Argument list too long

    ...



    Is this a limitation of MorphOs tar or SFS2 partition?
    regards
    eliot
  • »15.01.25 - 08:13
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    polluks
    Posts: 813 from 2007/10/23
    From: Gelsenkirchen,...
    How about XADUnTar?
    Pegasos II G4: MorphOS 3.9, Zalman M220W · iMac G5 12,1 17", MorphOS 3.18
    Power Mac G3: OSX 10.3 · PowerBook 5,8: OSX 10.5, MorphOS 3.18
  • »15.01.25 - 09:21
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    beworld
    Posts: 634 from 2010/2/10
    From: FRANCE
    Quote:

    eliot a écrit :

    I wanted to compile boost 1.87.0 on MorphOs



    Oh :-) If you can compile it successfully, I'm interested.
    PowerMac G5 Quad 2.5, IMac G5 2.1, PowerBook G4 1.5, MacMini 1.5
    My MOS ports
  • »15.01.25 - 09:29
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    eliot
    Posts: 621 from 2004/4/15
    I had a quick build some time ago which worked well.
    I switched to the zip archive, which could could extract successfully.
    If I have a build, I'll let you know.
    regards
    eliot
  • »15.01.25 - 09:37
    Profile
  • MorphOS Developer
    jacadcaps
    Posts: 3146 from 2003/3/5
    From: Canada
    tar likely worked just fine despite those errors - not like you need those 2 files. zip possibly just failed silently. Remember we have a file name length limit coming from AmigaDOS.
  • »15.01.25 - 13:33
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    eliot
    Posts: 621 from 2004/4/15
    I just pasted 2 lines.
    That were much more files.
    But yes, it‘s the file path length.
    I now using git repo directly.
    regards
    eliot
  • »15.01.25 - 17:26
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    eliot
    Posts: 621 from 2004/4/15
    Building it directly on MorphOs sadly fails.
    Cmake is much too old and basic stuff does not work either (such as colon separated lists from cmd, ...).

    I will have try cross compiling it with b2 on linux. There I have more modern
    environment. Maybe this work better ...
    regards
    eliot
  • »16.01.25 - 18:42
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    eliot
    Posts: 621 from 2004/4/15
    I just uploaded Boost 1.87.0 to morphos-storage:
    boost morphos

    [ Edited by eliot 17.01.2025 - 09:27 ]
    regards
    eliot
  • »17.01.25 - 08:56
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    beworld
    Posts: 634 from 2010/2/10
    From: FRANCE
    Thanks, now need to test :-)



    [ Edité par beworld 17.01.2025 - 10:53 ]
    PowerMac G5 Quad 2.5, IMac G5 2.1, PowerBook G4 1.5, MacMini 1.5
    My MOS ports
  • »17.01.25 - 09:40
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    eliot
    Posts: 621 from 2004/4/15
    I did not enable all features, if you need something which is missing, just let me know.
    Some features can't be enabled, because of missing functionalities in gcc/sdk and dependencies.

    [ Edited by eliot 17.01.2025 - 09:51 ]
    regards
    eliot
  • »17.01.25 - 09:50
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    beworld
    Posts: 634 from 2010/2/10
    From: FRANCE
    Quote:

    eliot a écrit :
    I did not enable all features, if somthing you need is missing, just let me know.
    Some features can't be enabled, because of missing functionalities in gcc/sdk and dependencies.


    ok thanks you



    i want to make a big update on this port : https://github.com/Return-To-The-Roots/s25client

    libboost-dev (at least v1.69.0, i.e http://www.boost.org/) or only: libboost-test-dev libboost-locale-dev, libboost-iostreams-dev, libboost-filesystem-dev, libboost-program-options-dev (at least v1.69.0)

    mmm filesystem and oistreams....


    [ Edité par beworld 17.01.2025 - 10:53 ]
    PowerMac G5 Quad 2.5, IMac G5 2.1, PowerBook G4 1.5, MacMini 1.5
    My MOS ports
  • »17.01.25 - 09:51
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    eliot
    Posts: 621 from 2004/4/15
    Maybe a port of: https://github.com/Return-To-The-Roots/s25client might be possible.
    But first we also need https://github.com/miniupnp/miniupnp.
    I had a quick look inside: need to remove the ipv6 stuff to compile it.
    regards
    eliot
  • »17.01.25 - 09:54
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    eliot
    Posts: 621 from 2004/4/15
    hehe, 2 dudes, one idea :D
    regards
    eliot
  • »17.01.25 - 09:55
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    beworld
    Posts: 634 from 2010/2/10
    From: FRANCE
    hey, i think i have old one... need to check if possible :-)
    PowerMac G5 Quad 2.5, IMac G5 2.1, PowerBook G4 1.5, MacMini 1.5
    My MOS ports
  • »17.01.25 - 09:58
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    eliot
    Posts: 621 from 2004/4/15
    Boost Filesystem is a problem:

    ./boost/filesystem/config.hpp:50:5: error: #error Configuration not supported: Boost.Filesystem V3 and later requires std::wstring support
    50 | # error Configuration not supported: Boost.Filesystem V3 and later requires std::wstring support


    Even in version 1.69.0

    We need a newer newlib, glibc, with wstring support.

    [ Edited by eliot 17.01.2025 - 10:21 ]
    regards
    eliot
  • »17.01.25 - 10:12
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    beworld
    Posts: 634 from 2010/2/10
    From: FRANCE
    Yeah, but you can do something like that:

    I have boost version 1.49 here (only headers, no lib)
    Into config/user.hpp:
    #define BOOST_FILESYSTEM_VERSION 3
    #define BOOST_NO_CWCHAR
    #define BOOST_NO_STD_WSTRING
    #define BOOST_NO_INTRINSIC_WCHAR_T
    #define BOOST_DISABLE_THREADS

    And you can seach AMIGAOS, maybe can help....

    [ Edité par beworld 17.01.2025 - 11:40 ]
    PowerMac G5 Quad 2.5, IMac G5 2.1, PowerBook G4 1.5, MacMini 1.5
    My MOS ports
  • »17.01.25 - 10:37
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    eliot
    Posts: 621 from 2004/4/15
    No, sorry, the header (boost/filesystem/config.hpp) is very clear about that:

    Code:

    ...
    #define BOOST_FILESYSTEM_THROW(EX) throw EX

    # if defined( BOOST_NO_STD_WSTRING )
    # error Configuration not supported: Boost.Filesystem V3 and later requires std::wstring support
    # endif
    ...


    We need wstring support ...

    EDIT: Time for Mos 3.19 and a more complete gcc

    [ Edited by eliot 17.01.2025 - 11:09 ]
    regards
    eliot
  • »17.01.25 - 11:08
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    beworld
    Posts: 634 from 2010/2/10
    From: FRANCE
    arfff
    PowerMac G5 Quad 2.5, IMac G5 2.1, PowerBook G4 1.5, MacMini 1.5
    My MOS ports
  • »17.01.25 - 11:10
    Profile Visit Website
  • MorphOS Developer
    jacadcaps
    Posts: 3146 from 2003/3/5
    From: Canada
    Code:
    We need wstring support ...


    MorphOS' gcc-9 and up have wstring support, though. Did you create a platform file for MorphOS?

    [ Edited by jacadcaps 17.01.2025 - 13:35 ]
  • »17.01.25 - 12:35
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    eliot
    Posts: 621 from 2004/4/15
    Hm,

    thats interesting. Then I have to find out why b2 thinks the gcc 11 does not support it.
    Platform file?
    regards
    eliot
  • »17.01.25 - 13:25
    Profile
  • MorphOS Developer
    jacadcaps
    Posts: 3146 from 2003/3/5
    From: Canada
    It doesn't "think" there's no support for wstring as it never even tests for it. It picks up the amigaos boost platform which defines wstring as unsupported.
  • »17.01.25 - 14:03
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    eliot
    Posts: 621 from 2004/4/15
    hm ok, i will have a look
    regards
    eliot
  • »17.01.25 - 15:51
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    eliot
    Posts: 621 from 2004/4/15
    Ok, one step furrher.
    I niw have morphos specific platform header file.
    Still seeing sone more issues, maybe using ixemul
    instead of noixemul
    might be an option.

    but i am on it.
    regards
    eliot
  • »18.01.25 - 06:33
    Profile