You are not logged in.

#1 2022-05-23 18:20:27

ernibert
Member
Registered: 2012-03-09
Posts: 13

gcc (12.1.0-2) breaks dependency

Hi,  i've an issue upgrading my system:

when i do a
$ pacman -Syu

i get

:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
multilib is up to date
:: Starting full system upgrade...
:: Replace qemu with extra/qemu-desktop? [Y/n] Y
:: Replace qemu-arch-extra with extra/qemu-emulators-full? [Y/n] Y
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing gcc (12.1.0-2) breaks dependency 'gcc=11.2.0-4' required by gcc-d

How to overcome this one?

--
Thomas

Offline

#2 2022-05-23 18:30:21

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,646

Re: gcc (12.1.0-2) breaks dependency

Where does the package gcc-d come from? It isn't in the official repos or the AUR.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#3 2022-05-23 18:33:11

pebcak
Member
Registered: 2020-08-11
Posts: 15

Re: gcc (12.1.0-2) breaks dependency

"Truncated" copy/paste? gcc-docs? 
https://aur.archlinux.org/packages/gcc-docs

Offline

#4 2022-05-23 18:36:17

stanczew
Member
Registered: 2021-03-02
Posts: 44

Re: gcc (12.1.0-2) breaks dependency

Offline

#5 2022-05-23 18:41:04

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,646

Re: gcc (12.1.0-2) breaks dependency

Thanks. I forgot that split packages didn't show up in the packages web search frontend.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#6 2022-05-23 18:44:46

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 10,946
Website

Re: gcc (12.1.0-2) breaks dependency

Mod note: not an installation issue, moving to pacman/upgrade issues.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#7 2022-05-23 18:46:40

stanczew
Member
Registered: 2021-03-02
Posts: 44

Re: gcc (12.1.0-2) breaks dependency

Slithery wrote:

Thanks. I forgot that split packages didn't show up in the packages web search frontend.

They do, just not the deleted ones wink

ernibert wrote:

How to overcome this one?

I think your only option is to remove gcc-d, as it's no longer in the repositories.

Offline

#8 2022-05-23 19:41:38

ernibert
Member
Registered: 2012-03-09
Posts: 13

Re: gcc (12.1.0-2) breaks dependency

stanczew wrote:

...
I think your only option is to remove gcc-d, as it's no longer in the repositories.

Right - I did, system upgrade is running currently.  But result is that we've lost gdc (gcc-d) now without any replacement.

For current development stuff it is not that nice. Maybe there were reasons to use gdc instead of dmd - now it looks like D developers are pushed back to dmd (as long as gdc will not be available). Don't think this is valuable for the future of gdc. But, anyway, that is not to be discussed here on a distro's forum, thats stuff for a gcc forum.

Thanks guys, i felt i had to remove gdc, too.

Offline

#9 2022-05-23 20:07:10

loqs
Member
Registered: 2014-03-06
Posts: 15,509

Re: gcc (12.1.0-2) breaks dependency

gcc-d may come back now the cause of the build failure has been determined https://bugs.archlinux.org/task/74720

Offline

#10 2022-05-23 20:07:16

progandy
Member
Registered: 2012-05-17
Posts: 5,048

Re: gcc (12.1.0-2) breaks dependency

ernibert wrote:

now it looks like D developers are pushed back to dmd (as long as gdc will not be available). Don't think this is valuable for the future of gdc. But, anyway, that is not to be discussed here on a distro's forum, thats stuff for a gcc forum.

gdc is still available, just not on arch linux.
gdc is now itself written in d, so building a new gdc compiler would require an older gdc.

Last edited by progandy (2022-05-23 20:08:27)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

Board footer

Powered by FluxBB