Opened 3 years ago

Closed 3 years ago

#63852 closed defect (fixed)

serf1: error: implicit declaration of function 'ERR_GET_FUNC'

Reported by: DetmarM (Detmar Meurers) Owned by: czo
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: Cc: reneeotten (Renee Otten), Tatsh (Andrew Udvare), mascguy (Christopher Nielsen)
Port: serf1

Description (last modified by ryandesign (Ryan Carsten Schmidt))

build of serf1 @1.3.9_3 in MacPorts 2.7.1 using Xcode 13.1 fails because of

buckets/ssl_buckets.c:1329:24: error: implicit declaration of function 'ERR_GET_FUNC' [-Werror,-Wimplicit-function-declaration]

Full log is attached. Would be great to get a fix since this also means subversion won't build.

Attachments (1)

main.log (67.0 KB) - added by DetmarM (Detmar Meurers) 3 years ago.
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_serf1/serf1/main.log

Download all attachments as: .zip

Change History (10)

Changed 3 years ago by DetmarM (Detmar Meurers)

Attachment: main.log added

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_serf1/serf1/main.log

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

Description: modified (diff)
Priority: HighNormal
Summary: serf1 fails to build on macOS Monterey (12.0.1)serf1: error: implicit declaration of function 'ERR_GET_FUNC'

Undoubtedly fallout from the recent switch to openssl 3.

Port has no maintainer; fixes welcome.

comment:2 Changed 3 years ago by jmroot (Joshua Root)

comment:3 Changed 3 years ago by reneeotten (Renee Otten)

I fixed that yesterday already in this commit so unless the openssl3 PR undid these changes it should work already... Let me take a look.

comment:4 Changed 3 years ago by reneeotten (Renee Otten)

ah, well it does add the correct include directory for openssl11 but that one comes after ${prefix}/include, so I guess that is the issue here... Likely the order needs to be changed, I don't know from the top of my head how to do that in general, but certainly not with Scons, but perhaps someone else does. For now as a workaround you can build it in trace-mode locally or wait until it's build by the buildbot as there only the openssl11 dependency will be installed.

Last edited 3 years ago by reneeotten (Renee Otten) (previous) (diff)

comment:5 Changed 3 years ago by reneeotten (Renee Otten)

Cc: reneeotten added

comment:6 Changed 3 years ago by Tatsh (Andrew Udvare)

Cc: Tatsh added

comment:7 Changed 3 years ago by mascguy (Christopher Nielsen)

Cc: mascguy added

comment:8 Changed 3 years ago by czo

I've submitted a pull-request to modify the directory ordering in the SConstruct file, to include openssl directories before the macports-wide directories are listed in (ie changing 'append' to 'prepend'). https://github.com/macports/macports-ports/pull/12860

comment:9 Changed 3 years ago by czo

Owner: set to czo
Resolution: fixed
Status: newclosed

In cf8552519f6ae862957c0ed56fe16df922548a97/macports-ports (master):

serf1: fix openssl include path preference

Closes: #63852

Note: See TracTickets for help on using tickets.