Not working
- Dominant language
- Go
- Stars
- 278
- Forks
- 44
- PR merge metrics
- No merged PRs in 30d
Description
Reproduction
```
FROM s390x/ubuntu
RUN apt update && apt install -y gcc make git golang-go
WORKDIR /chal
RUN go mod init my-module && go get github.com/89luca89/pakkero && \
cd /root/go/pkg/mod/github.com/89luca89/pakkero* && sed -i 's/-i//g' Makefile && \
make && cp dist/pakkero /chal
COPY main.c Makefile ./
RUN make
RUN ./pakkero --file ./works-on-my-machine -o ./works-on-my-machine-packed
# docker cp /chal/works-on-my-machine .
```
```c
#include
#include
int main() {
printf("hello world!\n");
}
```
```
root@4ec4fa900d3f:/chal# ./works-on-my-machine
hello world!
root@4ec4fa900d3f:/chal# ./works-on-my-machine-packed
root@4ec4fa900d3f:/chal#
```
Contributor guide
No contributing guide indexed for this repository
Research direction
The issue shows a Dockerfile that builds pakkero from source and uses it to pack a simple C program. The packed binary does not output anything. Start by examining the pakkero source, especially the packing logic and the launcher for ELF binaries. Look at the Makefile and the main.go entry point. Reproduce the issue locally to see if the packed binary fails silently or crashes. Check the project's test suite for any existing tests about packing and running binaries.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, docker
- Domain
- cli, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100