From 23d58e6f4fd5f4d87c914869936e2b958d513c29 Mon Sep 17 00:00:00 2001 From: Michael Daniels Date: Thu, 12 Jun 2025 16:27:54 -0400 Subject: [PATCH] xbursttools: drop Broken with gcc 14; unmaintained both upstream and in nixpkgs. --- pkgs/tools/misc/xburst-tools/default.nix | 68 ------------------------ pkgs/top-level/aliases.nix | 1 + pkgs/top-level/all-packages.nix | 7 --- 3 files changed, 1 insertion(+), 75 deletions(-) delete mode 100644 pkgs/tools/misc/xburst-tools/default.nix diff --git a/pkgs/tools/misc/xburst-tools/default.nix b/pkgs/tools/misc/xburst-tools/default.nix deleted file mode 100644 index 35a94d1952ad1..0000000000000 --- a/pkgs/tools/misc/xburst-tools/default.nix +++ /dev/null @@ -1,68 +0,0 @@ -{ - lib, - stdenv, - fetchgit, - libusb-compat-0_1, - libusb1, - autoconf, - automake, - libconfuse, - pkg-config, - gccCross ? null, -}: - -let - version = "2011-12-26"; -in -stdenv.mkDerivation { - pname = "xburst-tools"; - inherit version; - - src = fetchgit { - url = "git://projects.qi-hardware.com/xburst-tools.git"; - rev = "c71ce8e15db25fe49ce8702917cb17720882e341"; - sha256 = "1hzdngs1l5ivvwnxjwzc246am6w1mj1aidcf0awh9yw0crzcjnjr"; - }; - - preConfigure = '' - sh autogen.sh - ''; - - # Workaround build failure on -fno-common toolchains: - # mipsel-unknown-linux-uclibc-ld: boothandler.o:(.bss+0x8): multiple definition of - # `start_addr'; main.o:(.bss+0x8): first defined here - NIX_CFLAGS_COMPILE_FOR_TARGET = "-fcommon"; - - configureFlags = lib.optionals (gccCross != null) [ - "--enable-firmware" - "CROSS_COMPILE=${gccCross.targetPrefix}" - ]; - - hardeningDisable = [ - "pic" - "stackprotector" - ]; - - # Not to strip cross build binaries (this is for the gcc-cross-wrapper) - dontCrossStrip = true; - - nativeBuildInputs = [ - autoconf - automake - pkg-config - ]; - buildInputs = [ - libusb-compat-0_1 - libusb1 - libconfuse - ] ++ lib.optional (gccCross != null) gccCross; - - meta = { - broken = stdenv.hostPlatform.isDarwin; - description = "Qi tools to access the Ben Nanonote USB_BOOT mode"; - license = lib.licenses.gpl3; - homepage = "http://www.linux-mtd.infradead.org/"; - maintainers = [ ]; - platforms = lib.platforms.x86_64; - }; -} diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index 211293f8958b6..eee5469f69131 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -2086,6 +2086,7 @@ mapAliases { xarchive = throw "'xarchive' has been removed due to lack of maintenance upstream. Consider using 'file-roller' instead"; # Added 2024-10-19 xbmc-retroarch-advanced-launchers = throw "'xbmc-retroarch-advanced-launchers' has been renamed to/replaced by 'kodi-retroarch-advanced-launchers'"; # Converted to throw 2024-10-17 xboxdrv = throw "'xboxdrv' has been dropped as it has been superseded by an in-tree kernel driver"; # Added 2024-12-25 + xbursttools = throw "'xbursttools' has been removed as it is broken and unmaintained upstream."; # Added 2025-06-12 xdg_utils = throw "'xdg_utils' has been renamed to/replaced by 'xdg-utils'"; # Converted to throw 2024-10-17 xdragon = dragon-drop; # Added 2025-03-22 xen-light = throw "'xen-light' has been renamed to/replaced by 'xen-slim'"; # Added 2024-06-30 diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 11f7db61d8647..1f588d01d1078 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4782,13 +4782,6 @@ with pkgs; ocamlPackages = ocaml-ng.ocamlPackages_4_14; }; - xbursttools = callPackage ../tools/misc/xburst-tools { - # It needs a cross compiler for mipsel to build the firmware it will - # load into the Ben Nanonote - gccCross = pkgsCross.ben-nanonote.buildPackages.gccWithoutTargetLibc; - autoconf = buildPackages.autoconf269; - }; - clipbuzz = callPackage ../tools/misc/clipbuzz { zig = buildPackages.zig_0_12; };