On 7/6/12 4:14 PM, Derek Homeier wrote:
> On 06.07.2012, at 11:19PM, Daniel Macks wrote:
> 
>> On Fri, 06 Jul 2012 14:59:23 -0700, Alexander Hansen 
>> <alexanderk.han...@gmail.com> wrote:
>> On 7/6/12 1:49 PM, Derek Homeier wrote:
>>>> Hi,
>>>>> with Fink 0.33.3.1 on i386/10.5 trying to build libsigc++2-2.2.8 fails 
>>>>> with the following error > on creating the package, after the actual 
>>>>> build has succeeded:
>>>>> Writing control file... > Removing runtime build-lock... > Removing 
>>>>> build-lock package... > /sw/bin/dpkg-lockwait -r 
>>>>> fink-buildlock-libsigc++2-2.2.8-1002
>>>> (Reading database ... 243798 files and directories currently installed.)
>>>> Removing fink-buildlock-libsigc++2-2.2.8-1002 ... > Failed: Nested 
>>>> quantifiers in regex; marked by <-- HERE in 
>>>> m/^/scratch.noindex/fink.build/root-libsigc++ <-- HERE 2-2.2.8-1002// at 
>>>> /sw/lib/perl5/Fink/PkgVersion.pm line 4431, <STDIN> line 1. > > I've tried 
>>>> reinstalling perl and rebuilding fink, but to no avail - any idea if this 
>>>> is a problem > with the fink database or what else might be done to fix it?
>>>>> Thanks,
>>>>  Derek
>>>>> The line the error mentions has the following contents:
>>>
>>> $md5file =~ s/^$destdir\//  /;
>>>
>>> I assume you have
>>>
>>> Buildpath: /scratch.noindex/fink.build
>>>
>>> set in fink.conf?  I tried setting that but was unable to reproduce the
>>> problem on 10.7. 
>>> I'll see if I can reproduce the problem on 10.5. 
>>
>> Probably platform-independent but affects all packages with "+" in their 
>> name or version fields. It's a regex metachar but the perl line is expecting 
>> to match it as a literal string. See if my commit to master fixes it:
>>
>> https://github.com/fink/fink/commit/eedeb59f79616d281d0282e5808d6a14a6093739
> 
> Yep, that fixes it, thanks! I suspected something with the "+" being 
> interpreted as regex, but my perl 
> skills were too rusty to take me any further. I could not reproduce it on 
> 10.7 either, or 10.6 AFAIR 
> (can't check right now), and had libsigc++2-2.2.8 installed on 10.5/ppc, but 
> trying to rebuild it there 
> (without your patch) just produced the same error; so I seem to have it built 
> there with an earlier fink 
> version before this became broken. And then it apparently depends on the 
> system perl version how 
> it handles this (5.8.8 vs. 5.10+).
> 
> Thanks again,
>                                               Derek
> 

I only saw this on 10.5--10.6 and 10.7 seemed OK, so it definitely seems
related to the system's Perl version.

fink-0.33.3.2 is a quick bugfix which incorporates Daniel's changes, and
it should be available shortly via selfupdate.


-- 
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to