Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
MIOpen won't update
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
leyvi
Tux's lil' helper
Tux's lil' helper


Joined: 08 Sep 2023
Posts: 123

PostPosted: Sat Nov 23, 2024 5:28 pm    Post subject: MIOpen won't update Reply with quote

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
View user's profile Send private message
leyvi
Tux's lil' helper
Tux's lil' helper


Joined: 08 Sep 2023
Posts: 123

PostPosted: Wed Jan 15, 2025 3:59 pm    Post subject: Reply with quote

It's been a month (or more), and it's still not working. Please help me.
Back to top
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 1986

PostPosted: Wed Jan 15, 2025 4:13 pm    Post subject: Reply with quote

Have you tried (as the file appears corrupt): emerge -1 /usr/lib64/libdevice_other_operations.a
Back to top
View user's profile Send private message
leyvi
Tux's lil' helper
Tux's lil' helper


Joined: 08 Sep 2023
Posts: 123

PostPosted: Thu Jan 16, 2025 12:28 pm    Post subject: Reply with quote

What does the `-1` flag do?
Back to top
View user's profile Send private message
GDH-gentoo
Veteran
Veteran


Joined: 20 Jul 2019
Posts: 1791
Location: South America

PostPosted: Thu Jan 16, 2025 12:52 pm    Post subject: Reply with quote

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
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 23013

PostPosted: Thu Jan 16, 2025 2:21 pm    Post subject: Reply with quote

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
View user's profile Send private message
leyvi
Tux's lil' helper
Tux's lil' helper


Joined: 08 Sep 2023
Posts: 123

PostPosted: Thu Jan 16, 2025 2:38 pm    Post subject: Reply with quote

Hey Hu, thanks. I tried searching `man emerge` for "-1", but nothing came up, so I asked here.
Back to top
View user's profile Send private message
leyvi
Tux's lil' helper
Tux's lil' helper


Joined: 08 Sep 2023
Posts: 123

PostPosted: Thu Jan 16, 2025 2:39 pm    Post subject: Reply with quote

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
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 1986

PostPosted: Thu Jan 16, 2025 2:52 pm    Post subject: Reply with quote

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
View user's profile Send private message
leyvi
Tux's lil' helper
Tux's lil' helper


Joined: 08 Sep 2023
Posts: 123

PostPosted: Thu Jan 16, 2025 5:57 pm    Post subject: Reply with quote

Cool! Thanks for the explanation.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum