Opened 11 years ago
Closed 11 years ago
#41815 closed defect (fixed)
cryptlib @3.4.2 upgrade fails (can't find CRYPT_ALGO_LAST during compile)
Reported by: | posita (Matt Bogosian) | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.2.1 |
Keywords: | Cc: | cooljeanius (Eric Gallager) | |
Port: | cryptlib |
Description
-v gives the following:
... In file included from test/loadkey.c:9: ./test/test.h:39:24: warning: '/*' within block comment [-Wcomment] /* #define TEST_DEVICE /**/ ^ In file included from test/lowlvl.c:9: ./test/test.h:39:24: warning: '/*' within block comment [-Wcomment] /* #define TEST_DEVICE /**/ ^ test/lowlvl.c:639:9: error: use of undeclared identifier 'CRYPT_ALGO_CAST'; did you mean 'CRYPT_ALGO_LAST'? case CRYPT_ALGO_CAST: ^~~~~~~~~~~~~~~ CRYPT_ALGO_LAST [INSTALL_ROOT]/include/cryptlib.h:257:2: note: 'CRYPT_ALGO_LAST' declared here CRYPT_ALGO_LAST, /* Last possible crypt algo value */ ^ ... In file included from test/lowlvl.c:9: ./test/test.h:39:24: warning: '/*' within block comment [-Wcomment] /* #define TEST_DEVICE /**/ ^ test/lowlvl.c:639:9: error: use of undeclared identifier 'CRYPT_ALGO_CAST'; did you mean 'CRYPT_ALGO_LAST'? case CRYPT_ALGO_CAST: ^~~~~~~~~~~~~~~ CRYPT_ALGO_LAST [INSTALL_ROOT]/include/cryptlib.h:257:2: note: 'CRYPT_ALGO_LAST' declared here CRYPT_ALGO_LAST, /* Last possible crypt algo value */ ^
Attachments (1)
Change History (9)
Changed 11 years ago by posita (Matt Bogosian)
comment:1 Changed 11 years ago by posita (Matt Bogosian)
comment:2 Changed 11 years ago by mf2k (Frank Schima)
Port: | cryptlib added |
---|
comment:3 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|
The four buildslaves built it fine, and so did I, so I'm guessing this is only an upgrade problem. Try:
sudo port clean cryptlib sudo port -f deactivate cryptlib sudo port upgrade cryptlib
comment:4 Changed 11 years ago by posita (Matt Bogosian)
Crap. I should have tried that already. I know better too. Upgrading fails. Building from scratch works. Feel free to close.
comment:5 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… removed |
---|---|
Owner: | changed from macports-tickets@… to ryandesign@… |
Status: | new → assigned |
Summary: | cryptlib @3.4.2 build fails (can't find CRYPT_ALGO_LAST during compile) → cryptlib @3.4.2 upgrade fails (can't find CRYPT_ALGO_LAST during compile) |
No no, we need to fix that somehow. Thanks for verifying that was the problem.
comment:6 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
I'll mark the build conflict for now (see r114752) and see if I can fix it in a better way later.
comment:8 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
Sorry...hit submit before filling out port field. It's: "cryptlib". Hopefully that apparent by the title. It's listed as "nomaintainer@…" in port info.