Unexpected segfault in memcmp

The following simple program segfaults for me: #include <string.h> int main() { void* voidp = NULL; char zeroes[sizeof(void*)]; memset(zeroes, 0, sizeof(void*)); int res =...

Error while building rootfs for Linux kernel

I am trying to build my root file system by referring to http://emreboy.wordpress.com/2012/12/20/building-a-root-file-system-using-busybox/comment-page-1/ The change I did was (arm-linux-gnueabi-...

Inputting textfile into list of class objects, then output the list contents

As part of my current project, I am trying to load the contents of a text file into a list of class objects, then output the objects. On a cursory look my instructor said my code looked fine, but...

Cannot Compile Kernel Headers (libc6-amd64 Dependencies)

Edit: Please read the update. I was unable to compile some programs using boost libraries and I was told it was a compiler error. I compiled GCC-5.1.0 from source and placed it in /opt/gcc-5.1.0/...

How to install clang on ubuntu14.04

I want to learn llvm so I have to install clang in my ubuntu 14.04,but I encounter some problems.Here it is: when I execute command:sudo apt-get install clang-3.5 I just get some error message...

Docker is unable to delete a directory when building images

The issue is similar to https://stackoverflow.com/questions/42527413/docker-is-unable-to-delete-a-file-when-building-images However, the route cause isn't the same, because d_type is enabled in my...

Installing CakePHP gives an error about intl missing, but it's installed

When I try to install CakePHP, I get an error that intl is missing: $ composer self-update && composer create-project --prefer-dist cakephp/app blog You are already using composer version 1.5.2...

Dist Upgrade to Buster failing

I currently have a Dockerfile which has started to failing (with no changes in the Dockerfile) The Dockerfile has the following contents: FROM php:apache-stretch WORKDIR /tmp # SOFTWARE REQS RUN...

Failure on cross compiling busybox

I'm trying to cross compile busy box V 1.27.2 for my embedded Linux device. I set share library build and cross compiler prefix and Sysroot to my compiler destinations. Compiler after trying to...

Bitbake Server does not start on Windows Subsystem for Linux

I am following the Quick Start Guide for Yocto Project on Windows Subsystem for Linux. I cloned all the necessary stuff: sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib...

Dockerfile to run a package revision (PR) server

The purpose is deploying a yocto PR server using a docker container. More info about PR server can be found in the following link: To try doing that I wrote this "Dockerfile" to generate a docker...

brew upgrade 'python 3.6.5 already installed` but python version is 3.6.4

brew upgrade hint that 'python 3.6.5 already installed` $ brew upgrade python Updated 2 taps (homebrew/core, caskroom/cask). ==> Updated Formulae aria2 cake debianutils ...

Using regex with run-parts on Alpine 3.9

I'm creating a Docker image FROM alpine:3.9.2 and I need to run run-parts. I used the script below in the past on ubuntu:16.04 without problems. run-parts --verbose --regex '\.sh$'...

DB2+IBM MQ; enable_MQFunctions = Error -- while connecting to database

I build docker's image containing IBM MQ 9.1, DB2express-c 9.7 + ubuntu 16.04 64bit. I want to enable MQ functions(sending msg to queue) on my Db2 database. But when I used enable_MQFunctions than...

Java dependency failure for .deb file on openjdk docker base

I have been working with an opensource project. Which creates docker images with build-generated debian (.deb) packages installed on the jdk8 image. But lately I started to have error and...

Can't connect to mysql inside docker on osx

Lately, my docker container is refusing connections. It has worked well in the past, this issue is new and has no explanation so far. Stopping and restarting the container has no effect. Stopping...

apt-get returns 100 when bitbaking meta-toolchain-qt5

I'm rebuilding meta-toolchain-qt5 after an update of the Yocto SDK provided by the vendor (ST). This time and the end of the compilation I an error 100 from apt-get. Here the full log: DEBUG:...

Is there a way to run Jenkins with Docker as non-root user?

I'm trying to build a yocto-image with Jenkins in Docker. Running bitbake command as root-user causes many problems and I tried some workarounds like: touch build/conf/sanity.conf and setting...

Docker compose IBM MQ with pymqi

I would like to use docker-compose to start an IBM MQ server and a Python "pymqi" client connecting on server. To achieve this, I wrote three Docker containers: cpython, pymqi and...