Opened 14 years ago

Closed 13 years ago

#29222 closed defect (fixed)

fontconfig activation error with flat registry

Reported by: toshi.swd@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 1.9.2
Keywords: registry error Cc: ryandesign (Ryan Carsten Schmidt)
Port: fontconfig

Description

Doing 'port install fontconfig +universal' failed as the followings:

% sudo port install fontconfig +universal
--->  Computing dependencies for fontconfig
--->  Fetching fontconfig
--->  Verifying checksum(s) for fontconfig
--->  Extracting fontconfig
--->  Applying patches to fontconfig
--->  Configuring fontconfig
--->  Building fontconfig
--->  Staging fontconfig into destroot
--->  Installing fontconfig @2.8.0_0+universal
Error: Target org.macports.activate returned: Registry error: Please specify the name of the port.

I attached the log file.

Attachments (1)

fontconfig_main.log (872 bytes) - added by toshi.swd@… 14 years ago.

Download all attachments as: .zip

Change History (8)

Changed 14 years ago by toshi.swd@…

Attachment: fontconfig_main.log added

comment:1 Changed 14 years ago by toshi.swd@…

Cc: toshi.swd@… added

Cc Me!

comment:2 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added; toshi.swd@… removed
Component: portsbase
Priority: HighNormal

I'm afraid I don't have any idea what that error means in this context. Anybody else know?

comment:3 Changed 14 years ago by jmroot (Joshua Root)

Show the output of port installed fontconfig please.

comment:4 Changed 14 years ago by toshi.swd@…

% port installed fontconfig
The following ports are currently installed:
  fontconfig @2.8.0_0 (active)
  fontconfig @2.8.0_0+macosx (active)
  fontconfig @2.8.0_0+universal

I tried to uninstall @2.8.0_0 and @2.8.0_0+macosx using -f option, but failed with the similar error message.

Error:  Registry error: Please specify the name of the port.

comment:5 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Interesting. It should of course not be possible for more than one instance of a port to be active at the same time. We used to record platforms (like "macosx") in the list of variants in the registry, but we no longer do in the current version of MacPorts. I wonder if this could explain how this situation arose (since the two instances that are active here are effectively the same thing, one of them in the old notation (with +macosx), the other in the new notation (without it)).

comment:6 Changed 14 years ago by jmroot (Joshua Root)

I'm guessing you're using portdbformat flat? You'll want to edit the receipt for whichever variant isn't actually active and change 'active 1' to 'active 0'. And then switch to sqlite; that will be the only choice as of the next release anyway, so bugs in the flat registry basically aren't going to get fixed.

comment:7 Changed 13 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed
Summary: fontconfig registry errorfontconfig activation error with flat registry

Assuming that was it...

Note: See TracTickets for help on using tickets.