|
| Reporter | wberdnik | Assigned To | | |
|---|
| Priority | normal | Severity | major | Reproducibility | always |
|---|
| Status | closed | Resolution | fixed | |
|---|
| Fixed in Version | 3.2.0 | |
|---|
|
| Summary | 0002093: Fatal error: linux/rtnetlink.h: No such file or directory linux/rtnetlink.h |
|---|
| Description | Compilation error (log):
mkdir src/coverage/.libs
cc -I. -I/var/www/html/xdebug -I/var/www/html/xdebug/include -I/var/www/html/xdebug/main -I/var/www/html/xdebug -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/var/www/html/xdebug/src -DHAVE_CONFIG_H -g -O2 -g -O0 -Wall -Wdeclaration-after-statement -Wdiscarded-qualifiers -Wempty-body -Wenum-compare -Werror -Wextra -Wformat-nonliteral -Wformat-security -Wimplicit-fallthrough -Winit-self -Wlogical-not-parentheses -Wlogical-op -Wmaybe-uninitialized -Wmissing-format-attribute -Wno-missing-field-initializers -Wno-sign-compare -Wno-unused-but-set-variable -Wno-unused-parameter -Wno-variadic-macros -Wparentheses -Wsizeof-array-argument -Wwrite-strings -Wpointer-arith -fdiagnostics-show-option -fno-exceptions -fno-omit-frame-pointer -fno-optimize-sibling-calls -fstack-protector -c /var/www/html/xdebug/src/debugger/ip_info.c -fPIC -DPIC -o src/debugger/.libs/ip_info.o
/var/www/html/xdebug/src/debugger/ip_info.c:24:10: fatal error: linux/rtnetlink.h: No such file or directory
24 | #include <linux/rtnetlink.h>
| ^~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:314: src/debugger/ip_info.lo] Error 1
|
|---|
| Steps To Reproduce | apk add --update --no-cache --virtual .docker-php-xdebug-dependancies \
bash \
git && \
git clone https://github.com/xdebug/xdebug.git && \
cd xdebug && \
# !! latest version (2022-May-12 15:00)
./rebuild.sh
|
|---|
| Additional Information | Successful compilation if I checkouted to tag 3.1.4:
apk add --update --no-cache --virtual .docker-php-xdebug-dependancies \
bash \
git && \
git clone https://github.com/xdebug/xdebug.git && \
cd xdebug && \
# !!! checkout to last tag
git checkout 3.1.4 && \
./rebuild.sh && \
|
|---|
| Tags | No tags attached. |
|---|
|
| Operating System | docker image: php:8.0.9-fpm-alpine |
|---|
| PHP Version | 8.0.5-8.0.9 |
|---|
|