Donate Share

ccrypt

Tracker: Bugs

5 Build Problem On Stratus VOS 17.0.1ax - ID: 2851058
Last Update: Comment added ( selinger )

Hello Maintainer
I am getting the following error while build the program
gmake[2]: Entering directory
`/users.old/awarikoo/OpenSource/ccrypt-1.9/emacs'
WARNING: Warnings can be ignored. :-)
if test "emacs" != no; then \
set x; \
list='ps-ccrypt.el'; for p in $list; do \
if test -f "$p"; then d=; else d="./"; fi; \
set x "$@" "$d$p"; shift; \
done; \
shift; \
EMACS="emacs" /bin/sh ../elisp-comp "$@" || exit 1; \
else : ; fi
emacs: Invalid control argument. -batch

To overcome this temporarily I just remove the emacs directory from the
list of directories in the Makefile. The compilation goes on successfully
now.

However when I execute the check I get the following errors

gmake[2]: Entering directory
`/users.old/awarikoo/OpenSource/ccrypt-1.9/check'
gcc -D_POSIX_C_SOURCE=200112L -D_BSD_SOURCE rijndael-check.c -o
rijndael-check
bind: Undefined entry point: rijndaelKeySched, first referenced by
cc3NSgqj.
bind: Undefined entry point: xrijndaelKeySched, first referenced by
cc3NSgqj.
bind: Undefined entry point: rijndaelEncrypt, first referenced by
cc3NSgqj.
bind: Undefined entry point: xrijndaelEncrypt, first referenced by
cc3NSgqj.
bind: Undefined entry point: rijndaelDecrypt, first referenced by
cc3NSgqj.
bind: Undefined entry point: xrijndaelDecrypt, first referenced by
cc3NSgqj.
bind: Binding had warnings.

I added in the rijndael-alg-ref.o to get rid of all of the errors except
xrjindael* errors. I tried including ../src/rjindael.o but that threw a lot
more errors.
Please suggest a solution. I have attached the build log.
Thank You
bornlibra23


bornlibra23 ( bornlibra23 ) - 2009-09-04 11:10

5

Closed

Fixed

Nobody/Anonymous

None

None

Public


Comments ( 8 )

Date: 2009-09-08 14:19
Sender: selingerProject AdminAccepting Donations

I just verified that the patch works correctly. Please apply the patch to a
fresh copy of ccrypt-1.9, and not to a previously patched copy.


Date: 2009-09-08 04:32
Sender: bornlibra23

Hello Maintainer
I tried applying the latest patch. However it told me that they were
already applied. I manually checked the files also. They were already
applied. The makefile.in was also already patched.
bash-2.05$ patch --input myDiff --backup
patching file ChangeLog
Reversed (or previously applied) patch detected! Assume -R? [n] n
Apply anyway? [n] n
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file ChangeLog.rej
patching file configure
Reversed (or previously applied) patch detected! Assume -R? [n] n
Apply anyway? [n] n
Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file configure.rej
patching file configure.ac
Reversed (or previously applied) patch detected! Assume -R? [n] n
Apply anyway? [n] n
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file configure.ac.rej



Date: 2009-09-07 21:48
Sender: selingerProject AdminAccepting Donations

Hi,

yes, you have to re-run automake and autoconf for this patch to take
effect. If this is a problem, you can use the attached
ccrypt-1.9-patch2-ac.diff instead, which also patches the Makefile.in and
configure (you still have to run configure).

The reason you were still unable to build the checks was because your
Makefile wasn't updated.

FYI, the link to "attach a file" is below, past all the comments. -- Peter


Date: 2009-09-07 05:07
Sender: bornlibra23

Hello Maintainer
I am still unable to build the checks. The undefined entrypoints are still
present. I would like to point out that the following doesnt include the
rjindael-alg-ref.o which contains the rijndaelKeySched, rijndaelEncrypt &
rijndaelDecrypt entrypoints. I am unable to attach my latest buildlog. I
dont see an option for it while adding this comment.
gmake[2]: Entering directory `/<<PATH>>/OpenSource/ccrypt-1.9/check'
gcc -D_POSIX_C_SOURCE=200112L -D_BSD_SOURCE -D_SYSV -D_VOS_EXTENDED_NAMES
rijndael-check.c -o rijndael-check
bind: Undefined entry point: rijndaelKeySched, first referenced by
ccQh71nB.
bind: Undefined entry point: xrijndaelKeySched, first referenced by
ccQh71nB.
bind: Undefined entry point: rijndaelEncrypt, first referenced by
ccQh71nB.
bind: Undefined entry point: xrijndaelEncrypt, first referenced by
ccQh71nB.
bind: Undefined entry point: rijndaelDecrypt, first referenced by
ccQh71nB.
bind: Undefined entry point: xrijndaelDecrypt, first referenced by
ccQh71nB.

Thanks
bornlibra23


Date: 2009-09-07 04:36
Sender: bornlibra23

Thank You Maintainer
I will build it now with the patches applied. Can I ask a question though?
You have made me patch the configure.ac file. Isnt this what is used to
create configure script? Will the system automatically detect that it has
been changed & rebuild configure or I have to manually create the configure
again? I do need autoconf for this dont I?
Thanks
bornlibra23


Date: 2009-09-05 00:19
Sender: selingerProject AdminAccepting Donations

OK, I have also added a --disable-emacs configuration option for
convenience. For the record, this same behavior can be achieved in
ccrypt-1.9 with "configure EMACS=no".

I have attached a new patch which fixes both the emacs and the test suite
problem.


Date: 2009-09-04 23:25
Sender: selingerProject AdminAccepting Donations

Thanks for reporting this bug. I am not familiar with Stratus VOS, and this
is the first time I have heard from someone trying to compile ccrypt on it.


(1) Your emacs does not support the -batch command-line option. Either
emacs is not properly installed, or VOS emacs is different than regular
emacs. In either case, you can probably ignore this error. I should
probably add an autoconf test or a --without-emacs configuration option.

(2) Your operating system adds the extension ".pm" to every executable
program, similar to ".exe" in Windows. This breaks the test suite because
after building e.g. rijndael-check.pm, the Makefile then looks for
rijndael-check to run, can't find it, and tries to rebuild it using a
default rule. (For the record, the bug can be reproduced in other operating
systems by doing "make EXEEXT=.pm check".) The attached patch should fix
this problem.

I hope this helps, -- Peter


Date: 2009-09-04 11:13
Sender: bornlibra23

The program itself works fine through the basic tests I threw at it.


Attached Files ( 3 )

Filename Description Download
ccrypt-1.9-patch2-ac.diff Patch including automake/autoconf-generated changes Download
ccrypt-1.9-patch2.diff Patch Download
ccrypt-1.9.txt Build Log Download

Changes ( 11 )

Field Old Value Date By
File Added 342123: ccrypt-1.9-patch2-ac.diff 2009-09-07 21:50 selinger
allow_comments 0 2009-09-05 00:22 selinger
close_date - 2009-09-05 00:19 selinger
allow_comments 1 2009-09-05 00:19 selinger
resolution_id None 2009-09-05 00:19 selinger
status_id Open 2009-09-05 00:19 selinger
File Added 341833: ccrypt-1.9-patch2.diff 2009-09-05 00:16 selinger
File Deleted 341830: 2009-09-05 00:14 selinger
data_type 429289 2009-09-04 23:25 selinger
File Added 341830: ccrypt-1.9-patch.diff 2009-09-04 23:20 selinger
File Added 341751: ccrypt-1.9.txt 2009-09-04 11:10 bornlibra23