Skip to content

Instantly share code, notes, and snippets.

View leavengood's full-sized avatar

Ryan Leavengood leavengood

  • Boynton Beach, FL
View GitHub Profile
C++ objects/haiku/x86_gcc2/release/kits/media/BufferCache.o
../src/kits/media/BufferCache.cpp: In method `void BPrivate::BufferCache::FlushCacheForPort(long int)':
../src/kits/media/BufferCache.cpp:80: no match for `_Rb_tree_iterator<pair<const long int,BPrivate::buffer_cache_entry>,pair<const long int,BPrivate::buffer_cache_entry> &,pair<const long int,BPrivate::buffer_cache_entry> *> & = void'
../headers/cpp/stl_tree.h:185: candidates are: struct _Rb_tree_iterator<pair<const long int,BPrivate::buffer_cache_entry>,pair<const long int,BPrivate::buffer_cache_entry> &,pair<const long int,BPrivate::buffer_cache_entry> *> & _Rb_tree_iterator<pair<const long int,BPrivate::buffer_cache_entry>,pair<const long int,BPrivate::buffer_cache_entry> &,pair<const long int,BPrivate::buffer_cache_entry> *>::operator =(const _Rb_tree_iterator<pair<const long int,BPrivate::buffer_cache_entry>,pair<const long int,BPrivate::buffer_cache_entry> &,pair<const long int,BPrivate::buffer_cache_entry> *> &)
/media/leavengood/Develop/h
@leavengood
leavengood / gist:2b212304756f27a44b86b38b209fe19d
Created August 13, 2019 05:16
Weird issues with Haiku booting, where it can't load the haiku.hpkg file
Serial log during boot, this is from the boot_loader:
Error: Invalid package file: Total size in header (45501579) doesn't agree with total file size (45462774)
../src/system/boot/loader/file_systems/packagefs/packagefs.cpp:849: Bad data
Investigating the haiku.hpkg file in Linux:
leavengood@dragon /m/l/D/h/src> ls -la ../generated.x86_64/objects/haiku/x86_64/packaging/packages/haiku.hpkg
-rw-r--r-- 1 leavengood leavengood 45501579 Aug 13 01:03 ../generated.x86_64/objects/haiku/x86_64/packaging/packages/haiku.hpkg
leavengood@dragon /m/l/D/h/src> xxd -l 30 ../generated.x86_64/objects/haiku/x86_64/packaging/packages/haiku.hpkg
@leavengood
leavengood / resources.md
Last active September 28, 2018 16:56
Rust Resources

Keybase proof

I hereby claim:

  • I am leavengood on github.
  • I am leavengood (https://keybase.io/leavengood) on keybase.
  • I have a public key ASAqTxyffPLJvYpi_jlD_0tvvBQ5SC1J65iDZkxKl0aCVAo

To claim this, I am signing this object: