Opened 6 years ago

Closed 6 years ago

#57384 closed defect (fixed)

Error: Failed to activate libgcc-devel: Image error:

Reported by: dbl001 (dbl) Owned by: cjones051073 (Chris Jones)
Priority: Normal Milestone:
Component: ports Version: 2.5.4
Keywords: Cc: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Port: libgcc-devel

Description

I am running macport Version: 2.5.4 on OS X 10.11.6

I am getting the following error building: libgcc-devel

...
--->  Activating libgcc-devel @9-20181007_0
Error: Failed to activate libgcc-devel: Image error: /opt/local/include/gcc/c++/algorithm is being used by the active libgcc8 port.  Please deactivate this port first, or use 'port -f activate libgcc-devel' to force the activation.
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc9/libgcc-devel/main.log for details.
...

Attachments (1)

main.log (62.4 KB) - added by dbl001 (dbl) 6 years ago.

Download all attachments as: .zip

Change History (6)

Changed 6 years ago by dbl001 (dbl)

Attachment: main.log added

comment:1 Changed 6 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Cc: MarcusCalhoun-Lopez added

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

Keywords: libgcc-devel removed
Owner: set to cjones051073
Status: newassigned

libgcc-devel and libgcc8 conflict. Deactivate libgcc8 before activating libgcc-devel.

Chris, this arises because of your changes in [37619a17caf48f80aafda18e5c46a6dcf68c9e32/macports-ports]. Now that libgcc no longer provides files, libgcc-devel needs to modified to whichever of libgcc7 or libgcc8 is providing the libraries, and libgcc7 and libgcc8 need to conflict with libgcc-devel when they provide the libraries, and libgcc no longer needs to conflict with libgcc-devel.

comment:3 Changed 6 years ago by cjones051073 (Chris Jones)

yeah, the conflicts probably do need some work...

comment:5 Changed 6 years ago by Chris Jones <jonesc@…>

Resolution: fixed
Status: assignedclosed

In 41c70edfb1bd4e23191ee69e2ea18fff7910d205/macports-ports (master):

gcc: Fix the conflicts between the production and devel ports

Closes #57384

Note: See TracTickets for help on using tickets.