Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 20663
Alias:
Product:
Component:
Status: RESOLVED
Resolution: WORKSFORME
Assigned To: George Shapovalov <george@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Jeremy Huddleston (RETIRED) <eradicator@gentoo.org>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
esdl_glext.c.diff esdl_glext.c.diff patch Jeremy Huddleston (RETIRED) 2003-05-08 21:02 0000 24.45 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 20663 depends on: Show dependency tree
Bug 20663 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2003-05-08 20:27 0000
>>> 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 From Jeremy Huddleston (RETIRED) 2003-05-08 20:30:50 0000 -------
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 From Jeremy Huddleston (RETIRED) 2003-05-08 20:36:45 0000 -------
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 From Jeremy Huddleston (RETIRED) 2003-05-08 21:02:34 0000 -------
Created an attachment (id=11705) [details]
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 From George Shapovalov 2003-05-10 21:41:45 0000 -------
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 From Jeremy Huddleston (RETIRED) 2003-05-11 00:58:24 0000 -------
looks like it's working fine here...

------- Comment #6 From George Shapovalov 2003-05-12 03:19:36 0000 -------
Thanks for testing!
Closing the bug.

George

------- Comment #7 From Graeme Humphries 2003-06-09 13:49:12 0000 -------
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 From Jeremy Huddleston (RETIRED) 2003-06-09 14:09:06 0000 -------
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 From George Shapovalov 2003-06-17 17:50:28 0000 -------
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 From George Shapovalov 2003-06-18 12:48:19 0000 -------
Upon gettign test report unmasked the fix, replacing the old ebuild.

George

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

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug