Closed tolstikh closed 4 days ago
Is it still broken? I can cross-compile libarchive to iOS with these options and apple-clang 12, but ios-cmake is not in my build requirements.
Hi there,
I was reviewing old issues and I have come across this one.
The libarchive/3.5.1
is no longer supported by Conan Center Index.
I'm closing this issue as this recipe has been modified already modified since this issue was open.
If for some reason the problem remains nowadays, do not hesitate to reopen this issue or create a new ticket with updated information, preferably using conan v2
.
Happy coding 🐸
Package and Environment Details (include every applicable attribute)
Conan profile (output of
conan profile show default
orconan profile show <profile>
if custom profile is in use)Steps to reproduce (Include if Applicable)
Just try to create the package, this error should happen. It seems some C flags aren't being set correctly, because I can get it to build outside of Conan.
Logs (Include/Attach if Applicable)
Click to expand log
``` [ 6%] Building C object source_subfolder/libarchive/CMakeFiles/archive_static.dir/archive_entry_link_resolver.c.o [ 8%] Building C object source_subfolder/libarchive/CMakeFiles/archive_static.dir/archive_entry_strmode.c.o [ 8%] Building C object source_subfolder/libarchive/CMakeFiles/archive_static.dir/archive_entry_stat.c.o [ 10%] Building C object source_subfolder/libarchive/CMakeFiles/archive_static.dir/archive_entry_xattr.c.o [ 10%] Building C object source_subfolder/libarchive/CMakeFiles/archive_static.dir/archive_getdate.c.o [ 10%] Building C object source_subfolder/libarchive/CMakeFiles/archive_static.dir/archive_hmac.c.o [ 12%] Building C object source_subfolder/libarchive/CMakeFiles/archive_static.dir/archive_match.c.o [ 12%] Building C object source_subfolder/libarchive/CMakeFiles/archive_static.dir/archive_options.c.o [ 14%] Building C object source_subfolder/libarchive/CMakeFiles/archive_static.dir/archive_pathmatch.c.o [ 14%] Building C object source_subfolder/libarchive/CMakeFiles/archive_static.dir/archive_pack_dev.c.o [ 14%] Building C object source_subfolder/libarchive/CMakeFiles/archive_static.dir/archive_ppmd8.c.o [ 16%] Building C object source_subfolder/libarchive/CMakeFiles/archive_static.dir/archive_ppmd7.c.o /Users/andrey/.conan/data/libarchive/3.5.1/wrnch/testing/build/b0e6526698f9063382954542d357e1a917f1e7c0/source_subfolder/libarchive/archive_getdate.c:706:12: error: expected ';' after expression __time64_t tmptime; ^ ; /Users/andrey/.conan/data/libarchive/3.5.1/wrnch/testing/build/b0e6526698f9063382954542d357e1a917f1e7c0/source_subfolder/libarchive/archive_getdate.c:706:2: error: use of undeclared identifier '__time64_t' __time64_t tmptime; ^ /Users/andrey/.conan/data/libarchive/3.5.1/wrnch/testing/build/b0e6526698f9063382954542d357e1a917f1e7c0/source_subfolder/libarchive/archive_getdate.c:706:13: error: use of undeclared identifier 'tmptime' __time64_t tmptime; ^ /Users/andrey/.conan/data/libarchive/3.5.1/wrnch/testing/build/b0e6526698f9063382954542d357e1a917f1e7c0/source_subfolder/libarchive/archive_getdate.c:763:12: error: expected ';' after expression __time64_t tmptime; ^ ; /Users/andrey/.conan/data/libarchive/3.5.1/wrnch/testing/build/b0e6526698f9063382954542d357e1a917f1e7c0/source_subfolder/libarchive/archive_getdate.c:763:2: error: use of undeclared identifier '__time64_t' __time64_t tmptime; ^ /Users/andrey/.conan/data/libarchive/3.5.1/wrnch/testing/build/b0e6526698f9063382954542d357e1a917f1e7c0/source_subfolder/libarchive/archive_getdate.c:763:13: error: use of undeclared identifier 'tmptime' __time64_t tmptime; ^ /Users/andrey/.conan/data/libarchive/3.5.1/wrnch/testing/build/b0e6526698f9063382954542d357e1a917f1e7c0/source_subfolder/libarchive/archive_getdate.c:807:12: error: expected ';' after expression __time64_t tmptime; ^ ; /Users/andrey/.conan/data/libarchive/3.5.1/wrnch/testing/build/b0e6526698f9063382954542d357e1a917f1e7c0/source_subfolder/libarchive/archive_getdate.c:807:2: error: use of undeclared identifier '__time64_t' __time64_t tmptime; ^ /Users/andrey/.conan/data/libarchive/3.5.1/wrnch/testing/build/b0e6526698f9063382954542d357e1a917f1e7c0/source_subfolder/libarchive/archive_getdate.c:807:13: error: use of undeclared identifier 'tmptime' __time64_t tmptime; ^ /Users/andrey/.conan/data/libarchive/3.5.1/wrnch/testing/build/b0e6526698f9063382954542d357e1a917f1e7c0/source_subfolder/libarchive/archive_getdate.c:843:12: error: expected ';' after expression __time64_t tmptime; ^ ; /Users/andrey/.conan/data/libarchive/3.5.1/wrnch/testing/build/b0e6526698f9063382954542d357e1a917f1e7c0/source_subfolder/libarchive/archive_getdate.c:843:2: error: use of undeclared identifier '__time64_t' __time64_t tmptime; ^ /Users/andrey/.conan/data/libarchive/3.5.1/wrnch/testing/build/b0e6526698f9063382954542d357e1a917f1e7c0/source_subfolder/libarchive/archive_getdate.c:843:13: error: use of undeclared identifier 'tmptime' __time64_t tmptime; ^ [ 16%] Building C object source_subfolder/libarchive/CMakeFiles/archive_static.dir/archive_random.c.o /Users/andrey/.conan/data/libarchive/3.5.1/wrnch/testing/build/b0e6526698f9063382954542d357e1a917f1e7c0/source_subfolder/libarchive/archive_getdate.c:998:12: error: expected ';' after expression __time64_t tmptime; ^ ; /Users/andrey/.conan/data/libarchive/3.5.1/wrnch/testing/build/b0e6526698f9063382954542d357e1a917f1e7c0/source_subfolder/libarchive/archive_getdate.c:998:2: error: use of undeclared identifier '__time64_t' __time64_t tmptime; ^ /Users/andrey/.conan/data/libarchive/3.5.1/wrnch/testing/build/b0e6526698f9063382954542d357e1a917f1e7c0/source_subfolder/libarchive/archive_getdate.c:998:13: error: use of undeclared identifier 'tmptime' __time64_t tmptime; ^ 15 errors generated. make[2]: *** [source_subfolder/libarchive/CMakeFiles/archive_static.dir/archive_getdate.c.o] Error 1 make[2]: *** Waiting for unfinished jobs.... [ 18%] Building C object source_subfolder/libarchive/CMakeFiles/archive_static.dir/archive_rb.c.o make[1]: *** [source_subfolder/libarchive/CMakeFiles/archive_static.dir/all] Error 2 make: *** [all] Error 2 ```