pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Deprecated header warning when bootstrapping pkgsrc on Ubuntu



Hello pkgsrc planet

I just tried (for once) to bootstrap pkgsrc on a Ubuntu system:

[snip]
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 12.04.4 LTS
Release:        12.04
Codename:       precise
[/snip]

pkgsrc was just gotten from cvs, thus (the bootstrap system) is in its
-current form:

[snip]
pwd
/home/hernani/pkgsrc/bootstrap
cvs log -h bootstrap  | grep head: | head -1
head: 1.209
[/snip]

I issued the following command in order to bootstrap the system:

[snip]
SH=/bin/bash ./bootstrap --unprivileged
[/snip]

This -- after a while -- resulted in:

[snip]
[...]
sh
/home/hernani/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/libfetch/errlist.sh
ftp_errlist FTP
/home/hernani/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/libfetch/ftp.errors
> ftperr.h
sh
/home/hernani/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/libfetch/errlist.sh
http_errlist HTTP
/home/hernani/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/libfetch/http.errors
> httperr.h
gcc -O2 -Wno-error -I/usr/include -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/hernani/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/libarchive/libarchive
-I/home/hernani/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/libfetch
-DHAVE_NBCOMPAT_H=1
-I/home/hernani/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/libnbcompat
-I/usr/include -I. -D_LARGEFILE_SOURCE -D_LARGE_FILES
-D_FILE_OFFSET_BITS=64 -DINET6 -DWITH_SSL -DFTP_COMBINE_CWDS -c common.c
In file included from
/home/hernani/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/libnbcompat/nbcompat/util.h:39:0,
                 from
/home/hernani/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/libnbcompat/nbcompat.h:67,
                 from common.c:37:
/usr/include/libutil.h:33:2: error: #warning "Deprecated header, use
<bsd/libutil.h> or libbsd-overlay.pc instead." [-Werror=cpp]
cc1: all warnings being treated as errors
*** Error code 1

Stop.
bmake: stopped in
/home/hernani/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/libfetch
*** Error code 1

Stop.
bmake: stopped in /home/hernani/pkgsrc/pkgtools/pkg_install
*** Error code 1

Stop.
bmake: stopped in /home/hernani/pkgsrc/pkgtools/pkg_install
===> exited with status 1
aborted.
[/snip]

Any ideas what's wrong?

Thanks!

-- 
hernani (gpgid: 0xf7ab9ce5) | https://ccczh.ch/Hernani
* * * * *
BOFH excuse #182:

endothermal recalibration

Attachment: signature.asc
Description: OpenPGP digital signature



Home | Main Index | Thread Index | Old Index