Bug 231552 - security/shibboleth-sp unable to load in apache after update
Summary: security/shibboleth-sp unable to load in apache after update
Status: Closed Feedback Timeout
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Some People
Assignee: Palle Girgensohn
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-21 16:18 UTC by albert.shih
Modified: 2019-11-13 14:22 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (girgen)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description albert.shih 2018-09-21 16:18:15 UTC
Hi,

After update I'm unable to load the module shibboleth-sp in apache.

When I try to start apache I got this message :
httpd: Syntax error on line 43 of /usr/local/etc/apache24/httpd.conf: Syntax error on line 1 of /usr/local/etc/apache24/Modules/shib2.load: Cannot load /usr/local/lib/shibboleth/mod_shib_24.so into server: /usr/local/lib/shibboleth/mod_shib_24.so: Undefined symbol "_ZNK11xercesc_3_217RegularExpression7matchesEPKDsPNS_13MemoryManagerE"

I've no idea what the problem.

All ports are update. 

All ports are build on poudriere.

The OS is FreeBSD 11.2-RELEASE-p2.

The apache run inside a jail (But I really don't think that's matter)
Comment 1 Palle Girgensohn freebsd_committer freebsd_triage 2018-09-24 08:31:59 UTC
Hi!

That's odd. Which version of xerces-c do you have installed?

$ pkg info -d shibboleth-sp
shibboleth-sp-3.0.2_1:
	apache24-2.4.34
	xerces-c3-3.2.0_2
	opensaml-3.0.0_1
	apache-xml-security-c-2.0.1
	xmltooling-3.0.2_1
	log4shib-2.0.0
	unixODBC-2.3.6
Comment 2 Palle Girgensohn freebsd_committer freebsd_triage 2018-09-24 08:33:48 UTC
And you've built the ports using poudriere? Do you have any options set beside the default ones?
Comment 3 albert.shih 2018-09-24 11:15:51 UTC
Exact same thing as you

pkg info -d shibboleth-sp-3.0.2_1
shibboleth-sp-3.0.2_1:
        apache24-2.4.34
        xerces-c3-3.2.0_2
        opensaml-3.0.0_1
        apache-xml-security-c-2.0.1
        xmltooling-3.0.2_1
        log4shib-2.0.0
        unixODBC-2.3.7

..almost. I got unixODBC-2.3.7 instead of unixODC-2.3.6
Comment 4 albert.shih 2018-09-24 11:23:49 UTC
Hi, 

Thanks for the help.

I don't have any options about shibboleth-sp, but yes I have some non-default options about apache24. 

But the difference between the options I use than the standard options are very small. I add AuthNZ-ldap, LDAP, and remove DOC. 

Beside that I don't have any other options for first level dependency.

If you think that should work I can cleanup my poudriere and rebuilt everything. It's just...that take some time...;-)

Regards
Comment 5 Palle Girgensohn freebsd_committer freebsd_triage 2018-09-24 11:31:23 UTC
Hi,

Well you might not need to rebuild everything, you could try forcing a rebuild of just xerces-c, shobboleth and apache?

Palle
Comment 6 Palle Girgensohn freebsd_committer freebsd_triage 2019-11-13 14:22:05 UTC
Closing this PR due to it beeing over a year old. 

My take is that the packages installed was not in sync, i.e. built with different versions of something somehow.

If the problem still exists, please open the report again.

Palle