@hamdyaea1: I wasn't able to reproduce this, if it's still a problem, you can skip check() by passing --nocheck to makepkg.
Search Criteria
Package Details: wxtoimg-beta 2.11.2-11
Package Actions
Git Clone URL: | https://aur.archlinux.org/wxtoimg-beta.git (read-only, click to copy) |
---|---|
Package Base: | wxtoimg-beta |
Description: | Software to decode APT and WEFAX signals from weather satellites |
Upstream URL: | https://wxtoimgrestored.xyz/beta |
Keywords: | beta RTLSDR satellite weather wxtoimg |
Licenses: | LicenseRef-WXtoImgLicense |
Conflicts: | wxtoimg |
Provides: | wxtoimg |
Submitter: | gin078 |
Maintainer: | dpeukert |
Last Packager: | dpeukert |
Votes: | 3 |
Popularity: | 0.000000 |
First Submitted: | 2016-05-28 00:02 (UTC) |
Last Updated: | 2025-01-06 00:45 (UTC) |
Dependencies (7)
- alsa-lib
- fontconfig (fontconfig-gitAUR, fontconfig-ubuntuAUR)
- libx11 (libx11-gitAUR)
- libxft (libxft-gitAUR)
- imagemagick (imagemagick-gitAUR, imagemagick-full-gitAUR, imagemagick-fullAUR) (make)
- perl (perl-gitAUR) (make)
- xxd (vim-minimal-gitAUR, gvim-gitAUR, vim-cli-gitAUR, gvim-wayland-lilydjwg-gitAUR, gvim-gtk2AUR, gvim, tinyxxd, vim) (make)
Required by (0)
Sources (5)
dpeukert commented on 2025-02-20 21:40 (UTC)
hamdyaea1 commented on 2025-01-06 07:18 (UTC)
@dpeukert
I don't have the same error like before but just the exit4 because of check() at the end :
==> ERREUR : Une erreur s’est produite dans check(). Abandon… -> error making: wxtoimg-beta-exit status 4 -> Failed to install the following packages. Manual intervention is required: wxtoimg-beta - exit status 4
dpeukert commented on 2025-01-06 00:41 (UTC)
@hamdyaea1: This should now be fixed.
hamdyaea1 commented on 2024-12-31 11:36 (UTC) (edited on 2024-12-31 11:38 (UTC) by hamdyaea1)
I have a exit 4 code when I try to install it on Manjaro :
==> ATTENTION : Utilisation de l’arbre $srcdir/ existant
==> Lancement de check()…
Usage: wxtoimg [-N|-S] [-a|-b] [-e <enh>] [-f <hz>] [-h] [-t <sat>] x.wav x.png
where: -N northbound pass (default)
-S southbound pass
-a channel A image only
-b channel B image only
-e <enh> enhancement option (histeq, MSA, MCIR, HVCT, sea, ZA, ...)
-f <hz> adjust sound card sample rate (default 11025.0)
-h show advanced options usage
-t <sat> force processing to one of:
Resurs(r), Meteor3(m), Meteor2(2), SICH1M(h), SICH
(s), Okean(o), NOAA(n), Meteosat(e), GOES(g), GMS(j), MTSAT(k), other(x)
(default is autodetect)
USE xwxtoimg FOR A GRAPHICAL USER INTERFACE.
Copyright (c) 2001-2013 Central North Publishing Limited.
All rights reserved.
==> ERREUR : Une erreur s’est produite dans check().
Abandon…
-> error making: wxtoimg-beta-exit status 4
chargement des paquets…
résolution des dépendances…
recherche des conflits entre paquets…
Paquet (1) Ancienne version Nouvelle version Changement net
tcllib 1.21-1 2.0-1 1.40 MiB
Taille totale installée : 13.34 MiB
Taille de mise à jour nette : 1.40 MiB
:: Procéder à l’installation ? [O/n] o
(1/1) vérification des clés dans le trousseau
(1/1) vérification de l’intégrité des paquets
(1/1) chargement des fichiers des paquets
(1/1) analyse des conflits entre fichiers
(1/1) vérification de l’espace disque disponible
:: Traitement des changements du paquet…
(1/1) mise à jour de tcllib
:: Exécution des crochets (« hooks ») de post-transaction…
(1/3) Arming ConditionNeedsUpdate...
(2/3) Cleaning pacman cache...
==> no candidate packages found for pruning
(3/3) Checking which packages need to be rebuilt
foreign mate-tweak
foreign mlat-client
foreign protonvpn-gui
foreign python-proton-client
foreign python-torrequest
-> Failed to install the following packages. Manual intervention is required:
wxtoimg-beta - exit status 4
dpeukert commented on 2022-09-06 13:38 (UTC)
I've implemented the path replacements suggested by @dviktor, see https://gitlab.com/dpeukert/pkgbuilds/-/merge_requests/14#note_1089447825 for more details.
dviktor commented on 2022-01-01 19:04 (UTC) (edited on 2022-01-27 12:44 (UTC) by dviktor)
I was able to make binary patches for all variants of wxtoimg. As of now file list for the package is:
$ pacman -Ql wxtoimg-beta
wxtoimg-beta /usr/
wxtoimg-beta /usr/bin/
wxtoimg-beta /usr/bin/wxbatch
wxtoimg-beta /usr/bin/wxmap
wxtoimg-beta /usr/bin/wxproj
wxtoimg-beta /usr/bin/wxrec
wxtoimg-beta /usr/bin/wxtoimg
wxtoimg-beta /usr/bin/xwxtoimg
wxtoimg-beta /usr/share/
wxtoimg-beta /usr/share/applications/
wxtoimg-beta /usr/share/applications/wxtoimg.desktop
wxtoimg-beta /usr/share/licenses/
wxtoimg-beta /usr/share/licenses/wxtoimg-beta/
wxtoimg-beta /usr/share/licenses/wxtoimg-beta/LICENSE
wxtoimg-beta /usr/share/man/
wxtoimg-beta /usr/share/man/de/
wxtoimg-beta /usr/share/man/de/man1/
wxtoimg-beta /usr/share/man/de/man1/wxcalibrate.1
wxtoimg-beta /usr/share/man/de/man1/wxfaq.1
wxtoimg-beta /usr/share/man/de/man1/wxrego.1
wxtoimg-beta /usr/share/man/de/man1/xwxtoimg.1
wxtoimg-beta /usr/share/man/es/
wxtoimg-beta /usr/share/man/es/man1/
wxtoimg-beta /usr/share/man/es/man1/wxcalibrate.1
wxtoimg-beta /usr/share/man/es/man1/wxfaq.1
wxtoimg-beta /usr/share/man/es/man1/wxrego.1
wxtoimg-beta /usr/share/man/es/man1/xwxtoimg.1
wxtoimg-beta /usr/share/man/fr/
wxtoimg-beta /usr/share/man/fr/man1/
wxtoimg-beta /usr/share/man/fr/man1/wxcalibrate.1
wxtoimg-beta /usr/share/man/fr/man1/wxfaq.1
wxtoimg-beta /usr/share/man/fr/man1/wxrego.1
wxtoimg-beta /usr/share/man/fr/man1/xwxtoimg.1
wxtoimg-beta /usr/share/man/ja/
wxtoimg-beta /usr/share/man/ja/man1/
wxtoimg-beta /usr/share/man/ja/man1/wxcalibrate.1
wxtoimg-beta /usr/share/man/ja/man1/wxfaq.1
wxtoimg-beta /usr/share/man/ja/man1/wxrego.1
wxtoimg-beta /usr/share/man/ja/man1/xwxtoimg.1
wxtoimg-beta /usr/share/man/man1/
wxtoimg-beta /usr/share/man/man1/wxbatch.1.gz
wxtoimg-beta /usr/share/man/man1/wxmap.1.gz
wxtoimg-beta /usr/share/man/man1/wxproj.1.gz
wxtoimg-beta /usr/share/man/man1/wxrec.1.gz
wxtoimg-beta /usr/share/man/man1/wxtoimg.1.gz
wxtoimg-beta /usr/share/man/pl/
wxtoimg-beta /usr/share/man/pl/man1/
wxtoimg-beta /usr/share/man/pl/man1/wxcalibrate.1
wxtoimg-beta /usr/share/man/pl/man1/wxfaq.1
wxtoimg-beta /usr/share/man/pl/man1/wxrego.1
wxtoimg-beta /usr/share/man/pl/man1/xwxtoimg.1
wxtoimg-beta /usr/share/pixmaps/
wxtoimg-beta /usr/share/pixmaps/wxtoimg.png
wxtoimg-beta /usr/share/wx2img/
wxtoimg-beta /usr/share/wx2img/man/
wxtoimg-beta /usr/share/wx2img/man/de_wxcalibrate.1
wxtoimg-beta /usr/share/wx2img/man/de_wxfaq.1
wxtoimg-beta /usr/share/wx2img/man/de_wxrego.1
wxtoimg-beta /usr/share/wx2img/man/de_xwxtoimg.1
wxtoimg-beta /usr/share/wx2img/man/es_wxcalibrate.1
wxtoimg-beta /usr/share/wx2img/man/es_wxfaq.1
wxtoimg-beta /usr/share/wx2img/man/es_wxrego.1
wxtoimg-beta /usr/share/wx2img/man/es_xwxtoimg.1
wxtoimg-beta /usr/share/wx2img/man/fr_wxcalibrate.1
wxtoimg-beta /usr/share/wx2img/man/fr_wxfaq.1
wxtoimg-beta /usr/share/wx2img/man/fr_wxrego.1
wxtoimg-beta /usr/share/wx2img/man/fr_xwxtoimg.1
wxtoimg-beta /usr/share/wx2img/man/ja_wxcalibrate.1
wxtoimg-beta /usr/share/wx2img/man/ja_wxfaq.1
wxtoimg-beta /usr/share/wx2img/man/ja_wxrego.1
wxtoimg-beta /usr/share/wx2img/man/ja_xwxtoimg.1
wxtoimg-beta /usr/share/wx2img/man/pl_wxcalibrate.1
wxtoimg-beta /usr/share/wx2img/man/pl_wxfaq.1
wxtoimg-beta /usr/share/wx2img/man/pl_wxrego.1
wxtoimg-beta /usr/share/wx2img/man/pl_xwxtoimg.1
wxtoimg-beta /usr/share/wx2img/template0.html
wxtoimg-beta /usr/share/wx2img/template1.html
wxtoimg-beta /usr/share/wx2img/template2.html
wxtoimg-beta /usr/share/wx2img/template3.html
wxtoimg-beta /usr/share/wx2img/template4.html
wxtoimg-beta /usr/share/wx2img/template5.html
wxtoimg-beta /usr/share/wx2img/template6.html
wxtoimg-beta /usr/share/wx2img/tkclscrd.ttf
wxtoimg-beta /usr/share/wx2img/tle/
wxtoimg-beta /usr/share/wx2img/tle/archive.txt
wxtoimg-beta /usr/share/wx2img/tle/met2-21h.txt
wxtoimg-beta /usr/share/wx2img/tle/met3-05h.txt
wxtoimg-beta /usr/share/wx2img/tle/noaa-12h.txt
wxtoimg-beta /usr/share/wx2img/tle/noaa-14h.txt
wxtoimg-beta /usr/share/wx2img/tle/noaa-15h.txt
wxtoimg-beta /usr/share/wx2img/tle/noaa-16h.txt
wxtoimg-beta /usr/share/wx2img/tle/noaa-17h.txt
wxtoimg-beta /usr/share/wx2img/tle/othertle.txt
wxtoimg-beta /usr/share/wx2img/tle/resource.txt
wxtoimg-beta /usr/share/wx2img/tle/weather.txt
wxtoimg-beta /usr/share/wx2img/wxland.png
wxtoimg-beta /usr/share/wx2img/wxmap.db
wxtoimg-beta /usr/share/wx2img/wxmap.png
As you can see I was able to fully evade /usr/local
parts in file paths by simply changing strings in corresponding executables. I've tested it on one of my previous WAV recordings and things look fine!
Complete build tree is located here. To check my patches you can use the following steps.
- Patch original binary executable:
bspatch ORIG.exec FIXED.exec ORIG-ARCH.patch
- Compare original and patched binaries with the following:
cmp -l ORIG.exec FIXED.exec | gawk '{printf "%08X %02X %02X\n", $1-1, strtonum(0$2), strtonum(0$3)}'
. It will give you bitewise comparison of what has been changed - you can then re-check by hand in, e. g.,bless
orokteta
It would be great if someone can test my changes; then we can push them here. This will allow to comply to the Arch packaging standards without need of tinkering with /usr/local
and similar stuff
Also I've fixed .desktop
file a bit: added proper categories. proj
should be in dependency list as well - I've found link to this executable while digging through binary executables
dviktor commented on 2021-07-25 16:09 (UTC)
@dpeukert, any thoughts about it?)
dpeukert commented on 2021-06-18 00:44 (UTC)
@dviktor: Huh, that looks interesting, I'll try looking into it over the weekend, thanks for letting me know.
dviktor commented on 2021-06-15 15:34 (UTC) (edited on 2021-06-15 15:35 (UTC) by dviktor)
What about patching binaries to replace hardcoded strings that point out to /usr/local
stuff? I've tried this approach and it works quite well. We can only supply binary diffs instead of patched binaries so PKGBUILD
will be small. There are only few strings that should be changed, for example, wxtoimg
binary:
/usr/local/etc/wxtoimg.cfg
/usr/local/lib/wx/tkclscrd.ttf
/usr/local/lib/wx/tle
/usr/local/lib/wx/wxmap.db
/usr/local/lib/wx/wxmap.png
/usr/local/lib/wx/wxland.png
/usr/local/lib
/usr/local/bin
/usr/local/lib/tcl8.5
/usr/local/include
/usr/local/man
/usr/local/lib/proj.4
in /usr/local/etc/wxtoimg.cfg (or \\WXTOIMG.CFG
which in turn can override any value in /usr/local/etc/wxtoimg.cfg
in /usr/local/etc/wxtoimg.cfg. Users can override these defaults in
the directory /usr/local/lib/wx/tle is checked. See also -H.
starts it first looks in /usr/local/etc/wxtoimg.cfg (or \\WXTOIMG.CFG
which in turn can override any value in /usr/local/etc/wxtoimg.cfg
in /usr/local/etc/wxtoimg.cfg. Users can override these defaults in
the directory /usr/local/lib/wx/tle is checked. See also -H.
starts it first looks in /usr/local/etc/wxtoimg.cfg (or \\WXTOIMG.CFG
which in turn can override any value in /usr/local/etc/wxtoimg.cfg
in /usr/local/etc/wxtoimg.cfg. Users can override these defaults in
starts it first looks in /usr/local/etc/wxtoimg.cfg (or \\WXTOIMG.CFG
which in turn can override any value in /usr/local/etc/wxtoimg.cfg
in /usr/local/etc/wxtoimg.cfg. Users can override these defaults in
/usr/local/lib/tcl8.5
/usr/local/lib
dpeukert commented on 2019-12-26 22:53 (UTC) (edited on 2020-09-26 18:05 (UTC) by dpeukert)
The PKGBUILD for this package is hosted here (contributions are welcome!): https://gitlab.com/dpeukert/pkgbuilds/tree/main/wxtoimg-beta
Pinned Comments
dpeukert commented on 2019-12-26 22:53 (UTC) (edited on 2020-09-26 18:05 (UTC) by dpeukert)
The PKGBUILD for this package is hosted here (contributions are welcome!): https://gitlab.com/dpeukert/pkgbuilds/tree/main/wxtoimg-beta