Bug 264044

Summary: security/shibboleth-sp: cannot build with MEMCACHED on 13.1-RELEASE
Product: Ports & Packages Reporter: jako.andras
Component: Individual Port(s)Assignee: Palle Girgensohn <girgen>
Status: Closed FIXED    
Severity: Affects Only Me CC: dgeo
Priority: --- Flags: bugzilla: maintainer-feedback? (girgen)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
build log none

Description jako.andras 2022-05-17 12:38:45 UTC
Created attachment 233998 [details]
build log

I cannot build shibboleth-sp with poudriere using the following options:
====> Webserver modules
     FASTCGI=on: FastCGI protocol support, e.g. for NGINX
     APACHE=off: Build Apache module
====> Optional session storage
     ODBC=off: ODBC database backend - store sessions in a database
     MEMCACHED=on: Store sessions in memcached

Compilation fails with

memcache-store.cpp:225:79: error: no member named 'cached_errno' in 'memcached_st'
        error = string("Memcache::") + fn + "SYSTEM ERROR: " + strerror(memc->cached_errno);

error message. I attached the build log.

If there's something wrong on my side, then please let me know what I should check or try to adjust.

Thanks!

Andras
Comment 1 Palle Girgensohn freebsd_committer freebsd_triage 2022-05-17 22:21:17 UTC
Hi,

I cannot reproduce this. Do you have any options set for memcached?

Palle
Comment 2 Palle Girgensohn freebsd_committer freebsd_triage 2022-05-18 07:03:24 UTC
Ah, OK, buiding fresh for 13.1 I can reproduce.
Comment 3 jako.andras 2022-05-19 08:58:20 UTC
(In reply to Palle Girgensohn from comment #2)
Great, thanks! Let me know if I can help with testing, or some other way.
Comment 4 Palle Girgensohn freebsd_committer freebsd_triage 2022-05-23 07:55:29 UTC
Is your build machine also 13.1?

> building for: FreeBSD 131release-default-server-job-01 13.1-RELEASE FreeBSD 13.1-RELEASE 1301000 amd64


seems to 13.1 specific. Just want to rule out that it is due to my build machine still being 13.0.
Comment 5 jako.andras 2022-05-24 14:22:20 UTC
My build host is 13.1. Building shibboleth-sp in a 13.1 poudriere jail fails, but it builds fine in a 13.0 poudriere jail.
Comment 6 Palle Girgensohn freebsd_committer freebsd_triage 2022-05-24 14:57:39 UTC
(In reply to jako.andras from comment #5)


ok, good to know. Seems to be a problem with the new clang version in FreeBSD-13.1 then. I see problems building for 13.1 as well.
Comment 7 geoffroy desvernay 2022-07-29 10:47:12 UTC
any workaround ?

I may also help testing here (I need this but lack debugging skills)
Comment 8 Palle Girgensohn freebsd_committer freebsd_triage 2022-08-08 14:42:20 UTC
(In reply to geoffroy desvernay from comment #7)

I've been away on vacation, so I need to jog my memory a bit. I could not find any simple fix when I looked at it in June. Will take another look, but not until next week, unfortunately.

Palle
Comment 9 Palle Girgensohn freebsd_committer freebsd_triage 2022-08-08 14:42:28 UTC
(In reply to geoffroy desvernay from comment #7)

I've been away on vacation, so I need to jog my memory a bit. I could not find any simple fix when I looked at it in June. Will take another look, but not until next week, unfortunately.

Palle
Comment 10 geoffroy desvernay 2022-09-05 09:32:46 UTC
Did you get any chance to look at this ?

We'll stick to a 12.3 jail here in the meantime
Comment 11 geoffroy desvernay 2023-05-10 07:26:48 UTC
I think this can be closed: MEMCACHED option was removed
Comment 12 commit-hook freebsd_committer freebsd_triage 2024-11-13 14:49:04 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b78b4a05619b14093195b6df0a02cb9be19d60bc

commit b78b4a05619b14093195b6df0a02cb9be19d60bc
Author:     Palle Girgensohn <girgen@FreeBSD.org>
AuthorDate: 2024-11-13 14:47:11 +0000
Commit:     Palle Girgensohn <girgen@FreeBSD.org>
CommitDate: 2024-11-13 14:48:39 +0000

    security/shibboleth-sp: Unbreak memcached support

    It was apparently fixed upstreams.

    PR:     264044

 security/shibboleth-sp/Makefile | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)