Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Mar 2013 00:45:37 GMT
From:      C L <christian.lawrence@calorieking.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/176674: textproc/syck port fails to compile
Message-ID:  <201303060045.r260jbs8005074@red.freebsd.org>
Resent-Message-ID: <201303060050.r260o0fK038958@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         176674
>Category:       ports
>Synopsis:       textproc/syck port fails to compile
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 06 00:50:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     C L
>Release:        8.3
>Organization:
>Environment:
FreeBSD XXX.XXX 8.3-RELEASE FreeBSD 8.3-RELEASE #0: Mon Apr  9 21:47:23 UTC 2012     root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
While trying to build and install textproc/pecl-syck from a port snapshot generated on 5 Mar 00:01:21 GMT 2013, it was discovered that the build dependency port, textproc/syck, was failing to compile with the following error:

In file included from sycklex.h:4,
                 from gram.y:23:
gram.h:107: error: conflicting types for 'syckparse'
syck.h:471: error: previous declaration of 'syckparse' was here


>How-To-Repeat:
[YYY@XXX ~]$ cd /usr/ports/textproc/syck/
[YYY@XXX /usr/ports/textproc/syck]$ sudo make clean install
Password:
===>  Cleaning for syck-0.70
===>  Extracting for syck-0.70
=> SHA256 Checksum OK for syck-0.70.tar.gz.
===>  Patching for syck-0.70
===>   syck-0.70 depends on executable: bison - found
===>  Configuring for syck-0.70
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... config/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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 for cc option to accept ISO C99... -std=gnu99
checking for cc -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu99
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether ln -s works... yes
checking for ranlib... ranlib
checking whether make sets $(MAKE)... (cached) yes
checking for gawk... (cached) nawk
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking for bison... bison -y
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 alloca.h usability... no
checking alloca.h presence... no
checking for alloca.h... no
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking size of int... 4
checking size of long... 4
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for vprintf... yes
checking for _doprnt... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating lib/Makefile
config.status: creating tests/Makefile
config.status: creating config.h
config.status: executing depfiles commands
===>  Building for syck-0.70
make  all-recursive
Making all in lib
cc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I..    -fPIC -O2 -pipe -fPIC -fno-strict-aliasing -MT emitter.o -MD -MP -MF .deps/emitter.Tpo -c -o emitter.o emitter.c
mv -f .deps/emitter.Tpo .deps/emitter.Po
cc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I..    -fPIC -O2 -pipe -fPIC -fno-strict-aliasing -MT handler.o -MD -MP -MF .deps/handler.Tpo -c -o handler.o handler.c
mv -f .deps/handler.Tpo .deps/handler.Po
cc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I..    -fPIC -O2 -pipe -fPIC -fno-strict-aliasing -MT node.o -MD -MP -MF .deps/node.Tpo -c -o node.o node.c
mv -f .deps/node.Tpo .deps/node.Po
cc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I..    -fPIC -O2 -pipe -fPIC -fno-strict-aliasing -MT syck.o -MD -MP -MF .deps/syck.Tpo -c -o syck.o syck.c
mv -f .deps/syck.Tpo .deps/syck.Po
cc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I..    -fPIC -O2 -pipe -fPIC -fno-strict-aliasing -MT syck_st.o -MD -MP -MF .deps/syck_st.Tpo -c -o syck_st.o syck_st.c
mv -f .deps/syck_st.Tpo .deps/syck_st.Po
/bin/sh ../config/ylwrap gram.y y.tab.c gram.c y.tab.h gram.h y.output gram.output -- bison -y -d -d -t -v -p syck
updating gram.h
updating gram.output
cc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I..    -fPIC -O2 -pipe -fPIC -fno-strict-aliasing -MT gram.o -MD -MP -MF .deps/gram.Tpo -c -o gram.o gram.c
In file included from sycklex.h:4,
                 from gram.y:23:
gram.h:107: error: conflicting types for 'syckparse'
syck.h:471: error: previous declaration of 'syckparse' was here
*** Error code 1

Stop in /var/obj/usr/ports/textproc/syck/work/syck-0.70/lib.
*** Error code 1

Stop in /var/obj/usr/ports/textproc/syck/work/syck-0.70.
*** Error code 1

Stop in /var/obj/usr/ports/textproc/syck/work/syck-0.70.
*** Error code 1

Stop in /usr/ports/textproc/syck.

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303060045.r260jbs8005074>