Re: Could not build picard-tools version 1.100
Hi charles,
I fixed the compilation of picard-tools (I pushed theupdated to git repo).
Do you want to make other tests/modifications or should I push the new
release ?
Olivier
On 10/21/2013 08:45 AM, Olivier Sallou wrote:
> On 10/20/2013 05:32 PM, Andreas Tille wrote:
>> Hi,
>>
>> it smells like it might be that the changes are explicitly about java6
>> but we are now building with Java 7. Unfurtunately I have no idea how
>> to turn this suspicion into code.
>>
>> Kind regards
>>
>> Andreas.
>>
>> On Sun, Oct 20, 2013 at 11:06:17AM +0900, Charles Plessy wrote:
>>> Hello everybody,
>>>
>>> I tried to update picard-tools to version 1.100, unfortunately, it makes an
>>> error. It may be trivial for people knowing Java, so please let me know of a
>>> workaround (or commit it directly).
>>>
>>> The update made the following change in the build.xml file.
>>>
>>> <property environment="env"/>
>>> + <property name="java6.home" value="${env.JAVA6_HOME}"/>
> Hi,
> you indeed explicitly set a property with JAVA6_HOME, taken from
> environment.
> We are, as Andreas said, in Java7. Furthermore, is JAVA6_HOME set in
> debian/rules ? I think we usually have JAVA_HOME (not specifically
> related to a version).
> Maybe you should only set:
>
> + <property name="java6.home" value="${env.JAVA_HOME}"/>
>
>
> I wonder why however they need Java libs directly.
>
> Olivier
>>>
>>> <condition property="isUnix">
>>> <os family="unix"/>
>>> @@ -75,6 +77,10 @@
>>> <pathelement path="${classpath}"/>
>>> <pathelement location="${classes}"/>
>>> </path>
>>> +
>>> + <path id="java6.lib.ref">
>>> + <fileset dir="${java6.home}/lib" includes="*.jar"/>
>>> + </path>
>>> </target>
>>>
>>> And it leads to the following error.
>>>
>>> compile-sam-jdk:
>>> [mkdir] Created dir: /«PKGBUILDDIR»/classes
>>>
>>> BUILD FAILED
>>> /«PKGBUILDDIR»/build.xml:109: The following error occurred while executing this line:
>>> /«PKGBUILDDIR»/build.xml:476: /«PKGBUILDDIR»/${env.JAVA6_HOME}/lib does not exist.
>>>
>>> Cheers,
>>>
>>> Charles
>>>
>>> --
>>> Charles Plessy
>>> Debian Med packaging team,
>>> http://www.debian.org/devel/debian-med
>>> Tsurumi, Kanagawa, Japan
>>>
>>>
>>> --
>>> To UNSUBSCRIBE, email to debian-med-REQUEST@lists.debian.org
>>> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>>> Archive: [🔎] 20131020020617.GC26520@falafel.plessy.net">http://lists.debian.org/[🔎] 20131020020617.GC26520@falafel.plessy.net
>>>
>>>
--
Olivier Sallou
IRISA / University of Rennes 1
Campus de Beaulieu, 35000 RENNES - FRANCE
Tel: 02.99.84.71.95
gpg key id: 4096R/326D8438 (keyring.debian.org)
Key fingerprint = 5FB4 6F83 D3B9 5204 6335 D26D 78DC 68DB 326D 8438
Reply to: