Opened 14 years ago

Closed 14 years ago

#26626 closed defect (fixed)

libassuan @2.0.1 fails to build: 'fd_set' undeclared (first use in this function)

Reported by: roberto@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: tiger Cc: gorzarg@…
Port: libassuan

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

/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

Attachments (1)

libassuan.log.bz2 (2.3 KB) - added by roberto@… 14 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Summary: libassuan @2.0.1 fails to buildlibassuan @2.0.1 fails to build: 'fd_set' undeclared (first use in this function)

Please remember to use WikiFormatting so your posts are legible.

comment:2 Changed 14 years ago by jmroot (Joshua Root)

Could you please attach the log file? It contains several bits of information that you haven't mentioned.

Upstream report: https://bugs.g10code.com/gnupg/issue1205

Changed 14 years ago by roberto@…

Attachment: libassuan.log.bz2 added

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

Has duplicate #27288.

comment:4 Changed 14 years ago by gorzarg@…

Cc: gorzarg@… added

Cc Me!

comment:5 Changed 14 years ago by jmroot (Joshua Root)

Keywords: tiger added
Resolution: fixed
Status: newclosed

Applied the upstream fix in r73415.

Note: See TracTickets for help on using tickets.