Opened 14 years ago

Closed 14 years ago

#26248 closed defect (fixed)

Installation of libtomcrypt library failed

Reported by: mail@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: Cc: sewebster@…
Port: libtomcrypt

Description (last modified by mf2k (Frank Schima))

port install libtomcrypt gives the following error.

version:1
:msg:clean --->  Computing dependencies for libtomcrypt:info:clean .:msg:clean 
:debug:main Executing org.macports.main (libtomcrypt)
:debug:main Skipping completed org.macports.fetch (libtomcrypt)
:debug:main Skipping completed org.macports.checksum (libtomcrypt)
:debug:main setting option extract.cmd to /usr/bin/bzip2
:debug:main Skipping completed org.macports.extract (libtomcrypt)
:debug:main Skipping completed org.macports.patch (libtomcrypt)
:debug:main Skipping completed org.macports.configure (libtomcrypt)
:msg:main --->  Building libtomcrypt
:debug:build build phase started at Wed Aug 25 23:26:07 CEST 2010
:debug:build Executing org.macports.build (libtomcrypt)
:debug:build Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_security_libtomcrypt/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.6'
:debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_security_libtomcrypt/work/libtomcrypt-1.12" && /usr/bin/make -j4'
:info:build cc -c -I./testprof/ -I./src/headers/ -Wall -Wsign-compare -W -Wshadow -Wno-unused-parameter -DLTC_SOURCE -O3 -funroll-loops -fomit-frame-pointer -DENCRYPT_ONLY -c src/ciphers/aes/aes.c -o src/ciphers/aes/aes_enc.o
:info:build cc -c -I./testprof/ -I./src/headers/ -Wall -Wsign-compare -W -Wshadow -Wno-unused-parameter -DLTC_SOURCE -O3 -funroll-loops -fomit-frame-pointer   -c -o src/ciphers/aes/aes.o src/ciphers/aes/aes.c
:info:build cc -c -I./testprof/ -I./src/headers/ -Wall -Wsign-compare -W -Wshadow -Wno-unused-parameter -DLTC_SOURCE -O3 -funroll-loops -fomit-frame-pointer   -c -o src/ciphers/anubis.o src/ciphers/anubis.c
:info:build cc -c -I./testprof/ -I./src/headers/ -Wall -Wsign-compare -W -Wshadow -Wno-unused-parameter -DLTC_SOURCE -O3 -funroll-loops -fomit-frame-pointer   -c -o src/ciphers/blowfish.o src/ciphers/blowfish.c
:info:build In file included from ./src/headers/tomcrypt.h:65,
:info:build                  from src/ciphers/blowfish.c:15:
:info:build ./src/headers/tomcrypt_cfg.h:35: error: expected declaration specifiers or '...' before numeric constant
:info:build ./src/headers/tomcrypt_cfg.h:35: error: expected ')' before '!=' token
:info:build In file included from ./src/headers/tomcrypt.h:65,
:info:build                  from src/ciphers/aes/aes.c:33:
:info:build ./src/headers/tomcrypt_cfg.h:35: error: expected declaration specifiers or '...' before numeric constant./src/headers/tomcrypt_cfg.h:35: error: expected ')' before '?' token
:info:build In file included from ./src/headers/tomcrypt.h:65,
:info:build                  from src/ciphers/aes/aes.c:33:
:info:build ./src/headers/tomcrypt_cfg.h:35: error: expected declaration specifiers or '...' before numeric constant
:info:build ./src/headers/tomcrypt_cfg.h:35: error: expected ')' before '!=' token
:info:build ./src/headers/tomcrypt_cfg.h:35: error: expected ')' before '!=' token
:info:build ./src/headers/tomcrypt_cfg.h:35: error: expected ')' before '?' token
:info:build ./src/headers/tomcrypt_cfg.h:35: error: expected ')' before '?' token
:info:build In file included from ./src/headers/tomcrypt.h:65,
:info:build                  from src/ciphers/anubis.c:18:
:info:build ./src/headers/tomcrypt_cfg.h:35: error: expected declaration specifiers or '...' before numeric constant
:info:build ./src/headers/tomcrypt_cfg.h:35: error: expected ')' before '!=' token./src/headers/tomcrypt_cfg.h:37: error: expected declaration specifiers or '...' before numeric constant
:info:build 
:info:build ./src/headers/tomcrypt_cfg.h:37: error: expected ')' before '!=' token
:info:build ./src/headers/tomcrypt_cfg.h:37: error: expected declaration specifiers or '...' before numeric constant./src/headers/tomcrypt_cfg.h:37: error: expected ')' before '?' token
:info:build 
:info:build ./src/headers/tomcrypt_cfg.h:37: error: expected ')' before '!=' token
:info:build ./src/headers/tomcrypt_cfg.h:37: error: expected ')' before '?' token
:info:build ./src/headers/tomcrypt_cfg.h:37: error: expected declaration specifiers or '...' before numeric constant
:info:build ./src/headers/tomcrypt_cfg.h:37: error: expected ')' before '!=' token
:info:build ./src/headers/tomcrypt_cfg.h:37: error: expected ')' before '?' token
:info:build 
:info:build ./src/headers/tomcrypt_cfg.h:35: error: expected ')' before '?' token
:info:build ./src/headers/tomcrypt_cfg.h:37: error: expected declaration specifiers or '...' before numeric constant
:info:build ./src/headers/tomcrypt_cfg.h:37: error: expected ')' before '!=' token
:info:build ./src/headers/tomcrypt_cfg.h:37: error: expected ')' before '?' token
:info:build make: *** [src/ciphers/blowfish.o] Error 1
:info:build make: *** Waiting for unfinished jobs....
:info:build make: *** [src/ciphers/anubis.o] Error 1
:info:build make: *** [src/ciphers/aes/aes_enc.o] Error 1
:info:build make: *** [src/ciphers/aes/aes.o] Error 1
:info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_security_libtomcrypt/work/libtomcrypt-1.12" && /usr/bin/make -j4 " returned error 2
:error:build Target org.macports.build returned: shell command failed
:debug:build Backtrace: shell command failed
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: the following items did not execute (for libtomcrypt): org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Log for libtomcrypt is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_security_libtomcrypt/main.log

Attachments (1)

libtomcrypt.log (4.6 KB) - added by mail@… 14 years ago.
libtomcrypt port install log

Download all attachments as: .zip

Change History (9)

comment:1 Changed 14 years ago by mail@…

Cc: mail@… added

Cc Me!

comment:2 Changed 14 years ago by mail@…

Cc: mail@… removed

Cc Me!

comment:3 Changed 14 years ago by sewebster@…

Maybe try a non-parallel build?

sudo port clean libtomcrypt
sudo port install libtomcrypt build.jobs=1

comment:4 Changed 14 years ago by sewebster@…

Cc: sewebster@… added

Cc Me!

comment:5 Changed 14 years ago by mail@…

Doesn't work. Still getting the same error:

→ sudo port clean libtomcrypt ---> Cleaning libtomcrypt → sudo port install libtomcrypt build.jobs=1 ---> Computing dependencies for libtomcrypt ---> Fetching libtomcrypt ---> Verifying checksum(s) for libtomcrypt ---> Extracting libtomcrypt ---> Applying patches to libtomcrypt ---> Configuring libtomcrypt ---> Building libtomcrypt Error: Target org.macports.build returned: shell command failed Log for libtomcrypt is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_security_libtomcrypt/main.log Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets> →

comment:6 Changed 14 years ago by sewebster@…

It might help if you submitted the actual build log mentioned at the end of your output with the "attach file" button.

I get the same error. It doesn't like those lines in tomcrypt_cfg.h.

Changed 14 years ago by mail@…

Attachment: libtomcrypt.log added

libtomcrypt port install log

comment:7 Changed 14 years ago by mf2k (Frank Schima)

Description: modified (diff)
Keywords: libtomcrypt removed

comment:8 Changed 14 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

Fixed in r70919 by updating to version 1.17.

Note: See TracTickets for help on using tickets.