Bug 259697 - emulators/wine /usr/local/share/wine/pkg32.sh upgrade: pkg: wrong architecture: … pkg: repository poudriere contains packages with wrong ABI: FreeBSD:14:amd64
Summary: emulators/wine /usr/local/share/wine/pkg32.sh upgrade: pkg: wrong architectur...
Status: Closed DUPLICATE of bug 258268
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Gerald Pfeifer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-07 13:03 UTC by Graham Perrin
Modified: 2021-11-21 08:14 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (gerald)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Graham Perrin freebsd_committer freebsd_triage 2021-11-07 13:03:31 UTC
% winefile
wine [wine-6.0.1] and wine64 [wine-6.0.2] versions do not match!

Try updating 32-bit wine with
        /usr/local/share/wine/pkg32.sh upgrade
% /usr/local/share/wine/pkg32.sh upgrade
pkg -o ABI=FreeBSD:14:i386 -o INSTALL_AS_USER=true -o RUN_SCRIPTS=false --rootdir /home/grahamperrin/.i386-wine-pkg upgrade
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
Updating poudriere repository catalogue...
Fetching meta.conf: 100%    163 B   0.2kB/s    00:01    
Fetching packagesite.pkg: 100%   67 KiB  68.5kB/s    00:01    
Processing entries:   0%
pkg: wrong architecture: FreeBSD:14:amd64 instead of FreeBSD:14:i386
pkg: repository poudriere contains packages with wrong ABI: FreeBSD:14:amd64
Processing entries: 100%
Unable to update repository poudriere
Error updating repositories!
% pkg query '%o %v %R' wine
emulators/wine 6.0.2,1 FreeBSD
% uname -aKU
FreeBSD mowa219-gjp4-8570p-freebsd 14.0-CURRENT FreeBSD 14.0-CURRENT #114 main-n250511-5f73b3338ee: Sat Nov  6 21:15:23 GMT 2021     root@mowa219-gjp4-8570p-freebsd:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG  amd64 1400040 1400040
%
Comment 1 Graham Perrin freebsd_committer freebsd_triage 2021-11-07 13:06:33 UTC
I toyed with the 
    -r FreeBSD
workaround from bug 258268 comment 0. 


% /usr/local/share/wine/pkg32.sh -r FreeBSD upgrade
pkg -o ABI=FreeBSD:14:i386 -o INSTALL_AS_USER=true -o RUN_SCRIPTS=false --rootdir /home/grahamperrin/.i386-wine-pkg -r FreeBSD upgrade
pkg: Invalid rootdir: No such file or directory
%
Comment 2 Alex S 2021-11-07 13:44:05 UTC
-r in that position means --rootdir.
Comment 3 Graham Perrin freebsd_committer freebsd_triage 2021-11-07 13:53:18 UTC
(In reply to Alex S from comment #2)

OK, so this worked: 

/usr/local/share/wine/pkg32.sh upgrade -r FreeBSD

Apologies for the noise. 

Would a manual page have helped me with positioning and if so, which one?

(My mind is totally bent, today, by documentation in general. Not just Wine.)
Comment 4 Alex S 2021-11-07 14:41:30 UTC
(In reply to Graham Perrin from comment #3)

> Would a manual page have helped me with positioning and if so, which one?

The syntax is `pkg [options] command [command options]`, `man pkg` seems clear enough on the matter.
Comment 5 Gerald Pfeifer freebsd_committer freebsd_triage 2021-11-07 18:36:59 UTC
(In reply to Graham Perrin from comment #3)
> (My mind is totally bent, today, by documentation in general.
> Not just Wine.)

Is there any change, addition,... to 
  files/wine-wow64.sh or files/pkg32.sh
or some other aspect of the port that would have helped you?

I'm not an expert on this matter myself, but happy to consider changes.
Comment 6 Graham Perrin freebsd_committer freebsd_triage 2021-11-21 08:14:46 UTC
(In reply to Gerald Pfeifer from comment #5)

Thank you, however in this case the problem was my misreading of my wall of text at bug 258268 comment 0. 

Misreading resulted in misplacement of the -r option. PEBKAM :-)

This was, essentially, a duplicate of 258268.

*** This bug has been marked as a duplicate of bug 258268 ***