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 08AE119DA310 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 4K4wJT5NhGz4j5j for ; Fri, 25 Feb 2022 16:31:21 +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 9967623187 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 21PGVLDw004620 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 21PGVLxm004619 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 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: tex@FreeBSD.org Subject: maintainer-feedback requested: [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-Type: request 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: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: tex@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: 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=1645806681; 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: in-reply-to:in-reply-to:references:references; bh=OaZh6d7+N/opjAwpGY9rvrIgbwgmhnkxIVVp8OEEkdA=; b=cEfM7N0HEnQWOzqNhrmcbS1Nh6UqULDjAosItQlRZ2HBIBqmEPgF9rU+D2Lfp2gtqE/gln 3tmLjcp3AAi2CbzP3+AVIKYycKBvmBSuEHxYCqJSgwVQuf4bGouNGtlQHhDOh1DWRGu1/8 CqL3ejN9cmlBPPqQ2iUKAx8VGnGVL2Y60PIsRR3m2M0zfgZvrJzdaSPlJJ+zOzwebrA0/N bGaS37pB/AGztc10UWYuqoKyp/TL696jMZ65DxK7lNDGCnX+4WuPG/Xvr0K5O0dj8xdH0+ e31aZsfFaSoYn6PftRedD5jR2P8dCY55Bbt3fy+QN9FyObgD8P6kTQY0G5/kaQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1645806681; a=rsa-sha256; cv=none; b=hIYNISUL4Wg2i2rH/GC0NXlONwmZyuubInnv5Fd1REx1Ds7YB1YPtni7QClt1PHkI1zC5z CYgw3wZj6HWFiKOH6BdNECWQUci6rmjy6ETJcF4ncqOJ2Ao7jj1DXqoATT0GA4H3yJUF18 vuWCK1+RZW5Cx4X8loaibCln/QzXw4BakIL6YxNLd3ec2qvdPp2Osunb1Xu7MasqQKdnva W7Eovd2QE5PkbQHXCQPFM9OhtikLjQRqwNdLvF1isX/72IhSZBj3yDYlJVLg/qgg0PQ2m3 XgHCr34ewNoveF2WAFx/n49cEUcGIz/KkxLSdloUbwHAbLO5EF8ADunXjL9WXA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N Bugzilla Automation has asked Tex Mailing List (Nobo= dy) for maintainer-feedback: Bug 262195: print/tex-luatex: 'make stage' fails (fmtutil / luatex error) if old tex-luatex installed https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262195 --- Description --- 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