crystal-lang / crystal

The Crystal Programming Language
https://crystal-lang.org
Apache License 2.0
19.47k stars 1.62k forks source link

The rpm has missing dependencies #10321

Closed renich closed 3 years ago

renich commented 3 years ago

It seems that the official RPM is missing a ton of dependencies, at least in Fedora 33.

Check these out: https://download.copr.fedorainfracloud.org/results/zawertun/crystal/fedora-33-x86_64/01906375-crystal/crystal.spec

The dependencies are far more that what gets installed when I use the crystal repo.

AFAICS, you're missing:

gc-devel gpm-devel libxml2-devel libyaml-devel openssl-devel xz-devel

My test was trying to build amber framework with the installed crystal version. I've installed v0.35.1 (because 0.36.0 breaks amber).

My system's info:

``` * OS Release (cat /etc/*-release | uniq): Fedora release 33 (Thirty Three) NAME=Fedora VERSION="33 (Workstation Edition)" ID=fedora VERSION_ID=33 VERSION_CODENAME="" PLATFORM_ID="platform:f33" PRETTY_NAME="Fedora 33 (Workstation Edition)" ANSI_COLOR="0;38;2;60;110;180" LOGO=fedora-logo-icon CPE_NAME="cpe:/o:fedoraproject:fedora:33" HOME_URL="https://fedoraproject.org/" DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/f33/system-administrators-guide/" SUPPORT_URL="https://fedoraproject.org/wiki/Communicating_and_getting_help" BUG_REPORT_URL="https://bugzilla.redhat.com/" REDHAT_BUGZILLA_PRODUCT="Fedora" REDHAT_BUGZILLA_PRODUCT_VERSION=33 REDHAT_SUPPORT_PRODUCT="Fedora" REDHAT_SUPPORT_PRODUCT_VERSION=33 PRIVACY_POLICY_URL="https://fedoraproject.org/wiki/Legal:PrivacyPolicy" VARIANT="Workstation Edition" VARIANT_ID=workstation Fedora release 33 (Thirty Three) * Kernel (uname -r ; cat /proc/cmdline): 5.10.9-201.fc33.x86_64 BOOT_IMAGE=(hd1,gpt2)/vmlinuz-5.10.9-201.fc33.x86_64 root=UUID=934e5565-cbc7-47c1-b488-ed4dfead07cb ro rootflags=subvol=root rhgb quiet processor.max_cstate=5 rcu_nocbs=0-11 * Desktop(s) Running (ps -eo comm= | grep -E '(gnome-session|startkde|startactive|xfce.?-session|fluxbox|blackbox|hackedbox|ratpoison|enlightenment|icewm-session|od-session|wmaker|wmx|openbox-lxde|openbox-gnome-session|openbox-kde-session|mwm|e16|fvwm|xmonad|sugar-session|mate-session|lxqt-session|cinnamon)' ): gnome-session-b gnome-session-c gnome-session-b * Desktop(s) Installed (ls -m /usr/share/xsessions/ | sed 's/\.desktop//g' ): budgie-desktop, gnome-classic, gnome, gnome-xorg * SELinux Status (sestatus): SELinux status: enabled SELinuxfs mount: /sys/fs/selinux SELinux root directory: /etc/selinux Loaded policy name: targeted Current mode: enforcing Mode from config file: enforcing Policy MLS status: enabled Policy deny_unknown status: allowed Memory protection checking: actual (secure) Max kernel policy version: 33 * SELinux Errors (selinuxenabled && journalctl --since yesterday |grep avc: | grep -Eo comm="[^ ]+" | sort |uniq -c |sort -rn): 2 comm="systemd-tmpfile" * CPU Model (grep 'model name' /proc/cpuinfo | awk -F: '{print $2}' | uniq -c | sed -re 's/^ +//' ): 16 AMD Ryzen 7 1800X Eight-Core Processor * 64-bit Support (grep -q ' lm ' /proc/cpuinfo && echo Yes || echo No): Yes * Hardware Virtualization Support (grep -Eq '(vmx|svm)' /proc/cpuinfo && echo Yes || echo No): Yes * Load average (uptime): 17:34:16 up 2 days, 12:16, 1 user, load average: 0.67, 1.18, 1.30 * Memory usage (free -m): total used free shared buff/cache available Mem: 64301 12574 1430 207 50297 50956 Swap: 8191 3 8188 * Top 5 CPU hogs (ps axuScnh | awk '$2!=436183' | sort -rnk3 | head -5): 107 88678 27.8 9.2 21782828 6095088 ? Sl Jan25 701:04 qemu-system-x86 1000 9830 22.9 0.0 26140 15692 ? Ss Jan25 750:25 systemd 1000 418425 21.6 1.1 4657628 776676 ? Sl 17:08 5:34 firefox 1000 423177 14.6 0.0 233804 6704 pts/0 Ss 17:17 2:27 bash 1000 418649 8.4 0.6 3601236 445680 ? Sl 17:08 2:10 Web Content * Top 5 Memory hogs (ps axuScnh | sort -rnk4 | head -5): 107 88678 27.8 9.2 21782828 6095088 ? Sl Jan25 701:04 qemu-system-x86 1000 418425 21.6 1.1 4657628 776676 ? Sl 17:08 5:34 firefox 1000 10426 0.0 1.0 1452188 702940 ? Sl Jan25 0:48 gnome-software 0 1689 0.0 0.9 1184620 612796 ? Ssl Jan25 1:09 packagekitd 1000 418656 2.7 0.6 3439884 451992 ? Sl 17:08 0:42 Web Content * Disk space usage (df): Filesystem 1K-blocks Used Available Use% Mounted on devtmpfs 32864392 0 32864392 0% /dev tmpfs 32922604 35576 32887028 1% /dev/shm tmpfs 13169044 2456 13166588 1% /run /dev/nvme0n1p3 498443264 320413504 176661440 65% / /dev/nvme0n1p3 498443264 320413504 176661440 65% /srv /dev/nvme0n1p3 498443264 320413504 176661440 65% /home /dev/nvme0n1p2 999320 288000 642508 31% /boot /dev/nvme0n1p1 613184 20772 592412 4% /boot/efi tmpfs 32922608 8072 32914536 1% /tmp /dev/sda1 3907016704 601673476 3303447612 16% /var/lib/libvirt/images /dev/nvme0n1p3 498443264 320413504 176661440 65% /var/lib/libvirt/images/fast /dev/sda1 3907016704 601673476 3303447612 16% /home/renich/Downloads /dev/sda1 3907016704 601673476 3303447612 16% /home/renich/VirtualMachines/isos /dev/sda1 3907016704 601673476 3303447612 16% /home/renich/Videos/movies /dev/sda1 3907016704 601673476 3303447612 16% /home/renich/xzone tmpfs 6584520 240 6584280 1% /run/user/1000 * Block devices (blkid): /dev/nvme0n1p3: LABEL="fedora" UUID="934e5565-cbc7-47c1-b488-ed4dfead07cb" UUID_SUB="d07aecb3-ed70-4fea-bce7-f568c999b165" BLOCK_SIZE="4096" TYPE="btrfs" PARTUUID="5a6076d9-174e-46a0-a6f3-38f05ea33d89" /dev/nvme0n1p2: UUID="2919b7e6-0ca5-494e-9ca2-f9502faf6d01" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="55884fcb-1fc5-4157-a3ba-9677fc0dd2d2" /dev/nvme0n1p1: UUID="866B-15BA" BLOCK_SIZE="512" TYPE="vfat" PARTLABEL="EFI System Partition" PARTUUID="1c6865f5-cd08-411d-aaf6-c53c3fca0c57" * PCI devices (lspci -nn): 00:00.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Root Complex [1022:1450] 00:00.2 IOMMU [0806]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) I/O Memory Management Unit [1022:1451] 00:01.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge [1022:1452] 00:01.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe GPP Bridge [1022:1453] 00:01.3 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe GPP Bridge [1022:1453] 00:02.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge [1022:1452] 00:03.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge [1022:1452] 00:03.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe GPP Bridge [1022:1453] 00:04.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge [1022:1452] 00:07.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge [1022:1452] 00:07.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Internal PCIe GPP Bridge 0 to Bus B [1022:1454] 00:08.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge [1022:1452] 00:08.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Internal PCIe GPP Bridge 0 to Bus B [1022:1454] 00:14.0 SMBus [0c05]: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller [1022:790b] (rev 59) 00:14.3 ISA bridge [0601]: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge [1022:790e] (rev 51) 00:18.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 0 [1022:1460] 00:18.1 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 1 [1022:1461] 00:18.2 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 2 [1022:1462] 00:18.3 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 3 [1022:1463] 00:18.4 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 4 [1022:1464] 00:18.5 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 5 [1022:1465] 00:18.6 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 6 [1022:1466] 00:18.7 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 7 [1022:1467] 01:00.0 Non-Volatile memory controller [0108]: Samsung Electronics Co Ltd NVMe SSD Controller SM961/PM961/SM963 [144d:a804] 02:00.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] X370 Series Chipset USB 3.1 xHCI Controller [1022:43b9] (rev 02) 02:00.1 SATA controller [0106]: Advanced Micro Devices, Inc. [AMD] X370 Series Chipset SATA Controller [1022:43b5] (rev 02) 02:00.2 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] X370 Series Chipset PCIe Upstream Port [1022:43b0] (rev 02) 03:00.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 300 Series Chipset PCIe Port [1022:43b4] (rev 02) 03:02.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 300 Series Chipset PCIe Port [1022:43b4] (rev 02) 03:03.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 300 Series Chipset PCIe Port [1022:43b4] (rev 02) 03:04.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 300 Series Chipset PCIe Port [1022:43b4] (rev 02) 03:05.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 300 Series Chipset PCIe Port [1022:43b4] (rev 02) 03:06.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 300 Series Chipset PCIe Port [1022:43b4] (rev 02) 03:07.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 300 Series Chipset PCIe Port [1022:43b4] (rev 02) 04:00.0 USB controller [0c03]: ASMedia Technology Inc. ASM1142 USB 3.1 Host Controller [1b21:1242] 05:00.0 Ethernet controller [0200]: Intel Corporation I211 Gigabit Network Connection [8086:1539] (rev 03) 06:00.0 Network controller [0280]: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter [168c:003e] (rev 32) 08:00.0 RAID bus controller [0104]: Silicon Image, Inc. SiI 3132 Serial ATA Raid II Controller [1095:3132] (rev 01) 0b:00.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD/ATI] Device [1002:14a0] (rev c1) 0c:00.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD/ATI] Device [1002:14a1] 0d:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Vega 20 [Radeon VII] [1002:66af] (rev c1) 0d:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Vega 20 HDMI Audio [Radeon VII] [1002:ab20] 0e:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Zeppelin/Raven/Raven2 PCIe Dummy Function [1022:145a] 0e:00.2 Encryption controller [1080]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Platform Security Processor [1022:1456] 0e:00.3 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) USB 3.0 Host Controller [1022:145c] 0f:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Zeppelin/Renoir PCIe Dummy Function [1022:1455] 0f:00.2 SATA controller [0106]: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] [1022:7901] (rev 51) 0f:00.3 Audio device [0403]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) HD Audio Controller [1022:1457] * USB devices (lsusb): Bus 006 Device 002: ID 2109:0817 VIA Labs, Inc. USB3.0 Hub Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 005 Device 004: ID 05e3:0745 Genesys Logic, Inc. Logilink CR0012 Bus 005 Device 003: ID 05e3:0608 Genesys Logic, Inc. Hub Bus 005 Device 002: ID 2109:2817 VIA Labs, Inc. USB2.0 Hub Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 003 Device 002: ID 051d:0002 American Power Conversion Uninterruptible Power Supply Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 004: ID 046d:085e Logitech, Inc. Logitech BRIO Bus 001 Device 003: ID 09e8:0045 AKAI Professional M.I. Corp. MPK Mini Mk II MIDI Controller Bus 001 Device 002: ID 0b05:1825 ASUSTek Computer, Inc. Qualcomm Bluetooth 4.1 Bus 001 Device 006: ID 145f:024b Trust Trust Wired Keyboard Bus 001 Device 007: ID 1d57:ad17 Xenta ZELOTES GAME MOUSE Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub * DRM Information (journalctl -k -b | grep -o 'kernel:.*drm.*$' | cut -d ' ' -f 2- ): [drm] amdgpu kernel modesetting enabled. fb0: switching to amdgpudrmfb from EFI VGA [drm] initializing kernel modesetting (VEGA20 0x1002:0x66AF 0x1002:0x081E 0xC1). [drm] register mmio base: 0xFCB00000 [drm] register mmio size: 524288 [drm] add ip block number 0 [drm] add ip block number 1 [drm] add ip block number 2 [drm] add ip block number 3 [drm] add ip block number 4 [drm] add ip block number 5 [drm] add ip block number 6 [drm] add ip block number 7 [drm] add ip block number 8 [drm] add ip block number 9 [drm] UVD(0) is enabled in VM mode [drm] UVD(1) is enabled in VM mode [drm] UVD(0) ENC is enabled in VM mode [drm] UVD(1) ENC is enabled in VM mode [drm] VCE enabled in VM mode [drm] vm size is 262144 GB, 4 levels, block size is 9-bit, fragment size is 9-bit [drm] Detected VRAM RAM=16368M, BAR=256M [drm] RAM width 4096bits HBM [drm] amdgpu: 16368M of VRAM memory ready [drm] amdgpu: 16368M of GTT memory ready. [drm] GART: num cpu pages 131072, num gpu pages 131072 [drm] PCIE GART of 512M enabled (table at 0x0000008000300000). [drm] Found UVD firmware ENC: 1.2 DEC: .43 Family ID: 19 [drm] PSP loading UVD firmware [drm] Found VCE firmware Version: 57.6 Binary ID: 4 [drm] PSP loading VCE firmware [drm] reserve 0x400000 from 0x83fec00000 for PSP TMR [drm] kiq ring mec 2 pipe 1 q 0 [drm] Display Core initialized with v3.2.104! [drm] UVD and UVD ENC initialized successfully. [drm] VCE initialized successfully. [drm] fb mappable at 0xE0959000 [drm] vram apper at 0xE0000000 [drm] size 19906560 [drm] fb depth is 24 [drm] pitch is 13824 fbcon: amdgpudrmfb (fb0) is primary device amdgpu 0000:0d:00.0: [drm] fb0: amdgpudrmfb frame buffer device [drm] Initialized amdgpu 3.40.0 20150101 for 0000:0d:00.0 on minor 0 * Xorg modules (grep LoadModule /var/log/Xorg.0.log ~/.local/share/xorg/Xorg.0.log | cut -d \" -f 2 | xargs): glx amdgpu ati radeon modesetting fbdev vesa fbdevhw fb dri2 glamoregl ramdac libinput * GL Support (glxinfo | grep -E "OpenGL version|OpenGL renderer"): OpenGL renderer string: AMD Radeon VII (VEGA20, DRM 3.40.0, 5.10.9-201.fc33.x86_64, LLVM 11.0.0) OpenGL version string: 4.6 (Compatibility Profile) Mesa 20.3.3 * Xorg errors (grep '^\[.*(EE)' /var/log/Xorg.0.log ~/.local/share/xorg/Xorg.0.log | cut -d ':' -f 2- ): [ 23882.071] (EE) event3 - SEMICO Trust Wired Keyboard: client bug: event processing lagging behind by 23ms, your system is too slow [ 26328.538] (EE) event3 - SEMICO Trust Wired Keyboard: client bug: event processing lagging behind by 14ms, your system is too slow [ 26703.167] (EE) event3 - SEMICO Trust Wired Keyboard: client bug: event processing lagging behind by 29ms, your system is too slow [ 27254.938] (EE) event3 - SEMICO Trust Wired Keyboard: client bug: event processing lagging behind by 33ms, your system is too slow [ 28592.084] (EE) event3 - SEMICO Trust Wired Keyboard: client bug: event processing lagging behind by 21ms, your system is too slow [ 29737.977] (EE) event3 - SEMICO Trust Wired Keyboard: client bug: event processing lagging behind by 22ms, your system is too slow [ 30311.456] (EE) event3 - SEMICO Trust Wired Keyboard: client bug: event processing lagging behind by 32ms, your system is too slow [ 31027.544] (EE) event3 - SEMICO Trust Wired Keyboard: client bug: event processing lagging behind by 17ms, your system is too slow [ 65641.903] (EE) event3 - SEMICO Trust Wired Keyboard: client bug: event processing lagging behind by 23ms, your system is too slow [102414.603] (EE) event3 - SEMICO Trust Wired Keyboard: client bug: event processing lagging behind by 12ms, your system is too slow [103826.055] (EE) event3 - SEMICO Trust Wired Keyboard: client bug: event processing lagging behind by 24ms, your system is too slow [104286.367] (EE) event3 - SEMICO Trust Wired Keyboard: client bug: event processing lagging behind by 31ms, your system is too slow [104374.050] (EE) event3 - SEMICO Trust Wired Keyboard: client bug: event processing lagging behind by 17ms, your system is too slow [111278.504] (EE) event7 - ZLY ZELOTES GAME MOUSE: client bug: event processing lagging behind by 124ms, your system is too slow [114794.283] (EE) event3 - SEMICO Trust Wired Keyboard: client bug: event processing lagging behind by 20ms, your system is too slow [116422.089] (EE) event3 - SEMICO Trust Wired Keyboard: client bug: event processing lagging behind by 17ms, your system is too slow [117879.555] (EE) event3 - SEMICO Trust Wired Keyboard: client bug: event processing lagging behind by 23ms, your system is too slow [119364.104] (EE) event3 - SEMICO Trust Wired Keyboard: client bug: event processing lagging behind by 28ms, your system is too slow [119915.987] (EE) event3 - SEMICO Trust Wired Keyboard: client bug: event processing lagging behind by 29ms, your system is too slow [120554.073] (EE) event3 - SEMICO Trust Wired Keyboard: client bug: event processing lagging behind by 32ms, your system is too slow [126507.594] (EE) event3 - SEMICO Trust Wired Keyboard: client bug: event processing lagging behind by 24ms, your system is too slow [127504.971] (EE) event3 - SEMICO Trust Wired Keyboard: client bug: event processing lagging behind by 25ms, your system is too slow [128269.945] (EE) event3 - SEMICO Trust Wired Keyboard: client bug: event processing lagging behind by 17ms, your system is too slow [193225.271] (EE) event3 - SEMICO Trust Wired Keyboard: client bug: event processing lagging behind by 14ms, your system is too slow [197628.944] (EE) event3 - SEMICO Trust Wired Keyboard: client bug: event processing lagging behind by 17ms, your system is too slow [197634.041] (EE) event3 - SEMICO Trust Wired Keyboard: client bug: event processing lagging behind by 33ms, your system is too slow [197788.651] (EE) event3 - SEMICO Trust Wired Keyboard: client bug: event processing lagging behind by 19ms, your system is too slow [216002.069] (EE) event3 - SEMICO Trust Wired Keyboard: client bug: event processing lagging behind by 31ms, your system is too slow * Kernel buffer tail (dmesg | tail): [214756.158881] wlp6s0: authenticate with b6:c4:40:89:8b:f4 [214756.212074] wlp6s0: send auth to b6:c4:40:89:8b:f4 (try 1/3) [214756.320436] wlp6s0: send auth to b6:c4:40:89:8b:f4 (try 2/3) [214756.326458] wlp6s0: authenticated [214756.327410] wlp6s0: associate with b6:c4:40:89:8b:f4 (try 1/3) [214756.341557] wlp6s0: RX AssocResp from b6:c4:40:89:8b:f4 (capab=0x1431 status=0 aid=5) [214756.343713] wlp6s0: associated [214756.361502] IPv6: ADDRCONF(NETDEV_CHANGE): wlp6s0: link becomes ready [214756.393780] wlp6s0: Limiting TX power to 30 (30 - 0) dBm as advertised by b6:c4:40:89:8b:f4 [215317.939882] wlp6s0: deauthenticating from b6:c4:40:89:8b:f4 by local choice (Reason: 3=DEAUTH_LEAVING) * Last few reboots (last -x -n10 reboot runlevel): runlevel (to lvl 5) 5.10.9-201.fc33. Mon Jan 25 05:18 still running reboot system boot 5.10.9-201.fc33. Mon Jan 25 05:17 still running runlevel (to lvl 5) 5.10.9-201.fc33. Sun Jan 24 12:09 - 05:18 (17:08) reboot system boot 5.10.9-201.fc33. Sun Jan 24 12:08 still running runlevel (to lvl 5) 5.10.8-200.fc33. Fri Jan 22 08:57 - 12:08 (2+03:10) reboot system boot 5.10.8-200.fc33. Fri Jan 22 08:56 - 12:08 (2+03:11) reboot system boot 5.10.8-200.fc33. Fri Jan 22 00:14 - 00:14 (00:00) runlevel (to lvl 5) 5.10.8-200.fc33. Wed Jan 20 09:24 - 00:13 (1+14:49) reboot system boot 5.10.8-200.fc33. Wed Jan 20 09:24 - 00:13 (1+14:49) reboot system boot 5.10.8-200.fc33. Wed Jan 20 09:15 - 00:13 (1+14:58) wtmp begins Wed Oct 28 01:12:12 2020 * DNF Repositories (dnf repolist): repo id repo name copr:copr.fedorainfracloud.org:elxreno:go-ipfs Copr repo for go-ipfs owned by elxreno copr:copr.fedorainfracloud.org:rodrigofarias77:budgie-desktop Copr repo for budgie-desktop owned by rodrigofarias77 copr:copr.fedorainfracloud.org:zawertun:crystal Copr repo for crystal owned by zawertun crystal Crystal fedora Fedora 33 - x86_64 fedora-cisco-openh264 Fedora 33 openh264 (From Cisco) - x86_64 fedora-modular Fedora Modular 33 - x86_64 google-chrome google-chrome google-cloud-sdk Google Cloud SDK hashicorp Hashicorp Stable - x86_64 kubernetes Kubernetes rpmfusion-free RPM Fusion for Fedora 33 - Free rpmfusion-free-updates RPM Fusion for Fedora 33 - Free - Updates rpmfusion-nonfree RPM Fusion for Fedora 33 - Nonfree rpmfusion-nonfree-updates RPM Fusion for Fedora 33 - Nonfree - Updates updates Fedora 33 - x86_64 - Updates updates-modular Fedora Modular 33 - x86_64 - Updates * DNF Extras (dnf -C list extras): Crystal 11 kB/s | 3.1 kB 00:00 Is this ok [y/N]: Google Cloud SDK 11 kB/s | 3.6 kB 00:00 Is this ok [y/N]: Is this ok [y/N]: Is this ok [y/N]: Google Cloud SDK 3.1 kB/s | 975 B 00:00 Is this ok [y/N]: Kubernetes 13 kB/s | 3.6 kB 00:00 Is this ok [y/N]: Is this ok [y/N]: Is this ok [y/N]: Kubernetes 3.2 kB/s | 975 B 00:00 Is this ok [y/N]: Last metadata expiration check: 0:12:54 ago on Wed 27 Jan 2021 05:21:26 PM CST. Extra Packages google-cloud-sdk.x86_64 325.0.0-1 @google-cloud-sdk kubectl.x86_64 1.20.2-0 @kubernetes minikube.x86_64 1.17.0-0 @@commandline trezor-bridge.x86_64 2.0.27-1 @@commandline * Last 20 packages installed (rpm -qa --nodigest --nosignature --last | head -20): openssl-devel-1.1.1i-1.fc33.x86_64 Wed 27 Jan 2021 05:31:02 PM CST libyaml-devel-0.2.5-3.fc33.x86_64 Wed 27 Jan 2021 05:31:01 PM CST libxml2-devel-2.9.10-8.fc33.x86_64 Wed 27 Jan 2021 05:31:01 PM CST gpm-devel-1.20.7-24.fc33.x86_64 Wed 27 Jan 2021 05:31:01 PM CST gc-devel-8.0.4-4.fc33.x86_64 Wed 27 Jan 2021 05:31:01 PM CST xz-devel-5.2.5-4.fc33.x86_64 Wed 27 Jan 2021 05:31:00 PM CST crystal-0.35.1-1.x86_64 Wed 27 Jan 2021 05:15:10 PM CST pcre-utf32-8.44-2.fc33.x86_64 Wed 27 Jan 2021 05:15:09 PM CST pcre-utf16-8.44-2.fc33.x86_64 Wed 27 Jan 2021 05:15:09 PM CST pcre-devel-8.44-2.fc33.x86_64 Wed 27 Jan 2021 05:15:09 PM CST pcre-cpp-8.44-2.fc33.x86_64 Wed 27 Jan 2021 05:15:09 PM CST libevent-devel-2.1.8-10.fc33.x86_64 Wed 27 Jan 2021 05:15:09 PM CST kernel-devel-5.10.10-200.fc33.x86_64 Wed 27 Jan 2021 06:50:23 AM CST pango-1.48.1-1.fc33.x86_64 Wed 27 Jan 2021 06:50:12 AM CST mtr-0.94-1.fc33.x86_64 Wed 27 Jan 2021 06:50:12 AM CST libpskc-2.6.6-1.fc33.x86_64 Wed 27 Jan 2021 06:50:12 AM CST libaom-2.0.1-3.fc33.x86_64 Wed 27 Jan 2021 06:50:12 AM CST fuse-overlayfs-1.4.0-1.fc33.x86_64 Wed 27 Jan 2021 06:50:12 AM CST crun-0.17-1.fc33.x86_64 Wed 27 Jan 2021 06:50:12 AM CST urw-base35-fonts-legacy-20200910-2.fc33.noarch Wed 27 Jan 2021 06:50:11 AM CST * EFI boot manager output (efibootmgr -v): BootCurrent: 0000 Timeout: 1 seconds BootOrder: 0000,0022,0018,0001,0002,0003 Boot0000* Fedora HD(1,GPT,1c6865f5-cd08-411d-aaf6-c53c3fca0c57,0x800,0x12c000)/File(\EFI\FEDORA\SHIMX64.EFI) Boot0001* UEFI:CD/DVD Drive BBS(129,,0x0) Boot0002* UEFI:Removable Device BBS(130,,0x0) Boot0003* UEFI:Network Device BBS(131,,0x0) Boot0018 Hard Drive BBS(HD,,0x0)..GO..NO........q.S.a.m.s.u.n.g. .S.S.D. .9.6.0. .P.R.O. .5.1.2.G.B....................A...........................%8Vq..a.....4..Gd-.;.A..MQ..L.S.3.E.W.N.X.0.J.6.0.1.3.7.7.T........BO..NO........u.S.T.4.0.0.0.D.M.0.0.5.-.2.D.P.1.6.6....................A.................................>..Gd-.;.A..MQ..L. . . . . . . . . . . . .G.Z.0.Y.F.J.Z.9........BO Boot0022* Fedora HD(1,GPT,1c6865f5-cd08-411d-aaf6-c53c3fca0c57,0x800,0x12c000)/File(\EFI\FEDORA\SHIM.EFI)..BO ```
bcardiff commented 3 years ago

This has always been the case for rpm packages since there are no "recommended dependencies" as in deb packages.

gc-devel is not needed because a libgc.a is already available in the embedded lib directory.

The other packages are not mandatory for every crystal program, hence they are not dependencies. It could be better to have them for a nicer experiencie, but then if instead of openssl you prefer libressl, how that dependency should be expressed in rpm?

For the record, these are expressed at https://github.com/crystal-lang/distribution-scripts/blob/37e0f6c569547190e12e0580cbbdf19ee622eb37/bintray/Makefile#L220-L221

j8r commented 3 years ago

Man, all of the system info are absolutely not needed here :astonished:

renich commented 3 years ago

OK, well, we have weak and very weak deps: https://rpm.org/user_doc/dependencies.html#weak-dependencies

In any case, it's better to include them. They don't take a lot of space and you definitely want the crystal experience to be complete, IMHO.

Thank you for the gc-devel suggestion, btw.

oprypin commented 3 years ago

Man, all of the system info are absolutely not needed here 😲

@renich You can edit your post to add a spoiler

My system's info:
<details>

foo

renich commented 3 years ago

@oprypin done.

straight-shoota commented 3 years ago

The new packages at OBS (https://build.opensuse.org/package/show/devel:languages:crystal/crystal) include package recommendations. It seems that support for optional dependencies may not be as widely supported on RPM-based distributions as with deb.

But many recent distro releases seem to support it. I checked with Fedora 33:

$ dnf repoquery --arch x86_64 crystal --recommends
Last metadata expiration check: 0:01:06 ago on Fri May  7 12:03:08 2021.
libgmp-devel
libssl-devel
libxml2-devel
libyaml-devel
libz-devel