emulators/petitecloud 0.2.1 available

Mark Martinec Mark.Martinec+freebsd at ijs.si
Thu Jan 23 00:03:57 UTC 2014


2014-01-20 Aryeh Friedman wrote:
>>> > Fixed and posted new port files to petitecloud.org...
>>> > side question - should I update the PR for the port or create a new one?
>>> 
>>> Please update the existing one.
>> 
>> Already done via GNATS


Trying the patch from http://www.freebsd.org/cgi/query-pr.cgi?pr=185362


# make
===>  License BSD accepted by the user
===>   src-petitecloud-aryeh-0.2.1 depends on file: /usr/local/sbin/pkg 
- found
===> Fetching all distfiles required by src-petitecloud-aryeh-0.2.1 for 
building
===>  Extracting for src-petitecloud-aryeh-0.2.1
=> SHA256 Checksum mismatch for src-petitecloud-aryeh-0.2.1.tar.gz.
===>  Refetch for 1 more times files: src-petitecloud-aryeh-0.2.1.tar.gz
===>  License BSD accepted by the user
===>   src-petitecloud-aryeh-0.2.1 depends on file: /usr/local/sbin/pkg 
- found
=> src-petitecloud-aryeh-0.2.1.tar.gz doesn't seem to exist in 
/usr/ports/distfiles/.
=> Attempting to fetch 
ftp://ftp.petitecloud.org/petitecloud/0.2.1/aryeh/src-petitecloud-aryeh-0.2.1.tar.gz
fetch: 
ftp://ftp.petitecloud.org/petitecloud/0.2.1/aryeh/src-petitecloud-aryeh-0.2.1.tar.gz: 
size mismatch: expected 116983, actual 109364


After hacking the distfile to match the file on a ftp server:

# make
===>  License BSD accepted by the user
===>   src-petitecloud-aryeh-0.2.1 depends on file: /usr/local/sbin/pkg 
- found
===> Fetching all distfiles required by src-petitecloud-aryeh-0.2.1 for 
building
===>  Extracting for src-petitecloud-aryeh-0.2.1
=> SHA256 Checksum OK for src-petitecloud-aryeh-0.2.1.tar.gz.
===>  Patching for src-petitecloud-aryeh-0.2.1
===>   src-petitecloud-aryeh-0.2.1 depends on file: /usr/local/bin/cook 
- found
===>   src-petitecloud-aryeh-0.2.1 depends on file: 
/usr/local/openjdk7/bin/java - found
===>   src-petitecloud-aryeh-0.2.1 depends on file: 
/usr/local/share/java/classes/thistest-aryeh-0.1.jar - not found
===>    Verifying install for 
/usr/local/share/java/classes/thistest-aryeh-0.1.jar in 
/usr/ports/devel/thistest
      => No directory for 
/usr/local/share/java/classes/thistest-aryeh-0.1.jar.  Skipping..
===>   src-petitecloud-aryeh-0.2.1 depends on file: 
/usr/local/apache-tomcat-7.0/bin/catalina.sh - found
===>   src-petitecloud-aryeh-0.2.1 depends on file: 
/usr/local/bin/qemu-system-x86_64 - found
===>  Configuring for src-petitecloud-aryeh-0.2.1
===>  Building for src-petitecloud-aryeh-0.2.1
--- all ---
All work done in install

# make install
===>  Staging for src-petitecloud-aryeh-0.2.1
===>   Generating temporary packing list
===> Creating users and/or groups.
All work done in install
cook -nl -s -b src/build/cook/Howto.cook project=o-petitecloud change=26 
  cook-blank/deploy-local installdir=../stage//usr/local inrelease=true 
user=aryeh sudo="";
Creating scrap/tmp/keystore
Making /vms/cds
Preparing 
scrap/src-petitecloud-aryeh-0.2.1/src/java/org/petitecloud/runtime/os/OSCommandParser.java 
for release
Preparing 
scrap/src-petitecloud-aryeh-0.2.1/src/java/test/org/petitecloud/runtime/os/TestOSCommandParser.java 
for release
[...]
Preparing scrap/src-petitecloud-aryeh-0.2.1/src/build/aegis/aegis.conf 
for release
Preparing 
scrap/src-petitecloud-aryeh-0.2.1/src/java/org/petitecloud/io/PetiteCloudIOException.java 
for release
Preparing 
scrap/src-petitecloud-aryeh-0.2.1/src/java/org/petitecloud/io/ByteArrayInput.java 
for release
Compiling all java classes for Java 7
warning: [path] bad path element 
"/usr/local/share/java/classes/thistest-aryeh-0.1.jar": no such file or 
directory
src/java/test/TestMain.java:4: error: package thistest.core does not 
exist
import thistest.core.*;
^
src/java/test/TestMain.java:42: error: cannot find symbol
         private Result result;
                 ^
   symbol:   class Result
   location: class TestMain
src/java/test/org/petitecloud/ui/TestAll.java:6: error: package 
thistest.core does not exist
import thistest.core.*;
[... followed by lots of these "package thistest.core does not exist" 
further on ...]


   Mark


More information about the freebsd-virtualization mailing list