Skip to content

Instantly share code, notes, and snippets.

View Gottox's full-sized avatar

Enno T. Boland Gottox

View GitHub Profile
~/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]
@Gottox
Gottox / -
Created August 25, 2014 12:32
~/src/xbps-packages(master ✔) ./xbps-src chroot
[*] 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/multilib/x86_64-repodata' ...
[*] Updating `http://repo.voidlinux.eu/current/multilib/nonfree/x86_64-repodata' ...
[tox@/home/tox/dev/src/xbps-packages/masterdir /]$ xbps-uhelper fetch http://www.kernel.org/pub/linux/kernel/v3.x/linux-3.10.6.tar.xz
looking up www.kernel.org
connecting to www.kernel.org:80
requesting http://www.kernel.org/pub/linux/kernel/v3.x/linux-3.10.6.tar.xz
301 redirect to https://www.kernel.org/pub/linux/kernel/v3.x/linux-3.10.6.tar.xz
@Gottox
Gottox / -
Created August 27, 2014 18:12
# 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
@Gottox
Gottox / -
Created September 1, 2014 22:41
ii cpupower-3.15_2 Linux kernel tool to set CPU power features
ii libcpupower-3.15_2 Linux kernel tool to set CPU power features - runtime library
ii libupower-glib1-0.9.23_4 Abstraction for enumerating power devices - runtime library
ii libupower-glib2-0.99.0_3 Abstraction for enumerating power devices - runtime library
ii upower-0.99.0_3 Abstraction for enumerating power devices
ii upower0-0.9.23_4 Abstraction for enumerating power devices
@Gottox
Gottox / -
Created September 3, 2014 15:19
diff --git a/Manual.md b/Manual.md
index 7bf20d2..d35acfe 100644
--- a/Manual.md
+++ b/Manual.md
@@ -120,15 +120,15 @@ Example: python-pam, perl-URI, python-pyside
#### Language Bindings
-Language Bindings are similiar to Language Modules described above. They're
-main difference is that bindings are loosely coupled to that language.
@Gottox
Gottox / -
Created September 6, 2014 20:34
3147 Juan RP <[email protected]>
193 Enno Boland <[email protected]>
176 Ypnose <linuxienATlegtuxDOTorg>
163 Christian Neukirchen <[email protected]>
71 Alessio Sergi <[email protected]>
60 Carlo Dormeletti <[email protected]>
50 Dominik Honnef <[email protected]>
47 Steven R <[email protected]>
39 Martin Riese <[email protected]>
29 John Galt <[email protected]>
@Gottox
Gottox / -
Created September 11, 2014 09:33
diff --git a/lib/repo_sync.c b/lib/repo_sync.c
index e334818..0ae7626 100644
--- a/lib/repo_sync.c
+++ b/lib/repo_sync.c
@@ -131,8 +131,10 @@ xbps_repo_sync(struct xbps_handle *xhp, const char *uri)
xbps_set_cb_state(xhp, XBPS_STATE_REPOSYNC, 0, repodata, NULL);
/*
* Download plist index file from repository.
+ * XXX: replace xbps_fetch_file_dest() by xbps_fetch_delta() once delta
+ * generation works reliable.
@Gottox
Gottox / -
Created September 11, 2014 09:53
make[1]: Entering directory '/home/tox/dev/src/xbps/include'
sed -e "s|@@VERSION@@|0.38|g" xbps.h.in > xbps.h
make[1]: Leaving directory '/home/tox/dev/src/xbps/include'
make[1]: Entering directory '/home/tox/dev/src/xbps/lib'
[CC] package_config_files.o
gcc -I. -I.. -I../include -DXBPS_SYSCONF_PATH=\"/usr/local/etc/xbps\" -DXBPS_VERSION=\"0.38\" -D_unused="__attribute__((__unused__))" -DXBPS_GIT=\"e112480\" -DNDEBUG -D_XOPEN_SOURCE=700 -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DHAVE_VISIBILITY=1 -I../lib/fetch -I../lib/portableproplib -I../lib/portableproplib/prop -DHAVE_VASPRINTF -DHAVE_STRCASESTR -DHAVE_FDATASYNC -DHAVE_CLOCK_GETTIME -O2 -pthread -Wall -Wextra -Werror -Wshadow -Wformat=2 -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wvla -Wno-overlength-strings -Wunsafe-loop-optimizations -Wundef -Wsign-compare -Wmissing-include-dirs -Wold-style-definition -Winit-self -Wredundant-decls -Wfloat-equal -Wmissing-noreturn -Wcast-align -Wcast-qual -Wpointer-arith -Wcomment -Wdeclaration-afte
@Gottox
Gottox / -
Created September 13, 2014 15:03
==7425== Memcheck, a memory error detector
==7425== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==7425== Using Valgrind-3.9.0 and LibVEX; rerun with -h for copyright info
==7425== Command: xbps-query -Rs xbps
==7425==
vex amd64->IR: unhandled instruction bytes: 0x66 0xF 0x1B 0x4 0x24 0x66 0xF 0x1B
vex amd64->IR: REX=0 REX.W=0 REX.R=0 REX.X=0 REX.B=0
vex amd64->IR: VEX=0 VEX.L=0 VEX.nVVVV=0x0 ESC=0F
vex amd64->IR: PFX.66=1 PFX.F2=0 PFX.F3=0
==7425== valgrind: Unrecognised instruction at address 0x4014d57.
@Gottox
Gottox / -
Created September 13, 2014 15:05
==7460== Memcheck, a memory error detector
==7460== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==7460== Using Valgrind-3.9.0 and LibVEX; rerun with -h for copyright info
==7460== Command: echo -Rs xbps
==7460==
vex amd64->IR: unhandled instruction bytes: 0x66 0xF 0x1B 0x4 0x24 0x66 0xF 0x1B
vex amd64->IR: REX=0 REX.W=0 REX.R=0 REX.X=0 REX.B=0
vex amd64->IR: VEX=0 VEX.L=0 VEX.nVVVV=0x0 ESC=0F
vex amd64->IR: PFX.66=1 PFX.F2=0 PFX.F3=0
==7460== valgrind: Unrecognised instruction at address 0x4014d57.