Opened 14 months ago

Last modified 13 months ago

#71133 accepted defect

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

Reported by: frink0 (Liam Stitt) Owned by: ryandesign (Ryan Carsten Schmidt)
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) 14 months ago.
Build log results.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 14 months ago by jmroot (Joshua Root)

Port: scheme48 added

Please attach the config.log.

Changed 14 months ago by frink0 (Liam Stitt)

Attachment: config.log.gz added

Build log results.

comment:2 Changed 14 months 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 14 months 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!

comment:4 Changed 13 months ago by frink0 (Liam Stitt)

1.9.3 has been released with this problem corrected.

comment:5 Changed 13 months ago by ryandesign (Ryan Carsten Schmidt)

Owner: set to ryandesign
Status: newaccepted

Oh great! I'm working on updating the port. I'm getting a texlive-related build failure and I also don't know yet whether I should enable its optional glib support.

Did you really file a bug report on GitHub? I did not find any links to GitHub on their web site, only an email address for reporting bugs.

comment:6 Changed 13 months ago by frink0 (Liam Stitt)

Sorry, github was a brainfart on my part; what's there is just an exploded tarball of the release. I posted to the mailing list for reporting bugs, and went from there.

Note: See TracTickets for help on using tickets.