Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/wtfutil: new package
@ 2022-04-20 20:01 Yann E. MORIN
  2022-04-21  7:22 ` Arnout Vandecappelle
  2022-04-23 16:26 ` Arnout Vandecappelle
  0 siblings, 2 replies; 4+ messages in thread
From: Yann E. MORIN @ 2022-04-20 20:01 UTC (permalink / raw)
  To: buildroot; +Cc: Yann E. MORIN

Some of wtfutils modules (i.e. plugins) can call to external tools, so
it needs to fork(), so needs an MMU.

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>

---
$ ./utils/test-pkg -c wtf.cfg -d $(pwd)/test-pkg -k -p wtfutil -a
                             andes-nds32 [ 1/45]: SKIPPED
                             arm-aarch64 [ 2/45]: OK
                   bootlin-aarch64-glibc [ 3/45]: OK
               bootlin-arcle-hs38-uclibc [ 4/45]: SKIPPED
                    bootlin-armv5-uclibc [ 5/45]: OK
                     bootlin-armv7-glibc [ 6/45]: OK
                   bootlin-armv7m-uclibc [ 7/45]: SKIPPED
                      bootlin-armv7-musl [ 8/45]: OK
                bootlin-m68k-5208-uclibc [ 9/45]: SKIPPED
               bootlin-m68k-68040-uclibc [10/45]: SKIPPED
             bootlin-microblazeel-uclibc [11/45]: SKIPPED
                bootlin-mipsel32r6-glibc [12/45]: SKIPPED
                   bootlin-mipsel-uclibc [13/45]: SKIPPED
                     bootlin-nios2-glibc [14/45]: SKIPPED
                 bootlin-openrisc-uclibc [15/45]: SKIPPED
        bootlin-powerpc64le-power8-glibc [16/45]: OK
           bootlin-powerpc-e500mc-uclibc [17/45]: SKIPPED
                   bootlin-riscv32-glibc [18/45]: SKIPPED
                   bootlin-riscv64-glibc [19/45]: SKIPPED
                    bootlin-riscv64-musl [20/45]: SKIPPED
                      bootlin-sh4-uclibc [21/45]: SKIPPED
                   bootlin-sparc64-glibc [22/45]: SKIPPED
                    bootlin-sparc-uclibc [23/45]: SKIPPED
                    bootlin-x86-64-glibc [24/45]: OK
                     bootlin-x86-64-musl [25/45]: OK
                   bootlin-x86-64-uclibc [26/45]: OK
                   bootlin-xtensa-uclibc [27/45]: SKIPPED
                            br-arm-basic [28/45]: OK
                    br-arm-full-nothread [29/45]: OK
                      br-arm-full-static [30/45]: SKIPPED
                   br-i386-pentium4-full [31/45]: OK
                br-i386-pentium-mmx-musl [32/45]: OK
                      br-mips64-n64-full [33/45]: OK
                 br-mips64r6-el-hf-glibc [34/45]: SKIPPED
               br-powerpc-603e-basic-cpp [35/45]: SKIPPED
               br-powerpc64-power7-glibc [36/45]: SKIPPED
                       linaro-aarch64-be [37/45]: SKIPPED
                          linaro-aarch64 [38/45]: OK
                              linaro-arm [39/45]: OK
                     sourcery-arm-armv4t [40/45]: SKIPPED
                            sourcery-arm [41/45]: OK
                     sourcery-arm-thumb2 [42/45]: OK
                         sourcery-mips64 [43/45]: FAILED
                           sourcery-mips [44/45]: SKIPPED
                          sourcery-nios2 [45/45]: SKIPPED
45 builds, 26 skipped, 1 build failed, 0 legal-info failed, 0 show-info failed

The failing one is not even a build failure of wtfutil itself, but
really just host-go that fails to build, because of some issues because
of missing GOMIPS64 setting for soft-float, which when fixed opens
another can of worms of itself...
---
 package/Config.in            |  1 +
 package/wtfutil/Config.in    |  8 ++++++++
 package/wtfutil/wtfutil.hash |  2 ++
 package/wtfutil/wtfutil.mk   | 12 ++++++++++++
 4 files changed, 23 insertions(+)
 create mode 100644 package/wtfutil/Config.in
 create mode 100644 package/wtfutil/wtfutil.hash
 create mode 100644 package/wtfutil/wtfutil.mk

diff --git a/package/Config.in b/package/Config.in
index 20d7156cea..f1e8b64e0d 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -2500,6 +2500,7 @@ comment "Utilities"
 	source "package/tmux/Config.in"
 	source "package/ttyd/Config.in"
 	source "package/which/Config.in"
+	source "package/wtfutil/Config.in"
 	source "package/xmlstarlet/Config.in"
 	source "package/xxhash/Config.in"
 	source "package/ytree/Config.in"
diff --git a/package/wtfutil/Config.in b/package/wtfutil/Config.in
new file mode 100644
index 0000000000..8c3efcea5d
--- /dev/null
+++ b/package/wtfutil/Config.in
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_WTFUTIL
+	bool "wtfutil"
+	depends on BR2_USE_MMU  # fork()
+	depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS
+	help
+	  WTF is the personal information dashboard for your terminal.
+
+	  https://wtfutil.com/
diff --git a/package/wtfutil/wtfutil.hash b/package/wtfutil/wtfutil.hash
new file mode 100644
index 0000000000..deb162794e
--- /dev/null
+++ b/package/wtfutil/wtfutil.hash
@@ -0,0 +1,2 @@
+sha256  d15b2e8833d31d5b1ad7b4317777dc7aa045124d1d91994f02c9b5709f09fef3  wtfutil-0.41.0.tar.gz
+sha256  b59f3dbd83c6aa4e003b6eafa80bc53f0629e4d164e8b125c56869c2603dbc8f  LICENSE.md
diff --git a/package/wtfutil/wtfutil.mk b/package/wtfutil/wtfutil.mk
new file mode 100644
index 0000000000..6e841411a9
--- /dev/null
+++ b/package/wtfutil/wtfutil.mk
@@ -0,0 +1,12 @@
+################################################################################
+#
+# wtfutil
+#
+################################################################################
+
+WTFUTIL_VERSION = 0.41.0
+WTFUTIL_SITE = $(call github,wtfutil,wtf,v$(WTFUTIL_VERSION))
+WTFUTIL_LICENSE = MPL-2.0
+WTFUTIL_LICENSE_FILES = LICENSE.md
+
+$(eval $(golang-package))
-- 
2.25.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-04-23 16:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-20 20:01 [Buildroot] [PATCH] package/wtfutil: new package Yann E. MORIN
2022-04-21  7:22 ` Arnout Vandecappelle
2022-04-21 15:39   ` Yann E. MORIN
2022-04-23 16:26 ` Arnout Vandecappelle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox