The i386 architecture is deprecated
Closed this issue · 11 comments
hi, I want to use this tool for read/write ext3 disk.
but build fail.
please help.
env:
macOS mojave
xcode also is new version
the build step is follow readme.md
error message:
Making all in tools
Making all in macosx
( cd ../../tools/macosx/prefpane; \
xcodebuild; \
)
note: Using new build system
note: Planning build
note: Constructing build description
Build system information
error: The i386 architecture is deprecated. You should update your ARCHS build setting to remove the i386 architecture. (in target 'fuse-ext2')
the same issue here
I wrote patch for Mojave
I have an active fork going that should compile with the latest Xcode, ie. 10.1, as of writing this.
https://github.com/ipatch/fuse-ext2/tree/master
and have checked in a build script based on the instructions provided by @alperakcan to the dev branch of my fork that could be used to get a working copy of the fuse-ext2 toolset going with the latest versions of Xcode and macOS.
On a side note, I believe Apple has officially dropped support for i386 arch with the release of Xcode 10.x and is only supporting x86_64 for macOS development at the moment. That said, I submitted a PR #82 to this repo that is awaiting review from @alperakcan and if it gets merged in to master than a simple clone and build should suffice.
Thanks -- but this issue should remain open until the PR is accepted or the problem is fixed otherwise.
Where I can get a fixed version?
I wrote patch for Mojave
Hello.How can i use this patch?
I wrote patch for Mojave
0001-Fix-new-Xcode-compilation.patch.txtHello.How can i use this patch?
plz google linux command 'diff' and 'patch'
@drizt Thanks for the patch. I think the fork by @ipatch should work as well. But just for information of applying the patch manually. This assumes the patch is against a clone of the Git repo and Git command line is installed.
1. git apply --stat [Folder to the patch file]/0001-Fix-new-Xcode-compilation.patch.txt (Dry run to see what is being change)
2. git apply --check [Folder to the patch file]/0001-Fix-new-Xcode-compilation.patch.txt (Change to see no errors)
3. git apply [Folder to the patch file]/0001-Fix-new-Xcode-compilation.patch.txt (Apply the patch, only this command is actually required to do the patch)
And to complete the install of fuse-ext2 you can run
export PATH=/opt/gnu/bin:$PATH
export PKG_CONFIG_PATH=/opt/gnu/lib/pkgconfig:/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH
cd fuse-ext2
./autogen.sh
CFLAGS="-idirafter/opt/gnu/include -idirafter/usr/local/include/osxfuse/" LDFLAGS="-L/opt/gnu/lib -L/usr/local/lib" ./configure
make
sudo make install
There is also a missing mount point in the command for Testing
fuse-ext2 /tmp/fuse-ext2.test-fs.ext4 -o rw+,allow_other,uid=501,gid=20
That is fixed in the fork as well
@ysykzheng @LiuZhe6 Using @yalp's formula from this #67 (comment), copy the file locally and add to it after the caveat
section:
patch do
url "https://github.com/alperakcan/fuse-ext2/files/2576060/0001-Fix-new-Xcode-compilation.patch.txt"
sha256 "a2a8ff14f36754aead1745b4b5f53b0333376d1bf6abe659ec4eacdbb232aceb"
end
Then, run brew install --head ./fuse-ext2.rb
In the output, you should see a line like so indicating the patch was applied:
==> Applying 0001-Fix-new-Xcode-compilation.patch.txt
Hi,
I am facing the following error when I try to apply the patch:
patching file tools/macosx/prefpane/English.lproj/fuse_ext2Pref.xib
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file tools/macosx/prefpane/English.lproj/fuse_ext2Pref.xib.rej
patching file tools/macosx/prefpane/fuse-ext2.xcodeproj/project.pbxproj
Hunk #4 FAILED at 250.
Hunk #5 succeeded at 263 (offset 1 line).
Hunk #6 FAILED at 271.
Hunk #7 succeeded at 288 (offset 2 lines).
Hunk #8 succeeded at 304 (offset 2 lines).
2 out of 8 hunks FAILED -- saving rejects to file tools/macosx/prefpane/fuse-ext2.xcodeproj/project.pbxproj.rej
Any help is appreciated.