From owner-freebsd-ports-bugs@freebsd.org Fri Apr 28 07:55:24 2017 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 7CAB1D51C8E for ; Fri, 28 Apr 2017 07:55:24 +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 613DADEA for ; Fri, 28 Apr 2017 07:55:24 +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 v3S7tOvt052675 for ; Fri, 28 Apr 2017 07:55:24 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 218928] math/scilab partial patch to fix build with OPTIONS_UNSET=DOCS Date: Fri, 28 Apr 2017 07:55:24 +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 Only Me X-Bugzilla-Who: zaphod@berentweb.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: makc@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 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 Apr 2017 07:55:24 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D218928 Bug ID: 218928 Summary: math/scilab partial patch to fix build with OPTIONS_UNSET=3DDOCS Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: makc@FreeBSD.org Reporter: zaphod@berentweb.com Flags: maintainer-feedback?(makc@FreeBSD.org) Assignee: makc@FreeBSD.org Hello. My poudriere.d/make.conf file has globally defined "OPTIONS_UNSET=3D DOCS EXAMPLES NLS", This setting breaks the build for math/scilab when the GUI f= lag is turned on, because the Makefile sets by default java/javahelp and textproc/docbook-xsl when GUI is enabled. Example from poudriere log: -- Building documentation (en_US) -- LANG=3DC LC_ALL=3Den_US.UTF-8 SCI_DISABLE_TK=3D1 SCI_JAVA_ENABLE_HEADLESS= =3D1 ./bin/scilab-adv-cli -noatomsautoload -nb -l en_US -nouserstartup -e "try xmltojar([],[],'en_US');catch disp(lasterror()); exit(-1);end;exit(0);" Building the Scilab manual master document for en_US. Building the scilab manual file [javaHelp] !A fatal error has been detected by Scilab. !Your instance will probably quit unexpectedly soon.=20 Objective: separate this out to where it belongs, under DOCS. The patch is incomplete because: a) Although poudriere build completes without error, fails at packaging sta= ge due to pkg-plist entries regarding help files (not fixed by this patch). b) Most likely has other omissions as I'm not that familiar with the port. math/scilab/Makefile: @@ - 45,48 +45,48 @@ --OPTIONS_DEFINE=3D GUI OCAML TK ++OPTIONS_DEFINE=3D GUI OCAML TK DOCS OPTIONS_RADIO=3D BLAS OPTIONS_RADIO_BLAS=3D ATLAS NETLIB OPENBLAS --OPTIONS_DEFAULT=3D GUI NETLIB OCAML TK ++OPTIONS_DEFAULT=3D GUI NETLIB OCAML TK DOCS @@ - 62 @@ --${JAVALIBDIR}/jhall.jar:java/javahelp \ @@ - 81,84 +81,84 @@ -- _GUI_DEPENDS+=3D ${LOCALBASE}/share/xsl/docbook/javahelp/javahelp.xsl:t= extpro c/docbook-xsl \ ++ _GUI_DEPENDS+=3D ${JAVALIBDIR}/saxon9he.jar:textproc/saxon-he \ -- ${JAVALIBDIR}/saxon9he.jar:textproc/saxon-he \ ++ ${JAVALIBDIR}/xml-apis-ext.jar:textproc/xml-commons \ -- ${JAVALIBDIR}/xml-apis-ext.jar:textproc/xml-commons \ ++ xsltproc:textproc/libxslt -- xsltproc:textproc/libxslt ++ _DOCS_DEPENDS+=3D xsltproc:textproc/libxslt @@ - 94 +94 @@ --GUI_ALL_TARGET=3D all doc ++GUI_ALL_TARGET=3D all @@ - 97,99 +97,100 @@ --GUI_CONFIGURE_ON=3D --with-jdk=3D${JAVA_HOME} \ ++GUI_CONFIGURE_ON=3D --with-jdk=3D${JAVA_HOME} -- --with-docbook=3D${LOCALBASE}/share/xsl/docbook \ ++DOCS_CONFIGURE_OFF=3D --disable-build-help -- --enable-build-help ++DOCS_CONFIGURE_ON=3D --with-docbook=3D${LOCALBASE}/share/xsl/docbook= \ ++ --enable-build-help @@ +104 @@ ++DOCS_IMPLIES=3D GUI --=20 You are receiving this mail because: You are the assignee for the bug.=