Jump to content
funtoo forums
  • 0
Sign in to follow this  
stamasd

Allegro emerge failed

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

Share this post


Link to post
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
 

Share this post


Link to post
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

 

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...