From owner-freebsd-ports-bugs@freebsd.org Fri Oct 28 14:15:57 2016 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 764DFC2406B for ; Fri, 28 Oct 2016 14:15:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 65AA0679 for ; Fri, 28 Oct 2016 14:15:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u9SEFvXv078109 for ; Fri, 28 Oct 2016 14:15:57 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 213854] sysutils/screenfetch: fix Date: Fri, 28 Oct 2016 14:15:57 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: amdmi3@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: jgh@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Oct 2016 14:15:57 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213854 Bug ID: 213854 Summary: sysutils/screenfetch: fix Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: jgh@FreeBSD.org Reporter: amdmi3@FreeBSD.org Assignee: jgh@FreeBSD.org Flags: maintainer-feedback?(jgh@FreeBSD.org) Created attachment 176246 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D176246&action= =3Dedit Patch There are two problems in screenfetch on FreeBSD: - It doesn't work in some cases. Works fine on my desktop, but fails reliab= le in poudriere. No idea what exactly causes this: $ screenfetch /usr/local/bin/screenfetch: line 4156: /dev/fd/62: Operation not supported /usr/local/bin/screenfetch: line 4157: 3: Bad file descriptor /usr/local/bin/screenfetch: line 4156: /dev/fd/62: Operation not supported /usr/local/bin/screenfetch: line 4157: 3: Bad file descriptor /usr/local/bin/screenfetch: line 4156: /dev/fd/62: Operation not supported /usr/local/bin/screenfetch: line 4157: 3: Bad file descriptor /usr/local/bin/screenfetch: line 4156: /dev/fd/62: Operation not supported /usr/local/bin/screenfetch: line 4157: 3: Bad file descriptor /usr/local/bin/screenfetch: line 4156: /dev/fd/62: Operation not supported /usr/local/bin/screenfetch: line 4157: 3: Bad file descriptor /usr/local/bin/screenfetch: line 4156: /dev/fd/62: Operation not supported /usr/local/bin/screenfetch: line 4157: 3: Bad file descriptor /usr/local/bin/screenfetch: line 4156: /dev/fd/62: Operation not supported /usr/local/bin/screenfetch: line 4157: 3: Bad file descriptor /usr/local/bin/screenfetch: line 4156: /dev/fd/62: Operation not supported /usr/local/bin/screenfetch: line 4157: 3: Bad file descriptor /usr/local/bin/screenfetch: line 4156: /dev/fd/62: Operation not supported /usr/local/bin/screenfetch: line 4157: 3: Bad file descriptor /usr/local/bin/screenfetch: line 4156: /dev/fd/62: Operation not supported /usr/local/bin/screenfetch: line 4157: 3: Bad file descriptor /usr/local/bin/screenfetch: line 4156: /dev/fd/62: Operation not supported /usr/local/bin/screenfetch: line 4157: 3: Bad file descriptor /usr/local/bin/screenfetch: line 4156: /dev/fd/62: Operation not supported /usr/local/bin/screenfetch: line 4157: 3: Bad file descriptor This was fixed upstream, https://github.com/KittyKatt/screenFetch/commit/5774f849d18295715392e56dbc2= 7998de518cec2 - It's unable to detect FreeBSD system when there's no /var/run/dmesg.boot (e.g. again in poudreire jail). Add proper detection based on `uname -o` output. Upstream PR: https://github.com/KittyKatt/screenFetch/pull/402 While here, fix LICENSE, add LICENSE_FILE, switch to license helpers and ad= d a very simple test. --=20 You are receiving this mail because: You are the assignee for the bug.=