dotnet / source-build

A repository to track efforts to produce a source tarball of the .NET Core SDK and all its components
MIT License
265 stars 130 forks source link

[Branch release/2.2] buildbootstrapcli.sh failed on Linux #1033

Closed KexyBiscuit closed 1 year ago

KexyBiscuit commented 5 years ago
mkdir -p aosc.5-x64/dotnetcli # Workaround
./buildbootstrapcli.sh -release -rid aosc.5-x64 -os Linux -seedcli ~/dotnet
/root/source-build/scripts/bootstrap/aosc.5-x64/corefx/src/Native/Unix/System.Security.Cryptography.Native/openssl.cpp:435:12: error: 'sk_ASN1_OBJECT_num' was marked unused but was used [-Werror,-Wused-but-marked-unused]
    return sk_ASN1_OBJECT_num(eku);
           ^
/root/source-build/scripts/bootstrap/aosc.5-x64/corefx/src/Native/Unix/System.Security.Cryptography.Native/openssl.cpp:451:12: error: 'sk_ASN1_OBJECT_value' was marked unused but was used [-Werror,-Wused-but-marked-unused]
    return sk_ASN1_OBJECT_value(eku, loc);
           ^
/root/source-build/scripts/bootstrap/aosc.5-x64/corefx/src/Native/Unix/System.Security.Cryptography.Native/openssl.cpp:602:29: error: 'sk_GENERAL_NAME_num' was marked unused but was used [-Werror,-Wused-but-marked-unused]
            for (i = 0; i < sk_GENERAL_NAME_num(altNames); ++i)
                            ^
/root/source-build/scripts/bootstrap/aosc.5-x64/corefx/src/Native/Unix/System.Security.Cryptography.Native/openssl.cpp:604:41: error: 'sk_GENERAL_NAME_value' was marked unused but was used [-Werror,-Wused-but-marked-unused]
                GENERAL_NAME* altName = sk_GENERAL_NAME_value(altNames, i);
                                        ^
/root/source-build/scripts/bootstrap/aosc.5-x64/corefx/src/Native/Unix/System.Security.Cryptography.Native/openssl.cpp:649:25: error: 'sk_GENERAL_NAME_free' was marked unused but was used [-Werror,-Wused-but-marked-unused]
                        sk_GENERAL_NAME_free(altNames);
                        ^
/root/source-build/scripts/bootstrap/aosc.5-x64/corefx/src/Native/Unix/System.Security.Cryptography.Native/openssl.cpp:655:13: error: 'sk_GENERAL_NAME_free' was marked unused but was used [-Werror,-Wused-but-marked-unused]
            sk_GENERAL_NAME_free(altNames);
            ^
/root/source-build/scripts/bootstrap/aosc.5-x64/corefx/src/Native/Unix/System.Security.Cryptography.Native/openssl.cpp:863:21: error: 'sk_GENERAL_NAME_num' was marked unused but was used [-Werror,-Wused-but-marked-unused]
        int count = sk_GENERAL_NAME_num(san);
                    ^
/root/source-build/scripts/bootstrap/aosc.5-x64/corefx/src/Native/Unix/System.Security.Cryptography.Native/openssl.cpp:867:38: error: 'sk_GENERAL_NAME_value' was marked unused but was used [-Werror,-Wused-but-marked-unused]
            GENERAL_NAME* sanEntry = sk_GENERAL_NAME_value(san, i);
                                     ^
/root/source-build/scripts/bootstrap/aosc.5-x64/corefx/src/Native/Unix/System.Security.Cryptography.Native/openssl.cpp:947:21: error: 'sk_GENERAL_NAME_num' was marked unused but was used [-Werror,-Wused-but-marked-unused]
        int count = sk_GENERAL_NAME_num(san);
                    ^
/root/source-build/scripts/bootstrap/aosc.5-x64/corefx/src/Native/Unix/System.Security.Cryptography.Native/openssl.cpp:951:38: error: 'sk_GENERAL_NAME_value' was marked unused but was used [-Werror,-Wused-but-marked-unused]
            GENERAL_NAME* sanEntry = sk_GENERAL_NAME_value(san, i);
                                     ^
/root/source-build/scripts/bootstrap/aosc.5-x64/corefx/src/Native/Unix/System.Security.Cryptography.Native/openssl.cpp:1015:12: error: 'sk_X509_num' was marked unused but was used [-Werror,-Wused-but-marked-unused]
    return sk_X509_num(stack);
           ^
/root/source-build/scripts/bootstrap/aosc.5-x64/corefx/src/Native/Unix/System.Security.Cryptography.Native/openssl.cpp:1031:12: error: 'sk_X509_value' was marked unused but was used [-Werror,-Wused-but-marked-unused]
    return sk_X509_value(stack, loc);
           ^
/root/source-build/scripts/bootstrap/aosc.5-x64/corefx/src/Native/Unix/System.Security.Cryptography.Native/openssl.cpp:1043:5: error: 'sk_X509_pop_free' was marked unused but was used [-Werror,-Wused-but-marked-unused]
    sk_X509_pop_free(stack, X509_free);
    ^
/root/source-build/scripts/bootstrap/aosc.5-x64/corefx/src/Native/Unix/System.Security.Cryptography.Native/openssl.cpp:1169:12: error: 'sk_X509_new_null' was marked unused but was used [-Werror,-Wused-but-marked-unused]
    return sk_X509_new_null();
           ^
/root/source-build/scripts/bootstrap/aosc.5-x64/corefx/src/Native/Unix/System.Security.Cryptography.Native/openssl.cpp:1190:12: error: 'sk_X509_push' was marked unused but was used [-Werror,-Wused-but-marked-unused]
    return sk_X509_push(stack, x509);
           ^
15 errors generated.
make[2]: *** [System.Security.Cryptography.Native/CMakeFiles/objlib.dir/build.make:76: System.Security.Cryptography.Native/CMakeFiles/objlib.dir/openssl.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:471: System.Security.Cryptography.Native/CMakeFiles/objlib.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
Failed to build corefx native components.

ebfa978

dseefeld commented 5 years ago

We're not currently working on these scripts. Marking as "up for grabs".

MichaelSimons commented 1 year ago

[Triage] Closing as obsolete - buildbootstrapcli.sh no longer exists.