curl woe

curl https://127.0.0.1:3000 -k
curl: (35) Unknown SSL protocol error in connection to 127.0.0.1:-9847

and

 

crystal kemal
Unhandled exception in spawn:
header content contains invalid character ‘\u{0}’ (ArgumentError)
0x103228452: *CallStack::unwind:Array(Pointer(Void)) at ??
0x1032283f1: *CallStack#initialize:Array(Pointer(Void)) at ??
0x1032283c8: *CallStack::new:CallStack at ??
0x103214631: *raise<ArgumentError>:NoReturn at ??
0x1032a44b7: *HTTP::Headers#check_invalid_header_content<String>:Nil at ??
0x1032a4653: *HTTP::Headers#add<String, String>:HTTP::Headers at ??
0x103302129: *HTTP::Request::from_io<(OpenSSL::SSL::Socket::Server | TCPSocket+)>:(HTTP::Request | HTTP::Request::BadRequest | Nil) at ??
0x1032f8d18: *HTTP::Server::RequestProcessor#process<(OpenSSL::SSL::Socket::Server | TCPSocket+), (OpenSSL::SSL::Socket::Server | TCPSocket+), IO::FileDescriptor>:Nil at ??
0x1032f8c95: *HTTP::Server::RequestProcessor#process<(OpenSSL::SSL::Socket::Server | TCPSocket+), (OpenSSL::SSL::Socket::Server | TCPSocket+)>:Nil at ??
0x1032f3a16: *HTTP::Server#handle_client<(TCPSocket+ | Nil)>:Nil at ??
0x103226456: ~procProc(Nil)@/usr/local/Cellar/crystal-lang/0.20.5/src/http/server.cr:148 at ??
0x1032323c4: *Fiber#run:(IO::FileDescriptor | Nil) at ??
0x103222b49: ~proc2Proc(Fiber, (IO::FileDescriptor | Nil))@/usr/local/Cellar/crystal-lang/0.20.5/src/fiber.cr:29 at ??
^CKemal is going to take a rest!

meant “you’re trying to use curl to download https url but it’s server is actually serving http”

sdl2 mingw woe

CC     build/SDL_xinput.lo
In file included from src/core/windows/SDL_xinput.c:24:0:
src/core/windows/SDL_xinput.h:113:3: error: conflicting types for ‘XINPUT_GAMEPAD_EX’
} XINPUT_GAMEPAD_EX;
^
In file included from src/core/windows/SDL_xinput.h:29:0,
from src/core/windows/SDL_xinput.c:24:
/home/rdp/dev/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/include/xinput.h:182:3: note: previous declaration of ‘XINPUT_GAMEPAD_EX’ was here
} XINPUT_GAMEPAD_EX, *PXINPUT_GAMEPAD_EX;
^
In file included from src/core/windows/SDL_xinput.c:24:0:
src/core/windows/SDL_xinput.h:119:3: error: conflicting types for ‘XINPUT_STATE_EX’
} XINPUT_STATE_EX;
^
In file included from src/core/windows/SDL_xinput.h:29:0,
from src/core/windows/SDL_xinput.c:24:
/home/rdp/dev/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/include/xinput.h:192:3: note: previous declaration of ‘XINPUT_STATE_EX’ was here
} XINPUT_STATE_EX, *PXINPUT_STATE_EX;
^
Makefile:547: recipe for target ‘build/SDL_xinput.lo’ failed
make: *** [build/SDL_xinput.lo] Error 1

 

meant “mingw-w64 updated recently and sdl doesn’t handle it yet” (I think…)

java woe

PropertyAccessException 1: org.springframework.beans.MethodInvocationException: Property ‘base’ threw exception; nested exception is java.lang.NoSuchMethodError: org.apache.commons.lang.StringUtils.replaceEach(Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/String;

meant “you are using a spring that uses/requires commons-lang 2.16 but some different other dep. is overriding that with an older version of commons-lang

I think…

java woe

The prefix “xsi” for attribute “xsi:noNamespaceSchemaLocation” associated with an element type “_preservation_instructions” is not bound.

 

meant add this to the xml file itself:

xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance”

Cygwin woe

$ cmake ../llvm-3.9.0.src
CMake Error: CMake was unable to find a build program corresponding to “Unix Makefiles”.  CMAKE_MAKE_PROGRAM is not set.  You probably need to select a different build tool.
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_ASM_COMPILER not set, after EnableLanguage
— Configuring incomplete, errors occurred!

 

meant “install Cygwin make package first”

Roger's meanderings, notes to himself, bug reports, and other things