From nobody Fri Feb 25 16:31:21 2022 X-Original-To: tex@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4024F19DA2A2 for ; Fri, 25 Feb 2022 16:31:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4K4wJV0ZxWz4j5k for ; Fri, 25 Feb 2022 16:31:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id DB5BA23007 for ; Fri, 25 Feb 2022 16:31:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 21PGVLsp004629 for ; Fri, 25 Feb 2022 16:31:21 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 21PGVLXQ004628 for tex@FreeBSD.org; Fri, 25 Feb 2022 16:31:21 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: tex@FreeBSD.org Subject: [Bug 262195] print/tex-luatex: 'make stage' fails (fmtutil / luatex error) if old tex-luatex installed Date: Fri, 25 Feb 2022 16:31:21 +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 Some People X-Bugzilla-Who: jcfyecrayz@liamekaens.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: tex@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 attachments.created 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 List-Id: Porting TeX and related applications to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-tex List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-tex@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1645806682; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=d7QlpLPA3hS+Iud8yFD4jBWcLG1e4FmtZztRJnj2l/E=; b=d2vOLW8ef5+2Rg0ThUaKB9/BkFG1goOtWKa8LKrkQz2Or9ncfUIgTJVLRKF0VxOHgziVEi dcQeaUAam+JBV9ytk0364+rcG5XwiD8ZdY/qqLmkXLGfstWibCVr8rK7fhwxvgNa2Noc5A L3e7d5QGXKioJ2hjXp66zlPnExsk2l0qKRsKpat1jP/5yAYnqRW/PiCTk/Ez9zwUva5gan /IvUOrJikrnOGQ9+h2Q4NVYnHHszeKeS3j+rX9+DQBzrkI25FMLY87JFnnrtIx2USFiqoh j0UcVN+l7ssTcahX3gQ1W3/drS4OBC6e+QizoLgZq3axuxq075vx3djJ0359tw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1645806682; a=rsa-sha256; cv=none; b=XlNPcTEYEDJ2gnkiU0eL5AFWoOvAk1fUDJq5dF6FusdMrnqG0+WfNnIgIyAZRmBGesyTEa ZPePfPSBT8HOYueesO6BuYqSPOaWiuZKZqzoYZahKbOGm+bFDY+AUh1y6aSEYF7fsMiPBP AHELWQ7aoUplBpGrti8CuYjXZdwXE98a4n9YrouR6S/9LOqlwyCy+e6p+diBbxI0RiNOOn oZBJQG6ZsD3dp/2ezjunRHZ9zFnVjC0WKMoxiQICnLOBo4j4Bom1Z+gtM0KGRYIxYd9iTF 2teRerLAaaJl9GKZT1yWs1VsfLWxebxT2SXnDmNh1C6O2ON1OxYEJMnz6Ry+TA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262195 Bug ID: 262195 Summary: print/tex-luatex: 'make stage' fails (fmtutil / luatex error) if old tex-luatex installed Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: tex@FreeBSD.org Reporter: jcfyecrayz@liamekaens.com Flags: maintainer-feedback?(tex@FreeBSD.org) Assignee: tex@FreeBSD.org Created attachment 232107 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D232107&action= =3Dedit failure log of 'make stage' for print/tex-luatex (with older tex-luatex installed in LOCALBASE) If the old print/tex-luatex (0.80.0_24) is installed 'make -C /usr/ports/print/tex-luatex stage' for the new version (1.12.0) fails. It seems to be a problem where it looks in /usr/local (LOCALBASE) first for files such as luatex.ini and others (like dvilualatex.ini and lualatexiniconfig.tex perhaps) instead of in ${WRKDIR}. Ideally the build should look in the working area first. Additionally fmtutil prepends /usr/local/bin to the path so when it later invokes luatex, it uses the one that is installed instead of the one in WRK= DIR. In the current case (older 0.80.0_24 installed in PREFIX and 1.12.0 in WRKDIR), it seems any differences in the luatex executable may not cause a problem for the build (after a quick comparison of the build output results using the old version against results using the new version), but there is certainly no guarantee that a future update will not have a problem using t= he old executable. It definitely has a problem using the old tex-luatex data files. The build should take care to use the files in WRKDIR, and not use old vers= ions of files from tex-luatex that may be installed in /usr/local (it makes some attempt to do that already by inserting WRKDIR/stage/usr/local/bin into the PATH which helps some - it does not help for tools that use absolute paths,= for instance). Worarounds: one can do 'sudo pkg delete -f tex-luatex' before d= oing a build or do builds entirely in a clean isolated tree (such as poudriere does). But we can probably tweak this port to ensure it uses the files from the new version of tex-luatex before the ones in PREFIX. log attached --=20 You are receiving this mail because: You are the assignee for the bug.=