[MacPorts] #26626: libassuan @2.0.1 fails to build: 'fd_set' undeclared (first use in this function) (was: libassuan @2.0.1 fails to build)
MacPorts
noreply at macports.org
Sat Sep 25 15:44:45 PDT 2010
#26626: libassuan @2.0.1 fails to build: 'fd_set' undeclared (first use in this
function)
----------------------------------+-----------------------------------------
Reporter: roberto@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.9.1
Keywords: | Port: libassuan
----------------------------------+-----------------------------------------
Old description:
> /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include
> -I/opt/local/include -O2 -arch i386 -Wall -Wcast-align -Wshadow -Wstrict-
> prototypes -Wpointer-arith -MT ce-server.o -MD -MP -MF .deps/ce-
> server.Tpo -c -o ce-server.o ce-server.c
> In file included from ce-server.c:51:
> common.h: In function 'do_strconcat':
> common.h:265: warning: implicit declaration of function 'stpcpy'
> common.h:265: warning: incompatible implicit declaration of built-in
> function 'stpcpy'
> ce-server.c: In function 'server':
> ce-server.c:1291: error: 'fd_set' undeclared (first use in this function)
> ce-server.c:1291: error: (Each undeclared identifier is reported only
> once
> ce-server.c:1291: error: for each function it appears in.)
> ce-server.c:1291: error: parse error before 'rfds'
> ce-server.c:1295: warning: implicit declaration of function 'FD_ZERO'
> ce-server.c:1295: error: 'rfds' undeclared (first use in this function)
> ce-server.c:1296: warning: implicit declaration of function 'FD_SET'
> ce-server.c:1309: warning: implicit declaration of function 'select'
> ce-server.c:1311: warning: implicit declaration of function 'FD_ISSET'
> make[3]: *** [ce-server.o] Error 1
> make[2]: *** [all] Error 2
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
> shell command " cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libassuan/work/libassuan-2.0.1"
> && /usr/bin/make -j2 all " returned error 2
> Error: Target org.macports.build returned: shell command failed
> DEBUG: Backtrace: shell command failed
> while executing
> "command_exec build"
> (procedure "portbuild::build_main" line 8)
> invoked from within
> "$procedure $targetname"
> Warning: the following items did not execute (for libassuan):
> org.macports.destroot org.macports.build
> Log for libassuan is at:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libassuan/main.log
> DEBUG: invalid command name "::ui_init"
> while executing
> "::ui_init any stdout"
> ("eval" body line 1)
> invoked from within
> "eval ::ui_init $priority $prefix $channels($priority) $args"
> ("uplevel" body line 2)
> invoked from within
> "uplevel 1 $body"
> Error: Unable to upgrade port: 1
New description:
{{{
/usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include
-I/opt/local/include -O2 -arch i386 -Wall -Wcast-align -Wshadow -Wstrict-
prototypes -Wpointer-arith -MT ce-server.o -MD -MP -MF .deps/ce-server.Tpo
-c -o ce-server.o ce-server.c
In file included from ce-server.c:51:
common.h: In function 'do_strconcat':
common.h:265: warning: implicit declaration of function 'stpcpy'
common.h:265: warning: incompatible implicit declaration of built-in
function 'stpcpy'
ce-server.c: In function 'server':
ce-server.c:1291: error: 'fd_set' undeclared (first use in this function)
ce-server.c:1291: error: (Each undeclared identifier is reported only once
ce-server.c:1291: error: for each function it appears in.)
ce-server.c:1291: error: parse error before 'rfds'
ce-server.c:1295: warning: implicit declaration of function 'FD_ZERO'
ce-server.c:1295: error: 'rfds' undeclared (first use in this function)
ce-server.c:1296: warning: implicit declaration of function 'FD_SET'
ce-server.c:1309: warning: implicit declaration of function 'select'
ce-server.c:1311: warning: implicit declaration of function 'FD_ISSET'
make[3]: *** [ce-server.o] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libassuan/work/libassuan-2.0.1"
&& /usr/bin/make -j2 all " returned error 2
Error: Target org.macports.build returned: shell command failed
DEBUG: Backtrace: shell command failed
while executing
"command_exec build"
(procedure "portbuild::build_main" line 8)
invoked from within
"$procedure $targetname"
Warning: the following items did not execute (for libassuan):
org.macports.destroot org.macports.build
Log for libassuan is at:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libassuan/main.log
DEBUG: invalid command name "::ui_init"
while executing
"::ui_init any stdout"
("eval" body line 1)
invoked from within
"eval ::ui_init $priority $prefix $channels($priority) $args"
("uplevel" body line 2)
invoked from within
"uplevel 1 $body"
Error: Unable to upgrade port: 1
}}}
--
Comment(by ryandesign@…):
Please remember to use WikiFormatting so your posts are legible.
--
Ticket URL: <https://trac.macports.org/ticket/26626#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list