Skip to content

Instantly share code, notes, and snippets.

View Toasterson's full-sized avatar

Till Wegmüller Toasterson

View GitHub Profile
@Toasterson
Toasterson / build_log.txt
Created December 3, 2025 20:01
rust_bootstrap_iaaue
configure: processing command line
configure:
configure: build.configure-args := ['--prefix=/usr', '--mandir=/usr/share/man', ' ...
configure: install.prefix := /usr
configure: install.mandir := /usr/share/man
configure: install.bindir := /usr/bin
configure: install.libdir := /usr/lib
configure: install.docdir := /usr/share/doc/rust-1.91.1
configure: install.datadir := /usr/share
configure: build.rustc := /usr/bin/rustc
#!/usr/bin/bash
set -ex
ZONE=$1
IP_ADDRESS_CIDR="${2}/16"
NICNAME="${ZONE}0"
INTERNALSTUB="oinetint0"
GATEWAY="10.1.0.1"
RAM="16G"
VCPUS="8"

Aufräumen auf dem offiziellen CI-System (Build- und Repository Server)

on build server:

Clean up packages, produced by illumos-gate job:

svcadm disable svc:/jenkins:default
cd /jenkins/jobs/illumos-gate/workspace/components/openindiana/illumos-gate/
rm -fr build/i386/pkgre*
rm -fr illumos-gate/packages/i386/nightly*
static inline void u_thread_setname( const char *name )
{
#if defined(HAVE_PTHREAD)
#if DETECT_OS_LINUX || DETECT_OS_CYGWIN
int ret = pthread_setname_np(pthread_self(), name);
if (ret == ERANGE) {
char buf[16];
const size_t len = MIN2(strlen(name), ARRAY_SIZE(buf) - 1);
memcpy(buf, name, len);
buf[len] = '\0';
diff --git a/components/openindiana/gfx-drm/Makefile b/components/openindiana/gfx-drm/Makefile
index 7ab7d7e199..7acd07c379 100644
--- a/components/openindiana/gfx-drm/Makefile
+++ b/components/openindiana/gfx-drm/Makefile
@@ -20,8 +20,8 @@ COMPONENT_NAME= gfx-drm
COMPONENT_SRC= $(COMPONENT_NAME)
GIT=git
-GIT_REPO=https://github.com/illumos/gfx-drm.git
-GIT_BRANCH=master
@Toasterson
Toasterson / README.md
Created April 7, 2024 15:24
IPS helpers

Small packaging Helper Utilities for OpenIndiana

  • list_dependants.sh lists packages that depend on $1, eg. list-dependants.sh runtime/squeak-4

See https://gist.github.com/Toasterson/90d19ecf4e0b69cfbcd9566a7c098eb8 for the steps.

The problem seems to come from gcc but I have no clue what could be wrong with aarch_aapcs64.s

error: failed to run custom build command for `psm v0.1.21`

Caused by:
  process didn't exit successfully: `/var/lib/abuild/rust/build/x86_64-unknown-illumos/stage1-rustc/release/build/psm-61c9c6ef89c427d5/build-script-build` (exit status: 1)
  --- stdout
@Toasterson
Toasterson / .cargo_config.toml
Last active December 21, 2023 23:12
Making a arm cross compile toolchain for illumos.
# This file allows any cargo project to cross compile.
# Adjust paths to the tools as needed.
# place unser .cargo/config inside the project.
[target.aarch64-unknown-illumos]
linker = "/var/lib/abuild/arm64-gate/build/cross/bin/aarch64-unknown-solaris2.11-gcc"
rustflags = [ "-Clink-arg=--sysroot=/var/lib/abuild/arm64-gate/build/sysroot" ]
@Toasterson
Toasterson / CoWorking Meetup 1 Notes.md
Created November 13, 2023 18:35
CoWorking Meetup 1 Notes
  • There was a tool request for a tool that takes metadata from recipies and shares them between repos and informs people about new versions of packages on (pkgsrc, oi-userland and omnios build tooling)
    • https://repology.org/
      • doesn’t notify maintainers
      • provides a view of which packages are out of date
    • Till has a prototype that will bump versions called “the forge” which will also add activitypub support for friendly forge formatted PR's to upstream activity pub
  • Docs
    • priority is to guide new people into the process of contributing in various ways process
    • What do people need on terms of full tutorials?
  • Two diverging versions of IPS (with OI and OmniOS), but only the differing zone brands are a problem.
  • Rust version is on the backburner - as it was figured out what the slow issue was in the sheer amount of userland incorporations built by the repo.
#!/bin/ksh93
set -e
DISK=$PWD/qemu-setup/illumos-disk.img
POOL=armpool
MNT=/mnt
ROOTFS=ROOT/braich
ROOT=$MNT/$ROOTFS
DISKSIZE=8g