pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/49752: ./bootstrap --unpriveleged fails on Alpine Linux
>Number: 49752
>Category: pkg
>Synopsis: ./bootstrap --unpriveleged fails on Alpine Linux
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Mar 17 01:40:00 +0000 2015
>Originator: Michael Roberts
>Release: pkgsrc-2014Q4
>Organization:
>Environment:
Linux alpine 3.14.30-0-grsec #1-Alpine SMP Wed Jan 28 13:20:34 GMT 2015 i686 Linux
>Description:
Bootstraping pkgsrc with the following command:
./bootstrap --unprivileged --prefix /home/user/.local/opt/pkgsrc
Fails with the following compilation error:
gcc -O2 -Wno-error -Wno-error -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wreturn-type -Wcast-qual -
Wpointer-arith -Wwrite-strings -Wswitch -Wshadow -Werror -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -DDEF_UMASK=022 -I/home/
user/.local/opt/pkgsrc/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/bzip2 -I/home/user/.local/opt/pkgsrc/pkgsrc/bootstrap/work/wr
k/pkgtools/pkg_install/work/zlib -I/home/user/.local/opt/pkgsrc/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/libarchive/libarchive
-I/home/user/.local/opt/pkgsrc/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/libfetch -DHAVE_NBCOMPAT_H=1 -I/home/user/.local/opt/
pkgsrc/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/libnbcompat -I. -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -DINET6
-DFTP_COMBINE_CWDS -c common.c
In file included from /home/user/.local/opt/pkgsrc/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/libnbcompat/nbcompat/cdefs.h:36:0,
from /home/user/.local/opt/pkgsrc/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/libnbcompat/nbcompat.h:31,
from common.c:37:
/usr/include/sys/cdefs.h:1:2: error: #warning usage of non-standard #include <sys/cdefs.h> is deprecated [-Werror=cpp]
#warning usage of non-standard #include <sys/cdefs.h> is deprecated
^
cc1: all warnings being treated as errors
>How-To-Repeat:
- Install Alpine Linux <http://www.alpinelinux.org>
- Install the latest SDK (apk add alpine-sdk)
- Install CVS (apk add cvs)
- Download pkgsrc & update
- Bootstrap pkgsrc
>Fix:
Home |
Main Index |
Thread Index |
Old Index