[JIRA] (SSPCPP-966) configure.ac: AC_MSG_ERROR can't be used as value-if-not-found

Ferenc Wágner (Jira) jira at shibboleth.atlassian.net
Sun Jan 22 14:06:00 UTC 2023


Ferenc Wágner ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=6111238d6051c5006a368065 ) *created* an issue

Shibboleth SP - C++ ( https://shibboleth.atlassian.net/browse/SSPCPP?atlOrigin=eyJpIjoiYTIwNzI0NWYwNTg1NGIwYmE3YTQ2YWJiNGIwYjMwZWMiLCJwIjoiaiJ9 ) / Bug ( https://shibboleth.atlassian.net/browse/SSPCPP-966?atlOrigin=eyJpIjoiYTIwNzI0NWYwNTg1NGIwYmE3YTQ2YWJiNGIwYjMwZWMiLCJwIjoiaiJ9 ) SSPCPP-966 ( https://shibboleth.atlassian.net/browse/SSPCPP-966?atlOrigin=eyJpIjoiYTIwNzI0NWYwNTg1NGIwYmE3YTQ2YWJiNGIwYjMwZWMiLCJwIjoiaiJ9 ) configure.ac: AC_MSG_ERROR can't be used as value-if-not-found ( https://shibboleth.atlassian.net/browse/SSPCPP-966?atlOrigin=eyJpIjoiYTIwNzI0NWYwNTg1NGIwYmE3YTQ2YWJiNGIwYjMwZWMiLCJwIjoiaiJ9 )

Issue Type: Bug Affects Versions: 3.4.1 Assignee: Scott Cantor ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A5b78efc9-1379-42cc-a3f6-56c6ea3a0007 ) Components: Build Created: 22/Jan/23 9:05 AM Priority: Trivial Reporter: Ferenc Wágner ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=6111238d6051c5006a368065 )

Such use inside AC_PATH_PROGS() leads to an obscure error message and does not terminate the configure run if hit (just try configuring without installing the Apache development packages first). Also its message needs quoting otherwise textual commas are considered macro argument separators.

You can fetch the tip of https://salsa.debian.org/shib-team/shibboleth-sp2/-/tree/quoting ( https://salsa.debian.org/shib-team/shibboleth-sp2/-/tree/quoting ) for a possible fix.

( https://shibboleth.atlassian.net/browse/SSPCPP-966#add-comment?atlOrigin=eyJpIjoiYTIwNzI0NWYwNTg1NGIwYmE3YTQ2YWJiNGIwYjMwZWMiLCJwIjoiaiJ9 ) Add Comment ( https://shibboleth.atlassian.net/browse/SSPCPP-966#add-comment?atlOrigin=eyJpIjoiYTIwNzI0NWYwNTg1NGIwYmE3YTQ2YWJiNGIwYjMwZWMiLCJwIjoiaiJ9 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail ) or iOS ( https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100214- sha1:fa7bc5f )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/commits/attachments/20230122/16bcfcc7/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-comment-icon-07cfabea-4d81-4b37-b83e-cbaa1a242d8e
Type: image/png
Size: 1084 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230122/16bcfcc7/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-trivial-2a3315b2-703e-411c-b62b-5b3c46f1ad46
Type: image/png
Size: 446 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230122/16bcfcc7/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-avatar-630d0ce6-7c2e-4f7e-bb83-e5fe3d0a2e74
Type: image/png
Size: 345 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230122/16bcfcc7/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-footer-desktop-logo-d63bdd86-63d9-4c2c-8550-9158c7fbccd0
Type: image/png
Size: 10805 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230122/16bcfcc7/attachment-0007.png>


More information about the commits mailing list