Skip to content

Instantly share code, notes, and snippets.

View Gottox's full-sized avatar

Enno T. Boland Gottox

View GitHub Profile
/usr/lib shlib="libfoo.so"; pattern="^lib[[:alnum:]_-]+\.so(\.[0-9]+)*$"; [[ $shlib =~ $pattern ]] && echo yes
yes
/usr/lib shlib="libfoo.so.33"; pattern="^lib[[:alnum:]_-]+\.so(\.[0-9]+)*$"; [[ $shlib =~ $pattern ]] && echo yes
yes
/usr/lib shlib="libfoo.so.33.2"; pattern="^lib[[:alnum:]_-]+\.so(\.[0-9]+)*$"; [[ $shlib =~ $pattern ]] && echo yes
yes
/usr/lib shlib="libfoo.so.33.2."; pattern="^lib[[:alnum:]_-]+\.so(\.[0-9]+)*$"; [[ $shlib =~ $pattern ]] && echo yes
/usr/lib gist
(type a gist. <ctrl-c> to cancel, <ctrl-d> when done)
grep 'System V interface script for printer' * -r
builddir/cups-filters-1.0.48/utils/cups-browsed.c: "# System V interface script for printer %s generated by cups-browsed\n"
~/dev/src/xbps-packages/srcpkgs(master ✗) sudo xbps-install -Su
[*] Updating `http://repo.voidlinux.eu/current/x86_64-repodata' ...
[*] Updating `http://repo.voidlinux.eu/current/nonfree/x86_64-repodata' ...
1 package will be installed:
libgimp-2.8.10_3
76 packages will be updated:
libglapi-10.1.0_7 libGL-10.1.0_7 libOpenVG-10.1.0_7 libGLES-10.1.0_7 libgbm-10.1.0_7 libEGL-10.1.0_7 libOSMesa-10.1.0_7 libwayland-egl-10.1.0_7
libxatracker-10.1.0_7 MesaLib-devel-10.1.0_7 bash-4.3.008_1 expat-2.1.0_4 expat-32bit-2.1.0_4 expat-devel-2.1.0_4 firefox-28.0_2 folks-0.9.6_4
fprintd-0.5.1_4 gimp-2.8.10_3 glibc-2.19_6 glibc-32bit-2.19_6 glibc-dbg-2.19_6 glibc-devel-2.19_6 glibc-locales-2.19_6 gnucash-2.6.2_2
goffice0.8-0.8.17_4 gst-ffmpeg-0.10.13_3 gst-libav-1:1.2.3_2 gst-plugins-bad1-1:1.2.3_2 gst-plugins-base-0.10.36_6 gst-plugins-base1-1:1.2.3_2
~/dev/src/xbps-bulk(master ✔) xbps-repo-checkvers
Error: while processing dir '/home/tox/dev/src/xbps-packages/srcpkgs': No such file or directory
~/dev/src/xbps-bulk(master ✔) ls /home/tox/dev/src/xbps-packages/srcpkgs | wc -l
3405
[*] Updating `http://repo.voidlinux.eu/current/x86_64-repodata' ...
[*] Updating `http://repo.voidlinux.eu/current/nonfree/x86_64-repodata' ...
[*] Updating `http://repo.voidlinux.eu/current/armv6l-repodata' ...
[*] Updating `http://repo.voidlinux.eu/current/nonfree/armv6l-repodata' ...
=> mongodb-2.6.0_1: required dependencies:
[host] scons>=0: found 'scons-2.3.0_2'.
[target] boost-devel>=0: found 'boost-devel-1.54.0_2'.
[target] pcre-devel>=0: found 'pcre-devel-8.35_1'.
[target] snappy-devel>=0: found 'snappy-devel-1.1.0_1'.
[target] openssl-devel>=0: found 'openssl-devel-1.0.1g_1'.
~ steam
Running Steam on void 64-bit
STEAM_RUNTIME is enabled automatically
Installing breakpad exception handler for appid(steam)/version(0_client)
libGL error: Couldn't dlopen libudev.so.1 or libudev.so.0, driver detection may be broken.
steam: loader.c:129: asserted_dlsym: Assertion `result' failed.
ILocalize::AddFile() failed to load file "public/steambootstrapper_english.txt".
[2014-04-08 22:03:04] Startup - updater built Feb 10 2014 16:03:16
Uploading dump (out-of-process) [proxy '']
/tmp/dumps/crash_20140408220304_1.dmp
diff --git a/common/xbps-src/shutils/build_dependencies.sh b/common/xbps-src/shutils/build_dependencies.sh
index ac7aabc..67f62d7 100644
--- a/common/xbps-src/shutils/build_dependencies.sh
+++ b/common/xbps-src/shutils/build_dependencies.sh
@@ -246,3 +246,12 @@ install_pkg_deps() {
TARGETPKG_PKGDEPS_DONE=1
fi
}
+
+bulk_build() {
@Gottox
Gottox / -
Created April 21, 2014 07:07
[*] Updating `http://repo.voidlinux.eu/current/x86_64-repodata' ...
[*] Updating `http://repo.voidlinux.eu/current/nonfree/x86_64-repodata' ...
=> openjdk-2.4.3_1: required dependencies:
[host] jdk>=0: found 'jdk-7u51_3'.
[host] apache-ant>=0: found 'apache-ant-1.9.3_1'.
[host] zip>=0: found 'zip-3.0_2'.
[host] autoconf>=0: found 'autoconf-2.69_3'.
[host] automake>=0: found 'automake-1.14.1_3'.
[host] wget>=0: found 'wget-1.15_1'.
[host] unzip>=0: found 'unzip-6.0_3'.
@Gottox
Gottox / -
Created August 15, 2014 10:22
# Common configuration
# Default pivot location
#lxc.pivotdir = lxc_putold
# Default mount entries
#lxc.mount.entry = run run tmpfs rw,nosuid,nodev,mode=755 0 0
#lxc.mount.entry = proc proc proc nodev,noexec,nosuid 0 0
#lxc.mount.entry = sysfs sys sysfs defaults 0 0
~/dev/src/node-pdfutils/3rd/pdfium(master ✔) xbps-query -Rf gyp-svn-r1938_2
*** Error in `xbps-query': double free or corruption (!prev): 0x00007fec58d99990 ***
======= Backtrace: =========
/usr/lib/libc.so.6(+0x74f8b)[0x7fec5728cf8b]
/usr/lib/libc.so.6(+0x7a9f6)[0x7fec572929f6]
/usr/lib/libc.so.6(+0x7bba2)[0x7fec57293ba2]
/usr/lib/libxbps.so.2(xbps_get_pkg_plist_from_binpkg+0x232)[0x7fec575e6622]
/usr/lib/libxbps.so.2(xbps_rpool_get_pkg_plist+0x43)[0x7fec575e9893]
xbps-query(+0x3e5d)[0x7fec57c40e5d]
xbps-query(+0x25bc)[0x7fec57c3f5bc]