Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build fails on 10.6: Unknown option or message digest: dss1 #53

Open
barracuda156 opened this issue Aug 19, 2024 · 2 comments
Open

Build fails on 10.6: Unknown option or message digest: dss1 #53

barracuda156 opened this issue Aug 19, 2024 · 2 comments

Comments

@barracuda156
Copy link

:info:build     /bin/sh -c /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_aqua_Smultron/Smultron/work/Fraise-312c9f335438fd80656650573d62c260322727b3/build/Fraise.build/Release/Distribution.build/Script-1F7486CA114F1F9900767B18.sh
:info:build dgst: Unknown option or message digest: dss1
:info:build dgst: Use -help for summary.
:info:build 008AE408:error:0308010C:digital envelope routines:inner_evp_generic_fetch:unsupported:crypto/evp/evp_fetch.c:355:Global default library context, Algorithm (dss1 : 0), Properties (<null>)
:info:build Unable to load signing private key with name 'Sparkle Private Key' from keychain
:info:build Could not create file parser context for file "-": No such file or directory at -e line 1.
:info:build ** BUILD FAILED **
@barracuda156
Copy link
Author

3.7.1 also fails, complaining re ibtool version and saying it cannot open some archive.

Did not try 10.6.8 Rosetta yet, that might work if the issue is just Xcode capabilities and not incompatible code.

@barracuda156
Copy link
Author

Rosetta also fails, on the same spot:

shellScript = "set -o errexit\n\n[ $BUILD_STYLE = Release ] || { echo Distribution target requires \"'Release'\" build style; false; }\n\nVERSION=$(defaults read \"$BUILT_PRODUCTS_DIR/$PROJECT_NAME.app/Contents/Info\" CFBundleVersion)\nDOWNLOAD_BASE_URL=\"http://www.github.com/jfmoy/Fraise\"\nRELEASENOTES_URL=\"http://www.bloggezmoy.com/fraise/release-notes.html#version-$VERSION\"\n\nARCHIVE_FILENAME=\"$PROJECT_NAME $VERSION.zip\"\nDOWNLOAD_URL=\"$DOWNLOAD_BASE_URL/$ARCHIVE_FILENAME\"\nKEYCHAIN_PRIVKEY_NAME=\"Sparkle Private Key\"\n\nWD=$PWD\ncd \"$BUILT_PRODUCTS_DIR\"\nrm -f \"$PROJECT_NAME\"*.zip\nditto -ck --keepParent \"$PROJECT_NAME.app\" \"$ARCHIVE_FILENAME\"\n\nSIZE=$(stat -f %z \"$ARCHIVE_FILENAME\")\nPUBDATE=$(date +\"%a, %d %b %G %T %z\")\nSIGNATURE=$(\n\topenssl dgst -sha1 -binary < \"$ARCHIVE_FILENAME\" \\\n\t| openssl dgst -dss1 -sign <(security find-generic-password -g -s \"$KEYCHAIN_PRIVKEY_NAME\" 2>&1 1>/dev/null | perl -pe '($_) = /\"(.+)\"/; s/\\\\012/\\n/g' | perl -MXML::LibXML -e 'print XML::LibXML->new()->parse_file(\"-\")->findvalue(q(//string[preceding-sibling::key[1] = \"NOTE\"]))') \\\n\t| openssl enc -base64\n)\n\n[ $SIGNATURE ] || { echo Unable to load signing private key with name \"'$KEYCHAIN_PRIVKEY_NAME'\" from keychain; false; }\n\ncat <<EOF\n\t\t<item>\n\t\t\t<title>Version $VERSION</title>\n\t\t\t<sparkle:releaseNotesLink>$RELEASENOTES_URL</sparkle:releaseNotesLink>\n\t\t\t<pubDate>$PUBDATE</pubDate>\n\t\t\t<enclosure\n\t\t\t\turl=\"$DOWNLOAD_URL\"\n\t\t\t\tsparkle:version=\"$VERSION\"\n\t\t\t\ttype=\"application/octet-stream\"\n\t\t\t\tlength=\"$SIZE\"\n\t\t\t\tsparkle:dsaSignature=\"$SIGNATURE\"\n\t\t\t/>\n\t\t</item>\nEOF\n\necho scp \"'$HOME/Documents/Project/Smultron/build/Release/$ARCHIVE_FILENAME'\"http://www.github.com/jfmoy/Smultron/\necho scp \"'$WD/appcast.xml'\" www.bloggezmoy.com:smultron/appcast.xml";

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant