Date: Thu, 23 Mar 2017 11:10:17 +0300 From: Dmitry Samersoff <dms@samersoff.net> To: =?UTF-8?Q?Niels_Kobsch=c3=a4tzki?= <niels@kobschaetzki.net>, java@freebsd.org Subject: Re: Problems building openjdk8 Message-ID: <1307c787-abea-2ffa-2cf7-fdc586b4e7b7@samersoff.net> In-Reply-To: <20170323074643.GA17052@saturn> References: <20170323074643.GA17052@saturn>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --ddPxi2xPEwV2wfpuexuf6MtUxBPxaoSgP Content-Type: multipart/mixed; boundary="s5AJTBfX7cUTnjhtSX9MhWttxds3BwXiN"; protected-headers="v1" From: Dmitry Samersoff <dms@samersoff.net> To: =?UTF-8?Q?Niels_Kobsch=c3=a4tzki?= <niels@kobschaetzki.net>, java@freebsd.org Message-ID: <1307c787-abea-2ffa-2cf7-fdc586b4e7b7@samersoff.net> Subject: Re: Problems building openjdk8 References: <20170323074643.GA17052@saturn> In-Reply-To: <20170323074643.GA17052@saturn> --s5AJTBfX7cUTnjhtSX9MhWttxds3BwXiN Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Niels, It looks like make command fails to build a pipe. It might be a limitation of per-process file descriptors or make command bug. Could you modify generated-configure.sh to have #!/bin/bash -x and run it again? -Dmitry On 2017-03-23 10:46, Niels Kobsch=C3=A4tzki wrote: > Hi, >=20 > I have on a couple of new servers the problem that the configuration of= > the port java/openjdk8 fails. I found a bug in the bug reports from > August or September but no response there. So maybe someone can help me= > here. I am running 11.0-STABLE with a custom kernel and a stripped dow= n > world (but those settings are the same on the working servers as well).= > On one server I already rebuilt kernel and world twice. On another one = I > deleted all ports and installed java/openjdk8 as the first port after > tmux. When I try to install the port I get the following error: >=20 > root@computer:/usr/ports/java/openjdk8 # make install clean > =3D=3D=3D> openjdk8-8.121.13 depends on executable: zip - found > =3D=3D=3D> openjdk8-8.121.13 depends on file: /usr/local/include/cups= /cups.h > - found > =3D=3D=3D> openjdk8-8.121.13 depends on executable: bash - found > =3D=3D=3D> openjdk8-8.121.13 depends on file: > /usr/local/libdata/pkgconfig/x11.pc - found > =3D=3D=3D> openjdk8-8.121.13 depends on file: > /usr/local/libdata/pkgconfig/xext.pc - found > =3D=3D=3D> openjdk8-8.121.13 depends on file: > /usr/local/libdata/pkgconfig/xrender.pc - found > =3D=3D=3D> openjdk8-8.121.13 depends on file: > /usr/local/libdata/pkgconfig/xt.pc - found > =3D=3D=3D> openjdk8-8.121.13 depends on executable: gmake - found > =3D=3D=3D> openjdk8-8.121.13 depends on package: pkgconf>=3D1.3.0_1 -= found > =3D=3D=3D> openjdk8-8.121.13 depends on file: /usr/local/bin/autoconf= -2.69 - > found > =3D=3D=3D> openjdk8-8.121.13 depends on shared library: libasound.so = - found > (/usr/local/lib/libasound.so) > =3D=3D=3D> openjdk8-8.121.13 depends on shared library: libfreetype.s= o - > found (/usr/local/lib/libfreetype.so) > =3D=3D=3D> Configuring for openjdk8-8.121.13 > Warning: You are using legacy autoconf cross-compilation flags. > It is recommended that you use --openjdk-target instead. >=20 > Running generated-configure.sh > ./../../common/autoconf/generated-configure.sh: redirection error: > cannot duplicate fd: Bad file descriptor > ./../../common/autoconf/generated-configure.sh: line 561: 1: Bad file > descriptor > configure exiting with result code 1 > =3D=3D=3D> Script "../../configure" failed unexpectedly. > Please report the problem to java@FreeBSD.org [maintainer] and attach t= he > "/usr/ports/java/openjdk8/work/openjdk/common/autoconf/config.log" > including > the output of the failure of your make command. Also, it might be a goo= d > idea > to provide an overview of all packages installed on your system (e.g. a= > /usr/local/sbin/pkg-static info -g -Ea). > *** Error code 1 >=20 > Stop. > make[1]: stopped in /usr/ports/java/openjdk8 > *** Error code 1 >=20 > Stop. > make: stopped in /usr/ports/java/openjdk8 >=20 > The file > /usr/ports/java/openjdk8/work/openjdk/common/autoconf/config.log > does not exist. >=20 > The current state of installed ports on one of the servers is: >=20 > alsa-lib-1.1.2 ALSA compatibility library > autoconf-2.69_1 Automatically configure source code on > many Un*x platforms > autoconf-wrapper-20131203 Wrapper script for GNU autoconf > automake-1.15_1 GNU Standards-compliant Makefile generat= or > automake-wrapper-20131203 Wrapper script for GNU automake > bash-4.4.12_1 GNU Project's Bourne Again SHell > bigreqsproto-1.1.2 BigReqs extension headers > bison-3.0.4,1 Parser generator from FSF, (mostly) > compatible with Yacc > bootstrap-openjdk-r351880_1 Oracle\'s Java 6 virtual machine release= > under the GPL v2 > check-0.11.0 Unit test framework for C > cups-2.2.2_1 Common UNIX Printing System > dejavu-2.37 Bitstream Vera Fonts clone with a wider > range of characters > dialog4ports-0.1.6 Console Interface to configure ports > expat-2.2.0_1 XML 1.0 parser written in C > fontconfig-2.12.1,1 XML-based font configuration API for X > Windows > freetype2-2.7.1 Free and portable TrueType font renderin= g > engine > gettext-runtime-0.19.8.1_1 GNU gettext runtime libraries and progra= ms > gettext-tools-0.19.8.1 GNU gettext development and translation > tools > gmake-4.2.1_1 GNU version of 'make' utility > help2man-1.47.4 Automatically generating simple manual > pages from program output > indexinfo-0.2.6 Utility to regenerate the GNU info page > index > inputproto-2.3.2 Input extension headers > java-zoneinfo-2017.a Updated Java timezone definitions > javavmwrapper-2.5_2 Wrapper script for various Java Virtual > Machines > kbproto-1.0.7 KB extension headers > libICE-1.0.9_1,1 Inter Client Exchange library for X11 > libSM-1.2.2_3,1 Session Management library for X11 > libX11-1.6.5,1 X11 library > libXau-1.0.8_3 Authentication Protocol library for X11 > libXdmcp-1.1.2 X Display Manager Control Protocol libra= ry > libXext-1.3.3_1,1 X11 Extension library > libXrender-0.9.10 X Render extension library > libXt-1.1.5,1 X Toolkit library > libevent-2.1.8 API for executing callback functions on > events or timeouts > libffi-3.2.1 Foreign Function Interface > libfontenc-1.1.3_1 The fontenc Library > libgcrypt-1.7.6 General purpose crypto library based on > code used in GnuPG > libgpg-error-1.27 Common error values for all GnuPG compon= ents > libpthread-stubs-0.3_6 This library provides weak aliases for > pthread functions > libtool-2.4.6 Generic shared library support script > libxcb-1.12 The X protocol C-language Binding (XCB) > library > libxml2-2.9.4 XML parser library for GNOME > libxslt-1.1.29_1 The XSLT C library for GNOME > m4-1.4.18,1 GNU M4 > mkfontdir-1.0.7 Create an index of X font files in a > directory > mkfontscale-1.1.2 Creates an index of scalable font files > for X > openjdk-7.111.01_3,1 Java Development Kit 7 > openssl-1.0.2k_1,1 SSL and crypto library > perl5-5.24.1 Practical Extraction and Report Language= > pkg-1.10.0_2 Package manager > pkgconf-1.3.0_3 Utility to help to configure compiler an= d > linker flags > portmaster-3.17.10 Manage your ports without external > databases or languages > python27-2.7.13_1 Interpreted object-oriented programming > language > readline-6.3.8 Library for editing command lines as the= y > are typed > renderproto-0.11.1 RenderProto protocol headers > screen-4.5.0_2 Multi-screen window manager > sudo-1.8.19p2 Allow others to run commands as root > texinfo-6.1.20160425,1 Typeset documentation system with > multiple format output > tmux-2.3_2 Terminal Multiplexer > unzip-6.0_7 List, test, and extract compressed files= > from a ZIP archive > xcb-proto-1.12 The X protocol C-language Binding (XCB) > protocol > xcmiscproto-1.2.2 XCMisc extension headers > xextproto-7.3.0 XExt extension headers > xf86bigfontproto-1.2.0 XFree86-Bigfont extension headers > xorg-macros-1.19.1 X.Org development aclocal macros > xproto-7.0.31 X11 protocol headers > xtrans-1.3.5 Abstract network code for X > zip-3.0_1 Create/update ZIP files compatible with > PKZIP >=20 > On another server I "solved" the problem by building the port on one > server where it works and installing the package on the non-working > server. But that is no solution if I have to do that with every update > :/ >=20 > Any ideas what the problem could be? >=20 > Niels > _______________________________________________ > freebsd-java@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org"= --=20 Dmitry Samersoff Saint Petersburg, Russia, http://devnull.samersoff.net * There will come soft rains ... --s5AJTBfX7cUTnjhtSX9MhWttxds3BwXiN-- --ddPxi2xPEwV2wfpuexuf6MtUxBPxaoSgP Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJY04LqAAoJEHEy08c4gIABPD8H/3FSGVp0xjOZNcmp9G1xUS6q hSSl1qP4Pkq4zrgGVEooeYn/Czi7LrlSJdTc4OGwlE4gDFgnOecH+KjvPnQVjNHZ dcUF7Y2nFhLcbsHDE43krtsXj+AUnGssgLKGvJjoqpqxtdEqDGxPaNd3AL76ELiY zJnJGfiurwLDggmQwbrIok2lhl2h0s1G+0a2W/xrEfq18YmS1ymXvUsglHqmGpQA dDXLri1Pg3tmhdljnuGcbif0ydBGTGJK648K/FUrItxYCtBZZwec9yCjjKssL/hb Z0xQsaIs4c3ByVRYqerbvCmh9PBXXn3Foax1URp5IbZaAPTbBxpw/5HJVhPM5kg= =FruW -----END PGP SIGNATURE----- --ddPxi2xPEwV2wfpuexuf6MtUxBPxaoSgP--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1307c787-abea-2ffa-2cf7-fdc586b4e7b7>