From nobody Fri Jul 26 05:54:14 2024 X-Original-To: ports-bugs@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 4WVcQG63phz5RPn1 for ; Fri, 26 Jul 2024 05:54:14 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WVcQG3PGTz46Lj for ; Fri, 26 Jul 2024 05:54:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1721973254; a=rsa-sha256; cv=none; b=IEMF3EAuCi/+vdolaHp6uZubdzhau2ZvK3nTMgTCxMo0UDtaKywsN0WndLpv27xW09itOw 9Zz9XHJCA49PmBgS8N6YnkA1mmgmuTmnh9T9ruqq5eel6HRK+cgdYWdzB4Wb0zFMmfRocP yigje3ummV2gkl7QFAej6QPpk5hJc7e/QtgL/RsnVaiaNeApdVEzynJjpToFRtRT/C1NnO fkZ9YtRO3iu/46hKMpAk0DJzOCRGLXy+IsyNqyJbUC7NprMST3hknMJqrTK+l2VOlDADA/ 2Jw3apA8NpQe0lpxMAVFEAh8ho0pjy5CzzpoTATvF5gEw+G7fxTDZuvQ4Q/QtQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1721973254; 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=4qWXteYYXVhXdkwWCHfcBqW76hWuABYqoHC5gGUhRfM=; b=naWwjUcCbpuh5mXH6vZJEYNDhkIvswutJBNJzHw+wU3wcK3KeEm86YS6yCrDD2TNNc8zIL IhvwsIT+iSVfBOJhvFDFTXT2eP0518HEKNfunTnHTRrYmDIdNAeZtxjyYqk3MzxN9B/k/W PzErV+2zpTnbEQYHBkBCVRp9pSP/WlxEt9htFBgCoINRjBvP9VjvlZ4rrcnXMjT4l6vKS/ +iY7RHZPFKGnHBnl9dgRsWoxdochPK94kPs8Wa/sln1fFfNWW+ncVZuWLCqBAtvnDP0CvX NwBHszAkGoMlkGUrxJ0zAkNmEmFSsAXMgFBKblqtkWWGNyHsQziWcIzhyTIg+Q== 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 4WVcQG313bz1QrT for ; Fri, 26 Jul 2024 05:54:14 +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 46Q5sEVE025888 for ; Fri, 26 Jul 2024 05:54:14 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 46Q5sEuY025887 for ports-bugs@FreeBSD.org; Fri, 26 Jul 2024 05:54:14 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: ports-bugs@FreeBSD.org Subject: [Bug 280388] print/epson-inkjet-printer-escpr2: when DEFAULT_VERSIONS+= linux=rl9, printing is not possible Date: Fri, 26 Jul 2024 05:54:14 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed 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: tatsuki_makino@hotmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports-bugs@freebsd.org Sender: owner-freebsd-ports-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D280388 --- Comment #1 from Tatsuki Makino --- If the two executable binaries installed in /compat/linux/opt/epson-inkjet-printer-escpr2/cups/lib/filter try to be executed directly, the following error will occur ELF interpreter /lib64/ld-lsb-x86-64.so.3 not found, error 2 Abort The way to solve this is to create a symlink that I have already mentioned,= but this affects all Linux binary ports. The question is by what port this symlink should be created on. If an individual port attempts to resolve this issue, it can also be done in the following ways Install patchelf(sysutils/patchelf). Use the following command to rewrite the ELF header. patchelf --set-interpreter /lib64/ld-linux-x86-64.so.2 \ /compat/linux/opt/epson-inkjet-printer-escpr2/cups/lib/filter/epson-escpr-w= rapper2 \ /compat/linux/opt/epson-inkjet-printer-escpr2/cups/lib/filter/epson-escpr2 This makes the binary executable again, but it is interesting that the resu= lt of readelf -l has been changed not only to rewrite INTERP... --=20 You are receiving this mail because: You are the assignee for the bug.=