Re: [SCM] tomcat6 packaging branch, master, updated. debian/6.0.35-6-1-g3c65d46
On Wed, Jul 31, 2013 at 9:46 AM, Stephen Nelson <stephen@eccostudio.com> wrote:
> On Wed, Jul 31, 2013 at 9:33 AM, Emmanuel Bourg <ebourg@apache.org> wrote:
>> Le 31/07/2013 00:17, Stephen Nelson a écrit :
>>
>>> --- a/debian/watch
>>> +++ b/debian/watch
>>> @@ -1,3 +1,3 @@
>>> version=3
>>> opts=uversionmangle=s/_/./g \
>>> - http://svn.apache.org/repos/asf/tomcat/tc6.0.x/tags/ TOMCAT_([0-9_]*[0-9])/ debian debian/orig-tar.sh
>>> + http://svn.apache.org/repos/asf/tomcat/tc6.0.x/tags/ TOMCAT_([0-9_]*[0123456789])/ debian debian/orig-tar.sh
>>>
>>
>> Hi Stephen,
>>
>> Are you sure this actually fixed the issue? [0123456789] is equivalent
>> to [0-9] (and personally I just use the \d shortcut).
>>
>> Emmanuel Bourg
>>
>
> Hi Emmanuel,
>
> I was confused by this too as I thought they should be equivalent.
> When I checked out the package I ran:
>
> uscan --report --verbose
>
> from one of your previous emails to the list about learning Debian
> java packaging. The command failed to pick up newer versions. I then
> checked-out the tomcat7 package which had the above regex. So I
> changed it and then uscan seemed to work. I can re-check this evening
> to confirm.
>
> Stephen
I tried tonight and it worked with both regular expressions which is
strange - so I'll revert that change.
More interestingly I've found out that the version of the dependency
libecj-java in testing and unstable (3.8.2-2 and 3.8.2-4) doesn't
allow tomcat6 to compile. Through a bit of trial-and-error, after
installing the version from stable (3.5.1-1) it does successfully
build.
So what's the best way to solve this? Make a dependency on the version
in stable or make it work with a later version. I note from the
build.properties.default that its default is 3.7.
Stephen
Reply to: