pam_yubico won't build on El Capitan #43565
Comments
Does this reproduce with the GM/Xcode GM? I can't repro here. |
Will try again and report back... |
Yep. I can still reproduce.
|
Can you try |
Just tried. Same error. I believe passing |
Dears, I am having the same issue under 10.11 GM build, is there ay workaround? Thanks. |
@senadaruc Yep...if it's the same issue I'm having, you'll need to edit the Makefile to add --no-xmllint to the a2x command. |
Hi dlo, Thanks for the kind help and i made this changes but i still have the same error!! SUFFIXES = .1.txt .1 .8.txt .8 .8.txt.8: Can you please share yours Makefile? Thanks. |
Dears, Finally this solution worked for me. SUFFIXES = .1.txt .1 .8.txt .8 .8.txt.8: Thanks. |
Workaround for brew install "pam_yubico" in MAC OS X 10.11 El Capitan Step by-step guide. 1.Find the downloaded archive file in /Library/Caches/Homebrew/pam_yubico-2.19.tar.gz 2.Extract the archive and "cd yubico-pam-2.19" 3.Edit the file "Makefile.am" and change line no:77 and 80 with the following lines: 4.run the following command inside the folder "yubico-pam-2.19" autoreconf -fvi ./configure –prefix=/usr/local/Cellar/pam_yubico/2.19 –with-libyubikey-prefix=/usr/local/opt/libyubikey –with-libykclient-prefix=/usr/loc make install 5.verify with "brew list" that installation is successfully.
7.Follow the guide here : https://www.yubico.com/wp-content/uploads/2015/04/YubiKey-OSX-Login.pdf Credits to https://github.com/dlo for the "--no-xmllint " hint. Thanks. |
Can someone talk to upstream about this? I couldn't reproduce but presumably if several people are having issues here I'm just very lucky. If upstream says the proposed change to the |
@senadaruc's instructions worked for me (thanks!), with the following changes:
When I entered my password to unlock without the Yubikey inserted, the login succeeded, with this error appearing in Console.app:
|
upstream here.. If I read this correctly the issue here is the xmllint of a2x for the manpages? Yubico/yubico-pam@37f8788 went in on september 8, and is in the latest released version (2.20) |
@klali Thanks for the reply here! Appreciate that. I opened #44571 to resolve this with the version bump, but apparently the version update now fails on Yosemite and Mavericks (And probably older platforms) whilst passing on El Cap exclusively. The error is:
Any thoughts? |
So looking a tthis now.. is there a reason to not use the "real" distribution tarball (https://developers.yubico.com/yubico-pam/Releases/pam_yubico-2.20.tar.gz)? Then man-pages are pre-built and autotools stuff done.. |
It looks like the autotools were added way back in afcd14a & have stuck around since. I'll try switching it to the official release. |
That seemed to work. Feel free to let us know if you hit any further issues folks, but it passed the CI across 10.11-10.9. Thank you for the really useful input here @klali. Being able to ditch four build-time dependencies is great. |
Build log: https://gist.github.com/dlo/9978c98c326a5c095946
Thanks!
The text was updated successfully, but these errors were encountered: