Opened 12 months ago

Closed 12 months ago

Last modified 12 months ago

#67305 closed defect (duplicate)

inkscape: now installs public copy of lib2geom, causing conflict with that port

Reported by: fmw42 (Fred Weinhaus) Owned by: mascguy (Christopher Nielsen)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc:
Port: inkscape, lib2geom

Description

I just installed py311-opencv4 on my Mac OSX Ventura (M1 Mini) and I get the following:

sudo port install py311-opencv4
--->  Computing dependencies for py311-opencv4
--->  Fetching archive for py311-opencv4
--->  Attempting to fetch py311-opencv4-4.6.0_2.darwin_22.arm64.tbz2 from https://packages.macports.org/py311-opencv4
--->  Attempting to fetch py311-opencv4-4.6.0_2.darwin_22.arm64.tbz2.rmd160 from https://packages.macports.org/py311-opencv4
--->  Installing py311-opencv4 @4.6.0_2
--->  Activating py311-opencv4 @4.6.0_2
--->  Cleaning py311-opencv4
--->  Scanning binaries for linking errors
--->  Found 3 broken files, matching files to ports      
--->  Found 1 broken port, determining rebuild order
You can always run 'port rev-upgrade' again to fix errors.
The following ports will be rebuilt: inkscape @1.2.1+x11
Continue? [Y/n]: Y
--->  Computing dependencies for inkscape
Error: Can't install inkscape because conflicting ports are active: lib2geom
Error: rev-upgrade failed: Error rebuilding inkscape
Error: Follow https://guide.macports.org/#project.tickets if you believe there
is a bug.

There seems to be a conflict with lib2geom. I do not know how it was installed or by which other app. I am including a list of all my ports installed.

Attachments (1)

macports_ports_installed.txt (32.3 KB) - added by fmw42 (Fred Weinhaus) 12 months ago.
Installed Ports

Download all attachments as: .zip

Change History (8)

Changed 12 months ago by fmw42 (Fred Weinhaus)

Installed Ports

comment:1 Changed 12 months ago by ryandesign (Ryan Carsten Schmidt)

Cc: mascguy added; stromnov@… GitHub: stromnov removed
Keywords: Inkscape lib2geom removed
Port: inkscape lib2geom added; py311-opencv4 removed
Summary: py311-opencv4 install of Inkscape failedinkscape: conflicts with lib2geom

There is no bug here, as far as I can tell.

Uninstall lib2geom. Then you can rebuild inkscape.

The only port I can find in MacPorts that depends on lib2geom is inkscape-devel. If you prefer to use a development version rather than a stable version, you can deactivate inkscape and install inkscape-devel.

comment:2 in reply to:  1 Changed 12 months ago by mascguy (Christopher Nielsen)

Cc: mascguy removed
Owner: set to mascguy
Status: newassigned
Summary: inkscape: conflicts with lib2geominkscape: now installs pkgconfig for lib2geom, causing conflict with that port

Replying to ryandesign:

There is no bug here, as far as I can tell.

Uninstall lib2geom. Then you can rebuild inkscape.

The only port I can find in MacPorts that depends on lib2geom is inkscape-devel. If you prefer to use a development version rather than a stable version, you can deactivate inkscape and install inkscape-devel.

Agreed Ryan. Though with that being said, it's not clear why upstream is now installing lib2geom into a public area [as part of the Inkscape build.]

Perhaps that's intentional, and it's now part of their official distribution. But certainly unexpected.

Anyhow, I'll keep this ticket open to track that investigation, and report back once it's been done.

Last edited 12 months ago by mascguy (Christopher Nielsen) (previous) (diff)

comment:3 Changed 12 months ago by mascguy (Christopher Nielsen)

Summary: inkscape: now installs pkgconfig for lib2geom, causing conflict with that portinkscape: now installs public copy of lib2geom, causing conflict with that port

comment:4 Changed 12 months ago by fmw42 (Fred Weinhaus)

Pardon my ignorance, but is this not something that you can fix with respect to Inkscape and py311-opencv4?

comment:5 Changed 12 months ago by mascguy (Christopher Nielsen)

Resolution: duplicate
Status: assignedclosed

Duplicate of issue:67105

comment:6 Changed 12 months ago by fmw42 (Fred Weinhaus)

So are these the proper steps for me to use to fix the issue, currently. I saw them from https://trac.macports.org/ticket/67105

    port activate lib2geom
    port destroot inkscape
    port deactivate lib2geom
    port install inkscape

comment:7 in reply to:  6 Changed 12 months ago by mascguy (Christopher Nielsen)

Replying to fmw42:

So are these the proper steps for me to use to fix the issue, currently. I saw them from https://trac.macports.org/ticket/67105

    port activate lib2geom
    port destroot inkscape
    port deactivate lib2geom
    port install inkscape

No, this is all you should have to do:

sudo port -f deactivate lib2geom
sudo port -N upgrade inkscape
Note: See TracTickets for help on using tickets.