Jump to content
  • 0

Allegro emerge failed


stamasd
 Share

Question

I need to install the allegro library to work with an older piece of code. However allegro fails to emerge. I'm attaching the output of "emerge media-libs/allegro" as allegro.log, the output of "emerge --info '=media-libs/allegro-5.2.4.0::media-kit'" as info.log and the output of "emerge -pqv '=media-libs/allegro-5.2.4.0::media-kit'" as pqv.log

allegro.log info.log pqv.log

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 1

Download the allegro.opengl.fix.compilation.with.mesa.18.2.5.patch

# mkdir -p /etc/portage/patches/media-libs/allegro-5.2.4.0
# cp  allegro.opengl.fix.compilation.with.mesa.18.2.5.patch /etc/portage/patches/media-libs/allegro-5.2.4.0
# emerge -1av =media-libs/allegro-5.2.4.0

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] media-libs/allegro-5.2.4.0:5::media-kit  USE="X alsa flac gtk jpeg opengl png truetype vorbis webp -dumb -openal -opus -oss -physfs -pulseaudio -test -xinerama" 0 KiB

media-libs:allegro-5.2.4.0:20190622-235208.log
 

Link to comment
Share on other sites

  • 1

Notice the subject line of the email message:

Subject: [PATCH] opengl: fix compilation with Mesa 18.2.5 and later

Email is a primary method of users sharing patches to solve compilation failure.

This entire email message of multiple diffs is the patch, download it in your browser (Ctrl+s), save as allegro.opengl.fix.compilation.with.mesa.18.2.5.patch

Follow the directions in my previous reply.

Reference:

https://www.funtoo.org/Applying_Local_Patches_to_Ebuilds

https://wiki.gentoo.org/wiki//etc/portage/patches

 

Link to comment
Share on other sites

  • 0

Thanks for your answer. I'm not familiar with using custom patches with portage. Which part of the message you linked to is the actual patch? I see the output of 2 diff commands, neither of which is an actual patch. I don't know what format portage expects the patch to be in.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...