DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 28th January 2017
yezster yezster is offline
Port Guard
 
Join Date: Jan 2014
Posts: 17
Default Beginner's Error in building Mozilla-firefox from ports.

Greetings all,

I have been using OpenBSD for quite some time now for the sole purpose of learning Unix operating system, previously I was using the 6.0 -Stable branch, after experimenting I decided to go -current branch. In the stable branch I'm able to compile openbsd from source and able to fetch and compile packages from ports. Now in the current branch I encountered these weird errors in ports. After I updated all my /usr/src, /usr/xenocara and /usr/ports via cvs, compiled my kernel, userland, xenocara from the current source, I was hoping to update my mozilla firefox 50.1.0 to mozilla firefox 51.0 using ports and this error poped up. I'm stuck here don't know what to do next. (Although I was able to update mozilla firefox thru pkg_add -u firefox, but I'm curious as to how to fix this error and be able to get this update done on ports rather than thru pkg_add -u.)

Thank you very much.


--- My /etc/mk.conf file---
Code:
SUDO=/usr/bin/doas
WRKOBJDIR=/tmp/ports/obj
DISTDIR=/home/yez/foo/build/distfiles
PACKAGE_REPOSITORY=/usr/ports/packages
--- My Error ---
Code:
$ doas make update
... --->>> Lots of things done here... <<<--- ...
===>  Configuring for firefox-51.0
Creating Python environment
New python executable in /tmp/ports/obj/firefox-51.0/build-amd64/_virtualenv/bin/python2.7
Not overwriting existing python script /tmp/ports/obj/firefox-51.0/build-amd64/_virtualenv/bin/python (you must use /tmp/ports/obj/firefox-51.0/build-amd64/_virtualenv/bin/python2.7)
ERROR: The executable /tmp/ports/obj/firefox-51.0/build-amd64/_virtualenv/bin/python2.7 could not be run: [Errno 13] Permission denied
Traceback (most recent call last):
  File "/tmp/ports/obj/firefox-51.0/firefox-51.0/configure.py", line 107, in <module>
    sys.exit(main(sys.argv))
  File "/tmp/ports/obj/firefox-51.0/firefox-51.0/configure.py", line 26, in main
    sandbox.run(os.path.join(os.path.dirname(__file__), 'moz.configure'))
  File "/tmp/ports/obj/firefox-51.0/firefox-51.0/python/mozbuild/mozbuild/configure/__init__.py", line 231, in run
    self.include_file(path)
  File "/tmp/ports/obj/firefox-51.0/firefox-51.0/python/mozbuild/mozbuild/configure/__init__.py", line 222, in include_file
    exec_(code, self)
  File "/tmp/ports/obj/firefox-51.0/firefox-51.0/python/mozbuild/mozbuild/util.py", line 59, in exec_
    exec(object, globals, locals)
  File "/tmp/ports/obj/firefox-51.0/firefox-51.0/moz.configure", line 7, in <module>
    include('build/moz.configure/init.configure')
  File "/tmp/ports/obj/firefox-51.0/firefox-51.0/python/mozbuild/mozbuild/configure/__init__.py", line 477, in include_impl
    self.include_file(what)
  File "/tmp/ports/obj/firefox-51.0/firefox-51.0/python/mozbuild/mozbuild/configure/__init__.py", line 222, in include_file
    exec_(code, self)
  File "/tmp/ports/obj/firefox-51.0/firefox-51.0/python/mozbuild/mozbuild/util.py", line 59, in exec_
    exec(object, globals, locals)
  File "/tmp/ports/obj/firefox-51.0/firefox-51.0/build/moz.configure/init.configure", line 136, in <module>
    @imports('distutils.sysconfig')
  File "/tmp/ports/obj/firefox-51.0/firefox-51.0/python/mozbuild/mozbuild/configure/__init__.py", line 458, in decorator
    self._value_for(dummy)
  File "/tmp/ports/obj/firefox-51.0/firefox-51.0/python/mozbuild/mozbuild/configure/__init__.py", line 302, in _value_for
    return self._value_for_depends(obj)
  File "/tmp/ports/obj/firefox-51.0/firefox-51.0/python/mozbuild/mozbuild/util.py", line 925, in method_call
    cache[args] = self.func(instance, *args)
  File "/tmp/ports/obj/firefox-51.0/firefox-51.0/python/mozbuild/mozbuild/configure/__init__.py", line 329, in _value_for_depends
    return func(*resolved_args)
  File "/tmp/ports/obj/firefox-51.0/firefox-51.0/python/mozbuild/mozbuild/configure/__init__.py", line 773, in wrapped
    return new_func(*args, **kwargs)
  File "/tmp/ports/obj/firefox-51.0/firefox-51.0/build/moz.configure/init.configure", line 183, in virtualenv_python
    manager.build(python)
  File "/tmp/ports/obj/firefox-51.0/firefox-51.0/python/mozbuild/mozbuild/virtualenv.py", line 439, in build
    self.create(python)
  File "/tmp/ports/obj/firefox-51.0/firefox-51.0/python/mozbuild/mozbuild/virtualenv.py", line 203, in create
    'Failed to create virtualenv: %s' % self.virtualenv_root)
Exception: Failed to create virtualenv: /tmp/ports/obj/firefox-51.0/build-amd64/_virtualenv
*** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2664 '/tmp/ports/obj/firefox-51.0/build-amd64/.configure_done')
*** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:1884 '/usr/ports/packages/amd64/all/firefox-51.0.tgz')
*** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2409 '_internal-package')
*** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:1910 '/usr/ports/update/amd64/firefox-51.0')
*** Error 1 in /usr/ports/www/mozilla-firefox (/usr/ports/infrastructure/mk/bsd.port.mk:2389 'update')

$

Last edited by ocicat; 28th January 2017 at 04:25 PM. Reason: Please use [code] & [/code] tags when posting command output.
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mozilla patches Firefox and Thunderbird J65nko News 0 29th April 2011 06:54 PM
Mozilla delays Firefox 3.6.4 J65nko News 0 2nd June 2010 08:08 PM
UPDATE: mozilla-firefox-2.0.0.16 BSDfan666 OpenBSD Packages and Ports 0 17th July 2008 07:45 PM
Mozilla Firefox 2.0.0.14 update.. BSDfan666 OpenBSD Packages and Ports 1 19th May 2008 06:11 PM
Building Mozilla Firefox 3 Beta 5 on FreeBSD vi5in FreeBSD General 6 12th May 2008 11:25 PM


All times are GMT. The time now is 10:56 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick