Skip to content

Instantly share code, notes, and snippets.

@X547
X547 / Configure.sh
Created July 22, 2024 15:54
gdb-haiku configure script
#!sh
basePath="$PWD"
mkdir -p build.$(getarch)
cd build.$(getarch)
../source/configure \
--disable-nls \
--disable-binutils \
--disable-ld \
--disable-gold \
This log is saved to: C:\Users\chugi\AppData\Local\Temp\gdb-cmds10242353604287662790.log
NB build: 21-b15c9b7692b2764be5a997d056e2283b72ae9131
=thread-group-added,id="i1"
~"GNU gdb (GDB) 15.1.90.20240710-git\n"
~"Copyright (C) 2024 Free Software Foundation, Inc.\n"
~"License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law."
~"\nType \"show copying\" and \"show warranty\" for details.\n"
~"This GDB was configured as \"x86_64-unknown-haiku\".\n"
This log is saved to: C:\Users\chugi\AppData\Local\Temp\gdb-cmds13681009269629460136.log
NB build: 21-b15c9b7692b2764be5a997d056e2283b72ae9131
=thread-group-added,id="i1"
~"GNU gdb (GDB) 15.1.90.20240710-git\n"
~"Copyright (C) 2024 Free Software Foundation, Inc.\n"
~"License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law."
~"\nType \"show copying\" and \"show warranty\" for details.\n"
~"This GDB was configured as \"x86_64-unknown-haiku\".\n"
This log is saved to: C:\Users\chugi\AppData\Local\Temp\gdb-cmds16349666146967068135.log
NB build: 21-b15c9b7692b2764be5a997d056e2283b72ae9131
=thread-group-added,id="i1"
~"GNU gdb (GDB) 15.1.90.20240710-git\n"
~"Copyright (C) 2024 Free Software Foundation, Inc.\n"
~"License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law."
~"\nType \"show copying\" and \"show warranty\" for details.\n"
~"This GDB was configured as \"x86_64-unknown-haiku\".\n"
This log is saved to: C:\Users\chugi\AppData\Local\Temp\gdb-cmds10274819212708187465.log
NB build: 21-b15c9b7692b2764be5a997d056e2283b72ae9131
=thread-group-added,id="i1"
~"GNU gdb (GDB) 15.1.90.20240710-git\n"
~"Copyright (C) 2024 Free Software Foundation, Inc.\n"
~"License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law."
~"\nType \"show copying\" and \"show warranty\" for details.\n"
~"This GDB was configured as \"x86_64-unknown-haiku\".\n"
This log is saved to: C:\Users\chugi\AppData\Local\Temp\gdb-cmds5654615719044095433.log
NB build: 21-b15c9b7692b2764be5a997d056e2283b72ae9131
=thread-group-added,id="i1"
~"GNU gdb (GDB) 15.1.90.20240710-git\n"
~"Copyright (C) 2024 Free Software Foundation, Inc.\n"
~"License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law."
~"\nType \"show copying\" and \"show warranty\" for details.\n"
~"This GDB was configured as \"x86_64-unknown-haiku\".\n"
This log is saved to: C:\Users\chugi\AppData\Local\Temp\gdb-cmds1441430974825977309.log
NB build: 21-b15c9b7692b2764be5a997d056e2283b72ae9131
=thread-group-added,id="i1"
~"GNU gdb (GDB) 15.1.90.20240710-git\n"
~"Copyright (C) 2024 Free Software Foundation, Inc.\n"
~"License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law."
~"\nType \"show copying\" and \"show warranty\" for details.\n"
~"This GDB was configured as \"x86_64-unknown-haiku\".\n"
This log is saved to: C:\Users\chugi\AppData\Local\Temp\gdb-cmds13778298230989587987.log
NB build: 21-b15c9b7692b2764be5a997d056e2283b72ae9131
=thread-group-added,id="i1"
~"GNU gdb (GDB) 15.1.90.20240710-git\n"
~"Copyright (C) 2024 Free Software Foundation, Inc.\n"
~"License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law."
~"\nType \"show copying\" and \"show warranty\" for details.\n"
~"This GDB was configured as \"x86_64-unknown-haiku\".\n"
@X547
X547 / gist:d165a8d988258cf7e037eaac01c43118
Created July 6, 2024 17:53
Firefox Haiku build failure
/boot/data/packages/gecko-dev> ln -s haiku_mozconfig mozconfig
/boot/data/packages/gecko-dev> ./mach build
Mach and the build system store shared state in a common directory
on the filesystem. The following directory will be created:
/boot/home/.mozbuild
If you would like to use a different directory, hit CTRL+c, set the
MOZBUILD_STATE_PATH environment variable to the directory you'd like to
use, and run Mach again.
haikuporter coreutils
Checking if any dependency-infos need to be updated ...
Looking for stale dependency-infos ...
----------------------------------------------------------------------
sys-apps::coreutils-9.0
/Haiku-nvme/data/haikuports2/sys-apps/coreutils/coreutils-9.0.recipe
----------------------------------------------------------------------
Skipping download of source for coreutils-9.0.tar.xz
Validating checksum of coreutils-9.0.tar.xz
Unpacking source of coreutils-9.0.tar.xz