Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 639410 - media-gfx/opentoonz-1.1.2 : /.../SDL_config.h:33:10: fatal error: SDL_platform.h: No such file or directory
Summary: media-gfx/opentoonz-1.1.2 : /.../SDL_config.h:33:10: fatal error: SDL_platfor...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: otakuto.gentoo
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-01 18:23 UTC by Toralf Förster
Modified: 2018-05-24 11:46 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,15.86 KB, text/plain)
2017-12-01 18:23 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,102.35 KB, text/plain)
2017-12-01 18:23 UTC, Toralf Förster
Details
environment (environment,118.94 KB, text/plain)
2017-12-01 18:23 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.82 KB, application/x-bzip)
2017-12-01 18:23 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,5.59 KB, application/x-bzip)
2017-12-01 18:23 UTC, Toralf Förster
Details
media-gfx:opentoonz-1.1.2:20171201-091618.log (media-gfx:opentoonz-1.1.2:20171201-091618.log,420.67 KB, text/plain)
2017-12-01 18:23 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,46.24 KB, application/x-bzip)
2017-12-01 18:23 UTC, Toralf Förster
Details
fixed ebuild (opentoonz-1.1.2.ebuild,2.23 KB, text/plain)
2018-05-24 09:54 UTC, Nathan Dehnel
Details
lol whoops (opentoonz-1.1.2.ebuild,2.16 KB, text/plain)
2018-05-24 10:32 UTC, Nathan Dehnel
Details
fixed the desktop file (opentoonz-1.1.2.ebuild,2.24 KB, text/plain)
2018-05-24 11:46 UTC, Nathan Dehnel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2017-12-01 18:23:15 UTC
                 from /usr/include/SDL2/SDL.h:32,
                 from /var/tmp/portage/media-gfx/opentoonz-1.1.2/work/opentoonz-1.1.2/toonz/sources/common/tsound/tsound_sdl.cpp:12:
/usr/include/x86_64-pc-linux-gnu/SDL2/SDL_config.h:33:10: fatal error: SDL_platform.h: No such file or directory
 #include "SDL_platform.h"
          ^~~~~~~~~~~~~~~~
compilation terminated.

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop-plasma-systemd_20171128-221357

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.2.0 *

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python3.6 (fallback)
  [3]   python3.5 (fallback)
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby22 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.6.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpv media-gfx/opentoonz
[ebuild  N    ] media-gfx/opentoonz-1.1.2
Comment 1 Toralf Förster gentoo-dev 2017-12-01 18:23:18 UTC
Created attachment 507500 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-12-01 18:23:21 UTC
Created attachment 507502 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2017-12-01 18:23:24 UTC
Created attachment 507504 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2017-12-01 18:23:27 UTC
Created attachment 507506 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2017-12-01 18:23:31 UTC
Created attachment 507508 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-12-01 18:23:34 UTC
Created attachment 507510 [details]
media-gfx:opentoonz-1.1.2:20171201-091618.log
Comment 7 Toralf Förster gentoo-dev 2017-12-01 18:23:36 UTC
Created attachment 507512 [details]
temp.tbz2
Comment 8 Jappie Klooster 2017-12-30 08:10:26 UTC
I'm having this issue too, a bit of googling told me you should 
    
    append-cppflags "-I/usr/include/SDL2" 

in the ebuild (from here https://github.com/BZFlag-Dev/bzflag/issues/94)
Comment 9 Nathan Dehnel 2018-05-24 09:54:00 UTC
Created attachment 532812 [details]
fixed ebuild
Comment 10 Nathan Dehnel 2018-05-24 10:32:25 UTC
Created attachment 532814 [details]
lol whoops
Comment 11 Nathan Dehnel 2018-05-24 11:46:40 UTC
Created attachment 532824 [details]
fixed the desktop file

I don't know wtf is going on with src_install, but the docs are lying about what the default function does.