Opened 17 years ago

Last modified 16 years ago

#14445 closed defect

linc build failure — at Version 3

Reported by: brad.allison@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc: gui_dos@…
Port: linc

Description (last modified by ryandesign (Ryan Carsten Schmidt))

sh-3.2# port install linc
--->  Fetching linc
--->  Attempting to fetch linc-1.0.3.tar.bz2 from http://mandril.creatis.insa-lyon.fr/linux/gnome.org/sources/linc/1.0/
--->  Verifying checksum(s) for linc
--->  Extracting linc
--->  Configuring linc
--->  Building linc with target all
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_linc/work/linc-1.0.3" && make all " returned error 2
Command output: ../include/linc/linc-protocol.h:67: warning: type qualifiers ignored on function return type
cal/lib/glib-2.0/include -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -DG_DISABLE_DEPRECATED -D_GNU_SOURCE -I/opt/local/include -L/opt/local/lib -O2 -no-cpp-precomp -flat_namespace -undefined suppress -c linc.c -o linc.o >/dev/null 2>&1
/bin/sh ../libtool --mode=compile /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -D_REENTRANT -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include    -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -DG_DISABLE_DEPRECATED -D_GNU_SOURCE  -I/opt/local/include -L/opt/local/lib  -O2 -no-cpp-precomp -flat_namespace -undefined suppress -c linc-connection.c
 /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -D_REENTRANT -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -DG_DISABLE_DEPRECATED -D_GNU_SOURCE -I/opt/local/include -L/opt/local/lib -O2 -no-cpp-precomp -flat_namespace -undefined suppress -c linc-connection.c  -fno-common -DPIC -o .libs/linc-connection.o
In file included from ../include/linc/linc.h:17,
                 from linc-private.h:16,
                 from linc-connection.c:24:
../include/linc/linc-protocol.h:67: warning: type qualifiers ignored on function return type
../include/linc/linc-protocol.h:68: warning: type qualifiers ignored on function return type
../include/linc/linc-protocol.h:69: warning: type qualifiers ignored on function return type
 /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -D_REENTRANT -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -DG_DISABLE_DEPRECATED -D_GNU_SOURCE -I/opt/local/include -L/opt/local/lib -O2 -no-cpp-precomp -flat_namespace -undefined suppress -c linc-connection.c -o linc-connection.o >/dev/null 2>&1
/bin/sh ../libtool --mode=compile /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -D_REENTRANT -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include    -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -DG_DISABLE_DEPRECATED -D_GNU_SOURCE  -I/opt/local/include -L/opt/local/lib  -O2 -no-cpp-precomp -flat_namespace -undefined suppress -c linc-protocols.c
 /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -D_REENTRANT -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -DG_DISABLE_DEPRECATED -D_GNU_SOURCE -I/opt/local/include -L/opt/local/lib -O2 -no-cpp-precomp -flat_namespace -undefined suppress -c linc-protocols.c  -fno-common -DPIC -o .libs/linc-protocols.o
In file included from linc-protocols.c:15:
../include/linc/linc-protocol.h:67: warning: type qualifiers ignored on function return type
../include/linc/linc-protocol.h:68: warning: type qualifiers ignored on function return type
../include/linc/linc-protocol.h:69: warning: type qualifiers ignored on function return type
linc-protocols.c: In function 'linc_protocol_is_local_ipv46':
linc-protocols.c:218: warning: pointer targets in passing argument 2 of 'ipv4_addr_from_addr' differ in signedness
linc-protocols.c: At top level:
linc-protocols.c:612: error: static declaration of 'in6addr_any' follows non-static declaration
/usr/include/netinet6/in6.h:188: error: previous declaration of 'in6addr_any' was here
linc-protocols.c:1116: warning: type qualifiers ignored on function return type
linc-protocols.c:1131: warning: type qualifiers ignored on function return type
linc-protocols.c:1153: warning: type qualifiers ignored on function return type
make[2]: *** [linc-protocols.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive-am] Error 2

Error: Status 1 encountered during processing.

Change History (3)

comment:1 Changed 17 years ago by jmroot (Joshua Root)

Milestone: Port Bugs
Summary: linc package failslinc build failure

comment:2 Changed 17 years ago by rhwood@…

Cc: gui_dos@… added

#14444 seems to depend on this ticket

comment:3 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Port: linc added

I see the problem too.

linc 1.2 is out. I'll try updating the port.

Note: See TracTickets for help on using tickets.