Date: Sat, 25 Mar 2017 06:20:20 +0000 From: bugzilla-noreply@freebsd.org To: java@FreeBSD.org Subject: [Bug 213088] java/openjdk8: Build fails during configure Message-ID: <bug-213088-8522-efooAQXZ88@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-213088-8522@https.bugs.freebsd.org/bugzilla/> References: <bug-213088-8522@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213088 Matthew Rezny <rezny@freebsd.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rezny@freebsd.org --- Comment #1 from Matthew Rezny <rezny@freebsd.org> --- I have recently started seeing the same failure on my 11-STABLE amd64 syste= m. The root cause of the error is not in openjdk8. Numerous ports that use bash during build now fail with "redirection error: cannot duplicate fd: Bad file descriptor". For several ports I was able to simply drop the bash requireme= nt and let /bin/sh be used, but for those that rely on bash syntax, i.e. devel/autogen, I worked around the problem by using zsh instead. zsh is my regular shell and exhibits no problems like bash. I am not aware of any recent change to bash itself. There was a change I ma= de one week ago that may possibly be related. I removed options COMPAT_LINUX32, LINPROCFS, and LINSYSFS from my kernel config and began loading linux_common.ko, linux.ko, linux64.ko, linprocfs.ko, and linsysfs.ko during boot. So, I now have 64bit Linux emulation and there is a change to the way= the 32bit Linux emulation works. I will try reverting the next time I do a kern= el build to see if there is any relation. Unfortunately, it is not possible to load linux64.ko when the kernel is built with options COMPAT_LINUX32, and t= here is no COMPAT_LINUX on amd64, so its either all Linux emu in modules (can't = buld LINPROCFS or LINSSYSFS into kernel without LINUX_COMPAT(32)) or 32bit Linux= emu only. Fortunately, I don't really need 64bit Linux emulation, I only made t= he change because Poudriere began refusing to start amd64 jails without loading linux64.ko, but that requirement has been relaxed. --=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-213088-8522-efooAQXZ88>