View previous topic :: View next topic |
Author |
Message |
leyvi Tux's lil' helper

Joined: 08 Sep 2023 Posts: 140
|
Posted: Sat Nov 23, 2024 5:28 pm Post subject: MIOpen won't update |
|
|
Hello Gentoo Community.
I can't get `sci-libs/miopen-6.1.1` to update.
I've been instructed to rebuild it with `emerge @preserved-rebuild`, but it always gives me the error: "/usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libdevice_other_operations.a: error adding symbols: file format not recognized".
Click here to see the full log file.
Anyone know how I can fix this? |
|
Back to top |
|
 |
leyvi Tux's lil' helper

Joined: 08 Sep 2023 Posts: 140
|
Posted: Wed Jan 15, 2025 3:59 pm Post subject: |
|
|
It's been a month (or more), and it's still not working. Please help me. |
|
Back to top |
|
 |
grknight Retired Dev

Joined: 20 Feb 2015 Posts: 2028
|
Posted: Wed Jan 15, 2025 4:13 pm Post subject: |
|
|
Have you tried (as the file appears corrupt): emerge -1 /usr/lib64/libdevice_other_operations.a |
|
Back to top |
|
 |
leyvi Tux's lil' helper

Joined: 08 Sep 2023 Posts: 140
|
Posted: Thu Jan 16, 2025 12:28 pm Post subject: |
|
|
What does the `-1` flag do? |
|
Back to top |
|
 |
GDH-gentoo Veteran


Joined: 20 Jul 2019 Posts: 1823 Location: South America
|
Posted: Thu Jan 16, 2025 12:52 pm Post subject: |
|
|
leyvi wrote: | What does the `-1` flag do? |
Rebuild the package without adding it to the @world set. _________________
NeddySeagoon wrote: | I'm not a witch, I'm a retired electronics engineer  |
Ionen wrote: | As a packager I just don't want things to get messier with weird build systems and multiple toolchains requirements though  |
|
|
Back to top |
|
 |
Hu Administrator

Joined: 06 Mar 2007 Posts: 23121
|
Posted: Thu Jan 16, 2025 2:21 pm Post subject: |
|
|
leyvi wrote: | What does the `-1` flag do? | GDH-gentoo gave you the direct answer, but I want to point out that this is also documented in the manual: man emerge: | --oneshot, -1
Emerge as normal, but do not add the packages to the world file
for later updating.
|
|
|
Back to top |
|
 |
leyvi Tux's lil' helper

Joined: 08 Sep 2023 Posts: 140
|
Posted: Thu Jan 16, 2025 2:38 pm Post subject: |
|
|
Hey Hu, thanks. I tried searching `man emerge` for "-1", but nothing came up, so I asked here. |
|
Back to top |
|
 |
leyvi Tux's lil' helper

Joined: 08 Sep 2023 Posts: 140
|
Posted: Thu Jan 16, 2025 2:39 pm Post subject: |
|
|
Also, `emerge -1 /usr/lib64/libdevice_other_operations.a` worked perfectly, MIOpen installed just fine.
On a separate note, I had no idea I could just provide `emerge` with a file path, and it would automagically infer the package it came from. |
|
Back to top |
|
 |
grknight Retired Dev

Joined: 20 Feb 2015 Posts: 2028
|
Posted: Thu Jan 16, 2025 2:52 pm Post subject: |
|
|
leyvi wrote: | On a separate note, I had no idea I could just provide `emerge` with a file path, and it would automagically infer the package it came from. |
It only works for locally installed files by emerge as it can just look into its database of where it came from. |
|
Back to top |
|
 |
leyvi Tux's lil' helper

Joined: 08 Sep 2023 Posts: 140
|
Posted: Thu Jan 16, 2025 5:57 pm Post subject: |
|
|
Cool! Thanks for the explanation. |
|
Back to top |
|
 |
|