-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MacOS Sequoia [install-lib] Error 71 #200
Comments
This looks like a problem with the UnRAR source distribution which is unrelated to the rar2fs package. Please try to contact www.rarlabs.com to have this problem (all the warnings) looked into. |
Also note that running make as sudo is no guarantee that what it spawns is. So, from the wiki we have these instructions, just skip the install step and then continue with the steps for building rar2fs. cd unrar I will consider updating the wiki here since these instructions have not been revisited in a long time. |
I've retried the above workflow and didn't work. I also gave Terminal full disk permission. I will just keep using my Debian box. Thanks for your help. |
I do not understand? What did you try? |
Last login: Thu Nov 14 01:55:59 on ttys000
The default interactive shell is now zsh.
To update your account to use zsh, please run
chsh -s /bin/zsh
.For more details, please visit https://support.apple.com/kb/HT208050.
SKR-MBP:unrar SKIDROW$ make lib
make: getcwd: Operation not permitted
make: *** No rule to make target `lib'. Stop.
SKR-MBP:unrar SKIDROW$ cd ..
SKR-MBP:rar2fs SKIDROW$ cd unrar/
SKR-MBP:unrar SKIDROW$ make lib
c++ -O2 -Wno-logical-op-parentheses -Wno-switch -Wno-dangling-else -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DRARDLL -c rar.cpp
c++ -O2 -Wno-logical-op-parentheses -Wno-switch -Wno-dangling-else -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DRARDLL -c strlist.cpp
c++ -O2 -Wno-logical-op-parentheses -Wno-switch -Wno-dangling-else -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DRARDLL -c strfn.cpp
c++ -O2 -Wno-logical-op-parentheses -Wno-switch -Wno-dangling-else -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DRARDLL -c pathfn.cpp
pathfn.cpp:764:3: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
764 | sprintf(Field[0],"%04u",rlt.Year);
| ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_stdio.h:274:1: note: 'sprintf' has been explicitly marked deprecated here
274 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
| ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg'
218 | #define __deprecated_msg(_msg) attribute((deprecated(_msg)))
| ^
pathfn.cpp:765:3: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
765 | sprintf(Field[1],"%02u",rlt.Month);
| ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_stdio.h:274:1: note: 'sprintf' has been explicitly marked deprecated here
274 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
| ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg'
218 | #define __deprecated_msg(_msg) attribute((deprecated(_msg)))
| ^
pathfn.cpp:766:3: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
766 | sprintf(Field[2],"%02u",rlt.Day);
| ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_stdio.h:274:1: note: 'sprintf' has been explicitly marked deprecated here
274 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
| ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg'
218 | #define __deprecated_msg(_msg) attribute((deprecated(_msg)))
| ^
pathfn.cpp:767:3: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
767 | sprintf(Field[3],"%02u",rlt.Hour);
| ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_stdio.h:274:1: note: 'sprintf' has been explicitly marked deprecated here
274 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
| ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg'
218 | #define __deprecated_msg(_msg) attribute((deprecated(_msg)))
| ^
pathfn.cpp:768:3: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
768 | sprintf(Field[4],"%02u",rlt.Minute);
| ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_stdio.h:274:1: note: 'sprintf' has been explicitly marked deprecated here
274 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
| ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg'
218 | #define __deprecated_msg(_msg) attribute((deprecated(_msg)))
| ^
pathfn.cpp:769:3: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
769 | sprintf(Field[5],"%02u",rlt.Second);
| ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_stdio.h:274:1: note: 'sprintf' has been explicitly marked deprecated here
274 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
| ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg'
218 | #define __deprecated_msg(_msg) attribute((deprecated(_msg)))
| ^
pathfn.cpp:770:3: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
770 | sprintf(Field[6],"%02u",(uint)CurWeek);
| ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_stdio.h:274:1: note: 'sprintf' has been explicitly marked deprecated here
274 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
| ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg'
218 | #define __deprecated_msg(_msg) attribute((deprecated(_msg)))
| ^
pathfn.cpp:771:3: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
771 | sprintf(Field[7],"%u",(uint)WeekDay+1);
| ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_stdio.h:274:1: note: 'sprintf' has been explicitly marked deprecated here
274 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
| ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg'
218 | #define __deprecated_msg(_msg) attribute((deprecated(_msg)))
| ^
pathfn.cpp:772:3: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
772 | sprintf(Field[8],"%03u",rlt.yDay+1);
| ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_stdio.h:274:1: note: 'sprintf' has been explicitly marked deprecated here
274 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
| ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg'
218 | #define __deprecated_msg(_msg) attribute((deprecated(_msg)))
| ^
pathfn.cpp:773:3: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
773 | sprintf(Field[9],"%05u",ArcNumber);
| ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_stdio.h:274:1: note: 'sprintf' has been explicitly marked deprecated here
274 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
| ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg'
218 | #define __deprecated_msg(_msg) attribute((deprecated(_msg)))
| ^
10 warnings generated.
c++ -O2 -Wno-logical-op-parentheses -Wno-switch -Wno-dangling-else -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DRARDLL -c smallfn.cpp
c++ -O2 -Wno-logical-op-parentheses -Wno-switch -Wno-dangling-else -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DRARDLL -c global.cpp
c++ -O2 -Wno-logical-op-parentheses -Wno-switch -Wno-dangling-else -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DRARDLL -c file.cpp
c++ -O2 -Wno-logical-op-parentheses -Wno-switch -Wno-dangling-else -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DRARDLL -c filefn.cpp
c++ -O2 -Wno-logical-op-parentheses -Wno-switch -Wno-dangling-else -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DRARDLL -c filcreat.cpp
c++ -O2 -Wno-logical-op-parentheses -Wno-switch -Wno-dangling-else -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DRARDLL -c archive.cpp
c++ -O2 -Wno-logical-op-parentheses -Wno-switch -Wno-dangling-else -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DRARDLL -c arcread.cpp
c++ -O2 -Wno-logical-op-parentheses -Wno-switch -Wno-dangling-else -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DRARDLL -c unicode.cpp
c++ -O2 -Wno-logical-op-parentheses -Wno-switch -Wno-dangling-else -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DRARDLL -c system.cpp
c++ -O2 -Wno-logical-op-parentheses -Wno-switch -Wno-dangling-else -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DRARDLL -c isnt.cpp
c++ -O2 -Wno-logical-op-parentheses -Wno-switch -Wno-dangling-else -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DRARDLL -c crypt.cpp
c++ -O2 -Wno-logical-op-parentheses -Wno-switch -Wno-dangling-else -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DRARDLL -c crc.cpp
c++ -O2 -Wno-logical-op-parentheses -Wno-switch -Wno-dangling-else -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DRARDLL -c rawread.cpp
c++ -O2 -Wno-logical-op-parentheses -Wno-switch -Wno-dangling-else -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DRARDLL -c encname.cpp
c++ -O2 -Wno-logical-op-parentheses -Wno-switch -Wno-dangling-else -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DRARDLL -c resource.cpp
c++ -O2 -Wno-logical-op-parentheses -Wno-switch -Wno-dangling-else -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DRARDLL -c match.cpp
c++ -O2 -Wno-logical-op-parentheses -Wno-switch -Wno-dangling-else -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DRARDLL -c timefn.cpp
c++ -O2 -Wno-logical-op-parentheses -Wno-switch -Wno-dangling-else -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DRARDLL -c rdwrfn.cpp
c++ -O2 -Wno-logical-op-parentheses -Wno-switch -Wno-dangling-else -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DRARDLL -c consio.cpp
c++ -O2 -Wno-logical-op-parentheses -Wno-switch -Wno-dangling-else -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DRARDLL -c options.cpp
c++ -O2 -Wno-logical-op-parentheses -Wno-switch -Wno-dangling-else -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DRARDLL -c errhnd.cpp
c++ -O2 -Wno-logical-op-parentheses -Wno-switch -Wno-dangling-else -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DRARDLL -c rarvm.cpp
c++ -O2 -Wno-logical-op-parentheses -Wno-switch -Wno-dangling-else -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DRARDLL -c secpassword.cpp
c++ -O2 -Wno-logical-op-parentheses -Wno-switch -Wno-dangling-else -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DRARDLL -c rijndael.cpp
c++ -O2 -Wno-logical-op-parentheses -Wno-switch -Wno-dangling-else -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DRARDLL -c getbits.cpp
c++ -O2 -Wno-logical-op-parentheses -Wno-switch -Wno-dangling-else -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DRARDLL -c sha1.cpp
c++ -O2 -Wno-logical-op-parentheses -Wno-switch -Wno-dangling-else -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DRARDLL -c sha256.cpp
c++ -O2 -Wno-logical-op-parentheses -Wno-switch -Wno-dangling-else -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DRARDLL -c blake2s.cpp
c++ -O2 -Wno-logical-op-parentheses -Wno-switch -Wno-dangling-else -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DRARDLL -c hash.cpp
c++ -O2 -Wno-logical-op-parentheses -Wno-switch -Wno-dangling-else -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DRARDLL -c extinfo.cpp
c++ -O2 -Wno-logical-op-parentheses -Wno-switch -Wno-dangling-else -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DRARDLL -c extract.cpp
c++ -O2 -Wno-logical-op-parentheses -Wno-switch -Wno-dangling-else -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DRARDLL -c volume.cpp
c++ -O2 -Wno-logical-op-parentheses -Wno-switch -Wno-dangling-else -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DRARDLL -c list.cpp
c++ -O2 -Wno-logical-op-parentheses -Wno-switch -Wno-dangling-else -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DRARDLL -c find.cpp
c++ -O2 -Wno-logical-op-parentheses -Wno-switch -Wno-dangling-else -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DRARDLL -c unpack.cpp
c++ -O2 -Wno-logical-op-parentheses -Wno-switch -Wno-dangling-else -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DRARDLL -c headers.cpp
c++ -O2 -Wno-logical-op-parentheses -Wno-switch -Wno-dangling-else -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DRARDLL -c threadpool.cpp
c++ -O2 -Wno-logical-op-parentheses -Wno-switch -Wno-dangling-else -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DRARDLL -c rs16.cpp
c++ -O2 -Wno-logical-op-parentheses -Wno-switch -Wno-dangling-else -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DRARDLL -c cmddata.cpp
c++ -O2 -Wno-logical-op-parentheses -Wno-switch -Wno-dangling-else -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DRARDLL -c ui.cpp
c++ -O2 -Wno-logical-op-parentheses -Wno-switch -Wno-dangling-else -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DRARDLL -c filestr.cpp
c++ -O2 -Wno-logical-op-parentheses -Wno-switch -Wno-dangling-else -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DRARDLL -c scantree.cpp
c++ -O2 -Wno-logical-op-parentheses -Wno-switch -Wno-dangling-else -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DRARDLL -c dll.cpp
c++ -O2 -Wno-logical-op-parentheses -Wno-switch -Wno-dangling-else -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DRARDLL -c qopen.cpp
c++ -shared -o libunrar.so -pthread rar.o strlist.o strfn.o pathfn.o smallfn.o global.o file.o filefn.o filcreat.o archive.o arcread.o unicode.o system.o isnt.o crypt.o crc.o rawread.o encname.o resource.o match.o timefn.o rdwrfn.o consio.o options.o errhnd.o rarvm.o secpassword.o rijndael.o getbits.o sha1.o sha256.o blake2s.o hash.o extinfo.o extract.o volume.o list.o find.o unpack.o headers.o threadpool.o rs16.o cmddata.o ui.o filestr.o scantree.o dll.o qopen.o
ar rcs libunrar.a rar.o strlist.o strfn.o pathfn.o smallfn.o global.o file.o filefn.o filcreat.o archive.o arcread.o unicode.o system.o isnt.o crypt.o crc.o rawread.o encname.o resource.o match.o timefn.o rdwrfn.o consio.o options.o errhnd.o rarvm.o secpassword.o rijndael.o getbits.o sha1.o sha256.o blake2s.o hash.o extinfo.o extract.o volume.o list.o find.o unpack.o headers.o threadpool.o rs16.o cmddata.o ui.o filestr.o scantree.o dll.o qopen.o
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: libunrar.a(rar.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: libunrar.a(isnt.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: libunrar.a(resource.o) has no symbols
SKR-MBP:unrar SKIDROW$ sudo make install-lib
Password:
install libunrar.so /usr/lib
install: /usr/lib/libunrar.so: Operation not permitted
make: *** [install-lib] Error 71
SKR-MBP:unrar SKIDROW$
The text was updated successfully, but these errors were encountered: