Opened 19 years ago

Closed 19 years ago

#6879 closed defect (fixed)

gtkmm fails to compile

Reported by: maurice@… Owned by: gnome-darwinports@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc: mguthaus@…
Port:

Description

%sudo port install gtkmm Error: Internal error: port search failed: couldn't compile regular expression pattern: quantifier operand invalid Error: /opt/local/bin/port: Status 1 encountered during processing.

Attachments (1)

Portfile (444 bytes) - added by zheaton@… 19 years ago.
Modified portfile for gtkmm

Download all attachments as: .zip

Change History (7)

comment:1 Changed 19 years ago by maurice@…

% sudo port -d install glibmm DEBUG: Found port in file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/devel/glibmm DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/devel/glibmm DEBUG: Requested variant powerpc is not provided by port glibmm. DEBUG: Requested variant darwin is not provided by port glibmm. DEBUG: Requested variant macosx is not provided by port glibmm. DEBUG: Found port in file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/devel/glib2 DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/devel/glib2 DEBUG: Searching for dependency: glib2 DEBUG: Found Dependency: receipt exists for glib2 DEBUG: couldn't compile regular expression pattern: quantifier operand invalid

while executing

"regexp -- $pattern $target"

("regexp" arm line 1) invoked from within

"switch $matchstyle {

exact { set matchres [expr 0 == ( {$case_sensitive == "yes"} ? [string compare $pattern $target] : [string compare -nocase ..."

(procedure "dportsearch" line 29) invoked from within

"dportsearch "$dep_portname\$"" Error: Internal error: port search failed: couldn't compile regular expression pattern: quantifier operand invalid Error: /opt/local/bin/port: Status 1 encountered during processing.

Changed 19 years ago by zheaton@…

Attachment: Portfile added

Modified portfile for gtkmm

comment:2 Changed 19 years ago by maurice@…

Fix appears to work for me too and corrects my inkscape compilation problem

comment:3 Changed 19 years ago by blb@…

Owner: changed from darwinports-bugs@… to gnome-darwinports@…

Assign to maintainer.

comment:4 Changed 19 years ago by olegb@…

the problem as said is not (In reply to comment #2)

Created an attachment (id=6124) [edit] Modified portfile for gtkmm

The error in the build appears to be caused by an incompletely escaped reference to libsigc++2 in the glibmm portfile. (The ++ sequence is not escaped, causing Darwinports to die when it attempts to parse the dependency name.) I've uploaded a modified portfile which seems to fix this problem on my system. Note that I have done no other testing of this file.

As you say: the problem is with glibmm - why do you modify gtkmm ? There is no problems in HEAD btw.

comment:5 Changed 19 years ago by mguthaus@…

Cc: mguthaus@… added

I get this problem when upgrading libsigc++2....

sudo port -d upgrade libsigc++2 DEBUG: couldn't compile regular expression pattern: quantifier operand invalid

while executing

"regexp -- $pattern $target"

("regexp" arm line 1) invoked from within

"switch $matchstyle {

exact { set matchres [expr 0 == ( {$case_sensitive == "yes"} ? [string compare $pattern $target] : [string compare -nocase ..."

(procedure "dportsearch" line 29) invoked from within

"dportsearch $pname$" Error: port search failed: couldn't compile regular expression pattern: quantifier operand invalid

comment:6 Changed 19 years ago by olegb@…

Resolution: fixed
Status: newclosed

problem fixed - with the move of portname++ to portnamexx

Note: See TracTickets for help on using tickets.