I solved the problem with: ln -s /usr/bin/mvn3 /usr/bin/mvn
and I succesfully build the following pakage is that right for
cloudstack 4.1
-rw-r--r-- 1 root root 38962010 Jul 8 22:20
cloudstack-agent_4.1.0_all.deb
-rw-r--r-- 1 root root 63339952 Jul 8 22:21
cloudstack-awsapi_4.1.0_all.deb
-rw-r--r-- 1 root root 52578 Jul 8 22:21 cloudstack-cli_4.1.0_all.deb
-rw-r--r-- 1 root root 28926228 Jul 8 22:20
cloudstack-common_4.1.0_all.deb
-rw-r--r-- 1 root root 52552 Jul 8 22:21 cloudstack-docs_4.1.0_all.deb
-rw-r--r-- 1 root root 102276868 Jul 8 22:20
cloudstack-management_4.1.0_all.deb
-rw-r--r-- 1 root root 39472466 Jul 8 22:21
cloudstack-usage_4.1.0_all.deb
Logs:
dh_builddeb
dpkg-deb --build debian/cloudstack-common ..
dpkg-deb: building package `cloudstack-common' in
`../cloudstack-common_4.1.0_all.deb'.
dpkg-deb --build debian/cloudstack-management ..
dpkg-deb: building package `cloudstack-management' in
`../cloudstack-management_4.1.0_all.deb'.
dpkg-deb --build debian/cloudstack-agent ..
dpkg-deb: building package `cloudstack-agent' in
`../cloudstack-agent_4.1.0_all.deb'.
dpkg-deb --build debian/cloudstack-usage ..
dpkg-deb: building package `cloudstack-usage' in
`../cloudstack-usage_4.1.0_all.deb'.
dpkg-deb --build debian/cloudstack-awsapi ..
dpkg-deb: building package `cloudstack-awsapi' in
`../cloudstack-awsapi_4.1.0_all.deb'.
dpkg-deb --build debian/cloudstack-cli ..
dpkg-deb: building package `cloudstack-cli' in
`../cloudstack-cli_4.1.0_all.deb'.
dpkg-deb --build debian/cloudstack-docs ..
dpkg-deb: building package `cloudstack-docs' in
`../cloudstack-docs_4.1.0_all.deb'.
signfile cloudstack_4.1.0.dsc
gpg: skipped "Chip Childers <[email protected]>": secret key not
available
gpg: [stdin]: clearsign failed: secret key not available
dpkg-genchanges >../cloudstack_4.1.0_amd64.changes
dpkg-genchanges: warning: the current version (4.1.0) is earlier than
the previous one (4.1.0-incubating-0.0.snapshot)
dpkg-genchanges: including full source code in upload
dpkg-source --after-build apache-cloudstack-4.1.0-src
dpkg-buildpackage: full upload; Debian-native package (full source is
included)
dpkg-buildpackage: warning: Failed to sign .dsc and .changes file
Le 08/07/2013 22:20, Chip Childers a écrit :
> On Mon, Jul 08, 2013 at 10:13:05PM +0200, Thomas Schneider wrote:
>> I removed mvn2 and I have another problem.
>>
>> 1. mvn3 -P deps OK
>> 2. dpkg-buildpackage FAIL
>>
>> dpkg-source -b apache-cloudstack-4.1.0-src
>> dpkg-source: warning: no source format specified in
>> debian/source/format, see dpkg-source(1)
>> dpkg-source: info: using source format `1.0'
>> dpkg-source: warning: source directory 'apache-cloudstack-4.1.0-src' is
>> not <sourcepackage>-<upstreamversion> 'cloudstack-4.1.0'
>> dpkg-source: info: building cloudstack in cloudstack_4.1.0.tar.gz
>> dpkg-source: info: building cloudstack in cloudstack_4.1.0.dsc
>> debian/rules build
>> dh_testdir
>> cp packaging/debian/replace.properties replace.properties.tmp
>> echo VERSION=4.1.0 >> replace.properties.tmp
>> touch configure-stamp
>> mvn clean package -Pawsapi -DskipTests -Dsystemvm \
>> -Dcs.replace.properties=replace.properties.tmp \
>> make: mvn: Command not found
>> make: *** [build-indep-stamp] Error 127
>> dpkg-buildpackage: error: debian/rules build gave error exit status 2
>>
>> root@csm:~/cloudstack/apache-cloudstack-4.1.0-src# mvn
>> bash: /usr/bin/mvn: No such file or directory
> Looks like you have to fix your mvn install a bit. Perhaps create a
> symlink from /usr/bin/mvn to wherever your actual mvn exec is?
--
*Thomas Schneider*
Directeur des Opérations
Euskill SARL
Web: www.euskill.com
Mobile: +33 (0)6 19 26 47 76
Mail: [email protected]
5 rue de Phalsbourg
F-67000 Strasbourg