Hi,
On Nov 25, 2014, at 21:02, Richard <[email protected]> wrote:
>
> Thanks, I got there myself about half an hour ago.
>
> The file command reports differently here. I fixed it with the following
> small change:
>
> $ diff t2-trunk/scripts/Download t2-trunk-orig/scripts/Download
> 642,644c642
> < *.jar)
> < typeexpr="Java Jar file data" ;;
> < *.zip)
> ---
>> *.zip|*.jar)
>
>
>
> now the build appears to be proceeding smoothly.
Committed revision 43403.
René
> Thanks again, R.
>
>
> ----- Original Message -----
> From: Dan <[email protected]>
> To: Richard <[email protected]>
> Cc: Dan <[email protected]>; T2 developers mailing list <[email protected]>
> Sent: Tuesday, 25 November 2014, 20:49
> Subject: Re: [t2] ecj problem
>
> Hi Richard
>
> first, I use OpenSuse as host
>
> second, the infos:
>
> file download/mirror/e/ecj-4.5.jar
> download/mirror/e/ecj-4.5.jar: Zip archive data, at least v2.0 to extract
> Java Jar file data (zip)
>
>
> file --version
> file-5.15
> magic file from /etc/magic:/usr/share/misc/magic
>
> zip --version
> Copyright (c) 1990-2008 Info-ZIP - Type 'zip "-L"' for software license.
> This is Zip 3.0 (July 5th 2008), by Info-ZIP.
>
> I hope it helps
> Dan
>
>
> At Mon, 24 Nov 2014 22:42:54 +0000 (UTC),
> Richard wrote:
>
>>
>> Dan,
>>
>> The build was from a t2-trunk downloaded only about an hour before, but just
>> to be thorough I downloaded the t2-trunk again and started from scratch. The
>> error was just the same:
>>
>> # ./scripts/Download -required
>> INFO: To force a new mirror auto-detection, remove download/Mirror-Cache.
>> INFO: Found cached mirror URL in download/Mirror-Cache:
>> INFO: http://dl.t2-project.org/mirror/9.0
>>
>> Downloading gcc:download/mirror/e/ecj-4.5.jar ...
>> ########################################################################
>> 100.0%
>> Finished downloading 1470676 bytes in 2.410 seconds (610218.000 bytes/sec).
>> download/mirror/e/ecj-4.5.jar.incomplete: Java Jar file data (zip)
>> ERROR: File type does not match filename (Zip archive data)!
>>
>> Downloading bash:download/mirror/b/bash42-049 ...
>> ########################################################################
>> 100.0%
>> Finished downloading 1252 bytes in 0.112 seconds (11212.000 bytes/sec).
>> WARNING: Unknown file extension: download/mirror/b/bash42-049
>> cksum-test (raw): download/mirror/b/bash42-049
>> Cksum ERROR: download/mirror/b/bash42-049.cksum-err (3114505098)
>> #
>> (I fixed the bash problem by downloading from elsewhere), which leaves the
>> same error:
>>
>> Looking more closely at the error; particularly from when the error file is
>> still in place; it appears to be complaining about the file type:
>>
>> # ./scripts/Download -required
>> INFO: Auto-detecting best mirror ...
>> INFO: Downloading mirror-list from t2-project.org.
>> INFO: Testing <Germany (ExactCODE) - dl.t2-project.org (HTTP)> ... ok
>> 233787.000 B/s
>> INFO: Testing <Miami, Florida - US - 64.251.30.248 (HTTP)> ... error
>> INFO: Using mirror <http://dl.t2-project.org/mirror/9.0>.
>>
>> Downloading gcc:download/mirror/e/ecj-4.5.jar ...
>> ERROR: Found download/mirror/e/ecj-4.5.jar.extck-err.
>> ERROR: That means that we downloaded the file already and it's content
>> ERROR: did not match it's filename extension. Remove the *.extck-err file
>> ERROR: to force a new download of that file.
>> #
>>
>>
>> May I ask, what does your 'file' command report for the jar file?
>>
>> # file ecj-4.5.jar
>> ecj-4.5.jar: Java Jar file data (zip)
>>
>>
>> Thanks, R.
>>
>>
>> ----- Original Message -----
>> From: Dan <[email protected]>
>> To: Richard <[email protected]>
>> Cc: T2 developers mailing list <[email protected]>
>> Sent: Sunday, 23 November 2014, 18:20
>> Subject: Re: [t2] ecj problem
>>
>>
>> Hi Ricard
>>
>> I try to verify your result:
>>
>> First I took a new t2-trunk export
>>
>> svn co http://svn.exactcode.de/t2/trunk t2-trunk
>>
>> Then I
>>
>> ./scripts/Download gcc
>>
>> .....
>>
>> Downloading gcc:download/mirror/e/ecj-4.5.jar ...
>> ##################################################################
>> 92,3%
>> Finished downloading 1470676 bytes in 2,589 seconds (567961,000 bytes/sec).
>> cksum-test (raw): download/mirror/e/ecj-4.5.jar
>>
>> Downloading gcc:download/mirror/g/gcc-creator.class ...
>> ################################################
>> 66,9%
>> Finished downloading 6001 bytes in 0,386 seconds (15541,000 bytes/sec).
>> WARNING: Unknown file extension: download/mirror/g/gcc-creator.class
>> cksum-test (raw): download/mirror/g/gcc-creator.class
>>
>>
>> So the problem/warning comes not from the ecj, it's the "gcc-creator.class"
>> for me.
>>
>> By typing
>>
>> less package/develop/gcc/gcc.desc
>>
>> I get the lines
>>
>> [D] 305870578 gcc-4.9.2.tar.bz2 ftp://gcc.gnu.org/pub/gcc/releases/gcc-4.9.2/
>> [D] 271646925 ecj-4.5.jar ftp://sourceware.org/pub/java/
>> [D] 2978776885 gcc-creator.class
>> !http://gcc.gnu.org/viewcvs/branches/gcc-4_4-branch/libjava/classpath/tools/classes/gnu/classpath/tools/jar/Creator.class?revision=153462&view=co&pathrev=153462
>>
>> Pleas try it again with a new t2-trunk export.
>>
>> Greetins
>> Dan
>>
>> At Sun, 23 Nov 2014 15:45:20 +0000 (UTC),
>> Richard wrote:
>>
>>>
>>>
>>> Hello,
>>>
>>> This is my first t2 build and I seem to be failing at an early stage:
>>>
>>> # ./scripts/Download -required
>>> INFO: Auto-detecting best mirror ...
>>> INFO: Downloading mirror-list from t2-project.org.
>>> INFO: Testing <Germany (ExactCODE) - dl.t2-project.org (HTTP)> ... ok
>>> 10956.000 B/s
>>> INFO: Testing <Miami, Florida - US - 64.251.30.248 (HTTP)> ... error
>>> INFO: Using mirror <http://dl.t2-project.org/mirror/9.0>.
>>>
>>> Downloading gcc:download/mirror/e/ecj-4.5.jar ...
>>> ########################################################################
>>> 100.0%
>>> Finished downloading 1470676 bytes in 25.958 seconds (56656.000 bytes/sec).
>>> download/mirror/e/ecj-4.5.jar.incomplete: Java Jar file data (zip)
>>> ERROR: File type does not match filename (Zip archive data)!
>>>
>>>
>>> I have also tried downloading manually from
>>> http://www.mirrorservice.org/sites/sourceware.org/pub/java/ and
>>> 'downloading' from a file:/// mirror url, but I have the same problem.
>>>
>>> Any advice would be welcome.
>>>
>>> Many thanks, Richard.
>>>
>>>
>>>
>>> -----------------------------------------------------------
>>> If you wish to unsubscribe from this mailing, send mail to
>>> [email protected] with a subject of: unsubscribe t2
>
>
>
> -----------------------------------------------------------
> If you wish to unsubscribe from this mailing, send mail to
> [email protected] with a subject of: unsubscribe t2
--
ExactCODE GmbH, Lietzenburger Str. 42, DE-10117 Berlin
DE Legal: Amtsgericht Berlin (Charlottenburg) HRB 105123B, Tax-ID#: DE251602478
Managing Director: René Rebe
http://exactcode.com | http://exactscan.com | http://ocrkit.com |
http://t2-project.org | http://rene.rebe.de
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[email protected] with a subject of: unsubscribe t2