Opened 3 years ago

Closed 3 years ago

#63957 closed defect (fixed)

swi-prolog @8.2.4: install broken, rebuild fails with undeclared identifier RSA_SSLV23_PADDING

Reported by: klausness Owned by: JanWielemaker (Jan Wielemaker)
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: Cc:
Port: swi-prolog

Description

Macports upgrade reports that swi-prolog is broken and offers to rebuild it. Rebuild fails with "command execution fails".

According to the log, the failure is at:

cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_swi-prolog/swi-prolog/work/build" && ninja -j8 all -j8 -v

Running ninja -j8 all -j8 -v manually gives me an error at:

/Library/Developer/CommandLineTools/usr/bin/clang -Dplugin_crypto4pl_EXPORTS -I/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_swi-prolog/swi-prolog/work/build/packages/ssl -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_swi-prolog/swi-prolog/work/swipl-8.2.4/src/os -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_swi-prolog/swi-prolog/work/swipl-8.2.4/src -pipe -Os -DNDEBUG -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -O3 -DNDEBUG -arch x86_64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -mmacosx-version-min=10.14 -fPIC -Wall -D__SWI_PROLOG__ -DSERVER_CERT_REQUIRED=TRUE -DCLIENT_CERT_REQUIRED=TRUE -MD -MT packages/ssl/CMakeFiles/plugin_crypto4pl.dir/crypto4pl.c.o -MF packages/ssl/CMakeFiles/plugin_crypto4pl.dir/crypto4pl.c.o.d -o packages/ssl/CMakeFiles/plugin_crypto4pl.dir/crypto4pl.c.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_swi-prolog/swi-prolog/work/swipl-8.2.4/packages/ssl/crypto4pl.c

Running that manually gives a number of deprecation warnings plus the following error:

/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_swi-prolog/swi-prolog/work/swipl-8.2.4/packages/ssl/crypto4pl.c:851:69: error: 
      use of undeclared identifier 'RSA_SSLV23_PADDING'
    else if ( a == ATOM_sslv23  && mode == RSA_MODE )    *padding = RSA_SSLV23_PADDING;

Change History (4)

comment:1 Changed 3 years ago by JanWielemaker (Jan Wielemaker)

I see that the port file for swi-prolog must be updated to 8.4.x. This issue has been resolved some time ago. As a quick work-around, install swi-prolog-devel instead.

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

Cc: JanWielemaker removed
Keywords: undeclared RSA_SSLV23_PADDING removed
Owner: set to JanWielemaker
Status: newassigned
Summary: swi-prolog install broken, rebuild fails with undeclared identifier RSA_SSLV23_PADDINGswi-prolog @8.2.4: install broken, rebuild fails with undeclared identifier RSA_SSLV23_PADDING

comment:3 Changed 3 years ago by JanWielemaker (Jan Wielemaker)

The Portfile for swi-prolog has been updated to 8.4.1, which resolves this issue.

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

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.