Skip to content

Instantly share code, notes, and snippets.

View elieux's full-sized avatar

David Macek elieux

View GitHub Profile
@elieux
elieux / build.log
Created February 12, 2015 12:37
scite-build-failure
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
g++ --std=c++0x -DNDEBUG -Os -Wall -pedantic -DGTK -DSCI_LEXER -I ../include -I ../src -I ../lexlib -march=x86-64 -mtune=generic -O2 -pipe -c ../lexlib/Accessor.cxx
g++ --std=c++0x -DNDEBUG -Os -Wall -pedantic -DGTK -DSCI_LEXER -I ../include -I ../src -I ../lexlib -march=x86-64 -mtune=generic -O2 -pipe -c ../lexlib/CharacterSet.cxx
g++ --std=c++0x -DNDEBUG -Os -Wall -pedantic -DGTK -DSCI_LEXER -I ../include -I ../src -I ../lexlib -march=x86-64 -mtune=generic -O2 -pipe -c ../lexlib/LexerBase.cxx
g++ --std=c++0x -DNDEBUG -Os -Wall -pedantic -DGTK -DSCI_LEXER -I ../include -I ../src -I ../lexlib -march=x86-64 -mtune=generic -O2 -pipe -c ../lexlib/LexerModule.cxx
g++ --std=c++0x -DNDEBUG -Os -Wall -pedantic -DGTK -DSCI_LEXER -I ../include -I ../src -I ../lexlib -march=x86-64 -mtune=generic -O2 -pipe -
@elieux
elieux / pacman.log
Created February 12, 2015 13:20
gtk-post-install-warning
$ pacman -S mingw-w64-i686-gtk3
resolving dependencies...
looking for conflicting packages...
warning: dependency cycle detected:
warning: mingw-w64-i686-harfbuzz will be installed before its mingw-w64-i686-freetype dependency
warning: dependency cycle detected:
warning: mingw-w64-i686-cairo will be installed before its mingw-w64-i686-freetype dependency
warning: dependency cycle detected:
warning: mingw-w64-i686-fontconfig will be installed before its mingw-w64-i686-freetype dependency
@elieux
elieux / makepkg.log
Created February 19, 2015 15:52
nssm-build-failure
$ MINGW_INSTALLS=mingw64 makepkg-mingw --sign
==> Making package: mingw-w64-x86_64-nssm 2.23-1 (Thu, Feb 19, 2015 4:51:31 PM)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Updating nssm git repo...
Fetching origin
-> Found messages.h
-> Found messages.rc
-> Found MSG00409.bin
@elieux
elieux / mingw32.cmd
Last active December 26, 2021 23:36
MSYS2 start scripts
@echo off
set MSYSTEM=MINGW32
"%~dp0msys2.cmd" %*
set MSYSTEM=
@elieux
elieux / wget.log
Created February 21, 2015 00:44
SF.net stuff
$ wget http://kent.dl.sourceforge.net/project/msys2/REPOS/MINGW/x86_64/mingw-w64-x86_64-headers-git-5.0.0.4454.f6e2518-1-any.pkg.tar.xz
--2015-02-21 01:14:16-- http://kent.dl.sourceforge.net/project/msys2/REPOS/MINGW/x86_64/mingw-w64-x86_64-headers-git-5.0.0.4454.f6e2518-1-any.pkg.tar.xz
Resolving kent.dl.sourceforge.net (kent.dl.sourceforge.net)... 212.219.56.185
Connecting to kent.dl.sourceforge.net (kent.dl.sourceforge.net)|212.219.56.185|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://downloads.sourceforge.net/project/msys2/REPOS/MINGW/x86_64/mingw-w64-x86_64-headers-git-5.0.0.4454.f6e2518-1-any.pkg.tar.xz?download&failedmirror=kent.dl.sourceforge.net [following]
--2015-02-21 01:14:17-- http://downloads.sourceforge.net/project/msys2/REPOS/MINGW/x86_64/mingw-w64-x86_64-headers-git-5.0.0.4454.f6e2518-1-any.pkg.tar.xz?download&failedmirror=kent.dl.sourceforge.net
Resolving downloads.sourceforge.net (downloads.sourceforge.net)... 216.34.181.59
Connecting to downloads.sou
@elieux
elieux / PKGBUILD
Created March 4, 2015 22:37
mingw-w64-itstool
# Contributor (MSYS2): David Macek <[email protected]>
# Maintainer (Arch Linux): Jan Alexander Steffens (heftig) <[email protected]>
# Contributor (Arch Linux): Michael Pusterhofer <pusterhofer(at)student(dot)tugraz(dot)at>
_realname=itstool
pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}")
pkgver=2.0.2
pkgrel=1
pkgdesc="XML to PO and back again"
arch=('any')
@elieux
elieux / gdb-check.log
Created March 6, 2015 19:55
GDB testsuite fail
make[1]: Entering directory 'srcdir/gdb-7.8.1'
make[2]: Entering directory 'srcdir/gdb-7.8.1/bfd'
make check-recursive
make[2]: Entering directory 'srcdir/gdb-7.8.1/opcodes'
make[2]: Entering directory 'srcdir/gdb-7.8.1/etc'
make[2]: Nothing to be done for 'check'.
make[2]: Leaving directory 'srcdir/gdb-7.8.1/etc'
Making check in .
make[3]: Entering directory 'srcdir/gdb-7.8.1/bfd'
make[3]: Entering directory 'srcdir/gdb-7.8.1/opcodes'
@elieux
elieux / segfault.c
Created March 7, 2015 14:20
Instant crash
typedef int(*fn)();
int main() {
return ((fn)0)();
}
@elieux
elieux / build.log
Created March 12, 2015 21:53
mingw-w64 headers error
D:/msys64/mingw64/x86_64-w64-mingw32/include/comutil.h: At global scope:
D:/msys64/mingw64/x86_64-w64-mingw32/include/comutil.h:246:29: error: declaration of 'WCHAR* _bstr_t::Detach()' has a different exception specifier
inline BSTR _bstr_t::Detach() {
^
In file included from D:/msys64/mingw64/x86_64-w64-mingw32/include/comdef.h:19:0,
from W:/temporary/development/mingw-packages/mingw-w64-far-svn/src/far-netbox/libs/atlmfc/src\mfc\afxglobals.cpp:12,
from W:/temporary/development/mingw-packages/mingw-w64-far-svn/src/far-netbox/libs/atlmfc/mfc1.cpp:6:
D:/msys64/mingw64/x86_64-w64-mingw32/include/comutil.h:91:8: error: from previous declaration 'WCHAR* _bstr_t::Detach() throw ()'
BSTR Detach() throw();
^
@elieux
elieux / make.sh
Last active April 2, 2017 14:46
Debugging makefiles
#/usr/bin/sh
#http://www.drdobbs.com/tools/debugging-makefiles/197003338
make --eval='print-%: ; @echo $* is $($*)' --eval='OLD_SHELL := $(SHELL)' --eval='SHELL = $(warning [$@ ($^) ($?)])$(OLD_SHELL) -x'
make V=1 VERBOSE=1
make --dry-run