Opened 16 years ago

Closed 16 years ago

#17959 closed defect (fixed)

heimdal 1.2.1_0 FTB: Symbol ASL_KEY_FACILITY undeclared in logwtmp.c

Reported by: gale@… Owned by: landonf (Landon Fuller)
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: Cc: jeremyhu (Jeremy Huddleston Sequoia), ahkira28@…, bryan@…, h8spawn@…, ctempleton3@…, dbevans (David B. Evans)
Port: heimdal

Description

MacPorts 1.700, OSX 10.4.11 Intel

$ sudo port clean --all heimdal
--->  Cleaning heimdal
$ sudo port upgrade heimdal
--->  Fetching heimdal
--->  Attempting to fetch heimdal-1.2.1.tar.gz from http://arn.se.distfiles.macports.org/heimdal
--->  Verifying checksum(s) for heimdal
--->  Extracting heimdal
--->  Configuring heimdal
--->  Building heimdal
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_heimdal/work/heimdal-1.2.1" && make all " returned error 2
Command output: /usr/bin/gcc-4.0  -DHAVE_CONFIG_H -I. -I. -I../../../include  -I../../../lib/roken -I../../../lib/roken -I./../common    -I/opt/local/include -D_LARGE_FILES= -Wall -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast -Wmissing-declarations -Wnested-externs  -DINET6 -O2 -D_FORTIFY_SOURCE=0 -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c
mv -f .deps/main.Tpo .deps/main.Po
/usr/bin/gcc-4.0  -DHAVE_CONFIG_H -I. -I. -I../../../include  -I../../../lib/roken -I../../../lib/roken -I./../common    -I/opt/local/include -D_LARGE_FILES= -Wall -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast -Wmissing-declarations -Wnested-externs  -DINET6 -O2 -D_FORTIFY_SOURCE=0 -MT ruserpass.o -MD -MP -MF .deps/ruserpass.Tpo -c -o ruserpass.o ruserpass.c
mv -f .deps/ruserpass.Tpo .deps/ruserpass.Po
/usr/bin/gcc-4.0  -DHAVE_CONFIG_H -I. -I. -I../../../include  -I../../../lib/roken -I../../../lib/roken -I./../common    -I/opt/local/include -D_LARGE_FILES= -Wall -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast -Wmissing-declarations -Wnested-externs  -DINET6 -O2 -D_FORTIFY_SOURCE=0 -MT domacro.o -MD -MP -MF .deps/domacro.Tpo -c -o domacro.o domacro.c
mv -f .deps/domacro.Tpo .deps/domacro.Po
/usr/bin/gcc-4.0  -DHAVE_CONFIG_H -I. -I. -I../../../include  -I../../../lib/roken -I../../../lib/roken -I./../common    -I/opt/local/include -D_LARGE_FILES= -Wall -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast -Wmissing-declarations -Wnested-externs  -DINET6 -O2 -D_FORTIFY_SOURCE=0 -MT globals.o -MD -MP -MF .deps/globals.Tpo -c -o globals.o globals.c
mv -f .deps/globals.Tpo .deps/globals.Po
/usr/bin/gcc-4.0  -DHAVE_CONFIG_H -I. -I. -I../../../include  -I../../../lib/roken -I../../../lib/roken -I./../common    -I/opt/local/include -D_LARGE_FILES= -Wall -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast -Wmissing-declarations -Wnested-externs  -DINET6 -O2 -D_FORTIFY_SOURCE=0 -MT security.o -MD -MP -MF .deps/security.Tpo -c -o security.o security.c
mv -f .deps/security.Tpo .deps/security.Po
/usr/bin/gcc-4.0  -DHAVE_CONFIG_H -I. -I. -I../../../include  -I../../../lib/roken -I../../../lib/roken -I./../common    -I/opt/local/include -D_LARGE_FILES= -Wall -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast -Wmissing-declarations -Wnested-externs  -DINET6 -O2 -D_FORTIFY_SOURCE=0 -MT kauth.o -MD -MP -MF .deps/kauth.Tpo -c -o kauth.o kauth.c
mv -f .deps/kauth.Tpo .deps/kauth.Po
/usr/bin/gcc-4.0  -DHAVE_CONFIG_H -I. -I. -I../../../include  -I../../../lib/roken -I../../../lib/roken -I./../common    -I/opt/local/include -D_LARGE_FILES= -Wall -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast -Wmissing-declarations -Wnested-externs  -DINET6 -O2 -D_FORTIFY_SOURCE=0 -MT gssapi.o -MD -MP -MF .deps/gssapi.Tpo -c -o gssapi.o gssapi.c
mv -f .deps/gssapi.Tpo .deps/gssapi.Po
/bin/sh ../../../libtool --tag=CC   --mode=link /usr/bin/gcc-4.0  -Wall -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast -Wmissing-declarations -Wnested-externs  -DINET6 -O2 -D_FORTIFY_SOURCE=0  -L/opt/local/lib -o ftp cmds.o cmdtab.o ftp.o main.o ruserpass.o domacro.o globals.o security.o kauth.o  gssapi.o ../common/libcommon.a ../../../lib/gssapi/libgssapi.la ../../../lib/krb5/libkrb5.la ../../../lib/asn1/libasn1.la  -lcrypto  ../../../lib/vers/libvers.la ../../../lib/roken/libroken.la   ../../../lib/editline/libel_compat.la -ledit -ltermcap -lresolv  
libtool: link: /usr/bin/gcc-4.0 -Wall -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast -Wmissing-declarations -Wnested-externs -DINET6 -O2 -D_FORTIFY_SOURCE=0 -o .libs/ftp cmds.o cmdtab.o ftp.o main.o ruserpass.o domacro.o globals.o security.o kauth.o gssapi.o  -L/opt/local/lib ../common/libcommon.a ../../../lib/gssapi/.libs/libgssapi.dylib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_heimdal/work/heimdal-1.2.1/lib/ntlm/.libs/libheimntlm.dylib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_heimdal/work/heimdal-1.2.1/lib/krb5/.libs/libkrb5.dylib ../../../lib/krb5/.libs/libkrb5.dylib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_heimdal/work/heimdal-1.2.1/lib/hx509/.libs/libhx509.dylib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_heimdal/work/heimdal-1.2.1/lib/wind/.libs/libwind.dylib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_heimdal/work/heimdal-1.2.1/lib/asn1/.libs/libasn1.dylib ../../../lib/asn1/.libs/libasn1.dylib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_heimdal/work/heimdal-1.2.1/lib/com_err/.libs/libcom_err.dylib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_heimdal/work/heimdal-1.2.1/lib/roken/.libs/libroken.dylib -lcrypto ../../../lib/vers/.libs/libvers.a ../../../lib/roken/.libs/libroken.dylib ../../../lib/editline/.libs/libel_compat.a /opt/local/lib/libedit.dylib -lcurses -ltermcap -lresolv -framework CoreFoundation -framework Security
Making all in ftpd
/usr/bin/gcc-4.0  -DHAVE_CONFIG_H -I. -I. -I../../../include  -I../../../lib/roken -I../../../lib/roken -I./../common  -DFTP_SERVER -I/opt/local/include -D_LARGE_FILES= -Wall -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast -Wmissing-declarations -Wnested-externs  -DINET6 -O2 -D_FORTIFY_SOURCE=0 -MT ftpcmd.o -MD -MP -MF .deps/ftpcmd.Tpo -c -o ftpcmd.o ftpcmd.c
mv -f .deps/ftpcmd.Tpo .deps/ftpcmd.Po
/usr/bin/gcc-4.0  -DHAVE_CONFIG_H -I. -I. -I../../../include  -I../../../lib/roken -I../../../lib/roken -I./../common  -DFTP_SERVER -I/opt/local/include -D_LARGE_FILES= -Wall -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast -Wmissing-declarations -Wnested-externs  -DINET6 -O2 -D_FORTIFY_SOURCE=0 -MT ftpd.o -MD -MP -MF .deps/ftpd.Tpo -c -o ftpd.o ftpd.c
mv -f .deps/ftpd.Tpo .deps/ftpd.Po
/usr/bin/gcc-4.0  -DHAVE_CONFIG_H -I. -I. -I../../../include  -I../../../lib/roken -I../../../lib/roken -I./../common  -DFTP_SERVER -I/opt/local/include -D_LARGE_FILES= -Wall -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast -Wmissing-declarations -Wnested-externs  -DINET6 -O2 -D_FORTIFY_SOURCE=0 -MT logwtmp.o -MD -MP -MF .deps/logwtmp.Tpo -c -o logwtmp.o logwtmp.c
logwtmp.c: In function 'ftpd_logwtmp_asl':
logwtmp.c:87: error: 'ASL_KEY_FACILITY' undeclared (first use in this function)
logwtmp.c:87: error: (Each undeclared identifier is reported only once
logwtmp.c:87: error: for each function it appears in.)
make[3]: *** [logwtmp.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1

Error: Unable to upgrade port: 1
$

Attachments (2)

patch-heimdal.diff (458 bytes) - added by dbevans (David B. Evans) 16 years ago.
Proposed patch for Portfile
patch-appl-ftp-ftpd-logwtmp.c.diff (326 bytes) - added by dbevans (David B. Evans) 16 years ago.
for files directory

Download all attachments as: .zip

Change History (18)

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

Owner: changed from macports-tickets@… to landonf@…

comment:2 Changed 16 years ago by gale@…

Same problem, also on Tiger.

This is an important bug, it appears in the dependency tree of many ports and blocks all of them.

comment:3 Changed 16 years ago by gale@…

Oops. I'm the reporter. :) Sorry.

comment:4 Changed 16 years ago by trog24 (Frank J. R. Hanstick)

I have the same problem on MacOS 10.4.11 on the PowerPC. This and lbcomberra are preventing me from installing firefox-x11. Doing a web search, I found the following page which might be of some help:

https://roundup.it.su.se/jira/browse/HEIMDAL-226

comment:5 Changed 16 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Cc: jeremyhu@… added

comment:6 Changed 16 years ago by blb@…

Cc: ahkira28@… added

Cc reporter of dup #19307.

comment:7 Changed 16 years ago by bryan@…

Cc: bryan@… added

Cc Me!

comment:8 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:9 Changed 16 years ago by trog24 (Frank J. R. Hanstick)

libcamberra (misspelled it the first time) now installs; but, heimdal still fails to install.

comment:10 Changed 16 years ago by h8spawn@…

Cc: h8spawn@… added

Cc Me!

comment:11 Changed 16 years ago by blb@…

Cc: ctempleton3@… added

Cc reporter of dup #19594.

comment:12 Changed 16 years ago by dbevans (David B. Evans)

Cc: devans@… added

I'm seeing this as well when trying to install xulrunner (for yelp) so still an issue. OS X 10.4.11 ppc.

comment:13 Changed 16 years ago by dbevans (David B. Evans)

Attached is a proposed patch to heimdal that applies the patch recommended in the link above to logwtmp.c. This fixed the problem for me on tiger ppc and shouldn't effect leopard.

Changed 16 years ago by dbevans (David B. Evans)

Attachment: patch-heimdal.diff added

Proposed patch for Portfile

Changed 16 years ago by dbevans (David B. Evans)

for files directory

comment:14 Changed 16 years ago by ctempleton3@…

I was able to build heimdal with the proposed patch.

comment:15 Changed 16 years ago by bryan@…

Ditto. Thanks.

comment:16 Changed 16 years ago by dbevans (David B. Evans)

Resolution: fixed
Status: newclosed

Proposed patch committed in r51045 (maintainer timeout.)

Note: See TracTickets for help on using tickets.