qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jose Pedro Oliveira <...@di.uminho.pt>
Subject Re: 0.14 qpid perl bindings requests - make distcheck:NOK
Date Fri, 11 Nov 2011 18:20:19 GMT
On 2011-11-10 20:57, Justin Ross wrote:
> Hi, Jose.  Thanks for the detailed request.  I approve the first request
> (04_reorganize-automake...), but not the second.
> 
> Taking the first patch represents a little risk, since it affects the
> overall cpp distribution and "make install".  I'd like to ask that you
> ensure make install, make dist, and make distcheck on trunk are working
> in your environment before we proceed.

The first two - make install and make dist - were successful but
make distcheck failed with the following error (longer log further below):
----
...
make[1]: Entering directory
`/home/fedora/sandbox/0.14/qpid/cpp/qpidc-0.14/_build'
ERROR: files left after uninstall:
./usr/lib64/perl5/x86_64-linux-thread-multi/cqpid_perl.pm
./usr/lib64/perl5/x86_64-linux-thread-multi/auto/cqpid_perl/cqpid_perl.bs
./usr/lib64/perl5/x86_64-linux-thread-multi/auto/cqpid_perl/.packlist
./usr/lib64/perl5/x86_64-linux-thread-multi/auto/cqpid_perl/cqpid_perl.so
----

Note: The qpid/cpp/bindings/qpid/Makefile.am file appears to be
missing a uninstall target.  I'll try to fix it.

> 
> As to the second, for the examples, I think it ought to wait for 0.16.

No problem.


Steps used for testing the three makefile targets:
--------------------------------------------------

System: Fedora 15 x86_64 (Linux)

Test summary:

    make install    --> OK
    make dist       --> OK
    make distcheck  --> NOK

Log:
----------------------------------------
$ mkdir sandbox
$ cd sandbox
$ svn checkout http://svn.apache.org/repos/asf/qpid/branches/0.14
$ cd 0.14
$ svn merge -r 1199928:1199929 http://svn.apache.org/repos/asf/qpid/trunk
--- Merging r1199929 into 'qpid':
A    qpid/cpp/bindings/qpid/perl/Makefile.PL.in
D    qpid/cpp/bindings/qpid/perl/Makefile.am
U    qpid/cpp/bindings/qpid/Makefile.am
U    qpid/cpp/configure.ac

$ sudo mkdir -m 777 /opt/qpid-0.14
$ cd qpid/cpp
$ ./bootstrap
$ ./configure --prefix=/opt/qpid-0.14
...
$ make -j 6
...
$ echo $?
0

$ make install
...
$ echo $?
0

$ find /opt/qpid-0.14/ -name "*perl*"
/opt/qpid-0.14/usr/lib64/perl5
/opt/qpid-0.14/usr/lib64/perl5/x86_64-linux-thread-multi/cqpid_perl.pm
/opt/qpid-0.14/usr/lib64/perl5/x86_64-linux-thread-multi/auto/cqpid_perl
/opt/qpid-0.14/usr/lib64/perl5/x86_64-linux-thread-multi/auto/cqpid_perl/cqpid_perl.so
/opt/qpid-0.14/usr/lib64/perl5/x86_64-linux-thread-multi/auto/cqpid_perl/cqpid_perl.bs

$ find /opt/qpid-0.14/usr/lib64/perl5/
/opt/qpid-0.14/usr/lib64/perl5/
/opt/qpid-0.14/usr/lib64/perl5/x86_64-linux-thread-multi
/opt/qpid-0.14/usr/lib64/perl5/x86_64-linux-thread-multi/cqpid_perl.pm
/opt/qpid-0.14/usr/lib64/perl5/x86_64-linux-thread-multi/auto
/opt/qpid-0.14/usr/lib64/perl5/x86_64-linux-thread-multi/auto/cqpid_perl
/opt/qpid-0.14/usr/lib64/perl5/x86_64-linux-thread-multi/auto/cqpid_perl/.packlist
/opt/qpid-0.14/usr/lib64/perl5/x86_64-linux-thread-multi/auto/cqpid_perl/cqpid_perl.so
/opt/qpid-0.14/usr/lib64/perl5/x86_64-linux-thread-multi/auto/cqpid_perl/cqpid_perl.bs

$ make dist
...
$ echo $?
0
$ ls -l qpid*tar*
-rw-rw-r--. 1 fedora fedora 3050558 Nov 11 17:46 qpidc-0.14.tar.bz2
-rw-rw-r--. 1 fedora fedora 4261435 Nov 11 17:46 qpidc-0.14.tar.gz

$ make distcheck
...
make[1]: Entering directory
`/home/fedora/sandbox/0.14/qpid/cpp/qpidc-0.14/_build'
ERROR: files left after uninstall:
./usr/lib64/perl5/x86_64-linux-thread-multi/cqpid_perl.pm
./usr/lib64/perl5/x86_64-linux-thread-multi/auto/cqpid_perl/cqpid_perl.bs
./usr/lib64/perl5/x86_64-linux-thread-multi/auto/cqpid_perl/.packlist
./usr/lib64/perl5/x86_64-linux-thread-multi/auto/cqpid_perl/cqpid_perl.so
make[1]: *** [distuninstallcheck] Error 1
make[1]: Leaving directory
`/home/fedora/sandbox/0.14/qpid/cpp/qpidc-0.14/_build'
make: *** [distcheck] Error 1
----------------------------------------

-- 
José Pedro Oliveira
* mailto:jpo@di.uminho.pt *

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


Mime
View raw message