Skip to content

Instantly share code, notes, and snippets.

View christianlupus's full-sized avatar

Christian Wolf christianlupus

  • Saarland University
  • Saarbrücken, Germany
View GitHub Profile
diff --git a/PKGBUILD b/PKGBUILD
index c8c0f64..51feb86 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -16,7 +16,7 @@ source=("https://core.tcl-lang.org/tcllib/uv/tcllib-$pkgver.tar.gz")
sha256sums=('01fe87cf1855b96866cf5394b6a786fd40b314022714b34110aeb6af545f6a9c')
package(){
- cd "$srcdir"/tcllib-tcllib-${pkgver/./-}
+ cd "$srcdir"/tcllib-${pkgver}
diff --git a/PKGBUILD b/PKGBUILD
index 97400e2..53ae83d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -25,7 +25,8 @@ source=("$name::git+https://github.com/NatronGitHub/Natron.git#commit=$com"
sha512sums=('SKIP'
'3150970fe1de1c30fe6e58b999249c6c1157c7f60b6e21c316e6690112aabc0d2908f1735f9b51cc70611297a25cefc59d57dbbe4b7155f8775700d12372ae5d'
- '9ec6c75d0bba8b139f4373e13357a9bb34b41ff2accd0365e09d9a517d93f93090f2a8784ff7bdde2cfbebbc3bad2c06d07563231710e18ff6cdedbfc7b42bee')
+ 'SKIP')
@christianlupus
christianlupus / README.md
Last active July 14, 2019 13:20
Debugging session of cups with Brother Ql-500 and wrong page size

Exact setup

There are 2 machines involved:

  • 192.168.0.249
  • 192.168.0.246 aka localhost

The printer ist physically installed on the 249 machie.

On both machines CUPS is installed and running.

diff --git a/PKGBUILD b/PKGBUILD
index 988814c..36a9c7d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -19,7 +19,7 @@ source=("http://cdn09.foxitsoftware.com/pub/foxit/reader/desktop/linux/2.x/${pkg
"${pkgname}.patch"
"${pkgname}-excluded_files")
sha256sums=('6b579bd4ecdf86f7e70a009886c511da0b5085b831b0d6afc42442cabc249b90'
- '7814e03ea944f5ee5ff791e97c13446a5274989a1679758a92af0405d0fc7dce'
+ '58574d4b9aa4c3658b9188cafd89ad0f09c1c1b3aa86743080d0f4b1d6576541'
Jan 7 09:58:53 vps1 postfix/smtpd[20451]: disconnect from mout.web.de[212.227.17.11] ehlo=2 starttls=1 mail=1 rcpt=1 data=1 quit=1 commands=7
Jan 7 09:58:53 vps1 dovecot: lda(christian): Debug: Loading modules from directory: /usr/lib/dovecot/modules
Jan 7 09:58:53 vps1 dovecot: lda(christian): Debug: Module loaded: /usr/lib/dovecot/modules/lib90_sieve_plugin.so
Jan 7 09:58:53 vps1 dovecot: lda(christian): Debug: Effective uid=1002, gid=1002, home=/home/christian
Jan 7 09:58:53 vps1 dovecot: lda(christian): Debug: Namespace inbox: type=private, prefix=, sep=, inbox=yes, hidden=no, list=yes, subscriptions=yes
location=maildir:~/Mailbox
Jan 7 09:58:53 vps1 dovecot: lda(christian): Debug: maildir++: root=/home/christian/Mailbox, index=, indexpvt=, control=, inbox=/home/christian/Mailbox, alt=
Jan 7 09:58:53 vps1 dovecot: lda(christian): Debug: userdb lookup skipped, username taken from USER environment
Jan 7 09:58:53 vps1 dovecot: lda(christian): Debug: none: root=, index=, indexpvt=, control=, inbox=,
(gdb) bt full
#0 0x00005653402860ed in zend_vm_calc_used_stack (func=0x20, num_args=1) at /tmp/abs/packages/php/trunk/src/php-7.3.0/Zend/zend_execute.h:209
used_stack = 6
used_stack = <optimized out>
#1 zend_vm_stack_push_call_frame (object=0x0, called_scope=0x0, num_args=1, func=0x20, call_info=0) at /tmp/abs/packages/php/trunk/src/php-7.3.0/Zend/zend_execute.h:217
used_stack = 96
used_stack = <optimized out>
#2 ZEND_INIT_NS_FCALL_BY_NAME_SPEC_CONST_HANDLER () at /tmp/abs/packages/php/trunk/src/php-7.3.0/Zend/zend_vm_execute.h:2172
func_name = 0x7f0ca701f440
func = 0x7f0ca701f460
smartctl 6.6 2017-11-05 r4594 [x86_64-linux-4.19.11-arch1-1-ARCH] (local build)
Copyright (C) 2002-17, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Seagate Samsung SpinPoint M9T
Device Model: ST2000LM003 HN-M201RAD
Serial Number: S377J9CH202645
LU WWN Device Id: 5 0004cf 211e03573
Firmware Version: 2BE10001
User Capacity: 2.000.398.934.016 bytes [2,00 TB]
@christianlupus
christianlupus / PKGBUILD.patch
Created November 7, 2018 01:36
Patch to make slic3r-git buildable again
diff --git a/PKGBUILD b/PKGBUILD
index c584f7c..66e7c9a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -198,7 +198,8 @@ package () {
# Icons " current Build.PL is not really geared for installation "
install -d $pkgdir/usr/bin/vendor_perl/var
- install -m 644 $srcdir/$_gitname/var/* $pkgdir/usr/bin/vendor_perl/var/
+ cp -R $srcdir/$_gitname/var/* $pkgdir/usr/bin/vendor_perl/var/
@christianlupus
christianlupus / gist:7b84b4fe0ac4dfd68c9235f617a4e010
Created June 28, 2018 11:09
Octoprint logs with parser errors
2018-06-23 15:22:38,252 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2018-06-23 15:22:38,272 - octoprint.server - INFO - --- Log roll over detected ---------------------------------------------------
2018-06-23 15:22:38,274 - octoprint.server - INFO - OctoPrint 1.3.9rc1
2018-06-23 15:22:38,292 - octoprint.plugin.core - INFO - 32 plugin(s) registered with the system:
| Action Command Prompt Support (bundled) = /home/printer/OctoPrint/virt/lib/python2.7/site-packages/octoprint/plugins/action_command_prompt
| Active Filters (0.0.1) = /home/printer/OctoPrint/virt/lib/python2.7/site-packages/octoprint_active_filters
| Announcement Plugin (bundled) = /home/printer/OctoPrint/virt/lib/python2.7/site-packages/octoprint/plugins/announcements
| Autoscroll (0.0.2) = /home/printer/OctoPrint/virt/lib/python2.7/site-packages/octoprint_autoscroll
| Backlash autocalibration (0.1) = /home/printer/OctoPrint/virt/lib/python2.7/site-packages/octoprint_autocalibration
| Core Wizard (bundled) = /home/printer/Octo
@christianlupus
christianlupus / installation log
Last active June 22, 2018 11:04
Upgrade octoprint
$ ./virt/bin/python setup.py clean 2>&1 | tee /tmp/install.log
/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'project_urls'
warnings.warn(msg)
/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'long_description_content_type'
warnings.warn(msg)
running clean
removing 'build/lib.linux-armv6l-2.7' (and everything under it)
removing 'build/bdist.linux-armv6l' (and everything under it)
'build/scripts-2.7' does not exist -- can't clean it