Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Gentoo Portage Developer (http://www.linux-archive.org/gentoo-portage-developer/)
-   -   portage's lafilefixer has problems with readonly la files (http://www.linux-archive.org/gentoo-portage-developer/467707-portages-lafilefixer-has-problems-readonly-la-files.html)

Michael Haubenwallner 12-20-2010 11:21 AM

portage's lafilefixer has problems with readonly la files
 
Hi,

looking at portage.git master this doesn't look like a prefix only problem:

After upgrading to prefix-portage-2.2.01.17380 in prefix-launcher I'm
encountering this backtrace, due to some lib.la being readonly here on
hppa-hpux with older libtool. This basically is a problem with either
libtool and/or the build-system, but it shouldn't break portage IMO.

Thing is that portage rewrites fixed content to potentially readonly lafiles.

/haubi/

Traceback (most recent call last):
File "/prefix-launcher/inst/bin/emerge", line 44, in <module>
retval = emerge_main()
File "/prefix-launcher/inst/lib/portage/pym/_emerge/main.py", line 1701, in emerge_main
myopts, myaction, myfiles, spinner)
File "/prefix-launcher/inst/lib/portage/pym/_emerge/actions.py", line 443, in action_build
retval = mergetask.merge()
File "/prefix-launcher/inst/lib/portage/pym/_emerge/Scheduler.py", line 1160, in merge
rval = self._merge()
File "/prefix-launcher/inst/lib/portage/pym/_emerge/Scheduler.py", line 1478, in _merge
self._main_loop()
File "/prefix-launcher/inst/lib/portage/pym/_emerge/Scheduler.py", line 1620, in _main_loop
self._poll_loop()
File "/prefix-launcher/inst/lib/portage/pym/_emerge/PollScheduler.py", line 138, in _poll_loop
handler(f, event)
File "/prefix-launcher/inst/lib/portage/pym/_emerge/EbuildIpcDaemon.py", line 82, in _input_handler
reply_hook()
File "/prefix-launcher/inst/lib/portage/pym/_emerge/AbstractEbuildProcess.py", line 149, in _exit_command_callback
self.scheduler.schedule(self._reg_id, timeout=self._exit_timeout)
File "/prefix-launcher/inst/lib/portage/pym/_emerge/PollScheduler.py", line 232, in _schedule_wait
handler(f, event)
File "/prefix-launcher/inst/lib/portage/pym/_emerge/SpawnProcess.py", line 201, in _output_handler
self.wait()
File "/prefix-launcher/inst/lib/portage/pym/_emerge/AsynchronousTask.py", line 41, in wait
self._wait_hook()
File "/prefix-launcher/inst/lib/portage/pym/_emerge/AsynchronousTask.py", line 114, in _wait_hook
self._exit_listener_stack.pop()(self)
File "/prefix-launcher/inst/lib/portage/pym/_emerge/EbuildPhase.py", line 153, in _ebuild_exit
_post_src_install_uid_fix(settings, out)
File "/prefix-launcher/inst/lib/portage/pym/portage/package/ebuild/doebuild.py", line 1501, in _post_src_install_uid_fix
mode='wb')
IOError: [Errno 13] Permission denied: '/toolsbase-2010.0/usr/lib/libncurses++.la'

--
Michael Haubenwallner
Gentoo on a different level

Zac Medico 12-20-2010 12:52 PM

portage's lafilefixer has problems with readonly la files
 
On 12/20/2010 04:21 AM, Michael Haubenwallner wrote:
> Hi,
>
> looking at portage.git master this doesn't look like a prefix only problem:
>
> After upgrading to prefix-portage-2.2.01.17380 in prefix-launcher I'm
> encountering this backtrace, due to some lib.la being readonly here on
> hppa-hpux with older libtool. This basically is a problem with either
> libtool and/or the build-system, but it shouldn't break portage IMO.
>
> Thing is that portage rewrites fixed content to potentially readonly lafiles.
>
> /haubi/
>
> Traceback (most recent call last):
> File "/prefix-launcher/inst/bin/emerge", line 44, in <module>
> retval = emerge_main()
> File "/prefix-launcher/inst/lib/portage/pym/_emerge/main.py", line 1701, in emerge_main
> myopts, myaction, myfiles, spinner)
> File "/prefix-launcher/inst/lib/portage/pym/_emerge/actions.py", line 443, in action_build
> retval = mergetask.merge()
> File "/prefix-launcher/inst/lib/portage/pym/_emerge/Scheduler.py", line 1160, in merge
> rval = self._merge()
> File "/prefix-launcher/inst/lib/portage/pym/_emerge/Scheduler.py", line 1478, in _merge
> self._main_loop()
> File "/prefix-launcher/inst/lib/portage/pym/_emerge/Scheduler.py", line 1620, in _main_loop
> self._poll_loop()
> File "/prefix-launcher/inst/lib/portage/pym/_emerge/PollScheduler.py", line 138, in _poll_loop
> handler(f, event)
> File "/prefix-launcher/inst/lib/portage/pym/_emerge/EbuildIpcDaemon.py", line 82, in _input_handler
> reply_hook()
> File "/prefix-launcher/inst/lib/portage/pym/_emerge/AbstractEbuildProcess.py", line 149, in _exit_command_callback
> self.scheduler.schedule(self._reg_id, timeout=self._exit_timeout)
> File "/prefix-launcher/inst/lib/portage/pym/_emerge/PollScheduler.py", line 232, in _schedule_wait
> handler(f, event)
> File "/prefix-launcher/inst/lib/portage/pym/_emerge/SpawnProcess.py", line 201, in _output_handler
> self.wait()
> File "/prefix-launcher/inst/lib/portage/pym/_emerge/AsynchronousTask.py", line 41, in wait
> self._wait_hook()
> File "/prefix-launcher/inst/lib/portage/pym/_emerge/AsynchronousTask.py", line 114, in _wait_hook
> self._exit_listener_stack.pop()(self)
> File "/prefix-launcher/inst/lib/portage/pym/_emerge/EbuildPhase.py", line 153, in _ebuild_exit
> _post_src_install_uid_fix(settings, out)
> File "/prefix-launcher/inst/lib/portage/pym/portage/package/ebuild/doebuild.py", line 1501, in _post_src_install_uid_fix
> mode='wb')
> IOError: [Errno 13] Permission denied: '/toolsbase-2010.0/usr/lib/libncurses++.la'
>

Hopefully this will fix it:

http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=f991bb526d50c363dd0743955cb 463f7ecb135cb

--
Thanks,
Zac

Michael Haubenwallner 12-22-2010 03:54 PM

portage's lafilefixer has problems with readonly la files
 
On 12/20/10 14:52, Zac Medico wrote:
> On 12/20/2010 04:21 AM, Michael Haubenwallner wrote:
>> Thing is that portage rewrites fixed content to potentially readonly lafiles.
>
> Hopefully this will fix it:
>
> http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=f991bb526d50c363dd0743955cb 463f7ecb135cb

Yep, seems to work, thanks!
/haubi/
--
Michael Haubenwallner
Gentoo on a different level


All times are GMT. The time now is 06:51 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.