Date: Wed, 02 Aug 2017 14:32:02 +0000 From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 220596] [NEW PORT] shells/xonsh: Python-ish BASH-wards shell Message-ID: <bug-220596-21822-gK8DC93kOJ@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-220596-21822@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220596 Matthew Seaman <matthew@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #184232|0 |1 is obsolete| | --- Comment #26 from Matthew Seaman <matthew@FreeBSD.org> --- Created attachment 184957 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=184957&action=edit Fix outstanding problems with the port This adds: * BUILD_DEPENDS on the new devel/py-amalgamate port * Mark as NO_ARCH * Fix LICENSE This compiles for me and seems to work, but it generates a nasty looking exception on startup: ``` % xon.sh-3.6 Exception in thread Thread-2: Traceback (most recent call last): File "/usr/local/lib/python3.6/threading.py", line 916, in _bootstrap_inner self.run() File "/usr/local/lib/python3.6/site-packages/xonsh/history/__amalgam__.py", line 331, in run files = self.files(only_unlocked=True) File "/usr/local/lib/python3.6/site-packages/xonsh/history/__amalgam__.py", line 353, in files boot = uptime.boottime() File "/usr/local/lib/python3.6/site-packages/xonsh/xoreutils/uptime.py", line 270, in boottime up = uptime() File "/usr/local/lib/python3.6/site-packages/xonsh/xoreutils/uptime.py", line 260, in uptime up = (_uptime_bsd() or _uptime_plan9() or _uptime_linux() or File "/usr/local/lib/python3.6/site-packages/xonsh/xoreutils/uptime.py", line 56, in _uptime_linux if xp.LIBC.sysinfo(buf) < 0: AttributeError: 'NoneType' object has no attribute 'sysinfo' Welcome to the xonsh shell (0.5.12) ~ All that is and all that shell be ~ -------------------------------------------------------------------------------- xonfig tutorial -> Launch the tutorial in the browser xonfig wizard -> Run the configuration wizard and claim your shell (Note: Run the Wizard or create a ~/.xonshrc file to suppress the welcome screen) matthew@lucid-nonsense ~/work/ports/shells/xonsh $ ``` If you can confirm that it functions correctly and if possible come up with a fix for the exception, then I think we're pretty close to having this commitable. -- You are receiving this mail because: You are on the CC list for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-220596-21822-gK8DC93kOJ>
