Date: Wed, 20 Jul 2016 20:59:26 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 211255] qjail install fails because "uname -r" includes patchlevel Message-ID: <bug-211255-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211255 Bug ID: 211255 Summary: qjail install fails because "uname -r" includes patchlevel Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: gunther@5stengl.de $ uname -a FreeBSD freebsd.internal 10.1-RELEASE-p35 FreeBSD 10.1-RELEASE-p35 #0: Sat = May 28 03:37:01 UTC 2016 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 uname -r: 10.1-RELEASE-p35 that leads to the situation where "qjail install" tries to reach the follow= ing url: ftp ftp2.freebsd.org:pub/FreeBSD/releases/amd64/amd64/10.1-RELEASE-p35/base= .txz where it should go to: ftp ftp2.freebsd.org:pub/FreeBSD/releases/amd64/amd64/10.1-RELEASE/base.txz Possible fix: Cut only the first two fields from "uname -r". $ diff /usr/local/bin/qjail ./qjail=20=20=20=20=20=20=20=20=20 1612c1612=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 < release=3D`uname -r`=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 ---=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 > release=3D`uname -r | cut -d "-" -f 1-2` 1756c1756=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 < release=3D`uname -r`=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20 ---=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 > release=3D`uname -r | cut -d "-" -f 1-2` --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-211255-13>