Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 17055 - lts sound ebuild
Summary: lts sound ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Andres Toomsalu
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-07 19:34 UTC by Bret Towe
Modified: 2003-06-26 06:10 UTC (History)
0 users

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


Attachments
libaudiooss-1.1.0.ebuild (libaudiooss-1.1.0.ebuild,658 bytes, text/plain)
2003-03-08 18:44 UTC, Bret Towe
Details
ltsp-sound-3.0.1.ebuild (ltsp-sound-3.0.1.ebuild,662 bytes, text/plain)
2003-03-18 14:49 UTC, Bret Towe
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bret Towe 2003-03-07 19:34:35 UTC
gentoo could use a linux terminal server sound ebuild
so im making one
one problem is on the server side is there is a env.d type item
but its a full script it checks to see what the user wants to use and exports only 
the stuff for that setup
can gentoo run this? also what should it be called number wise?


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Bret Towe 2003-03-08 18:44:59 UTC
Created attachment 9144 [details]
libaudiooss-1.1.0.ebuild

here is libaudiooss-1.1.0.ebuild that will be needed for the ltsp sound package
when i get the info needed for the env.d
i have it in media-libs/libaudiooss btw
Comment 2 Bret Towe 2003-03-08 18:47:43 UTC
aside from the env.d stuff i have the ltsp sound package working
it will want to export a LD_PRELOAD item depending on what the user wants to use
(esd, nas or arts)

i can put the profile.d script that comes with the package, up if wanted to view
Comment 3 Bret Towe 2003-03-09 22:24:30 UTC
also how does one get config file protection setup for /opt/ltsp/i386/etc ?
Comment 4 Andres Toomsalu 2003-03-14 08:32:04 UTC
I have sound working with ltsp-sound package too with libaudiooss and nasd.
Major problem is that putting LD_PRELOAD=/usr/X11R6/lib/libaudiooss.so.1.0
into env.d breaks portage sandbox. So before any emerge activity I have to take out the libaudiooss LD_PRELOAD from env.d and execute env-update.
Any thoughts why this problem accours? 
 
Comment 5 Bret Towe 2003-03-14 14:24:17 UTC
really? i have done same to test it out
but i dont have that problem it looks like
cause i just merged a couple updates with it in preload...
maybe due to ver of libaudiooss your running? im running the ebuild i put here
Comment 6 Andres Toomsalu 2003-03-17 02:58:32 UTC
I run 1.1.0 too and 1.4_rc1 gentoo with latest portage.
Tested several pc-s, also 2 gentoo 1.2 machines.
Comment 7 Bret Towe 2003-03-17 16:15:33 UTC
interesting
i set the file in env.d as 10ltspsound
what number did you choose? maybe that is causing the problem?
Comment 8 Bret Towe 2003-03-18 14:49:56 UTC
Created attachment 9570 [details]
ltsp-sound-3.0.1.ebuild

here is the ebuild i have so far its not complete
but i figure i better upload it for others that want to try
and cause i figure i might lose it ;)
Comment 9 Andres Toomsalu 2003-03-19 02:09:41 UTC
Unpacking segfaults if I have LD_PRELOAD=/blah/blah/libaudiooss.blah somewhere in env.d
---------------------------------------------------------------

>>> md5 ;-) host.tar.Z
/usr/sbin/ebuild.sh: line 33: 22371 Segmentation fault      install -m0700 -d ${WORKDIR}
>>> Unpacking source...
/usr/sbin/ebuild.sh: cd: /var/tmp/portage/host-991529/work: No such file or directory
>>> Unpacking host.tar.Z
/usr/sbin/ebuild.sh: line 26: 22375 Segmentation fault      gzip -dc ${DISTDIR}/${x} >${x%.*}

!!! ERROR: net-misc/host-991529 failed.
!!! Function unpack, Line 26, Exitcode 139
!!! failure unpacking host.tar.Z
Comment 10 Bret Towe 2003-03-19 13:52:31 UTC
hmm
what cflags are you using?
here is just -mcpu=pentiumpro -march=i686 -O3 -pipe
im starting to think you having similar problems that sandbox does
which is why it compiles as -mcpu=i386 -O1 iirc the opimization breaks something
Comment 11 Bret Towe 2003-04-09 00:43:13 UTC
my setup hasnt changed and the only problem ive seen is at boot time
on enviroment update awk and i think sed complain about missing lib
after that tho they hush up no other problems (it doesnt seem to be really a problem at that)
Comment 12 Andres Toomsalu 2003-06-26 06:04:31 UTC
Added initial versions of media-libs/libaudiooss and net-misc/ltsp-sound ebuilds to portage.
Comment 13 Andres Toomsalu 2003-06-26 06:10:14 UTC
It still breaks portage when adding libaudiooss library preloading to env. Only solution I see is to have it only per user.