Opened 13 months ago

Last modified 13 months ago

#68399 new defect

alpine @2.26+kerberos+ldap+passfile+ssl+tcl: error: "Cannot define both PASSFILE and APPLEKEYCHAIN"

Reported by: cooljeanius (Eric Gallager) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc: jcvernaleo (John C. Vernaleo), jerryyhom
Port: alpine

Description

When compiling bldpath.c:

/usr/bin/clang -DHAVE_CONFIG_H   -I../../include -I../../include -I/opt/local/include/openssl -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk -I/opt/local/include -I/opt/local/include -I/opt/local/include/include -g -Dbsd -D_THREAD_SAFE  -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk -arch x86_64 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT bldpath.o -MD -MP -MF .deps/bldpath.Tpo -c -o bldpath.o bldpath.c
In file included from bldpath.c:15:
../../include/system.h:379:4: error: "Cannot define both PASSFILE and APPLEKEYCHAIN"
#  error "Cannot define both PASSFILE and APPLEKEYCHAIN"
   ^
1 error generated.
make[4]: *** [bldpath.o] Error 1
make[4]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_mail_alpine/alpine/work/alpine-2.26/pith/osdep'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_mail_alpine/alpine/work/alpine-2.26/pith'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_mail_alpine/alpine/work/alpine-2.26/pith'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_mail_alpine/alpine/work/alpine-2.26'
make: *** [all] Error 2
make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_mail_alpine/alpine/work/alpine-2.26'
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_mail_alpine/alpine/work/alpine-2.26" && /usr/bin/make -j1 -w all CC=/usr/bin/clang EXTRACFLAGS="-arch x86_64" EXTRALDFLAGS="-arch x86_64" SPECIALS="GSSDIR=/opt/local SSLDIR=/opt/local" 
Exit code: 2
Error: Failed to build alpine: command execution failed
DEBUG: Error code: CHILDSTATUS 52433 2

I'm on Big Sur with Xcode 13. (Also, while I'm cc-ing people on this, the maintainer fields for this port should probably be updated to include GitHub handles to go along with the email addresses)

Attachments (1)

alpine-main.log (59.6 KB) - added by cooljeanius (Eric Gallager) 13 months ago.
main.log for alpine

Download all attachments as: .zip

Change History (3)

Changed 13 months ago by cooljeanius (Eric Gallager)

Attachment: alpine-main.log added

main.log for alpine

comment:1 Changed 13 months ago by herbygillot (Herby Gillot)

We were seeing this error in default builds for 2.26 until the inclusion of this patch file: https://github.com/macports/macports-ports/pull/20721/files#diff-3df32df51bbb5d7e4fc6dacea8e83cc9e8533182766e58514d0009b2899df15a

Do you see this error if you attempt to build _without_ the passfile variant?

comment:2 in reply to:  1 Changed 13 months ago by cooljeanius (Eric Gallager)

Replying to herbygillot:

Do you see this error if you attempt to build _without_ the passfile variant?

No, I don't. Without the passfile variant, the port builds successfully.

Note: See TracTickets for help on using tickets.