veracrypt / VeraCrypt

Disk encryption with strong security based on TrueCrypt
https://www.veracrypt.fr
Other
6.7k stars 935 forks source link

macOS sonoma 14.1.1 : cannot compile after wolfssl commit + veracrypt.pkgproj old number #1256

Closed Mattoje closed 9 months ago

Mattoje commented 9 months ago

Trying to compile without wolfssl enabled

After this commit: https://github.com/veracrypt/VeraCrypt/commit/9247ce1bb90c44d19a0069fadb12c0c480ac9b4f

Compilation stops at make clean:

Using wxWidgets sources in /Users/matteo/ports/wxWidgets-3.2.4 Using MacOSX SDK 14 with target set to 14 Building VeraCrypt Cleaning Platform Volume.make:133: missing separator (did you mean TAB instead of 8 spaces?). Stop. make: [clean] Error 2

I tried replacing spaces with TAB on Volume.make using this vi syntax:

:%s/^[ ]+/\t/g

and this happened:

Compiling SecurityToken.cpp g++ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -I/Volumes/Data/userdata/ports/VeraCrypt/src -I/Volumes/Data/userdata/ports/VeraCrypt/src/Crypto -I/Volumes/Data/userdata/ports/VeraCrypt/src/PKCS11 -O2 -fno-strict-aliasing -D TC_ARCH_X64 -DTC_UNIX -DTC_BSD -DTC_MACOSX -mmacosx-version-min=14 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk -gfull -arch x86_64 -arch arm64 -Wall -Wno-unused-parameter -msse2 -std=c++11 -c ../Common/SecurityToken.cpp -o ../Common/SecurityToken.o make[1]: No rule to make target ../Crypto/Aes_asm.oo', needed byVolume.a'. Stop. make: [all] Error 2

Also there are still 2 fields on veracrypt.pkgproj using 1.26.9 rather that 1.26.10

--- veracrypt.pkgproj   2023-11-16 20:34:39
+++ veracrypt.pkgproj.fixed     2023-11-19 14:10:26
@@ -557,7 +557,7 @@
                                <key>USE_HFS+_COMPRESSION</key>
                                <false/>
                                <key>VERSION</key>
-                               <string>1.26.9</string>
+                               <string>1.26.10</string>
                        </dict>
                        <key>TYPE</key>
                        <integer>0</integer>
@@ -1025,7 +1025,7 @@
                                </dict>
                        </array>
                        <key>NAME</key>
-                       <string>VeraCrypt 1.26.9</string>
+                       <string>VeraCrypt 1.26.10</string>
                        <key>PAYLOAD_ONLY</key>
                        <false/>
                        <key>TREAT_MISSING_PRESENTATION_DOCUMENTS_AS_WARNING</key>
idrassi commented 9 months ago

Thanks for the report. Commits https://github.com/veracrypt/VeraCrypt/commit/1a21ea8d738424fe0f8c1bd3c1b2dd5636962944 and https://github.com/veracrypt/VeraCrypt/commit/65a5bf914e70df5089bd801866213eb03a374022 were pushed to fix this issue.