Opened 2 weeks ago

Last modified 2 weeks ago

#71133 new defect

scheme48 @1.9.2: error: Unable to determine bits per byte, see config.log for details

Reported by: frink0 (Liam Stitt) Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: sequoia Cc:
Port: scheme48

Description

Hi. Autoconf bombs out with the amusing message "error: Unable to determine bits per byte, see config.log for details.".

Attachments (1)

config.log.gz (2.7 KB) - added by frink0 (Liam Stitt) 2 weeks ago.
Build log results.

Download all attachments as: .zip

Change History (4)

comment:1 Changed 2 weeks ago by jmroot (Joshua Root)

Port: scheme48 added

Please attach the config.log.

Changed 2 weeks ago by frink0 (Liam Stitt)

Attachment: config.log.gz added

Build log results.

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

Keywords: sequoia added
Summary: scheme48 fails to build on Sequoiascheme48 @1.9.2: error: Unable to determine bits per byte, see config.log for details

The reason why this configure test failed, per the config.log, is:

configure:3310: checking bits per byte
configure:3336: /usr/bin/clang -o conftest -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -arch arm64 -isystem/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -arch arm64 conftest.c  >&5
conftest.c:12:3: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
   12 |                 main()
      |                 ^
      |                 int
1 error generated.
configure:3336: $? = 1
configure: program exited with status 1

Unfortunately scheme48 development appears to have ended in 2014 so I don't expect a fix from the developers but this problem is typically easy enough to patch.

comment:3 Changed 2 weeks ago by frink0 (Liam Stitt)

Yeah, tweaking the configure file to have proper type signatures on those main()s works. I'll file a bug on github anyway, just in case. Thanks!

Note: See TracTickets for help on using tickets.