Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#69246 - [qmk] Some optional dependencies should be required

Attached to Project: Community Packages
Opened by janlugt (janlugt) - Friday, 08 January 2021, 02:23 GMT
Last edited by Morten Linderud (Foxboron) - Tuesday, 12 January 2021, 17:54 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Morten Linderud (Foxboron)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
While trying to compile qmk, I get certain errors, that I could resolve after installing one of the optional dependencies for qmk (arm-none-eabi-newlib). arm-none-eabi-newlib and arm-none-eabi-binutils are listed as
optional, but are very commonly required to build firmwares, so they should probably not be. I ran into the solution on the qmk issue tracker: https://github.com/qmk/qmk_firmware/issues/7738#issuecomment-749024497.

Additional info:
* package version(s): qmk 0.0.37-1
* config and/or log files etc.
* link to upstream bug report, if any: https://github.com/qmk/qmk_firmware/issues/7738#issuecomment-749024497

Steps to reproduce:
install qmk (pacman -S qmk)
check out qmk git repository (git clone --recurse-submodules https://github.com/qmk/qmk_firmware.git)
compile qmk for Massdrop CTRL (qmk compile -kb massdrop/ctrl -km default)

Error:
$ qmk compile -kb massdrop/ctrl -km default
Ψ Compiling keymap with make massdrop/ctrl:default


QMK Firmware 0.11.40
Making massdrop/ctrl with keymap default

arm-none-eabi-gcc (Arch Repository) 8.3.0
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compiling: keyboards/massdrop/ctrl/matrix.c In file included from quantum/quantum.h:28,
from keyboards/massdrop/ctrl/ctrl.h:3,
from keyboards/massdrop/ctrl/matrix.c:18:
tmk_core/common/wait.h:3:10: fatal error: inttypes.h: No such file or directory
#include <inttypes.h>
^~~~~~~~~~~~
compilation terminated.
[ERRORS]
|
|
|
make[1]: *** [tmk_core/rules.mk:412: .build/obj_massdrop_ctrl_default/matrix.o] Error 1
Make finished with errors
make: *** [Makefile:523: massdrop/ctrl:default] Error 1
This task depends upon

Closed by  Morten Linderud (Foxboron)
Tuesday, 12 January 2021, 17:54 GMT
Reason for closing:  Fixed
Additional comments about closing:  qmk-0.0.39-1
Comment by Morten Linderud (Foxboron) - Tuesday, 12 January 2021, 17:38 GMT
*sighs*.

The problem here is that we can just install all the targets, `avr-*` and `arm-*`. My intention was to list all as optional so people can selectively pick the runtimes they need. You probably don't want all of them. So crux of the issue is: Allow users the ability to pick and choose? Or just install everything.

Seems like people want everything and upstream can't communicate what they want me to ship either and complain about an unsupported package even after requesting they fill me inn on what they need.


https://github.com/qmk/qmk_firmware/pull/10509

So shit idk. Adding all of it then.

Loading...