GNU patch and end-of-file newline (or lack thereof)

So I was trying to version bump the ebuild for dev-tcltk/tcllib-1.15-r1 into dev-tcltk/tcllib-1.16 (I needed tcl::chan::string 1.0.2 instead of 1.0.1). tcllib comes with a cartload of man pages, some of which have names which conflict with Tcl ones. Thus, as is the case for dev-tcltk/tcllib-1.15-r1, I needed to remove/rename them in the ebuild. Those that […]

Locating program strings in memory

Disclaimer: I’m a total newbie to all this executable file format stuff. Slowly learning! The strings command lists all sufficiently long printable character strings in a file. I recently found myself needing to locate a string found in an ELF executable in the memory of the running program. strings did its job just fine in […]

Emerge failure: dev-lisp/clisp-2.49-r8

dev-lisp/clisp-2.49-r8 fails to emerge with sys-libs/ncurses[tinfo] (required for CUDA), complaining that it does not find tgetent: configure: ** checks for libraries checking for library containing tgetent… no configure: error: in `/var/tmp/portage/dev-lisp/clisp-2.49-r8/work/clisp-2.49/builddir’: configure: error: despite –with-readline, GNU readline was not found (try –with-libreadline-prefix) See `config.log’ for more details. * ERROR: dev-lisp/clisp-2.49-r8::gentoo failed (configure phase): * ./configure […]

Fossil admin password

When cloning a repository with the Fossil SCM, the fossil command-line tool outputs something along these lines: admin-user: quentin (password is “1fa55b”) I wondered whether I needed to note down yet another password, and what it was required for. So I googled a bit, and it turns out (from the Password Management page in the […]