On line 1110 of pkgbuild.pl, the package name is matched against. If it
contains regex metacharacters like +.[] Perl can complain. Specifically,
when I attempted to build a package named libsigc++, Perl died with an
error:
Nested quantifiers in regex; marked by <-- HERE in
m/^/var/tmp/pkgbuild-will/libsigc++ <-- HERE -2.0.17-build/ at
/usr/bin/../lib/pkgbuild-1.2.0/pkgbuild.pl line 1112.
I modified the pkgbuild.pl file like this:
$protoline = "v $class_name $relpath=/dev/null $mode $user
$group";
} elsif ($type eq 's') {
my $linkpoint = readlink ($fname);
my $reg = $buildroot;
$reg =~ s/[\+\*\[\]\(\)]/\\\1/g;
if ($linkpoint =~ /^$reg/) {
fatal ("ERROR: /$fname is an absolute symlink that points to
\$RPM_BUILD_ROOT");
} elsif ($linkpoint =~ /^\//) {
Nobody/Anonymous ( nobody ) - 2007-09-01 21:23
5
Closed
Fixed
Laszlo (Laca) Peter
general
None
Public
|
Date: 2009-03-22 06:36 rjVaMk <a href="http://lkdjvtsrbqip.com/">lkdjvtsrbqip</a>, |
|
Date: 2008-12-06 07:42 L372jm <a href="http://hfuqldxjhrbo.com/">hfuqldxjhrbo</a>, |
|
Date: 2008-12-04 22:53 eMbCAX <a href="http://atisilndqkfl.com/">atisilndqkfl</a>, |
|
Date: 2008-11-25 19:37 GxnqU7 <a href="http://xjortqlatprx.com/">xjortqlatprx</a>, |
|
Date: 2008-11-20 00:29 DcHnea <a href="http://zpiuhbcostob.com/">zpiuhbcostob</a>, |
|
Date: 2008-10-03 19:14 fE0gam <a href="http://xgdjmgipfxmv.com/">xgdjmgipfxmv</a>, |
|
Date: 2008-10-03 07:07 o1Ctvo <a href="http://vzgwiizqcrau.com/">vzgwiizqcrau</a>, |
|
Date: 2008-09-27 03:59 8Zo44D <a href="http://aaollgioqcvd.com/">aaollgioqcvd</a>, |
|
Date: 2008-06-02 18:39 Logged In: NO |
|
Date: 2008-06-02 06:30 Logged In: NO |
|
Date: 2008-01-06 09:18
|
|
Date: 2007-09-01 22:20 Logged In: NO |
| Field | Old Value | Date | By |
|---|---|---|---|
| status_id | Open | 2008-01-06 09:18 | laca_ |
| resolution_id | None | 2008-01-06 09:18 | laca_ |
| close_date | - | 2008-01-06 09:18 | laca_ |
Copyright © 2010 Geeknet, Inc. All rights reserved. Terms of Use