netpbm-dev: /usr/include/netpbm directory is missing
Package Information
- Package name: netpbm-dev
- Package version: netpbm-dev-11.6.1-r1
- Alpine version: 3.20.2
- Alpine architecture: x86_64
Summary
All netpbm header files in /usr/include expect each other in a subdirectory 'netpbm', which does not exist.
E.g. in /usr/include/pbm.h, one can read:
#include <netpbm/pm.h>
Steps to reproduce
apk add pkgconfig netpbm-dev gcc
cat << EOF > /tmp/test.c
#include <pbm.h>
int
main(int argc, char **argv)
{
return 0;
}
EOF
gcc -o /tmp/test /tmp/test.c $( pkg-config --cflags --libs netpbm )
apk del pkgconfig netpbm-dev gcc