Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libfaketime build fails on alpine #467

Open
adesko opened this issue Mar 20, 2024 · 1 comment
Open

libfaketime build fails on alpine #467

adesko opened this issue Mar 20, 2024 · 1 comment

Comments

@adesko
Copy link

adesko commented Mar 20, 2024

libfaketime builds started failing after recent changes on alpine
reproduced using docker alpine image alpine:latest


/libfaketime # make install
make  -C src install
make[1]: Entering directory '/libfaketime/src'
cc -o libfaketime.o -c -std=gnu99 -Wall -Wextra -Werror -DFAKE_PTHREAD -DFAKE_STAT -DFAKE_UTIME -DFAKE_SLEEP -DFAKE_TIMERS -DFAKE_INTERNAL_CALLS -fPIC -DPREFIX='"'/usr/local'"' -DLIBDIRNAME='"'/lib/faketime'"'  -Wno-nonnull-compare   libfaketime.c
libfaketime.c: In function 'ft_dlvsym':
libfaketime.c:3054:63: error: unused parameter 'version' [-Werror=unused-parameter]
 3054 | void *ft_dlvsym(void *handle, const char *symbol, const char *version,
      |                                                   ~~~~~~~~~~~~^~~~~~~
cc1: all warnings being treated as errors
make[1]: *** [Makefile:161: libfaketime.o] Error 1
make[1]: Leaving directory '/libfaketime/src'
make: *** [Makefile:15: install] Error 2

On previous version (commit b716122) installation works fine
On ubuntu 20.04 also installed without any issues

@adesko adesko changed the title libfake time build fails on alpine libfaketime build fails on alpine Mar 20, 2024
@PartosK
Copy link

PartosK commented Mar 21, 2024

we also face this problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants