Package Details: osslsigncode 2.9-1

Git Clone URL: https://aur.archlinux.org/osslsigncode.git (read-only, click to copy)
Package Base: osslsigncode
Description: OpenSSL based Authenticode signing for PE/MSI/Java CAB files
Upstream URL: https://github.com/mtrojnar/osslsigncode
Licenses: GPL
Submitter: mbunkus
Maintainer: mbunkus
Last Packager: mbunkus
Votes: 10
Popularity: 0.010252
First Submitted: 2016-01-10 13:03 (UTC)
Last Updated: 2024-07-19 07:32 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

ziltoid commented on 2023-07-21 15:08 (UTC) (edited on 2023-07-21 15:12 (UTC) by ziltoid)

I can't install the new version. Any suggestions? (If the code below is too much sorry, I'll delete/shorten it)



 [ziltoid@arch ~]$ paru -S osslsigncode --rebuild
:: Resolving dependencies...
:: Calculating conflicts...
:: Calculating inner conflicts...

Aur (1)           Old Version  New Version  Make Only
aur/osslsigncode  2.5-2        2.6-1        No

:: Proceed to review? [Y/n]:

:: Downloading PKGBUILDs...
 PKGBUILDs up to date
 nothing new to review
fetching devel info...
==> Making package: osslsigncode 2.6-1 (Tue Jul 18 18:40:17 2023)
==> Retrieving sources...
  -> Found 2.6.tar.gz
  -> Found issue-276-8854cada70456102df32a1c5d51b46809e66d63f.diff
==> Validating source files with sha512sums...
    2.6.tar.gz ... Passed
    issue-276-8854cada70456102df32a1c5d51b46809e66d63f.diff ... Passed
==> Making package: osslsigncode 2.6-1 (Tue Jul 18 18:40:18 2023)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found 2.6.tar.gz
  -> Found issue-276-8854cada70456102df32a1c5d51b46809e66d63f.diff
==> Validating source files with sha512sums...
    2.6.tar.gz ... Passed
    issue-276-8854cada70456102df32a1c5d51b46809e66d63f.diff ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting 2.6.tar.gz with bsdtar
==> Starting prepare()...
patching file msi.c
-- The C compiler identification is GNU 13.1.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Found OpenSSL: /usr/lib/libcrypto.so (found version "3.1.1")
-- Found CURL: /usr/lib/libcurl.so (found version "8.1.2")
-- Using bash completions dir /usr/share/bash-completion/completions
-- Looking for getpass
-- Looking for getpass - found
-- Looking for termios.h
-- Looking for termios.h - found
-- Looking for sys/mman.h
-- Looking for sys/mman.h - found
-- Looking for mmap
-- Looking for mmap - found
-- cURL support enabled
-- Found Python3: /usr/bin/python3.11 (found version "3.11.3") found components: Interpreter
-- HTTP server started, URL http://127.0.0.1:35127
-- faketime not found in $PATH, please install faketime package
-- Default certificates used by cTest
-- Keep HTTP server after tests
-- Configuring done (3.1s)
-- Generating done (0.0s)
-- Build files have been written to: /home/ziltoid/.cache/paru/clone/osslsigncode/src/build
==> Sources are ready.
osslsigncode-2.6-1: parsing pkg list...
==> Making package: osslsigncode 2.6-1 (Tue Jul 18 18:40:23 2023)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Removing existing $pkgdir/ directory...
==> Starting build()...
[ 42%] Building C object CMakeFiles/osslsigncode.dir/osslsigncode.c.o
[ 42%] Building C object CMakeFiles/osslsigncode.dir/cab.c.o
[ 42%] Building C object CMakeFiles/osslsigncode.dir/msi.c.o
[ 57%] Building C object CMakeFiles/osslsigncode.dir/pe.c.o
[ 71%] Building C object CMakeFiles/osslsigncode.dir/helpers.c.o
[ 85%] Building C object CMakeFiles/osslsigncode.dir/cat.c.o
[100%] Linking C executable osslsigncode
[100%] Built target osslsigncode
==> Starting check()...
Test project /home/ziltoid/.cache/paru/clone/osslsigncode/src/build
        Start   1: version
  1/111 Test   #1: version ..........................   Passed    0.00 sec
        Start   2: legacy_exe
  2/111 Test   #2: legacy_exe .......................   Passed    0.01 sec
        Start   3: legacy_ex_
  3/111 Test   #3: legacy_ex_ .......................   Passed    0.01 sec
        Start   4: legacy_msi
  4/111 Test   #4: legacy_msi .......................   Passed    0.01 sec
        Start   5: legacy_cat
  5/111 Test   #5: legacy_cat .......................   Passed    0.01 sec
        Start   6: nolegacy_exe
  6/111 Test   #6: nolegacy_exe .....................   Passed    0.00 sec
        Start   7: nolegacy_ex_
  7/111 Test   #7: nolegacy_ex_ .....................   Passed    0.00 sec
        Start   8: nolegacy_msi
  8/111 Test   #8: nolegacy_msi .....................   Passed    0.00 sec
        Start   9: nolegacy_cat
  9/111 Test   #9: nolegacy_cat .....................   Passed    0.00 sec
        Start  10: signed_exe
 10/111 Test  #10: signed_exe .......................   Passed    0.01 sec
        Start  11: signed_ex_
 11/111 Test  #11: signed_ex_ .......................   Passed    0.01 sec
        Start  12: signed_msi
 12/111 Test  #12: signed_msi .......................   Passed    0.01 sec
        Start  13: signed_cat
 13/111 Test  #13: signed_cat .......................   Passed    0.01 sec
        Start  14: revoked_exe
 14/111 Test  #14: revoked_exe ......................   Passed    0.01 sec
        Start  15: revoked_ex_
 15/111 Test  #15: revoked_ex_ ......................   Passed    0.01 sec
        Start  16: revoked_msi
 16/111 Test  #16: revoked_msi ......................   Passed    0.01 sec
        Start  17: revoked_cat
 17/111 Test  #17: revoked_cat ......................   Passed    0.01 sec
        Start  18: removed_exe
 18/111 Test  #18: removed_exe ......................   Passed    0.00 sec
        Start  19: removed_ex_
 19/111 Test  #19: removed_ex_ ......................   Passed    0.00 sec
        Start  20: removed_msi
 20/111 Test  #20: removed_msi ......................   Passed    0.00 sec
        Start  21: extract_pem_exe
 21/111 Test  #21: extract_pem_exe ..................   Passed    0.01 sec
        Start  22: extract_pem_ex_
 22/111 Test  #22: extract_pem_ex_ ..................   Passed    0.00 sec
        Start  23: extract_pem_msi
 23/111 Test  #23: extract_pem_msi ..................   Passed    0.00 sec
        Start  24: extract_pem_cat
 24/111 Test  #24: extract_pem_cat ..................   Passed    0.00 sec
        Start  25: extract_der_exe
 25/111 Test  #25: extract_der_exe ..................   Passed    0.00 sec
        Start  26: extract_der_ex_
 26/111 Test  #26: extract_der_ex_ ..................   Passed    0.00 sec
        Start  27: extract_der_msi
 27/111 Test  #27: extract_der_msi ..................   Passed    0.00 sec
        Start  28: extract_der_cat
 28/111 Test  #28: extract_der_cat ..................   Passed    0.00 sec
        Start  29: attached_pem_exe
 29/111 Test  #29: attached_pem_exe .................   Passed    0.01 sec
        Start  30: attached_der_exe
 30/111 Test  #30: attached_der_exe .................   Passed    0.01 sec
        Start  31: attached_pem_ex_
 31/111 Test  #31: attached_pem_ex_ .................   Passed    0.01 sec
        Start  32: attached_der_ex_
 32/111 Test  #32: attached_der_ex_ .................   Passed    0.01 sec
        Start  33: attached_pem_msi
 33/111 Test  #33: attached_pem_msi .................   Passed    0.01 sec
        Start  34: attached_der_msi
 34/111 Test  #34: attached_der_msi .................   Passed    0.01 sec
        Start  35: added_exe
 35/111 Test  #35: added_exe ........................   Passed    0.00 sec
        Start  36: added_ex_
 36/111 Test  #36: added_ex_ ........................   Passed    0.00 sec
        Start  37: added_msi
 37/111 Test  #37: added_msi ........................   Passed    0.00 sec
        Start  38: added_cat
 38/111 Test  #38: added_cat ........................   Passed    0.00 sec
        Start  39: nested_exe
 39/111 Test  #39: nested_exe .......................   Passed    0.01 sec
        Start  40: nested_ex_
 40/111 Test  #40: nested_ex_ .......................   Passed    0.01 sec
        Start  41: nested_msi
 41/111 Test  #41: nested_msi .......................   Passed    0.01 sec
        Start  42: nested_cat
 42/111 Test  #42: nested_cat .......................   Passed    0.01 sec
        Start  43: verify_catalog_exe
 43/111 Test  #43: verify_catalog_exe ...............   Passed    0.00 sec
        Start  44: verify_catalog_ex_
 44/111 Test  #44: verify_catalog_ex_ ...............   Passed    0.00 sec
        Start  45: verify_catalog_msi
 45/111 Test  #45: verify_catalog_msi ...............   Passed    0.00 sec
        Start  46: verify_legacy_exe
 46/111 Test  #46: verify_legacy_exe ................   Passed    0.00 sec
        Start  47: verify_legacy_ex_
 47/111 Test  #47: verify_legacy_ex_ ................   Passed    0.01 sec
        Start  48: verify_legacy_msi
 48/111 Test  #48: verify_legacy_msi ................   Passed    0.01 sec
        Start  49: verify_signed_exe
 49/111 Test  #49: verify_signed_exe ................   Passed    0.01 sec
        Start  50: verify_signed_ex_
 50/111 Test  #50: verify_signed_ex_ ................   Passed    0.01 sec
        Start  51: verify_signed_msi
 51/111 Test  #51: verify_signed_msi ................   Passed    0.01 sec
        Start  52: verify_nested_exe
 52/111 Test  #52: verify_nested_exe ................   Passed    0.01 sec
        Start  53: verify_nested_ex_
 53/111 Test  #53: verify_nested_ex_ ................   Passed    0.01 sec
        Start  54: verify_nested_msi
 54/111 Test  #54: verify_nested_msi ................   Passed    0.00 sec
        Start  55: verify_added_exe
 55/111 Test  #55: verify_added_exe .................   Passed    0.00 sec
        Start  56: verify_added_ex_
 56/111 Test  #56: verify_added_ex_ .................   Passed    0.00 sec
        Start  57: verify_added_msi
 57/111 Test  #57: verify_added_msi .................   Passed    0.00 sec
        Start  58: verify_removed_exe
 58/111 Test  #58: verify_removed_exe ...............   Passed    0.00 sec
        Start  59: verify_removed_ex_
 59/111 Test  #59: verify_removed_ex_ ...............   Passed    0.00 sec
        Start  60: verify_removed_msi
 60/111 Test  #60: verify_removed_msi ...............   Passed    0.00 sec
        Start  61: verify_revoked_exe
 61/111 Test  #61: verify_revoked_exe ...............   Passed    0.01 sec
        Start  62: verify_revoked_ex_
 62/111 Test  #62: verify_revoked_ex_ ...............   Passed    0.01 sec
        Start  63: verify_revoked_msi
 63/111 Test  #63: verify_revoked_msi ...............   Passed    0.00 sec
        Start  64: verify_attached_pem_exe
 64/111 Test  #64: verify_attached_pem_exe ..........   Passed    0.01 sec
        Start  65: verify_attached_pem_ex_
 65/111 Test  #65: verify_attached_pem_ex_ ..........   Passed    0.00 sec
        Start  66: verify_attached_pem_msi
 66/111 Test  #66: verify_attached_pem_msi ..........   Passed    0.01 sec
        Start  67: verify_attached_der_exe
 67/111 Test  #67: verify_attached_der_exe ..........   Passed    0.01 sec
        Start  68: verify_attached_der_ex_
 68/111 Test  #68: verify_attached_der_ex_ ..........   Passed    0.00 sec
        Start  69: verify_attached_der_msi
 69/111 Test  #69: verify_attached_der_msi ..........   Passed    0.00 sec
        Start  70: sign_ts_cert_exe
 70/111 Test  #70: sign_ts_cert_exe .................***Failed    0.01 sec
        Start  71: sign_ts_expired_exe
 71/111 Test  #71: sign_ts_expired_exe ..............***Failed    0.01 sec
        Start  72: sign_ts_revoked_exe
 72/111 Test  #72: sign_ts_revoked_exe ..............***Failed    0.01 sec
        Start  73: sign_ts_cert_crldp_exe
 73/111 Test  #73: sign_ts_cert_crldp_exe ...........***Failed    0.01 sec
        Start  74: sign_ts_revoked_crldp_exe
 74/111 Test  #74: sign_ts_revoked_crldp_exe ........***Failed    0.01 sec
        Start  75: sign_ts_cert_ex_
 75/111 Test  #75: sign_ts_cert_ex_ .................***Failed    0.01 sec
        Start  76: sign_ts_expired_ex_
 76/111 Test  #76: sign_ts_expired_ex_ ..............***Failed    0.01 sec
        Start  77: sign_ts_revoked_ex_
 77/111 Test  #77: sign_ts_revoked_ex_ ..............***Failed    0.01 sec
        Start  78: sign_ts_cert_crldp_ex_
 78/111 Test  #78: sign_ts_cert_crldp_ex_ ...........***Failed    0.01 sec
        Start  79: sign_ts_revoked_crldp_ex_
 79/111 Test  #79: sign_ts_revoked_crldp_ex_ ........***Failed    0.01 sec
        Start  80: sign_ts_cert_msi
 80/111 Test  #80: sign_ts_cert_msi .................***Failed    0.01 sec
        Start  81: sign_ts_expired_msi
 81/111 Test  #81: sign_ts_expired_msi ..............***Failed    0.01 sec
        Start  82: sign_ts_revoked_msi
 82/111 Test  #82: sign_ts_revoked_msi ..............***Failed    0.01 sec
        Start  83: sign_ts_cert_crldp_msi
 83/111 Test  #83: sign_ts_cert_crldp_msi ...........***Failed    0.01 sec
        Start  84: sign_ts_revoked_crldp_msi
 84/111 Test  #84: sign_ts_revoked_crldp_msi ........***Failed    0.01 sec
        Start  85: sign_ts_cert_cat
 85/111 Test  #85: sign_ts_cert_cat .................***Failed    0.01 sec
        Start  86: sign_ts_expired_cat
 86/111 Test  #86: sign_ts_expired_cat ..............***Failed    0.01 sec
        Start  87: sign_ts_revoked_cat
 87/111 Test  #87: sign_ts_revoked_cat ..............***Failed    0.01 sec
        Start  88: sign_ts_cert_crldp_cat
 88/111 Test  #88: sign_ts_cert_crldp_cat ...........***Failed    0.01 sec
        Start  89: sign_ts_revoked_crldp_cat
 89/111 Test  #89: sign_ts_revoked_crldp_cat ........***Failed    0.01 sec
        Start  90: verify_ts_cert_exe
 90/111 Test  #90: verify_ts_cert_exe ...............***Failed    0.00 sec
        Start  91: verify_ts_cert_ex_
 91/111 Test  #91: verify_ts_cert_ex_ ...............***Failed    0.01 sec
        Start  92: verify_ts_cert_msi
 92/111 Test  #92: verify_ts_cert_msi ...............***Failed    0.00 sec
        Start  93: verify_ts_future_exe
 93/111 Test  #93: verify_ts_future_exe .............***Failed    0.00 sec
        Start  94: verify_ts_future_ex_
 94/111 Test  #94: verify_ts_future_ex_ .............***Failed    0.00 sec
        Start  95: verify_ts_future_msi
 95/111 Test  #95: verify_ts_future_msi .............***Failed    0.00 sec
        Start  96: verify_ts_ignore_exe
 96/111 Test  #96: verify_ts_ignore_exe .............   Passed    0.00 sec
        Start  97: verify_ts_ignore_ex_
 97/111 Test  #97: verify_ts_ignore_ex_ .............   Passed    0.00 sec
        Start  98: verify_ts_ignore_msi
 98/111 Test  #98: verify_ts_ignore_msi .............   Passed    0.01 sec
        Start  99: verify_ts_cert_crldp_exe
 99/111 Test  #99: verify_ts_cert_crldp_exe .........***Failed    0.01 sec
        Start 100: verify_ts_cert_crldp_ex_
100/111 Test #100: verify_ts_cert_crldp_ex_ .........***Failed    0.01 sec
        Start 101: verify_ts_cert_crldp_msi
101/111 Test #101: verify_ts_cert_crldp_msi .........***Failed    0.00 sec
        Start 102: verify_ts_expired_exe
102/111 Test #102: verify_ts_expired_exe ............   Passed    0.00 sec
        Start 103: verify_ts_revoked_exe
103/111 Test #103: verify_ts_revoked_exe ............   Passed    0.00 sec
        Start 104: verify_ts_expired_ex_
104/111 Test #104: verify_ts_expired_ex_ ............   Passed    0.01 sec
        Start 105: verify_ts_revoked_ex_
105/111 Test #105: verify_ts_revoked_ex_ ............   Passed    0.00 sec
        Start 106: verify_ts_expired_msi
106/111 Test #106: verify_ts_expired_msi ............   Passed    0.00 sec
        Start 107: verify_ts_revoked_msi
107/111 Test #107: verify_ts_revoked_msi ............   Passed    0.00 sec
        Start 108: verify_ts_revoked_crldp_exe
108/111 Test #108: verify_ts_revoked_crldp_exe ......   Passed    0.00 sec
        Start 109: verify_ts_revoked_crldp_ex_
109/111 Test #109: verify_ts_revoked_crldp_ex_ ......   Passed    0.00 sec
        Start 110: verify_ts_revoked_crldp_msi
110/111 Test #110: verify_ts_revoked_crldp_msi ......   Passed    0.00 sec
        Start 111: remove_files
111/111 Test #111: remove_files .....................   Passed    0.01 sec

74% tests passed, 29 tests failed out of 111

Total Test time (real) =   0.69 sec

The following tests FAILED:
         70 - sign_ts_cert_exe (Failed)
         71 - sign_ts_expired_exe (Failed)
         72 - sign_ts_revoked_exe (Failed)
         73 - sign_ts_cert_crldp_exe (Failed)
         74 - sign_ts_revoked_crldp_exe (Failed)
         75 - sign_ts_cert_ex_ (Failed)
         76 - sign_ts_expired_ex_ (Failed)
         77 - sign_ts_revoked_ex_ (Failed)
         78 - sign_ts_cert_crldp_ex_ (Failed)
         79 - sign_ts_revoked_crldp_ex_ (Failed)
         80 - sign_ts_cert_msi (Failed)
         81 - sign_ts_expired_msi (Failed)
         82 - sign_ts_revoked_msi (Failed)
         83 - sign_ts_cert_crldp_msi (Failed)
         84 - sign_ts_revoked_crldp_msi (Failed)
         85 - sign_ts_cert_cat (Failed)
         86 - sign_ts_expired_cat (Failed)
         87 - sign_ts_revoked_cat (Failed)
         88 - sign_ts_cert_crldp_cat (Failed)
         89 - sign_ts_revoked_crldp_cat (Failed)
         90 - verify_ts_cert_exe (Failed)
         91 - verify_ts_cert_ex_ (Failed)
         92 - verify_ts_cert_msi (Failed)
         93 - verify_ts_future_exe (Failed)
         94 - verify_ts_future_ex_ (Failed)
         95 - verify_ts_future_msi (Failed)
         99 - verify_ts_cert_crldp_exe (Failed)
        100 - verify_ts_cert_crldp_ex_ (Failed)
        101 - verify_ts_cert_crldp_msi (Failed)
Errors while running CTest
Output from these tests are in: /home/ziltoid/.cache/paru/clone/osslsigncode/src/build/Testing/Temporary/LastTest.log
Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely.
==> ERROR: A failure occurred in check().
    Aborting...
error: failed to build 'osslsigncode-2.6-1':
error: packages failed to build: osslsigncode-2.6-1

mbunkus commented on 2023-07-20 22:43 (UTC)

That should never be needed. It works just fine without root privileges on my system. Something about your environment is messed up. Sorry.

k2s commented on 2023-07-20 22:38 (UTC)

I have make installed and also tried to provide correct env variables. It worked only after I added sudo before cmake in your PKGBUILD.

mbunkus commented on 2023-07-20 22:23 (UTC)

I cannot reproduce your issue, even if I have the vcpkg package installed. I do not know why cmake tries to load anything from /opt/vcpkg. Do you have any environment variables set that add those to cmake's search path by default? Anyway, this isn't really something I can help you with.

k2s commented on 2023-07-20 22:09 (UTC)

same problem is described here https://github.com/ericfont/fibo-vcpkg-example/issues/1

mbunkus commented on 2023-07-20 09:02 (UTC)

Interesting. Please install the make package & try building again. If it works, I'll add it to makedepends.

k2s commented on 2023-07-20 06:21 (UTC) (edited on 2023-07-20 06:21 (UTC) by k2s)

I am getting following errror:

==> Starting prepare()...
patching file msi.c
CMake Error at /opt/vcpkg/scripts/buildsystems/vcpkg.cmake:893 (message):
  Could not find .vcpkg-root
Call Stack (most recent call first):
  /usr/share/cmake/Modules/CMakeDetermineSystem.cmake:148 (include)
  CMakeLists.txt:12 (project)


CMake Error: CMake was unable to find a build program corresponding to "Unix Makefiles".  CMAKE_MAKE_PROGRAM is not set.  You probably need to select a different build tool.
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
==> ERROR: A failure occurred in prepare().
    Aborting...