amd64/157151: after perl upgrade; webkit-gtk2 compile error
Hasan Alp iNAN
hasanalpinan at gmail.com
Wed May 18 15:40:11 UTC 2011
>Number: 157151
>Category: amd64
>Synopsis: after perl upgrade; webkit-gtk2 compile error
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: freebsd-amd64
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Wed May 18 15:40:10 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Hasan Alp iNAN
>Release: FreeBSD 8.2 RELEASE amd64
>Organization:
>Environment:
FreeBSD beastie.seyhan.bel.tr 8.2-RELEASE-p1 FreeBSD 8.2-RELEASE-p1 #0: Tue May 10 15:17:21 EEST 2011 root at beastie.seyhan.bel.tr:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
When upgrading to 5.12 perl to 5.14 perl process fail at webkit-gtk2 package.
beastie# make reinstall
===> Vulnerability check disabled, database not found
===> License check disabled, port has not defined LICENSE
===> Found saved configuration for webkit-gtk2-1.2.7_1
===> Extracting for webkit-gtk2-1.2.7_1
=> SHA256 Checksum OK for webkit-1.2.7.tar.gz.
===> webkit-gtk2-1.2.7_1 depends on file: /usr/local/bin/perl5.14.0 - found
===> Patching for webkit-gtk2-1.2.7_1
===> webkit-gtk2-1.2.7_1 depends on file: /usr/local/bin/perl5.14.0 - found
===> webkit-gtk2-1.2.7_1 depends on package: libtool>=2.4 - found
===> Applying FreeBSD patches for webkit-gtk2-1.2.7_1
===> webkit-gtk2-1.2.7_1 depends on file: /usr/local/bin/flex - found
===> webkit-gtk2-1.2.7_1 depends on executable: g-ir-scanner - found
===> webkit-gtk2-1.2.7_1 depends on executable: gmake - found
===> webkit-gtk2-1.2.7_1 depends on executable: bison - found
===> webkit-gtk2-1.2.7_1 depends on file: /usr/local/libdata/pkgconfig/xt.pc - found
===> webkit-gtk2-1.2.7_1 depends on package: gstreamer-plugins>=0.10.0 - found
===> webkit-gtk2-1.2.7_1 depends on file: /usr/local/bin/perl5.14.0 - found
===> webkit-gtk2-1.2.7_1 depends on package: libtool>=2.4 - found
===> webkit-gtk2-1.2.7_1 depends on file: /usr/local/bin/intltool-extract - found
===> webkit-gtk2-1.2.7_1 depends on executable: pkg-config - found
===> webkit-gtk2-1.2.7_1 depends on shared library: enchant.1 - found
===> webkit-gtk2-1.2.7_1 depends on shared library: curl.6 - found
===> webkit-gtk2-1.2.7_1 depends on shared library: sqlite3.8 - found
===> webkit-gtk2-1.2.7_1 depends on shared library: soup-2.4.1 - found
===> webkit-gtk2-1.2.7_1 depends on shared library: icutu.46 - found
===> webkit-gtk2-1.2.7_1 depends on shared library: intl - found
===> webkit-gtk2-1.2.7_1 depends on shared library: atk-1.0.0 - found
===> webkit-gtk2-1.2.7_1 depends on shared library: glib-2.0.0 - found
===> webkit-gtk2-1.2.7_1 depends on shared library: gtk-x11-2.0.0 - found
===> webkit-gtk2-1.2.7_1 depends on shared library: xml2.5 - found
===> webkit-gtk2-1.2.7_1 depends on shared library: xslt.2 - found
===> webkit-gtk2-1.2.7_1 depends on shared library: pango-1.0.0 - found
===> Configuring for webkit-gtk2-1.2.7_1
checking build system type... amd64-portbld-freebsd8.2
checking host system type... amd64-portbld-freebsd8.2
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/local/bin/gmkdir -p
checking for gawk... gawk
checking whether gmake sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking for native Win32... no
checking for style of include used by gmake... GNU
checking for gcc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking dependency style of cc... gcc3
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking dependency style of c++... gcc3
checking whether cc understands -c and -o together... yes
checking how to run the C preprocessor... cpp
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking if c++ supports -fvisibility=hidden -fvisibility-inlines-hidden... yes
checking for pkg-config... /usr/local/bin/pkg-config
checking for perl... /usr/bin/perl
checking for bison... /usr/local/bin/bison
checking for mv... /bin/mv
checking for gcc... (cached) cc
checking whether we are using the GNU C compiler... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for cc option to accept ISO C89... (cached) none needed
checking dependency style of cc... (cached) gcc3
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for working volatile... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... (cached) 262144
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... no
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether c++ accepts -g... (cached) yes
checking dependency style of c++... (cached) gcc3
checking how to run the C++ preprocessor... c++ -E
checking for objdir... .libs
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... freebsd8.2 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for ld used by c++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
checking for c++ option to produce PIC... -fPIC -DPIC
checking if c++ PIC flag -fPIC -DPIC works... yes
checking if c++ static flag -static works... yes
checking if c++ supports -c -o file.o... yes
checking if c++ supports -c -o file.o... (cached) yes
checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... freebsd8.2 ld.so
checking how to hardcode library paths into programs... immediate
checking for bash... (cached) no
checking if dolt supports this host... no, falling back to libtool
checking for flex... (cached) /usr/local/bin/flex
checking for gawk... (cached) gawk
checking for gperf... /usr/bin/gperf
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for jpeg_destroy_decompress in -ljpeg... yes
checking for jpeglib... yes
checking for libpng... yes
checking the target windowing system... x11
checking for Hildon UI extensions... no
checking for GLIB... yes
checking for glib-genmarshal... /usr/local/bin/glib-genmarshal
checking for glib-mkenums... /usr/local/bin/glib-mkenums
checking which Unicode backend to use... icu
checking for icu-config... /usr/local/bin/icu-config
checking for LIBXML... yes
checking for PANGO... yes
checking for ENCHANT... yes
checking for GAIL... yes
checking for CAIRO... yes
checking for GTK... yes
checking for XT... yes
checking whether to do a debug build... no
checking whether to enable optimized builds... yes
checking whether to enable support for 3D Transforms... no
checking whether to enable HTML5 Channel Messaging support... yes
checking whether to enable JavaScript debugger/profiler support... yes
checking whether to enable HTML5 offline web applications support... yes
checking whether to enable HTML5 client-side session and persistent storage support... yes
checking whether to enable the indexed database API... no
checking whether to enable HTML5 client-side database storage support... yes
checking whether to enable HTML5 server-sent events support... yes
checking whether to enable icon database support... yes
checking whether to enable HTML5 datalist support... yes
checking whether to enable HTML5 ruby support... yes
checking whether to enable HTML5 sandboxed iframe support...
checking whether to enable HTML5 video support... yes
checking whether to enable XHTML-MP support... no
checking whether to enable XPath support... yes
checking whether to enable XSLT support... yes
checking whether to enable geolocation support... no
checking whether to enable MathML support... no
checking whether to enable SVG support... yes
checking whether to enable WML support... no
checking whether to enable SharedWorkers support... yes
checking whether to enable Web Workers support... yes
checking whether to enable support for SVG animation... yes
checking whether to enable support for filters... yes
checking whether to enable support for SVG fonts... yes
checking whether to enable support for SVG foreign objects... yes
checking whether to enable SVG as Image support... yes
checking whether to enable support for SVG use element... yes
checking whether to enable Web Sockets support... no
checking whether to enable Blob.slice support... no
checking whether to enable Fast Mobile Scrolling... no
checking whether to enable code coverage support... no
checking whether to enable optimized memory allocator... yes
checking whether to enable JIT compilation... yes
checking whether to enable GObject introspection support... yes
checking for INTROSPECTION... yes
checking the font backend to use... freetype
checking for LIBSOUP... yes
checking for LIBSOUP_2_29_90... yes
checking for FREETYPE... yes
checking for SQLITE3... yes
checking for LIBXSLT... yes
checking for GSTREAMER... yes
checking for gtkdoc-check... no
checking for gtkdoc-rebase... no
checking for gtkdoc-mkpdf... no
checking whether to build gtk-doc documentation... no
configure: creating ./config.status
config.status: creating GNUmakefile
config.status: creating WebKit/gtk/webkit-1.0.pc
config.status: creating WebKit/gtk/webkit/webkitversion.h
config.status: creating WebKit/gtk/docs/GNUmakefile
config.status: creating WebKit/gtk/docs/version.xml
config.status: creating autotoolsconfig.h
config.status: executing depfiles commands
config.status: executing libtool commands
WebKit was configured with the following options:
Build configuration:
Enable debugging (slow) : no
Enable GCC build optimization : yes
Code coverage support : no
Unicode backend : icu
Font backend : freetype
Optimized memory allocator : yes
Features:
3D Transforms : no
Blob.slice support : no
Fast Mobile Scrolling : no
JIT compilation : yes
Filters support : yes
Geolocation support : no
JavaScript debugger/profiler support : yes
MathML support : no
HTML5 offline web applications support : yes
HTML5 channel messaging support : yes
HTML5 client-side session and persistent storage support : yes
HTML5 client-side database storage support : yes
HTML5 ruby support : yes
HTML5 sandboxed iframe support :
HTML5 server-sent events support : yes
HTML5 video element support : yes
Icon database support : yes
SharedWorkers support : yes
SVG support : yes
SVG animation support : yes
SVG fonts support : yes
SVG foreign object support : yes
SVG as image support : yes
SVG use element support : yes
WML support : no
Web Sockets support : no
Web Workers support : yes
XHTML-MP support : no
XPATH support : yes
XSLT support : yes
GTK+ configuration:
GDK target : x11
Hildon UI extensions : no
Introspection support : yes
===> Building for webkit-gtk2-1.2.7_1
GEN stamp-webkitenumtypes.h
/usr/local/bin/bison -d -p jscyy ./JavaScriptCore/parser/Grammar.y -o DerivedSources/Grammar.cpp > bison_out.txt 2>&1
/usr/bin/perl -p -e 'END { if ($conflict) { unlink "Grammar.cpp"; die; } } $conflict ||= /conflict/' < bison_out.txt
cat ./DerivedSources/Grammar.hpp > ./DerivedSources/Grammar.h
rm -f ./DerivedSources/Grammar.hpp bison_out.txt
/usr/bin/perl JavaScriptCore/create_hash_table JavaScriptCore/parser/Keywords.table > DerivedSources/Lexer.lut.h
Creating hashtable for JavaScriptCore/parser/Keywords.table
/usr/bin/perl JavaScriptCore/create_hash_table JavaScriptCore/runtime/ArrayPrototype.cpp -i > JavaScriptCore/runtime/ArrayPrototype.lut.h
Creating hashtable for JavaScriptCore/runtime/ArrayPrototype.cpp
/usr/bin/perl JavaScriptCore/create_hash_table JavaScriptCore/runtime/DatePrototype.cpp -i > JavaScriptCore/runtime/DatePrototype.lut.h
Creating hashtable for JavaScriptCore/runtime/DatePrototype.cpp
/usr/bin/perl JavaScriptCore/create_hash_table JavaScriptCore/runtime/JSONObject.cpp -i > JavaScriptCore/runtime/JSONObject.lut.h
Creating hashtable for JavaScriptCore/runtime/JSONObject.cpp
/usr/bin/perl JavaScriptCore/create_hash_table JavaScriptCore/runtime/MathObject.cpp -i > JavaScriptCore/runtime/MathObject.lut.h
Creating hashtable for JavaScriptCore/runtime/MathObject.cpp
/usr/bin/perl JavaScriptCore/create_hash_table JavaScriptCore/runtime/NumberConstructor.cpp -i > JavaScriptCore/runtime/NumberConstructor.lut.h
Creating hashtable for JavaScriptCore/runtime/NumberConstructor.cpp
/usr/bin/perl JavaScriptCore/create_hash_table JavaScriptCore/runtime/RegExpConstructor.cpp -i > JavaScriptCore/runtime/RegExpConstructor.lut.h
Creating hashtable for JavaScriptCore/runtime/RegExpConstructor.cpp
/usr/bin/perl JavaScriptCore/create_hash_table JavaScriptCore/runtime/RegExpObject.cpp -i > JavaScriptCore/runtime/RegExpObject.lut.h
Creating hashtable for JavaScriptCore/runtime/RegExpObject.cpp
/usr/bin/perl JavaScriptCore/create_hash_table JavaScriptCore/runtime/StringPrototype.cpp -i > JavaScriptCore/runtime/StringPrototype.lut.h
Creating hashtable for JavaScriptCore/runtime/StringPrototype.cpp
/usr/bin/perl JavaScriptCore/pcre/dftables JavaScriptCore/pcre/chartables.c
rm -f ./DerivedSources/CSSGrammar.cpp.h ./DerivedSources/CSSGrammar.hpp
/usr/local/bin/bison -d -p cssyy WebCore/css/CSSGrammar.y -o ./DerivedSources/CSSGrammar.cpp
touch ./DerivedSources/CSSGrammar.cpp.h ./DerivedSources/CSSGrammar.hpp
echo '#ifndef CSSGrammar_h' > ./DerivedSources/CSSGrammar.h
echo '#define CSSGrammar_h' >> ./DerivedSources/CSSGrammar.h
cat ./DerivedSources/CSSGrammar.cpp.h ./DerivedSources/CSSGrammar.hpp >> ./DerivedSources/CSSGrammar.h
echo '#endif' >> ./DerivedSources/CSSGrammar.h
rm -f ./DerivedSources/CSSGrammar.cpp.h ./DerivedSources/CSSGrammar.hpp
if sort ./WebCore/css/CSSPropertyNames.in ./WebCore/css/SVGCSSPropertyNames.in | uniq -d | grep -E '^[^#]'; then echo 'Duplicate value!'; exit 1; fi
cat ./WebCore/css/CSSPropertyNames.in ./WebCore/css/SVGCSSPropertyNames.in > CSSPropertyNames.in
/usr/bin/perl "./WebCore/css/makeprop.pl"
mv CSSPropertyNames.* ./DerivedSources
/usr/bin/perl -ne 'print lc' ./WebCore/css/CSSValueKeywords.in ./WebCore/css/SVGCSSValueKeywords.in > CSSValueKeywords.in
if sort CSSValueKeywords.in | uniq -d | grep -E '^[^#]'; then echo 'Duplicate value!'; exit 1; fi
/usr/bin/perl "./WebCore/css/makevalues.pl"
6 input keys have identical hash values, examine output carefully...
mv CSSValueKeywords.* ./DerivedSources
GEN DerivedSources/HTMLElementFactory.cpp
Can't locate Switch.pm in @INC (@INC contains: ./WebCore/bindings/scripts /usr/local/lib/perl5/5.14.0/BSDPAN /usr/local/lib/perl5/site_perl/5.14.0/mach /usr/local/lib/perl5/site_perl/5.14.0 /usr/local/lib/perl5/5.14.0/mach /usr/local/lib/perl5/5.14.0 .) at WebCore/dom/make_names.pl line 38.
BEGIN failed--compilation aborted at WebCore/dom/make_names.pl line 38.
gmake: *** [DerivedSources/HTMLElementFactory.cpp] Hata 2
*** Error code 1
Stop in /usr/ports/www/webkit-gtk2.
*** Error code 1
Stop in /usr/ports/www/webkit-gtk2.
*** Error code 1
Stop in /usr/ports/www/webkit-gtk2.
>How-To-Repeat:
Try upgrade to Perl 5.14, or reinstall webkit-gtk2 package with Perl5.14.0
>Fix:
I found something on net: http://bugs.gentoo.org/show_bug.cgi?id=364489
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-amd64
mailing list