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.
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
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
also how does one get config file protection setup for /opt/ltsp/i386/etc ?
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?
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
I run 1.1.0 too and 1.4_rc1 gentoo with latest portage. Tested several pc-s, also 2 gentoo 1.2 machines.
interesting i set the file in env.d as 10ltspsound what number did you choose? maybe that is causing the problem?
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 ;)
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
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
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)
Added initial versions of media-libs/libaudiooss and net-misc/ltsp-sound ebuilds to portage.
It still breaks portage when adding libaudiooss library preloading to env. Only solution I see is to have it only per user.