Skip to content
This repository was archived by the owner on Aug 29, 2024. It is now read-only.

Bootstrap host and arch #2

@slazarov

Description

@slazarov

Hello, with /packaging we could choose the host and arch.

How do you do that with the boostrap.sh?

Building on M2 mac also fails:

.moc/release-static/../../../../../../../../qt/src/corelib/io/qfilesystemwatcher_fsevents_p.h:86:14: error: no struct named 'stat64' in the global namespace
    struct ::stat64 savedInfo;  // All the info for the path so we can compare it.
           ~~^
In file included from /dir/wkhtmltopdf/qt/src/corelib/io/qfilesystemwatcher_fsevents.cpp:46:
/dir/wkhtmltopdf/qt/src/corelib/io/qfilesystemwatcher_fsevents_p.h:86:14: error: no struct named 'stat64' in the global namespace
    struct ::stat64 savedInfo;  // All the info for the path so we can compare it.
           ~~^
1 error generated.
In file included from /dir/wkhtmltopdf/qt/src/corelib/io/qfilesystemwatcher.cpp:64:
/dir/wkhtmltopdf/qt/src/corelib/io/qfilesystemwatcher_fsevents_p.h:86:14: error: no struct named 'stat64' in the global namespace
    struct ::stat64 savedInfo;  // All the info for the path so we can compare it.
           ~~^
make[2]: *** [.obj/release-static/moc_qfilesystemwatcher_fsevents_p.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/dir/wkhtmltopdf/qt/src/corelib/io/qfilesystemwatcher_fsevents.cpp:77:39: error: no struct named 'stat64' in the global namespace
static bool operator==(const struct ::stat64 &left, const struct ::stat64 &right)
                                    ~~^
/dir/wkhtmltopdf/qt/src/corelib/io/qfilesystemwatcher_fsevents.cpp:77:68: error: no struct named 'stat64' in the global namespace
static bool operator==(const struct ::stat64 &left, const struct ::stat64 &right)
                                                                 ~~^
/dir/wkhtmltopdf/qt/src/corelib/io/qfilesystemwatcher_fsevents.cpp:90:39: error: no struct named 'stat64' in the global namespace
static bool operator!=(const struct ::stat64 &left, const struct ::stat64 &right)
                                    ~~^
/dir/wkhtmltopdf/qt/src/corelib/io/qfilesystemwatcher_fsevents.cpp:90:68: error: no struct named 'stat64' in the global namespace
static bool operator!=(const struct ::stat64 &left, const struct ::stat64 &right)
                                                                 ~~^
1 error/dir/wkhtmltopdf/qt/src/corelib/io/qfilesystemwatcher_fsevents.cpp generated:.
347:18: error: no struct named 'stat64' in the global namespace
        struct ::stat64 newInfo;
               ~~^
make[2]: *** [.obj/release-static/qfilesystemwatcher.o] Error 1
/dir/wkhtmltopdf/qt/src/corelib/io/qfilesystemwatcher_fsevents.cpp:348:15: error: no member named 'stat64' in the global namespace
        if (::stat64(it->absolutePath, &newInfo) == 0) {
            ~~^
7 errors generated.
make[2]: *** [.obj/release-static/qfilesystemwatcher_fsevents.o] Error 1
make[1]: *** [release] Error 2
make: *** [sub-corelib-make_default-ordered] Error 2
Error: make: Process exited with code 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions