Opened 5 years ago
Closed 5 years ago
#59548 closed defect (fixed)
fakeroot @1.24 fails at configure
Reported by: | McDutchie (Martijn Dekker) | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.2 |
Keywords: | Cc: | ||
Port: | fakeroot |
Description
The problem (as per config.log) seems to be:
configure:3619: checking whether the C compiler works configure:3641: /usr/bin/clang -pipe -Os -Wno-deprecated-declarations -Wno-extra-tokens -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -arch x86_64 -arch i386 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -arch x86_64 -arch i386 conftest.c >&5 ld: warning: The i386 architecture is deprecated for macOS (remove from the Xcode build setting: ARCHS) ld: warning: ignoring file /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/lib/libSystem.tbd, missing required architecture i386 in file /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/lib/libSystem.tbd ld: dynamic main executables must link with libSystem.dylib for architecture i386 clang: error: linker command failed with exit code 1 (use -v to see invocation) configure:3645: $? = 1 configure:3683: result: no
Since the error message complains about lacking an i386 SDK, I thought disabling the universal
variant might fix it. But using sudo port clean fakeroot && sudo port install fakeroot -universal
seems to make no difference. The same error occurs.
Attached: main.log and config.log.
Attachments (2)
Change History (5)
Changed 5 years ago by McDutchie (Martijn Dekker)
Changed 5 years ago by McDutchie (Martijn Dekker)
Attachment: | config.log added |
---|
comment:1 Changed 5 years ago by McDutchie (Martijn Dekker)
comment:2 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign removed |
---|---|
Owner: | set to ryandesign |
Status: | new → accepted |
Replying to McDutchie:
Since the error message complains about lacking an i386 SDK, I thought disabling the
universal
variant might fix it. But usingsudo port clean fakeroot && sudo port install fakeroot -universal
seems to make no difference. The same error occurs.
Correct, the fakeroot port is unusual in that it forces the universal variant to be enabled, and also overrides the user's selection of universal architectures. It does this to ensure that it can work with any executable the user might have on their system. The port needs to be updated to account for the fact that i386 builds are no longer possible with the 10.14 SDK and up.
comment:3 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
Neglected to mention that this is on macOS 10.14.6 with Xcode 11.1.