Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 20663 - edsl does not emerge
Summary: edsl does not emerge
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: George Shapovalov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-08 20:27 UTC by Jeremy Huddleston (RETIRED)
Modified: 2003-12-14 17:53 UTC (History)
0 users

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


Attachments
esdl_glext.c.diff (esdl_glext.c.diff,24.45 KB, patch)
2003-05-08 21:02 UTC, Jeremy Huddleston (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jeremy Huddleston (RETIRED) gentoo-dev 2003-05-08 20:27:26 UTC
>>> Install esdl-0.93.0131 into /usr/tmp/portage/esdl-0.93.0131/image/ category 
media-libs 
Found erlang at /usr/lib/erlang 
Installing esdl-0.93.0131 in 
/usr/tmp/portage/esdl-0.93.0131/image///usr/lib/erlang/lib//esdl-0.93.0131 
mkdir /usr/tmp/portage/esdl-0.93.0131/image///usr/lib/erlang/lib//esdl-0.93.0131/src 
mkdir /usr/tmp/portage/esdl-0.93.0131/image///usr/lib/erlang/lib//esdl-0.93.0131/c_src 
mkdir 
/usr/tmp/portage/esdl-0.93.0131/image///usr/lib/erlang/lib//esdl-0.93.0131/include 
mkdir /usr/tmp/portage/esdl-0.93.0131/image///usr/lib/erlang/lib//esdl-0.93.0131/doc 
mkdir /usr/tmp/portage/esdl-0.93.0131/image///usr/lib/erlang/lib//esdl-0.93.0131/ebin 
mkdir /usr/tmp/portage/esdl-0.93.0131/image///usr/lib/erlang/lib//esdl-0.93.0131/priv 
cp src/*.?rl 
/usr/tmp/portage/esdl-0.93.0131/image///usr/lib/erlang/lib//esdl-0.93.0131/src 
cp c_src/*.[ch] 
/usr/tmp/portage/esdl-0.93.0131/image///usr/lib/erlang/lib//esdl-0.93.0131/c_src 
cp doc/*.html 
/usr/tmp/portage/esdl-0.93.0131/image///usr/lib/erlang/lib//esdl-0.93.0131/doc 
cp ebin/*beam 
/usr/tmp/portage/esdl-0.93.0131/image///usr/lib/erlang/lib//esdl-0.93.0131/ebin 
cp priv/* 
/usr/tmp/portage/esdl-0.93.0131/image///usr/lib/erlang/lib//esdl-0.93.0131/priv 
cp: cannot stat `priv/*': No such file or directory 
make: *** [install] Error 1 
 
!!! ERROR: media-libs/esdl-0.93.0131 failed. 
!!! Function src_install, Line 24, Exitcode 2 
!!! (no error message) 
 

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Jeremy Huddleston (RETIRED) gentoo-dev 2003-05-08 20:30:50 UTC
The problem is that there is nothing in the priv/ directory, so I just did a 'touch 
/usr/lib/erlang/lib/esdl-0.93.0131/priv/nothing_is_here' to create it. 
Comment 2 Jeremy Huddleston (RETIRED) gentoo-dev 2003-05-08 20:36:45 UTC
it looks like ther eis supposed to be something there because when I run wings, I get: 
 
Driver Failed {error,{open_error,"/usr/lib/erlang/lib/esdl/priv/sdl_driver.so: cannot open shared 
object file: No such file or directory"}} 
Comment 3 Jeremy Huddleston (RETIRED) gentoo-dev 2003-05-08 21:02:34 UTC
Created attachment 11705 [details, diff]
esdl_glext.c.diff

this patch removes some redundant typedefs that will allow esdl to compile
properly.  Apply it to esdl-0.93.0131/c_src/esdl_glext.c
Comment 4 George Shapovalov (RETIRED) gentoo-dev 2003-05-10 21:41:45 UTC
Hi Jeremy.

Thanks for tracing the problem!
I noticed there is an update to the package, but its stillsuffers from that sdl issue. So I combined your fix with some modifications that were necessary and committed the ebuild, that's the .0314 "sub"-version.
Please test.

BTW, creating priv isn't necessary with tha patch - it makes sdl_driver.so to be created and that creates priv itself...

George
Comment 5 Jeremy Huddleston (RETIRED) gentoo-dev 2003-05-11 00:58:24 UTC
looks like it's working fine here...
Comment 6 George Shapovalov (RETIRED) gentoo-dev 2003-05-12 03:19:36 UTC
Thanks for testing!
Closing the bug.

George
Comment 7 Graeme Humphries 2003-06-09 13:49:12 UTC
I'm still getting this with the .0314 sub-version:

...
cp doc/*.html /var/tmp/portage/esdl-0.93.0314/image///usr/lib/erlang/lib//esdl-0.93.0314/doc
cp ebin/*beam /var/tmp/portage/esdl-0.93.0314/image///usr/lib/erlang/lib//esdl-0.93.0314/ebin
cp priv/* /var/tmp/portage/esdl-0.93.0314/image///usr/lib/erlang/lib//esdl-0.93.0314/priv
cp: cannot stat `priv/*': No such file or directory
make: *** [install] Error 1
 
!!! ERROR: media-libs/esdl-0.93.0314 failed.
!!! Function src_install, Line 34, Exitcode 2
!!! (no error message)
Comment 8 Jeremy Huddleston (RETIRED) gentoo-dev 2003-06-09 14:09:06 UTC
It emerged fine for me, but I think I know what the problem is.  The glext.h file that is included with Mesa contains the extra (redeclared) functions while the glext.h file included with nvidia-glx does not.

Try changing your OpenGL header/library configuration to Mesa using the 'opengl-update' utility (emerge opengl-update).  Next, emerge esdl.  Finally, set the OpenGL configuration back to nVidia.
Comment 9 George Shapovalov (RETIRED) gentoo-dev 2003-06-17 17:50:28 UTC
Hey guys.

This bug was closed and it misspelled esdl :), so it wasn't so easy to track it..
Anyway, I just updated esdl ebuild to perform a check of which openGL iplementation is active. If nvidia, then ebuild will do opengl-update dance. This is the -r1 version (package masked). I would appreciate some testing ;) (especially since I do not have nvidia hardware here).
If it tests out Ok I will replace the -r0 ebuild with updated version (this is isolated, compile-time problem, so no need to force rebuild on everybody).

George
Comment 10 George Shapovalov (RETIRED) gentoo-dev 2003-06-18 12:48:19 UTC
Upon gettign test report unmasked the fix, replacing the old ebuild.

George
Comment 11 Jeremy Huddleston (RETIRED) gentoo-dev 2003-12-14 17:53:53 UTC
I just tried 0.93.0909, and it emerged fine, so I'm closing this bug.