pkgsrc-Bugs archive

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

pkg/46987: pkgsrc does not bootstrap under openSUSE



>Number:         46987
>Category:       pkg
>Synopsis:       pkgsrc does not bootstrap under openSUSE
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 20 06:30:00 +0000 2012
>Originator:     Andrey N. Oktyabrski
>Release:        openSUSE 12.2
>Organization:
>Environment:
$ uname -a
Linux thinkpot.ano 3.4.6-2.10-default #1 SMP Thu Jul 26 09:36:26 UTC 2012 
(641c197) x86_64 x86_64 x86_64 GNU/Linux
>Description:
Bootstrap fails with this 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/usr/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/bzip2 
-I/usr/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/libarchive/libarchive
 -I/usr/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/libfetch 
-DHAVE_NBCOMPAT_H=1 
-I/usr/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/libnbcompat -I. 
-D_LARGEFILE_SOURCE -D_LARGE_FILES -DINET6 -DFTP_COMBINE_CWDS -c ftp.c
ftp.c: In function ?unmappedaddr?:
ftp.c:149:2: error: dereferencing type-punned pointer will break 
strict-aliasing rules [-Werror=strict-aliasing]
cc1: all warnings being treated as errors
*** Error code 1

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

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

Stop.
bmake: stopped in /usr/pkgsrc/pkgtools/pkg_install
===> exited with status 1
aborted.
>How-To-Repeat:
$ cd /usr/pkgsrc/bootstrap
$ sudo ./bootstrap
>Fix:



Home | Main Index | Thread Index | Old Index