[MacPorts] #65144: MacPorts base fail to build for x86_64 on 10.6.8

MacPorts noreply at macports.org
Mon May 9 10:54:17 UTC 2022


#65144: MacPorts base fail to build for x86_64 on 10.6.8
---------------------------------+--------------------
 Reporter:  barracuda156         |      Owner:  (none)
     Type:  defect               |     Status:  new
 Priority:  Normal               |  Milestone:
Component:  base                 |    Version:  2.7.2
 Keywords:  x86_64, snowleopard  |       Port:
---------------------------------+--------------------
 It pulls from somewhere a wrong arch flag here:
 ```
 gcc-4.2 -m64 -arch x86_64 -std=gnu99 -g -O2 -std=c99 -Wextra -Wall   -fPIC
 -arch x86_64 -arch i386 -DHAVE_CONFIG_H
 -I/Users/svacchanda/Downloads/MacPorts-2.7.2/src
 -I/Users/svacchanda/Downloads/MacPorts-2.7.2/src -I.
 -I/Users/svacchanda/Downloads/MacPorts-2.7.2/vendor/vendor-
 destroot/opt/x86_64/libexec/macports/include -I./../compat  -c -o access.o
 access.c
 gcc-4.2 -m64 -arch x86_64 -std=gnu99 -g -O2 -std=c99 -Wextra -Wall   -fPIC
 -arch x86_64 -arch i386 -DHAVE_CONFIG_H
 -I/Users/svacchanda/Downloads/MacPorts-2.7.2/src
 -I/Users/svacchanda/Downloads/MacPorts-2.7.2/src -I.
 -I/Users/svacchanda/Downloads/MacPorts-2.7.2/vendor/vendor-
 destroot/opt/x86_64/libexec/macports/include -I./../compat  -c -o close.o
 close.c
 gcc-4.2 -m64 -arch x86_64 -std=gnu99 -g -O2 -std=c99 -Wextra -Wall   -fPIC
 -arch x86_64 -arch i386 -DHAVE_CONFIG_H
 -I/Users/svacchanda/Downloads/MacPorts-2.7.2/src
 -I/Users/svacchanda/Downloads/MacPorts-2.7.2/src -I.
 -I/Users/svacchanda/Downloads/MacPorts-2.7.2/vendor/vendor-
 destroot/opt/x86_64/libexec/macports/include -I./../compat  -c -o
 darwintrace.o darwintrace.c
 gcc-4.2 -m64 -arch x86_64 -std=gnu99 -g -O2 -std=c99 -Wextra -Wall   -fPIC
 -arch x86_64 -arch i386 -DHAVE_CONFIG_H
 -I/Users/svacchanda/Downloads/MacPorts-2.7.2/src
 -I/Users/svacchanda/Downloads/MacPorts-2.7.2/src -I.
 -I/Users/svacchanda/Downloads/MacPorts-2.7.2/vendor/vendor-
 destroot/opt/x86_64/libexec/macports/include -I./../compat  -c -o dup2.o
 dup2.c
 lipo: /var/folders/RY/RYtBnu68EFaDL2tpwUXYIU+++TI/-Tmp-//ccekUkEL.out and
 /var/folders/RY/RYtBnu68EFaDL2tpwUXYIU+++TI/-Tmp-//ccki5osG.out have the
 same architectures (x86_64) and can't be in the same fat output file
 make[2]: *** [access.o] Error 1
 make[2]: *** Waiting for unfinished jobs....
 lipo: /var/folders/RY/RYtBnu68EFaDL2tpwUXYIU+++TI/-Tmp-//ccCWnuW9.out and
 /var/folders/RY/RYtBnu68EFaDL2tpwUXYIU+++TI/-Tmp-//ccZMLTvz.out have the
 same architectures (x86_64) and can't be in the same fat output file
 make[2]: *** [close.o] Error 1
 lipo: /var/folders/RY/RYtBnu68EFaDL2tpwUXYIU+++TI/-Tmp-//ccRNGUmA.out and
 /var/folders/RY/RYtBnu68EFaDL2tpwUXYIU+++TI/-Tmp-//ccrRDdP0.out have the
 same architectures (x86_64) and can't be in the same fat output file
 make[2]: *** [dup2.o] Error 1
 lipo: /var/folders/RY/RYtBnu68EFaDL2tpwUXYIU+++TI/-Tmp-//ccb0Wnm0.out and
 /var/folders/RY/RYtBnu68EFaDL2tpwUXYIU+++TI/-Tmp-//cchSUgcT.out have the
 same architectures (x86_64) and can't be in the same fat output file
 make[2]: *** [darwintrace.o] Error 1
 make[1]: *** [all] Error 1
 make: *** [all] Error 1
 ```

 Configure line:
 ```
 ./configure --prefix=/opt/x86_64 --build=x86_64-apple-darwin10 --with-
 applications-dir=/opt/x86_64/Applications --without-startupitems
 CC='gcc-4.2 -m64 -arch x86_64' CXX='g++-4.2 -m64 -arch x86_64'
 ```

-- 
Ticket URL: <https://trac.macports.org/ticket/65144>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list