I'd like to report that there are problems when emerging the newest kradio version: [...] Good - your configure finished. Start make now ACCESS DENIED unlink: /usr/kde/unsermake/utilities.pyc ACCESS DENIED open_wr: /usr/kde/unsermake/utilities.pyc ACCESS DENIED unlink: /usr/kde/unsermake/handlerbase.pyc ACCESS DENIED open_wr: /usr/kde/unsermake/handlerbase.pyc ACCESS DENIED unlink: /usr/kde/unsermake/target.pyc ACCESS DENIED open_wr: /usr/kde/unsermake/target.pyc ACCESS DENIED unlink: /usr/kde/unsermake/program.pyc ACCESS DENIED open_wr: /usr/kde/unsermake/program.pyc Traceback (most recent call last): File "/usr/kde/unsermake/unsermake", line 1554, in ? main() File "/usr/kde/unsermake/unsermake", line 1310, in main optlist, given_files = getopt.getopt(sys.argv[1:], 'vhr:', [ File "/usr/lib/python2.3/getopt.py", line 91, in getopt opts, args = do_shorts(opts, args[0][1:], shortopts, args[1:]) File "/usr/lib/python2.3/getopt.py", line 191, in do_shorts if short_has_arg(opt, shortopts): File "/usr/lib/python2.3/getopt.py", line 207, in short_has_arg raise GetoptError('option -%s not recognized' % opt, opt) getopt.GetoptError: option -j not recognized !!! ERROR: media-sound/kradio-1.0_beta1 failed. !!! Function src_compile, Line 42, Exitcode 1 !!! unsermake failed !!! If you need support, post the topmost build error, NOT this status message. --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE = "/tmp/sandbox-media-sound_-_kradio-1.0_beta1-8961.log" unlink: /usr/kde/unsermake/utilities.pyc open_wr: /usr/kde/unsermake/utilities.pyc unlink: /usr/kde/unsermake/handlerbase.pyc open_wr: /usr/kde/unsermake/handlerbase.pyc unlink: /usr/kde/unsermake/target.pyc open_wr: /usr/kde/unsermake/target.pyc unlink: /usr/kde/unsermake/program.pyc open_wr: /usr/kde/unsermake/program.pyc -------------------------------------------------------------------------------- It looks that ebuild tells emerge to operate on something out of its sandbox without proper permissions.
(In reply to comment #0) > I'd like to report that there are problems when emerging the newest kradio version: > > [...] > Good - your configure finished. Start make now > > ACCESS DENIED unlink: /usr/kde/unsermake/utilities.pyc > ACCESS DENIED open_wr: /usr/kde/unsermake/utilities.pyc > ACCESS DENIED unlink: /usr/kde/unsermake/handlerbase.pyc > ACCESS DENIED open_wr: /usr/kde/unsermake/handlerbase.pyc > ACCESS DENIED unlink: /usr/kde/unsermake/target.pyc > ACCESS DENIED open_wr: /usr/kde/unsermake/target.pyc > ACCESS DENIED unlink: /usr/kde/unsermake/program.pyc > ACCESS DENIED open_wr: /usr/kde/unsermake/program.pyc > Traceback (most recent call last): > File "/usr/kde/unsermake/unsermake", line 1554, in ? > main() > File "/usr/kde/unsermake/unsermake", line 1310, in main > optlist, given_files = getopt.getopt(sys.argv[1:], 'vhr:', [ > File "/usr/lib/python2.3/getopt.py", line 91, in getopt > opts, args = do_shorts(opts, args[0][1:], shortopts, args[1:]) > File "/usr/lib/python2.3/getopt.py", line 191, in do_shorts > if short_has_arg(opt, shortopts): > File "/usr/lib/python2.3/getopt.py", line 207, in short_has_arg > raise GetoptError('option -%s not recognized' % opt, opt) > getopt.GetoptError: option -j not recognized > > !!! ERROR: media-sound/kradio-1.0_beta1 failed. > !!! Function src_compile, Line 42, Exitcode 1 > !!! unsermake failed > !!! If you need support, post the topmost build error, NOT this status message. > > --------------------------- ACCESS VIOLATION SUMMARY --------------------------- > LOG FILE = "/tmp/sandbox-media-sound_-_kradio-1.0_beta1-8961.log" > > unlink: /usr/kde/unsermake/utilities.pyc > open_wr: /usr/kde/unsermake/utilities.pyc > unlink: /usr/kde/unsermake/handlerbase.pyc > open_wr: /usr/kde/unsermake/handlerbase.pyc > unlink: /usr/kde/unsermake/target.pyc > open_wr: /usr/kde/unsermake/target.pyc > unlink: /usr/kde/unsermake/program.pyc > open_wr: /usr/kde/unsermake/program.pyc > -------------------------------------------------------------------------------- > > It looks that ebuild tells emerge to operate on something out of its sandbox without proper permissions. I have the same problem.
Not exactly the same problem, but emerge fails due to sandbox to : linking ./kradio3/plugins/timeshifter/libtimeshifter.la --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE = "/tmp/sandbox-media-sound_-_kradio-1.0_beta1-14749.log" unlink: /usr/kde/unsermake/utilities.pyc open_wr: /usr/kde/unsermake/utilities.pyc unlink: /usr/kde/unsermake/amfile.pyc open_wr: /usr/kde/unsermake/amfile.pyc unlink: /usr/kde/unsermake/handlerbase.pyc open_wr: /usr/kde/unsermake/handlerbase.pyc unlink: /usr/kde/unsermake/program.pyc open_wr: /usr/kde/unsermake/program.pyc unlink: /usr/kde/unsermake/target.pyc open_wr: /usr/kde/unsermake/target.pyc --------------------------------------------------------------------------------
Now, after ebuild has been updated (has it?), I get such an error: >>> Unpacking source... >>> Unpacking kradio-1.0beta1.tar.bz2 to /var/tmp/portage/kradio-1.0_beta1/work >>> Source unpacked. !!! ERROR: media-sound/kradio-1.0_beta1 failed. !!! Function econf, Line 488, Exitcode 1 !!! no configure script found !!! If you need support, post the topmost build error, NOT this status message. hell root #
Confirmed, I get the same error message on my system
The ebuild has not been updated, looks more like an unsermake problem. Which "unsermake" version are you using?
That's what I have: [ebuild R ] kde-base/unsermake-0.3.0.4254.0
Please try again after upgrading to latest ~x86 unsermake. Works fine for me, I'll update the kradio dependencies accordingly. Re-open this bug if this doesn't solve the problem, sorry for any inconvenience and have a nice weekend.
Thanks for reply! I've upgraded unsermake to the ~x86 version. The compilation proceedes, then. However, I still get some access violation errors: [CUT] config.pl: fast created 53 file(s). config.status: creating config.h config.status: executing depfiles commands Good - your configure finished. Start make now ACCESS DENIED unlink: /usr/kde/unsermake/utilities.pyc ACCESS DENIED open_wr: /usr/kde/unsermake/utilities.pyc ACCESS DENIED unlink: /usr/kde/unsermake/amfile.pyc ACCESS DENIED open_wr: /usr/kde/unsermake/amfile.pyc ACCESS DENIED unlink: /usr/kde/unsermake/handlerbase.pyc ACCESS DENIED open_wr: /usr/kde/unsermake/handlerbase.pyc ACCESS DENIED unlink: /usr/kde/unsermake/program.pyc ACCESS DENIED open_wr: /usr/kde/unsermake/program.pyc ACCESS DENIED unlink: /usr/kde/unsermake/target.pyc ACCESS DENIED open_wr: /usr/kde/unsermake/target.pyc creating ./kradio3/src/libkradio-gui/standardscandialog-ui.h creating ./kradio3/src/libkradio-gui/stationselector-ui.h creating ./kradio3/src/libkradio/pluginmanager-configuration-ui.h [CUT] linking ./kradio3/plugins/radio/libradio.la linking ./kradio3/plugins/oss-sound/liboss-sound.la linking ./kradio3/plugins/timeshifter/libtimeshifter.la --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE = "/tmp/sandbox-media-sound_-_kradio-1.0_beta1-4756.log" unlink: /usr/kde/unsermake/utilities.pyc open_wr: /usr/kde/unsermake/utilities.pyc unlink: /usr/kde/unsermake/amfile.pyc open_wr: /usr/kde/unsermake/amfile.pyc unlink: /usr/kde/unsermake/handlerbase.pyc open_wr: /usr/kde/unsermake/handlerbase.pyc unlink: /usr/kde/unsermake/program.pyc open_wr: /usr/kde/unsermake/program.pyc unlink: /usr/kde/unsermake/target.pyc open_wr: /usr/kde/unsermake/target.pyc -------------------------------------------------------------------------------- Thus, emerge still fails to install kradio :(
still the same after unsermake-0.3.1.4319.0 followed by kradio--1.0_beta1 attempt --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE = "/tmp/sandbox-media-sound_-_kradio-1.0_beta1-13831.log" unlink: /usr/kde/unsermake/utilities.pyc open_wr: /usr/kde/unsermake/utilities.pyc unlink: /usr/kde/unsermake/amfile.pyc open_wr: /usr/kde/unsermake/amfile.pyc unlink: /usr/kde/unsermake/handlerbase.pyc open_wr: /usr/kde/unsermake/handlerbase.pyc unlink: /usr/kde/unsermake/program.pyc open_wr: /usr/kde/unsermake/program.pyc unlink: /usr/kde/unsermake/target.pyc open_wr: /usr/kde/unsermake/target.pyc --------------------------------------------------------------------------------
I have to agree. Still the same violation error: ... linking ./kradio3/plugins/recording/librecording.la --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE = "/tmp/sandbox-media-sound_-_kradio-1.0_beta1-17951.log" unlink: /usr/kde/unsermake/utilities.pyc open_wr: /usr/kde/unsermake/utilities.pyc unlink: /usr/kde/unsermake/amfile.pyc open_wr: /usr/kde/unsermake/amfile.pyc unlink: /usr/kde/unsermake/handlerbase.pyc open_wr: /usr/kde/unsermake/handlerbase.pyc unlink: /usr/kde/unsermake/program.pyc open_wr: /usr/kde/unsermake/program.pyc unlink: /usr/kde/unsermake/target.pyc open_wr: /usr/kde/unsermake/target.pyc --------------------------------------------------------------------------------
I don't know much of making ebuilds, but isn't there some `addwrite` directive required to be placed into the kradio ebuild in order to make emerge -u kradio work? I've just remembered that I'd recently had similar problems trying to write a net-dialup/cutecom ebuild. After adding addwrite "${QTDIR}/etc/settings/" to the src_compile section it worked like a charm. But what could it possibly be? "${KDEDIR}/unsermake", I guess?
Yes, this "addwrite" exists. But the problem in this case is (IMHO) that the "unsermake" ebuild does not precompile the unsermake python scripts. It should be fixed there. If you just want a quick fix, simply run "/usr/kde/unsermake/unsermake" as root.
Created attachment 60162 [details, diff] Suggested patch to fix the problem I am no python module expert, but the attached patch seems to work for me.
> I am no python module expert, but the attached patch seems to work for me. It didn't work for me :o(
(In reply to comment #14) > It didn't work for me :o( Can't do much about it if you don't tell what you tried and what happened. "Doesn't work" isn't very helpful.
> Can't do much about it if you don't tell what you tried and what happened. > "Doesn't work" isn't very helpful. The patch didn't solved the problem with new ebuild of kradio. Still the same ACCESS VIOLATION SUMMARY error message.
After the last emerge everything compiles ok
(In reply to comment #16) > The patch didn't solved the problem with new ebuild of kradio. Still the same > ACCESS VIOLATION SUMMARY error message. Would be nice if you could do some additional diagnostics. A) after emerging the patched unsermake, are the *.pyc files there or not? B) if not, are you sure you really emerged the patched version? Please clean your /var/tmp/portage directory and attach the output of the emerge if you don't get the *.pyc files.
> A) after emerging the patched unsermake, are the *.pyc files there or not? ls -w 1 /usr/kde/unsermake/*.pyc /usr/kde/unsermake/amfile.pyc /usr/kde/unsermake/handlerbase.pyc /usr/kde/unsermake/program.pyc /usr/kde/unsermake/target.pyc /usr/kde/unsermake/utilities.pyc > B) if not, are you sure you really emerged the patched version? Please clean > your /var/tmp/portage directory and attach the output of the emerge if you don't > get the *.pyc files. emerge kradio Calculating dependencies ...done! >>> emerge (1 of 1) media-sound/kradio-1.0_beta1 to / .... fast creating kradio3/src/libkradio/Makefile fast creating kradio3/src/libkradio-gui/Makefile fast creating kradio3/src/radio-stations/Makefile config.pl: fast created 53 file(s). config.status: creating config.h config.status: executing depfiles commands Good - your configure finished. Start make now ACCESS DENIED unlink: /usr/kde/unsermake/utilities.pyc ACCESS DENIED open_wr: /usr/kde/unsermake/utilities.pyc ACCESS DENIED unlink: /usr/kde/unsermake/handlerbase.pyc ACCESS DENIED open_wr: /usr/kde/unsermake/handlerbase.pyc ACCESS DENIED unlink: /usr/kde/unsermake/program.pyc ACCESS DENIED open_wr: /usr/kde/unsermake/program.pyc ACCESS DENIED unlink: /usr/kde/unsermake/target.pyc ACCESS DENIED open_wr: /usr/kde/unsermake/target.pyc creating ./kradio3/src/libkradio-gui/stationselector-ui.h creating ./kradio3/src/libkradio/pluginmanager-configuration-ui.h .... linking ./kradio3/plugins/v4lradio/libv4lradio.la linking ./kradio3/plugins/recording/librecording.la --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE = "/tmp/sandbox-media-sound_-_kradio-1.0_beta1-3322.log" unlink: /usr/kde/unsermake/utilities.pyc open_wr: /usr/kde/unsermake/utilities.pyc unlink: /usr/kde/unsermake/handlerbase.pyc open_wr: /usr/kde/unsermake/handlerbase.pyc unlink: /usr/kde/unsermake/program.pyc open_wr: /usr/kde/unsermake/program.pyc unlink: /usr/kde/unsermake/target.pyc open_wr: /usr/kde/unsermake/target.pyc -------------------------------------------------------------------------------- That is the problem. If you know what shut it be, please help me. Thank you very much.
I don't understand it... could you please try to run "/usr/kde/unsermake/unsermake" as root once and then retry kradio?
> I don't understand it... could you please try to run > "/usr/kde/unsermake/unsermake" as root once and then retry kradio? After runing /usr/kde/unsermake/unsermake as root it print only this message: no file Makefile present Then I run emerge kradio and it's look that it works now. I don't know where was the bug, but it woks now. Thank you very much for your help.
(In reply to comment #21) > > I don't understand it... could you please try to run > > "/usr/kde/unsermake/unsermake" as root once and then retry kradio? > > After runing /usr/kde/unsermake/unsermake as root it print only this message: > > no file Makefile present > > Then I run emerge kradio and it's look that it works now. I don't know where was > the bug, but it woks now. Thank you very much for your help. That it works now is no big surprise because if you run it, it gets compiled (if necessary). I just still wonder why the files compiled by the unsermake ebuild weren't good enough.
*** Bug 95497 has been marked as a duplicate of this bug. ***
Since this bug is pretty old, a new version of kradio is already out and the access violation does not occur anymore, I think I can close this bug