Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jan 2014 19:09:37 -0500
From:      Aryeh Friedman <aryeh.friedman@gmail.com>
To:        Mark Martinec <Mark.Martinec+freebsd@ijs.si>
Cc:        "freebsd-virtualization@freebsd.org" <freebsd-virtualization@freebsd.org>
Subject:   Re: emulators/petitecloud 0.2.1 available
Message-ID:  <CAGBxaXmcci=0fb1bxaLu0yU7w1ZCckSnNSDG6sFkX=97atjYdA@mail.gmail.com>
In-Reply-To: <e2379e85705ae227daabb10305e2853b@mailbox.ijs.si>
References:  <CAGBxaXncLkwWunLn2oaK1j1h3Hk91m9_eN0mpvTb9rQhUq0YHw@mail.gmail.com> <201401171615.51057.Mark.Martinec%2Bfreebsd@ijs.si> <CAGBxaXmOzR3iPz66EF9fcKc7741c8ETT8H_dnYKceWHFTzn=vw@mail.gmail.com> <CAGBxaX=4kTMjWVHPqJAB-%2BZcyRW9kxaPgSXpj84ONCpPQZhVSA@mail.gmail.com> <275866C0-E379-48BE-BAAD-BF87A307A64E@tamu.edu> <CAGBxaX=PaZY5vr3DUwq8TjArrwpriBw8%2BAM_LEZU_gUvGkZERA@mail.gmail.com> <b6fe6732e5185953d236a06ce7d3bb4e@mailbox.ijs.si> <CAGBxaXmsEsDMQQ81ZstX2c0CAWVT6pfYjTOvG_qf5zhs_Y6_6g@mail.gmail.com> <CAGBxaX=qa0OOz==TkM1iibyXaKYUxkBZG4KHboU_KuYCSEzdBQ@mail.gmail.com> <20140119214136.GR86491@e-new.0x20.net> <CAGBxaXmWnRHrR4u-ZU5XGn0txjpLTiy0Req_EtmL_9r0yVuohg@mail.gmail.com> <CAGBxaX=Vc1%2BrENEboSaCEEwFp5AKn0A3yuNduX%2BOO5YQASLi_w@mail.gmail.com> <e2379e85705ae227daabb10305e2853b@mailbox.ijs.si>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jan 22, 2014 at 7:03 PM, Mark Martinec <Mark.Martinec+freebsd@ijs.si
> wrote:

> 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
>

We had a build system bug that did this (updated the release files even
when no release was made) it is now solved I will be posting the right
dist-info with the patch fixing the below


>
>
> 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 ...]
>
>
You need devel/thistest (
http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/185363)... I am planning
on removing this depend in 0.2.2 or 0.2.3 depending on other things

-- 
Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGBxaXmcci=0fb1bxaLu0yU7w1ZCckSnNSDG6sFkX=97atjYdA>