Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Unsupported Software
  • Search

Problem to compile Cairo-1.17.6 [self-solved]

This forum covers all Gentoo-related software not officially supported by Gentoo. Ebuilds/software posted here might harm the health and stability of your system(s), and are not supported by Gentoo developers. Bugs/errors caused by ebuilds from overlays.gentoo.org are covered by this forum, too.
Post Reply
Advanced search
4 posts • Page 1 of 1
Author
Message
Fulgurance
Veteran
Veteran
User avatar
Posts: 1287
Joined: Wed Feb 15, 2017 4:31 pm
Contact:
Contact Fulgurance
Website

Problem to compile Cairo-1.17.6 [self-solved]

  • Quote

Post by Fulgurance » Sun Dec 17, 2023 8:36 pm

Hi everyone, I continue actually to work hard on my package manage (it build everything from source).

My package manager finished to build the very base of the system, but now when I try to compile Cairo, I have this error:

Error:

Code: Select all

cairo-script-operators.c: In function '_arc':
cairo-script-operators.c:812:14: note: 'cr' was declared here
812 | cairo_t *cr;
| ^~
CCLD libcairo-script-interpreter.la
make[5]: Leaving directory '/sources/GraphicsLibraries-Main/Cairo/1.17.6/Sources/util/cairo-script'
make[4]: Leaving directory '/sources/GraphicsLibraries-Main/Cairo/1.17.6/Sources/util/cairo-script'
Making all in cairo-trace
make[4]: Entering directory '/sources/GraphicsLibraries-Main/Cairo/1.17.6/Sources/util/cairo-trace'
CC libcairo_trace_la-trace.lo
CC libcairo_trace_la-lookup-symbol.lo
trace.c:4883:1: warning: '_content_from_surface' defined but not used [-Wunused-function]
4883 | _content_from_surface (cairo_surface_t *surface)
| ^~~~~~~~~~~~~~~~~~~~~
CCLD libcairo-trace.la
/usr/bin/ld: cannot find -liberty: No such file or directory
collect2: error: ld returned 1 exit status
make[4]: *** [Makefile:535: libcairo-trace.la] Error 1
make[4]: Leaving directory '/sources/GraphicsLibraries-Main/Cairo/1.17.6/Sources/util/cairo-trace'
make[3]: *** [Makefile:797: all-recursive] Error 1
make[3]: Leaving directory '/sources/GraphicsLibraries-Main/Cairo/1.17.6/Sources/util'
make[2]: *** [Makefile:575: all] Error 2
make[2]: Leaving directory '/sources/GraphicsLibraries-Main/Cairo/1.17.6/Sources/util'
make[1]: *** [Makefile:710: all-recursive] Error 1
make[1]: Leaving directory '/sources/GraphicsLibraries-Main/Cairo/1.17.6/Sources'
make: *** [Makefile:578: all] Error 2
[!] Failed to run make -j8 in /sources/GraphicsLibraries-Main/Cairo/1.17.6/Sources// with given environment

Full log:
https://textup.fr/750865mj

I googled the library libiberty, but I can't find any relevant answer.

Let me know if you need more detail
Last edited by Fulgurance on Thu Dec 28, 2023 4:16 pm, edited 2 times in total.
My actual project: https://github.com/Fulgurance/ISM

Ingenius Software Manager is a tool to build and manage a Linux system from scratch.
It will able to manage a linux installation just with a given path to the futur root path
Top
Fulgurance
Veteran
Veteran
User avatar
Posts: 1287
Joined: Wed Feb 15, 2017 4:31 pm
Contact:
Contact Fulgurance
Website

  • Quote

Post by Fulgurance » Mon Dec 18, 2023 5:14 pm

I solved the problem, I had to delete the installed file by binutils called: /usr/lib/libbfd.la
My actual project: https://github.com/Fulgurance/ISM

Ingenius Software Manager is a tool to build and manage a Linux system from scratch.
It will able to manage a linux installation just with a given path to the futur root path
Top
sam_
Developer
Developer
User avatar
Posts: 2816
Joined: Fri Aug 14, 2020 12:33 am

  • Quote

Post by sam_ » Wed Dec 20, 2023 10:47 am

The library is 'libiberty'.
Top
Fulgurance
Veteran
Veteran
User avatar
Posts: 1287
Joined: Wed Feb 15, 2017 4:31 pm
Contact:
Contact Fulgurance
Website

  • Quote

Post by Fulgurance » Thu Dec 28, 2023 4:15 pm

My bad, I typed wrong
My actual project: https://github.com/Fulgurance/ISM

Ingenius Software Manager is a tool to build and manage a Linux system from scratch.
It will able to manage a linux installation just with a given path to the futur root path
Top
Post Reply

4 posts • Page 1 of 1

Return to “Unsupported Software”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic