View previous topic :: View next topic |
Author |
Message |
natrix Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Megaman/1.gif)
Joined: 23 Aug 2013 Posts: 556
|
Posted: Tue Jan 24, 2023 11:26 pm Post subject: Issues with compiles failed on ninja [SOLVED] |
|
|
Hello!
Please I need your help!
In "dev-libs/libzip" and "kde-frameworks/karchive" I have the same failed in compile phase:
Quote: |
* ERROR: dev-libs/libzip-1.9.2::gentoo failed (compile phase):
* ninja -v -j5 -l0 failed
* ERROR: dev-libs/libzip-1.9.2::gentoo failed (compile phase):
* ninja -v -j5 -l0 failed
|
In the next links show the complete output and portage info:
https://pastebin.com/vcjR43bv
https://pastebin.com/xQvgs727
What could be the problem? what is the solution?
Thank you!!
Last edited by natrix on Wed Jan 25, 2023 6:00 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Hu Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
Joined: 06 Mar 2007 Posts: 23081
|
Posted: Wed Jan 25, 2023 12:00 am Post subject: |
|
|
Based on the output provided, it appears both of these packages failed in the compile phase. If you need more specific help, please follow the full instructions shown in the first pastebin. You provided only the terminal output for those packages, but not the full build log. Without the build log, we have no error messages from which to work. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
natrix Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Megaman/1.gif)
Joined: 23 Aug 2013 Posts: 556
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
hdcg Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 07 Apr 2013 Posts: 121
|
Posted: Wed Jan 25, 2023 6:02 am Post subject: |
|
|
Hi natrix,
the actual error is both times the same
* libzip
Code: |
/usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/local/lib/libbz2.a(bzlib.o): relocation R_X86_64_PC32 against symbol `BZ2_crc32Table' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status
|
* karchive
Code: |
/usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/local/lib/libbz2.a(bzlib.o): relocation R_X86_64_PC32 against symbol `BZ2_crc32Table' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status
|
Where is /usr/local/lib/libbz2.a coming from and how has it been compiled? Do you want to use this local version by intention?
Best Regards,
Holger
Last edited by hdcg on Wed Jan 25, 2023 6:09 am; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
fedeliallalinea Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/161653968057192eb39329f.jpg)
Joined: 08 Mar 2003 Posts: 31459 Location: here
|
Posted: Wed Jan 25, 2023 6:06 am Post subject: |
|
|
Moved from Installing Gentoo to Portage & Programming. _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
sam_ Developer
![Developer Developer](/images/ranks/rank-dev.gif)
![](images/avatars/7738740495f7d1acc45bdb.jpg)
Joined: 14 Aug 2020 Posts: 2119
|
Posted: Wed Jan 25, 2023 7:31 am Post subject: |
|
|
fedeliallalinea wrote: | Moved from Installing Gentoo to Portage & Programming. |
It might constitute "unsupported". Anyway, yes, installing libraries - especially ones where you know the system has its own version - to /usr/local is asking for trouble. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
fedeliallalinea Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/161653968057192eb39329f.jpg)
Joined: 08 Mar 2003 Posts: 31459 Location: here
|
Posted: Wed Jan 25, 2023 7:50 am Post subject: |
|
|
sam_ wrote: | It might constitute "unsupported". Anyway, yes, installing libraries - especially ones where you know the system has its own version - to /usr/local is asking for trouble. |
Probably the OP no longer remembers that he/she installed a library manually, or at least that is in most cases, so there is no intention to use it instead of the system one for that for me it should not be moved to "Unsupported Software".
Also, leaving it in this forum makes users aware the problem that can occur installing something manually. _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
natrix Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Megaman/1.gif)
Joined: 23 Aug 2013 Posts: 556
|
Posted: Wed Jan 25, 2023 5:25 pm Post subject: |
|
|
Hi everyone!
Thanks for the important comments!!
Quote: | Where is /usr/local/lib/libbz2.a coming from and how has it been compiled? Do you want to use this local version by intention? |
This finding is very strange for my:
All programs depend on Portage. I have no external programs and I never changed their default settings.
I search the location and found this:
Code: | /usr/local/bin # ls
bunzip2 bzcat bzcmp bzdiff bzegrep bzfgrep bzgrep bzip2 bzip2recover bzless bzmore rake rdoc ri |
What is wrong? How delete the instalation on "/usr/local/".
Thanks! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
fedeliallalinea Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/161653968057192eb39329f.jpg)
Joined: 08 Mar 2003 Posts: 31459 Location: here
|
Posted: Wed Jan 25, 2023 5:43 pm Post subject: |
|
|
natrix wrote: | What is wrong? How delete the instalation on "/usr/local/". |
Check if listed command in /usr/local/bin exists also in /usr/bin (especially the bz* commands) and if is the case you can remove (or move in a temporary directory) the content of /usr/local/bin. _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
natrix Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Megaman/1.gif)
Joined: 23 Aug 2013 Posts: 556
|
Posted: Wed Jan 25, 2023 6:00 pm Post subject: |
|
|
Hi!
The files exits in "/usr/bin" but I replaced it anyway. Now both programs compile!
And I compile again bzip2 and doesn't build in "/usr/local"
Thanks so much!
what happened? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
fedeliallalinea Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/161653968057192eb39329f.jpg)
Joined: 08 Mar 2003 Posts: 31459 Location: here
|
Posted: Wed Jan 25, 2023 6:10 pm Post subject: |
|
|
natrix wrote: | what happened? |
I have no idea, but usually files are installed there when you manually compile/install some program. _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
natrix Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Megaman/1.gif)
Joined: 23 Aug 2013 Posts: 556
|
Posted: Wed Jan 25, 2023 6:19 pm Post subject: |
|
|
Strange!
Thanks! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
keekkenen n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 05 Oct 2024 Posts: 32
|
Posted: Tue Nov 12, 2024 5:50 pm Post subject: |
|
|
natrix wrote: | Strange!
Thanks! |
It's really strange, I got it yesterday.
list bz-apps in /usr/local/bin: |
bunzip2 bzcat bzcmp bzdiff bzegrep bzfgrep bzgrep bzip2 bzip2recover bzless bzmore
|
and library in unexpected place
I deleted all of it and everything is good now. _________________ 7950x3d / x670e MSI Tomagawk / Sapphire RX 7800XT 16Gb / G.Skill 64Gb 5600 / A-Data Legend 960 2Tb (x2), A-Data SX8200PNP 256Gb |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|