https://sourceware.org/bugzilla/show_bug.cgi?id=28844

--- Comment #2 from Sam James <sam at gentoo dot org> ---
The best I can get so far is reproducing it with a Dockerfile. Please tell me
if I can extract more useful information & how.

Dockerfile:
```
FROM gentoo/stage3

# Get latest copy of the repository
RUN emerge-webrsync --quiet

# Disable sandboxes which don't work well in Docker
RUN echo 'FEATURES="-network-sandbox -ipc-sandbox -usersandbox"' >>
/etc/portage/make.conf

# Allow latest efivar
RUN echo 'sys-libs/efivar' >> /etc/portage/package.accept_keywords/efivar
RUN echo 'app-text/mandoc' >> /etc/portage/package.accept_keywords/efivar
RUN emerge --quiet --quiet-build=y --oneshot dev-vcs/git

# Build efivar
CMD /bin/sh -c '. /etc/profile ; CFLAGS="-O2 -flto" FEATURES="-sandbox
-ipc-sandbox -usersandbox -pid-sandbox" emerge --verbose --oneshot
sys-libs/efivar'
```

Instructions for use:
```
mkdir -p ~/docker/gentoo && cd ~/docker

# Create the attached Dockerfile
$EDITOR ~/docker/gentoo/Dockerfile

# Build the image
docker build -t gentoo gentoo/

# Run it (which builds efivar and should crash)
docker run -it gentoo
```

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to