Create package for myself

  Kernel: 6.3.8-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 13.1.1
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=fda8a0a5-722d-46f7-8ec5-94eda5810359 rw rootflags=subvol=@
    quiet quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
    resume=UUID=e4e510cb-8fe0-461a-b564-d6596ced6432 loglevel=3 ibt=off
  Desktop: Cinnamon v: 5.8.2 tk: GTK v: 3.24.38 wm: muffin vt: 7 dm: LightDM
    v: 1.32.0 Distro: Garuda Linux base: Arch Linux
  Type: Desktop Mobo: Gigabyte model: GA-78LMT-USB3 6.0
    serial: <superuser required> BIOS: Award v: F2 date: 11/25/2014
  Info: model: AMD FX-6300 bits: 64 type: MT MCP arch: Piledriver level: v2
    built: 2012-13 process: GF 32nm family: 0x15 (21) model-id: 2 stepping: 0
    microcode: 0x6000852
  Topology: cpus: 1x cores: 6 smt: enabled cache: L1: 288 KiB
    desc: d-6x16 KiB; i-3x64 KiB L2: 6 MiB desc: 3x2 MiB L3: 8 MiB desc: 1x8 MiB
  Speed (MHz): avg: 1411 high: 1449 min/max: 1400/3500 boost: enabled
    scaling: driver: acpi-cpufreq governor: schedutil cores: 1: 1404 2: 1403
    3: 1406 4: 1449 5: 1406 6: 1400 bogomips: 42186
  Flags: avx ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities: <filter>
  Device-1: AMD Lexa PRO [Radeon 540/540X/550/550X / RX 540X/550/550X]
    vendor: Gigabyte driver: amdgpu v: kernel arch: GCN-4 code: Arctic Islands
    process: GF 14nm built: 2016-20 pcie: gen: 2 speed: 5 GT/s lanes: 8
    link-max: gen: 3 speed: 8 GT/s ports: active: HDMI-A-1 empty: DP-1,DVI-D-1
    bus-ID: 01:00.0 chip-ID: 1002:699f class-ID: 0300 temp: 46.0 C
  Display: x11 server: X.Org v: 21.1.8 driver: X: loaded: amdgpu
    unloaded: modesetting,radeon alternate: fbdev,vesa dri: radeonsi gpu: amdgpu
    display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1366x768 s-dpi: 96 s-size: 361x203mm (14.21x7.99")
    s-diag: 414mm (16.31")
  Monitor-1: HDMI-A-1 mapped: HDMI-A-0 model: AOC 1970W serial: <filter>
    built: 2015 res: 1366x768 hz: 60 dpi: 85 gamma: 1.2
    size: 410x230mm (16.14x9.06") diag: 470mm (18.5") ratio: 16:9 modes:
    max: 1366x768 min: 720x400
  API: OpenGL v: 4.6 Mesa 23.1.2 renderer: AMD Radeon RX 550 / 550 Series
    (polaris12 LLVM 15.0.7 DRM 3.52 6.3.8-zen1-1-zen) direct-render: Yes
  Device-1: AMD SBx00 Azalia vendor: Gigabyte driver: snd_hda_intel v: kernel
    bus-ID: 00:14.2 chip-ID: 1002:4383 class-ID: 0403
  Device-2: AMD Baffin HDMI/DP Audio [Radeon RX 550 640SP / 560/560X]
    vendor: Gigabyte driver: snd_hda_intel v: kernel pcie: gen: 2 speed: 5 GT/s
    lanes: 8 link-max: gen: 3 speed: 8 GT/s bus-ID: 01:00.1 chip-ID: 1002:aae0
    class-ID: 0403
  API: ALSA v: k6.3.8-zen1-1-zen status: kernel-api tools: N/A
  Server-1: sndiod v: N/A status: off tools: aucat,midicat,sndioctl
  Server-2: PipeWire v: 0.3.71 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Gigabyte driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
    lanes: 1 port: ce00 bus-ID: 03:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: enp3s0 state: down mac: <filter>
  IF-ID-1: enp2s0u1u1 state: unknown speed: -1 duplex: half mac: <filter>
  Device-1: Xiaomi Mi/Redmi series (RNDIS) driver: rndis_host v: kernel
    type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 8-1.1:4
    chip-ID: 2717:ff80 class-ID: 0a00 serial: <filter>
  Report: bt-service: enabled,stopped note: tool can't run
  Local Storage: total: 2.87 TiB used: 2.24 TiB (77.9%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/sda maj-min: 8:0 vendor: Western Digital
    model: WD10EZRX-00L4HB0 size: 931.51 GiB block-size: physical: 4096 B
    logical: 512 B speed: 3.0 Gb/s tech: N/A serial: <filter> fw-rev: 1A01
    scheme: MBR
  ID-1: / raw-size: 918.68 GiB size: 918.68 GiB (100.00%)
    used: 641.02 GiB (69.8%) fs: btrfs dev: /dev/sda1 maj-min: 8:1
  ID-2: /home raw-size: 918.68 GiB size: 918.68 GiB (100.00%)
    used: 641.02 GiB (69.8%) fs: btrfs dev: /dev/sda1 maj-min: 8:1
  ID-3: /var/log raw-size: 918.68 GiB size: 918.68 GiB (100.00%)
    used: 641.02 GiB (69.8%) fs: btrfs dev: /dev/sda1 maj-min: 8:1
  ID-4: /var/tmp raw-size: 918.68 GiB size: 918.68 GiB (100.00%)
    used: 641.02 GiB (69.8%) fs: btrfs dev: /dev/sda1 maj-min: 8:1
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: zram size: 11.67 GiB used: 0 KiB (0.0%) priority: 100
    dev: /dev/zram0
  ID-2: swap-2 type: partition size: 12.83 GiB used: 0 KiB (0.0%)
    priority: -2 dev: /dev/sda2 maj-min: 8:2
  System Temperatures: cpu: 37.6 C mobo: N/A gpu: amdgpu temp: 46.0 C
  Fan Speeds (RPM): N/A gpu: amdgpu fan: 1384
  Processes: 252 Uptime: 20m wakeups: 0 Memory: available: 11.67 GiB
  used: 3.24 GiB (27.8%) Init: systemd v: 253 default: graphical
  tool: systemctl Compilers: gcc: 13.1.1 clang: 15.0.7 Packages: 1775
  pm: pacman pkgs: 1757 libs: 554 tools: pamac,paru pm: flatpak pkgs: 18
  Shell: fish v: 3.6.1 default: Bash v: 5.1.16 running-in: gnome-terminal
  inxi: 3.3.27
Garuda (2.6.16-1):
  System install date:     2023-04-25
  Last full system update: 2023-06-18
  Is partially upgraded:   No
  Relevant software:       snapper NetworkManager dracut
  Windows dual boot:       <superuser required>
  Failed units:            

i was trying to build a package from source i dont know how to create it from offline source any help will be helpful.


Please, never post text as picture.

On top of that, you get blinded.
And it also costs unnecessary storage space and traffic, you can not search it.

1 Like
pkgdesc="Play the classic two-player boardgame of chess"
depends=('gtk3' 'librsvg')
makedepends=('gobject-introspection' 'yelp-tools' 'appstream-glib' 'vala' 'git' 'meson') 
optdepends=('gnuchess: Play against computer')

pkgver() {
  cd $_pkgname
  git describe --tags | sed 's/-/+/g'

build() {
  arch-meson $_pkgname build
  meson compile -C build

check() {
  meson test -C build --print-errorlogs

package() {
  DESTDIR="$pkgdir" meson install -C build

You can use pacman

paru gnome-chess
2 aur/gnome-chess-git 3.37.2+3+gaf4e19f-1 [+0 ~0.00] [Veraltet: 2022-09-01] [Verwaist]
    Play the classic two-player boardgame of chess
1 extra/gnome-chess 43.2-1 [473.46KiB 2.45MiB] (gnome-extra)
    Play the classic two-player boardgame of chess
:: Zu installierende Pakete(z.B: 1 2 3, 1-3):

AUR is orphaned

sudo pacman -Syu gnome-chess

its automatically install the latest version not the version i want.
why i want to install old version because new version doesn't match with my system theme.

I don't know about old stuff.

You should post the whole text, the input command and the rest, for those who want to help.
I don't see any error there.

If it breaks dependencies (libraries) you can cause problems on the system.

Better you fix the theme with kvantum or whatever Cinnamon use.

==> Making package: gnome-chess gnomechess3.37.2-1 (Sun 18 Jun 2023 23:46:54 IST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
==> ERROR: gnome-chess-3.37.2-r$ was not found in the build directory and is not a URL.

Again in Englisch

LANG=C paru gnome-chess
2 aur/gnome-chess-git 3.37.2+3+gaf4e19f-1 [+0 ~0.00] [Out-of-date: 2022-09-01] [Orphaned]
    Play the classic two-player boardgame of chess

[Out-of-date: 2022-09-01] [Orphaned]

not helpful .
but thanks for telling me already known information.

I'm not psychic, you hadn't communicated that you already knew everything and only revealed details piecemeal, when asked.
I have wasted enough time here.

1 Like

how to create it from offline source

Just read the error message.

I'd say this is far out of the scope of this forum. Guides explaining Arch packaging will help in this case :slight_smile:


This…THIS…type of problem–usually developer-related–is exactly why utilities like Flatpak was created. (I have no comment on Snapd.)

Using Flatpak, developers are able to install, mess around with multiple versions of the same thing, install, run, compare them, and–well, ya’ll know what I mean. And do that without ruining their own operating system.

Arch and it’s kiddies are hit-and-miss if they’re setup for this out-of-the-box Flatpak/flathub stuff unless they say they are. Garuda eschews Flatpak, etc. in general…but, it is very do-able. You’ll need to take a couple of steps, reboot, then Bob’s yer uncle.

But it’s one of those self-support thingees. You break it, you fix it. I suggest you do your own research.


Please make a more meaningful effort to be respectful. We can be tolerant of inexperience, but most of us have little patience for rudeness.

If it is true you already knew the package was orphaned and flagged out of date, then clearly you do not understand the significance of what that means. It is exactly why the build is failing. You cannot squeeze blood from a stone.

One possibility would be to roll back the whole system to whatever point in time in the past the chess application was working by changing the repository mirrors to point at the archives, as described here: Arch Linux Archive - ArchWiki

Then downgrade the whole system so the libraries and dependencies are the correct versions, and the package may have a chance of successfully building. Of course, at that point you’d have to never update the machine–it might be a project best kept inside a purpose-built VM.

Better yet, reach out to the developers with your feedback on the new theme, or hire a software developer to update the package for you.

If this is your only motivation for building this package, I don’t think it’s worth it. I would just try to get used to the new theme and move on with your life.


Try downgrade it is pre installed in garuda and should fetch both remote and local version of the software from arch archive repo and your system. choose the version you want and go ahead. Then add this software to ignore package in /etc/pacman.conf. Though be warned that this is not recommended as when your system updates it's dependencies and libraries it might render your game unplayable.


You could try a "classic" (configure, make, install) building process (as opposed to makepkg):
using (downloading)

But I'm not really sure that it will now (with current system) build such an old release; nor if the theming issue will be fixed (maybe it is due to something outside the package, in the new libraries).


Thank You all for the Information.
Next time i will try not to express my frustration and anger on random people .


This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.