Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 02 Jul 2024 12:55:40 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 280085] emulators/wine: Fix /usr/local/share/wine/pkg32.sh Script
Message-ID:  <bug-280085-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D280085

            Bug ID: 280085
           Summary: emulators/wine: Fix /usr/local/share/wine/pkg32.sh
                    Script
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: gerald@FreeBSD.org
          Reporter: vermaden@interia.pl
          Assignee: gerald@FreeBSD.org
             Flags: maintainer-feedback?(gerald@FreeBSD.org)

Hi,

I just upgraded to 14.1 and the helper *pkg32.sh* script  does not work now:

% /usr/local/share/wine/pkg32.sh install wine mesa-dri=20=20=20=20=20=20=20=
=20=20=20=20=20
pkg -o ABI=3DFreeBSD:14:i386 -o INSTALL_AS_USER=3Dtrue -o RUN_SCRIPTS=3Dfal=
se
--rootdir /home/vermaden/.i386-wine-pkg install wine mesa-dri
Updating FreeBSD repository catalogue...
Fetching meta.conf: 100%    178 B   0.2kB/s    00:01=20=20=20=20
Fetching data.pkg: 100%    7 MiB   2.3MB/s    00:03=20=20=20=20
Processing entries:   0%
pkg: Newer FreeBSD version for package zziplib:
To ignore this error set IGNORE_OSVERSION=3Dyes
- package: 1400097
- running kernel: 0

pkg: repository FreeBSD contains packages for wrong OS version: FreeBSD:14:=
i386
Processing entries:   0%
Unable to update repository FreeBSD
Error updating repositories!



It was simple fix with additional '-o IGNORE_OSVERSION=3Dyes' to pkg(8) com=
mand.

% pkg which -o /usr/local/share/wine/pkg32.sh
/usr/local/share/wine/pkg32.sh was installed by package emulators/wine

% diff -u /usr/local/share/wine/pkg32.sh /usr/local/share/wine/pkg32.sh.FIX
--- /usr/local/share/wine/pkg32.sh      2024-07-02 14:52:58.254271000 +0200
+++ /usr/local/share/wine/pkg32.sh.FIX  2024-07-02 14:53:10.611435000 +0200
@@ -16,5 +16,5 @@

 ABI=3D$(pkg config ABI | sed s/amd64/i386/)
 # Show what we're going to do, then do it.
-echo pkg -o ABI=3D"$ABI" -o INSTALL_AS_USER=3Dtrue -o RUN_SCRIPTS=3Dfalse =
--rootdir
"$I386_ROOT" "$@"
-exec pkg -o ABI=3D"$ABI" -o INSTALL_AS_USER=3Dtrue -o RUN_SCRIPTS=3Dfalse =
--rootdir
"$I386_ROOT" "$@"
+echo pkg -o IGNORE_OSVERSION=3Dyes -o ABI=3D"$ABI" -o INSTALL_AS_USER=3Dtr=
ue -o
RUN_SCRIPTS=3Dfalse --rootdir "$I386_ROOT" "$@"
+exec pkg -o IGNORE_OSVERSION=3Dyes -o ABI=3D"$ABI" -o INSTALL_AS_USER=3Dtr=
ue -o
RUN_SCRIPTS=3Dfalse --rootdir "$I386_ROOT" "$@"



Please fix.

Regards,
vermaden

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-280085-7788>