Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#61509 closed defect (invalid)

jbig2dec fails to build on macOS 11.0 (Big Sur)

Reported by: moyang (Moyang Wang) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: bigsur Cc:
Port: jbig2dec

Description (last modified by moyang (Moyang Wang))

It fails on configuration stage. Full log is attached.

configure:3441: checking whether the C compiler works
configure:3463: /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 conftest.c  >&5
clang: error: invalid version number in 'MACOSX_DEPLOYMENT_TARGET=11.0'
configure:3467: $? = 1
configure:3505: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "jbig2dec"
| #define PACKAGE_TARNAME "jbig2dec"
| #define PACKAGE_VERSION "0.19"
| #define PACKAGE_STRING "jbig2dec 0.19"
| #define PACKAGE_BUGREPORT "gs-devel@ghostscript.com"
| #define PACKAGE_URL ""
| #define PACKAGE "jbig2dec"
| #define VERSION "0.19"
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:3510: error: in `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_jbig2dec/jbig2dec/work/jbig2dec-0.19':
configure:3512: error: C compiler cannot create executables
See `config.log' for more details

Attachments (1)

config.log (9.2 KB) - added by moyang (Moyang Wang) 4 years ago.

Download all attachments as: .zip

Change History (6)

Changed 4 years ago by moyang (Moyang Wang)

Attachment: config.log added

comment:1 Changed 4 years ago by moyang (Moyang Wang)

Description: modified (diff)

comment:2 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: bigsur added

Sounds like you have not updated Xcode to 12.2 or have not updated Xcode command line tools to 12.2. Please do that.

comment:3 in reply to:  2 ; Changed 4 years ago by moyang (Moyang Wang)

Replying to ryandesign:

Sounds like you have not updated Xcode to 12.2 or have not updated Xcode command line tools to 12.2. Please do that.

I am sure my Xcode version is 12.2 and the command line tools are updated.

comment:4 Changed 4 years ago by cjones051073 (Chris Jones)

Resolution: invalid
Status: newclosed

bigs fine here, so I agree this must be an issue with the OP's Xcode/CLT.

comment:5 in reply to:  3 Changed 4 years ago by jmroot (Joshua Root)

Replying to moyang:

I am sure my Xcode version is 12.2 and the command line tools are updated.

If you run pkgutil --pkg-info=com.apple.pkg.CLTools_Executables it should print (among other things) version: 12.2.0.0.1.1604628099. See also: ProblemHotlist#reinstall-clt

Note: See TracTickets for help on using tickets.