pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/49456: lang/gcc46 fails during build on Linux and OpenBSD
>Number: 49456
>Category: pkg
>Synopsis: lang/gcc46 fails during build on Linux and OpenBSD
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Dec 07 16:55:00 +0000 2014
>Originator: diro%nixsyspaus.org@localhost
>Release: OpenBSD 5.6
>Organization:
>Environment:
System: OpenBSD catcher.nixsyspaus.org 5.6 GENERIC.MP#194 sparc64
Architecture: sparc64
Machine: sparc64
>Description:
Same deal on CentOS 6.5/x86_64 as OpenBSD 5.6/sparc64:
cc -c -g -fkeep-inline-functions -DIN_GCC -W -Wall -Wwrite-strings
-Wcast-qual -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros
-Wno-overlength-strings -Wold-style-definition -Wc++-compat -fno-common
-DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild
-I/usr/pkgsrc/lang/gcc46/work/gcc-4.6.4/gcc
-I/usr/pkgsrc/lang/gcc46/work/gcc-4.6.4/gcc/build
-I/usr/pkgsrc/lang/gcc46/work/gcc-4.6.4/gcc/../include
-I/usr/pkgsrc/lang/gcc46/work/gcc-4.6.4/gcc/../libcpp/include
-I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include
-I/usr/pkgsrc/lang/gcc46/work/gcc-4.6.4/gcc/../libdecnumber
-I/usr/pkgsrc/lang/gcc46/work/gcc-4.6.4/gcc/../libdecnumber/dpd
-I../libdecnumber -I/usr/pkgsrc/lang/gcc46/work/.buildlink/include
-I/usr/pkg/include \
-o build/gengtype-state.o
/usr/pkgsrc/lang/gcc46/work/gcc-4.6.4/gcc/gengtype-state.c
cc -c -g -fkeep-inline-functions -DIN_GCC -W -Wall -Wwrite-strings
-Wcast-qual -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros
-Wno-overlength-strings -Wold-style-definition -Wc++-compat -fno-common
-DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild
-I/usr/pkgsrc/lang/gcc46/work/gcc-4.6.4/gcc
-I/usr/pkgsrc/lang/gcc46/work/gcc-4.6.4/gcc/build
-I/usr/pkgsrc/lang/gcc46/work/gcc-4.6.4/gcc/../include
-I/usr/pkgsrc/lang/gcc46/work/gcc-4.6.4/gcc/../libcpp/include
-I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include
-I/usr/pkgsrc/lang/gcc46/work/gcc-4.6.4/gcc/../libdecnumber
-I/usr/pkgsrc/lang/gcc46/work/gcc-4.6.4/gcc/../libdecnumber/dpd
-I../libdecnumber -I/usr/pkgsrc/lang/gcc46/work/.buildlink/include
-I/usr/pkg/include \
-DBASEVER="\"4.6.4\"" -DDATESTAMP="\"\"" \
-DREVISION="\"\"" \
-DDEVPHASE="\"\"" -DPKGVERSION="\"(GCC) \"" \
-DBUGURL="\"<http://gcc.gnu.org/bugs.html>\"" -o build/version.o
/usr/pkgsrc/lang/gcc46/work/gcc-4.6.4/gcc/version.c
cc -g -fkeep-inline-functions -DIN_GCC -W -Wall -Wwrite-strings
-Wcast-qual -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros
-Wno-overlength-strings -Wold-style-definition -Wc++-compat -fno-common
-DHAVE_CONFIG_H -DGENERATOR_FILE -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -o
build/gengtype \
build/gengtype.o build/errors.o build/gengtype-lex.o
build/gengtype-parse.o build/gengtype-state.o build/version.o
../build-sparc64-unknown-openbsd5.6/libiberty/libiberty.a
build/gengtype.o(.text+0x12918): In function `input_file_by_name':
/usr/pkgsrc/lang/gcc46/work/gcc-4.6.4/gcc/gengtype.c:4790: warning: strcpy()
is almost always misused, please use strlcpy()
../build-sparc64-unknown-openbsd5.6/libiberty/libiberty.a(xstrerror.o)(.text+0x40):
In function `xstrerror':
: warning: sprintf() is often misused, please use snprintf()
/usr/pkg/bin/bash /usr/pkgsrc/lang/gcc46/work/gcc-4.6.4/gcc/../move-if-change
tmp-gi.list gtyp-input.list
echo timestamp > s-gtyp-input
build/gengtype \
-S /usr/pkgsrc/lang/gcc46/work/gcc-4.6.4/gcc -I
gtyp-input.list -w gtype.state
build/gengtype \
-r gtype.state
gengtype: Internal error: abort in get_output_file_with_visibility, at
gengtype.c:1998
Makefile:3826: recipe for target 's-gtype' failed
gmake[3]: *** [s-gtype] Error 1
gmake[3]: Leaving directory '/usr/pkgsrc/lang/gcc46/work/obj/gcc'
Makefile:5512: recipe for target 'all-stage1-gcc' failed
gmake[2]: *** [all-stage1-gcc] Error 2
gmake[2]: Leaving directory '/usr/pkgsrc/lang/gcc46/work/obj'
Makefile:19969: recipe for target 'stage1-bubble' failed
gmake[1]: *** [stage1-bubble] Error 2
gmake[1]: Leaving directory '/usr/pkgsrc/lang/gcc46/work/obj'
Makefile:890: recipe for target 'all' failed
gmake: *** [all] Error 2
*** Error code 2
Stop.
bmake: stopped in /usr/pkgsrc/lang/gcc46
WARNING: *** Please consider adding c++ to USE_LANGUAGES in the package
Makefile.
*** Error code 1
>How-To-Repeat:
Build anything that requires gcc46 in pkgsrc-2014Q3.
>Fix:
Make boost and friends use gcc47, although that's not a "fix".
Home |
Main Index |
Thread Index |
Old Index