Opened 19 years ago

Closed 19 years ago

#6522 closed defect (fixed)

port upgrade fails on some port names

Reported by: rhwood@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 1.0
Keywords: Cc:
Port:

Description

Getafix:~ rhwood$ port outdated The following installed ports are outdated: libsigc++2 2.0.16_0 < 2.0.17_0 Getafix:~ rhwood$ sudo port upgrade outdated Error: port search failed: couldn't compile regular expression pattern: quantifier operand invalid Getafix:~ rhwood$ sudo port upgrade libsigc++2 Error: port search failed: couldn't compile regular expression pattern: quantifier operand invalid Getafix:~ rhwood$ port version Version: 1.200

Change History (2)

comment:1 Changed 19 years ago by pierre@…

Same bug here. I'd add that 'sudo port upgrade "libsigc\+\+2"' works.

comment:2 Changed 19 years ago by jberry@…

Resolution: fixed
Status: newclosed

A fix is in cvs. upgrade wasn't properly protecting use of portnames against regex characters. Altered it to call dportsearch with the new (1.2) exact search option, which avoids regex alltogether, since what we wanted here was an exact search for the portname.

Please verify.

Note: See TracTickets for help on using tickets.