[Bug 213088] java/openjdk8: Build fails during configure

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Mar 25 06:20:20 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213088

Matthew Rezny <rezny at freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rezny at freebsd.org

--- Comment #1 from Matthew Rezny <rezny at freebsd.org> ---
I have recently started seeing the same failure on my 11-STABLE amd64 system.
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 requirement
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 made
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 kernel
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 there
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 the
change because Poudriere began refusing to start amd64 jails without loading
linux64.ko, but that requirement has been relaxed.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-java mailing list