[MacPorts] #14445: linc build failure

MacPorts noreply at macports.org
Tue Oct 21 20:57:35 PDT 2008


#14445: linc build failure
-------------------------------------+--------------------------------------
  Reporter:  brad.allison at gmail.com  |       Owner:  macports-tickets at lists.macosforge.org
      Type:  defect                  |      Status:  new                                  
  Priority:  Normal                  |   Milestone:  Port Bugs                            
 Component:  ports                   |     Version:  1.6.0                                
Resolution:                          |    Keywords:                                       
      Port:  linc                    |  
-------------------------------------+--------------------------------------
Changes (by ryandesign at macports.org):

  * port:  => linc


Old description:

> 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.

New description:

 {{{
 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.
 }}}

--

Comment:

 I see the problem too.

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

-- 
Ticket URL: <http://trac.macports.org/ticket/14445#comment:3>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list