Opened 17 years ago

Closed 16 years ago

Last modified 16 years ago

#14445 closed defect (fixed)

linc build failure

Reported by: brad.allison@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc: gui-dos (Guido Soranzio)
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 (9)

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.

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

Sorry, livecheck was looking at the wrong project. Fixed in r41066.

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

Cc: ryandesign@… added

Well.... livecheck shows version 1.1.1 available now, but the version 1.0.3 we already have in the ports tree is seemingly newer than 1.1.1. See 1.0.3's ChangeLog which includes all of 1.1.1's ChangeLog and then some.

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

There is a patch for this bug here.

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

Cc: ryandesign@… removed
Owner: changed from macports-tickets@… to ryandesign@…
Status: newassigned

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

Resolution: fixed
Status: assignedclosed

Fix committed in r41067.

comment:9 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.