[rt-users] Install Error in GnuPG::Interface

Rolf Krogstad rgk at pacelabs.com
Wed Sep 10 14:15:10 EDT 2014


Thanks for your help, Alex. 
Per your suggestion I have submitted a bug notice.
 
Rolf Krogstad
Information Technology
Pace Analytical Services Inc.
Minneapolis, MN USA


>>> On 9/9/2014 at 7:27 PM, in message <CAFdkmptV0ePqV797KHxDdVoTFuF_U6sMmm+HttLf0c0RoD9TtA at mail.gmail.com>, Alex Peters <alex at peters.net> wrote:


The tests in encrypt_symmetrically.t are failing for you.
I would consider this a bug in the latest version of GnuPG::Interface.
While Alex Vandiver (responsible for the latest release of that distribution) is a contributor to this mailing list and may see this post, I'd recommend pasting your test output into a proper bug report here:
https://rt.cpan.org/Public/Dist/Display.html?Name=GnuPG-Interface
If GPG integration isn't strictly mandatory for your installation, re-running RT's "configure" script with the relevant option may permit you to proceed with installing RT. See its help for further info:
$ ./configure --helpOn 10/09/2014 5:38 am, "Rolf Krogstad" <rgk at pacelabs.com> wrote:


Here is the results of the verbose test:
cpan[5]> look GnuPG::Interface
Running look for module 'GnuPG::Interface'
Trying to open a subshell in the build directory...
Working directory is /root/.cpan/build/GnuPG-Interface-0.50-s33z4t
[root at localhost GnuPG-Interface-0.50-s33z4t]# make test TEST_VERBOSE=1
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(1, 'inc', 'blib/lib', 'blib/arch')" t/*.t
t/clearsign.t ..............
1..2
ok 1
ok 2
ok
t/decrypt.t ................
1..4
ok 1
ok 2
ok 3
ok 4
ok
t/detach_sign.t ............
1..2
ok 1
ok 2
ok
t/encrypt.t ................
1..3
ok 1
gpg: WARNING: unsafe ownership on homedir `test'
ok 2
ok 3
ok
t/encrypt_symmetrically.t ..
1..2
not ok 1
not ok 2
Failed 2/2 subtests
t/export_keys.t ............
1..2
ok 1
ok 2
ok
t/Fingerprint.t ............
1..2
ok 1
ok 2
ok
t/get_public_keys.t ........
1..3
gpg: WARNING: unsafe ownership on homedir `test'
ok 1
ok 2
ok 3
ok
t/get_secret_keys.t ........
1..2
gpg: WARNING: unsafe ownership on homedir `test'
ok 1
ok 2
ok
t/import_keys.t ............
1..2
ok 1
ok 2
ok
t/Interface.t ..............
1..2
ok 1
ok 2
ok
t/list_public_keys.t .......
1..3
ok 1
ok 2
ok 3
ok
t/list_secret_keys.t .......
1..4
ok 1
ok 2
ok 3
ok 4
ok
t/list_sigs.t ..............
1..3
ok 1
ok 2
ok 3
ok
t/passphrase_handling.t ....
1..3
ok 1
ok 2
gpg: WARNING: unsafe ownership on homedir `test'
ok 3
ok
t/sign.t ...................
1..2
ok 1
ok 2
ok
t/sign_and_encrypt.t .......
1..2
ok 1
ok 2
ok
t/UserId.t .................
1..2
ok 1
ok 2
ok
t/verify.t .................
1..2
ok 1
ok 2
ok
t/wrap_call.t ..............
1..4
ok 1
ok 2
ok 3
ok 4
ok
Test Summary Report
-------------------
t/encrypt_symmetrically.t (Wstat: 0 Tests: 2 Failed: 2)
Failed tests: 1-2
Files=20, Tests=51, 15 wallclock secs ( 0.09 usr 0.02 sys + 4.23 cusr 0.59 csys = 4.93 CPU)
Result: FAIL
Failed 1/20 test programs. 2/51 subtests failed.
make: *** [test_dynamic] Error 255


>>> On 9/4/2014 at 6:58 PM, in message <CAFdkmptBsYTxp=w-T9EuJKe3ZSxy=kLsbV5VY+8MafTdMEc2jg at mail.gmail.com ( mailto:kLsbV5VY%2B8MafTdMEc2jg at mail.gmail.com )>, Alex Peters <alex at peters.net> wrote:


The first command should have spawned a shell in /root/.cpan/build/GnuPG-Interface-0.50-7A5Mpd, the path shown near the end of the output of the first command. The second command should be run with that path as the working directory.
The references to RT in the output from the second command suggest that the "make test" command was run from the RT installation directory rather than the temporary directory created by the first command.On 05/09/2014 5:29 am, "Rolf Krogstad" <rgk at pacelabs.com> wrote:


Thanks for your help.
Here are the results of the first command
========================================================
cpan[1]> look GnuPG::Interface
Reading '/root/.cpan/Metadata'
Database was generated on Tue, 02 Sep 2014 08:29:02 GMT
Fetching with LWP:
http://cpan.msi.umn.edu/authors/01mailrc.txt.gz
Reading '/root/.cpan/sources/authors/01mailrc.txt.gz'
............................................................................DONE
Fetching with LWP:
http://cpan.msi.umn.edu/modules/02packages.details.txt.gz
Reading '/root/.cpan/sources/modules/02packages.details.txt.gz'
Database was generated on Thu, 04 Sep 2014 08:53:15 GMT
..............
New CPAN.pm version (v2.05) available.
[Currently running version is v1.9800]
You might want to try
install CPAN
reload cpan
to both upgrade CPAN.pm and run the new version without leaving
the current session.

..............................................................DONE
Fetching with LWP:
http://cpan.msi.umn.edu/modules/03modlist.data.gz
Reading '/root/.cpan/sources/modules/03modlist.data.gz'
DONE
Writing /root/.cpan/Metadata
Running look for module 'GnuPG::Interface'
Trying to open a subshell in the build directory...
Checksum for /root/.cpan/sources/authors/id/A/AL/ALEXMV/GnuPG-Interface-0.50.tar.gz ok
Scanning cache /root/.cpan/build for sizes
............................................................................DONE
Working directory is /root/.cpan/build/GnuPG-Interface-0.50-7A5Mpd
[root at localhost GnuPG-Interface-0.50-7A5Mpd]# mysqladmin -u root password 7223corp
Warning: Using a password on the command line interface can be insecure.
============================================================================
Here are the results of the 2nd command:
# make test TEST_VERBOSE=1
/usr/bin/perl "-MExtUtils::Command::MM" -e "test_harness(1, 'lib')" t/*.t t/*/*.t t/*/*/*.t
t/00-compile.t .........................................
1..45
Bailout called. Further testing stopped: RT_DBA_USER and RT_DBA_PASSWORD environment variables need to be set in order to run 'make test'
Bail out! RT_DBA_USER and RT_DBA_PASSWORD environment variables need to be set in order to run 'make test'
FAILED--Further testing stopped: RT_DBA_USER and RT_DBA_PASSWORD environment variables need to be set in order to run 'make test'
make: *** [test] Error 255
============================================================================


Rolf Krogstad
Information Technology
Pace Analytical Services Inc.
w: (612)607-6336
f: (612)331-3358
e: rgk at pacelabs.com 
>>> On 9/2/2014 at 8:22 PM, in message <CAFdkmptS-7ytj5__qCjwK1GcOmXGtePzu-bURDeAoq8jqHx+6w at mail.gmail.com ( mailto:CAFdkmptS-7ytj5__qCjwK1GcOmXGtePzu-bURDeAoq8jqHx%2B6w at mail.gmail.com )>, Alex Peters <alex at peters.net> wrote:


Those warnings don't seem to be causing the failed installation of the module. Try running this command to open a shell within the unpacked distribution, and run the tests verbosely:
cpan> look GnuPG::Interface
$ make test TEST_VERBOSE=1On 03/09/2014 5:55 am, "Rolf Krogstad" <rgk at pacelabs.com> wrote:


I am attempting to install RT v 4.2.6 on Redhat Enterprise Linux 7.0 (RHEL7).
I have resolved four of the five perl module errors I had after running "make fixdeps".
Remaining are several instanaces of the same error in the testing of GnuPG::Interface which gives the following:
WARNING: unsafe ownership on homedir `test'
What can I do to get around this error?
---------------------------------------
cpan[2]> test GnuPG::Interface
Running test for module 'GnuPG::Interface'
Running make for A/AL/ALEXMV/GnuPG-Interface-0.50.tar.gz
Has already been unwrapped into directory /root/.cpan/build/GnuPG-Interface-0.50-m6GpQz
Has already been made
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t
t/clearsign.t .............. ok
t/decrypt.t ................ ok
t/detach_sign.t ............ ok
t/encrypt.t ................ 1/3 gpg: WARNING: unsafe ownership on homedir `test'
t/encrypt.t ................ ok
t/encrypt_symmetrically.t .. Failed 2/2 subtests
t/export_keys.t ............ ok
t/Fingerprint.t ............ ok
t/get_public_keys.t ........ gpg: WARNING: unsafe ownership on homedir `test'
t/get_public_keys.t ........ ok
t/get_secret_keys.t ........ gpg: WARNING: unsafe ownership on homedir `test'
t/get_secret_keys.t ........ ok
t/import_keys.t ............ ok
t/Interface.t .............. ok
t/list_public_keys.t ....... ok
t/list_secret_keys.t ....... ok
t/list_sigs.t .............. ok
t/passphrase_handling.t .... 1/3 gpg: WARNING: unsafe ownership on homedir `test'
t/passphrase_handling.t .... ok
t/sign.t ................... ok
t/sign_and_encrypt.t ....... ok
t/UserId.t ................. ok
t/verify.t ................. ok
t/wrap_call.t .............. ok

Test Summary Report
-------------------
t/encrypt_symmetrically.t (Wstat: 0 Tests: 2 Failed: 2)
Failed tests: 1-2
Files=20, Tests=51, 14 wallclock secs ( 0.09 usr 0.02 sys + 3.67 cusr 0.60 csys = 4.38 CPU)
Result: FAIL
Failed 1/20 test programs. 2/51 subtests failed.
make: *** [test_dynamic] Error 255
ALEXMV/GnuPG-Interface-0.50.tar.gz
/usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports ALEXMV/GnuPG-Interface-0.50.tar.gz
Failed during this command:
ALEXMV/GnuPG-Interface-0.50.tar.gz : make_test NO
---------------------------------------
thanks
Rolf Krogstad
Information Technology
Pace Analytical Services Inc.
w: (612)607-6336
f: (612)331-3358
e: rgk at pacelabs.com 

______________________________________________________________________
The email and documents accompanying this transmission contain confidential information belonging to the sender who is legally privileged. The information is intended only for the use of the individual(s) or entity(ies) named herein. If you are not the intended recipient, you are hereby notified that any disclosure, copying distribution or the taking of any action in reliance on the contents of this information is strictly prohibited. If you have received this in error, please immediately notify us by telephone (1.888.990.PACE) to arrange for return of the original documents.

--
RT Training - Boston, September 9-10
http://bestpractical.com/training


______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
______________________________________________________________________

______________________________________________________________________
The email and documents accompanying this transmission contain confidential information belonging to the sender who is legally privileged. The information is intended only for the use of the individual(s) or entity(ies) named herein. If you are not the intended recipient, you are hereby notified that any disclosure, copying distribution or the taking of any action in reliance on the contents of this information is strictly prohibited. If you have received this in error, please immediately notify us by telephone (1.888.990.PACE) to arrange for return of the original documents.


______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
______________________________________________________________________

______________________________________________________________________
The email and documents accompanying this transmission contain confidential information belonging to the sender who is legally privileged. The information is intended only for the use of the individual(s) or entity(ies) named herein. If you are not the intended recipient, you are hereby notified that any disclosure, copying distribution or the taking of any action in reliance on the contents of this information is strictly prohibited. If you have received this in error, please immediately notify us by telephone (1.888.990.PACE) to arrange for return of the original documents.


______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
______________________________________________________________________

______________________________________________________________________
The email and documents accompanying this transmission contain confidential information belonging to the sender who is legally privileged.  The information is intended only for the use of the individual(s) or entity(ies) named herein. If you are not the intended recipient, you are hereby notified that any disclosure, copying distribution or the taking of any action in reliance on the contents of this information is strictly prohibited. If you have received this in error, please immediately notify us by telephone (1.888.990.PACE) to arrange for return of the original documents.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20140910/902dd791/attachment.htm>


More information about the rt-users mailing list