Opened 7 weeks ago

Closed 7 weeks ago

Last modified 7 weeks ago

#70849 closed defect (fixed)

gss @1.0.4: aclocal-1.16: command not found

Reported by: ShadSterling (Shad Sterling) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.10.1
Keywords: sequoia Cc:
Port: gss

Description

2018 Intel macbook just upgraded to Sequoia, sudo port migrate largely failed on #70750, after removing /Library/Developer/CommandLineTools/usr/include/c++ to fix that, sudo port restore --last also largely fails due to gss

:info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_gss/gss/work/gss-1.0.4'
:info:build CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_gss/gss/work/gss-1.0.4/build-aux/missing' aclocal-1.16 -I m4 -I lib/gl/m4 -I src/gl/m4
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_gss/gss/work/gss-1.0.4/build-aux/missing: line 81: aclocal-1.16: command not found
:info:build WARNING: 'aclocal-1.16' is missing on your system.
:info:build          You should only need it if you modified 'acinclude.m4' or
:info:build          'configure.ac' or m4 files included by 'configure.ac'.
:info:build          The 'aclocal' program is part of the GNU Automake package:
:info:build          <https://www.gnu.org/software/automake>
:info:build          It also requires GNU Autoconf, GNU m4 and Perl in order to run:
:info:build          <https://www.gnu.org/software/autoconf>
:info:build          <https://www.gnu.org/software/m4/>
:info:build          <https://www.perl.org/>
:info:build make: *** [aclocal.m4] Error 127
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_gss/gss/work/gss-1.0.4'

Autoconf appears to have installed successfully a few ports before gss

Attachments (2)

main.log (58.9 KB) - added by ShadSterling (Shad Sterling) 7 weeks ago.
main.2.log (154.6 KB) - added by Buadhai 7 weeks ago.

Download all attachments as: .zip

Change History (10)

Changed 7 weeks ago by ShadSterling (Shad Sterling)

Attachment: main.log added

comment:1 Changed 7 weeks ago by ryandesign (Ryan Carsten Schmidt)

Keywords: sequoia added; Sequoia removed
Summary: Sequoia Problem: gss build fails: 'aclocal-1.16' is missing on your systemgss @1.0.4: aclocal-1.16: command not found

comment:2 Changed 7 weeks ago by ShadSterling (Shad Sterling)

Some other tickets suggest this could be caused by missing dependencies, but all dependencies mentioned are installed

automake, autoconf, m4, perl5, pcre, pcre2, nmap, and cctools

comment:3 Changed 7 weeks ago by ryandesign (Ryan Carsten Schmidt)

Owner: set to ryandesign
Resolution: fixed
Status: newclosed

In e9cbe148b95b6d79b781a64d816101f1bcdb5410/macports-ports (master):

gss: Autoreconf properly

Closes: #70849

comment:4 in reply to:  2 Changed 7 weeks ago by ryandesign (Ryan Carsten Schmidt)

Replying to ShadSterling:

Some other tickets suggest this could be caused by missing dependencies, but all dependencies mentioned are installed

I suspect what those other tickets mean is: ports which should have been listed as dependencies but weren't. In this case, I found that gtk-doc needed to be added.

comment:5 Changed 7 weeks ago by ShadSterling (Shad Sterling)

That fix isn't coming through selfupdate yet, but trying to install it following https://trac.macports.org/wiki/howto/InstallingOlderPort (with the correction from https://superuser.com/questions/598824/previous-version-of-cgal-with-macports-error-unable-to-execute-port-could-no ) it fails with a different error:

:info:build libtool: compile:  /usr/bin/clang -DHAVE_CONFIG_H -I. -I../.. -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -pipe -Os -isysroot/Library/Developer CommandLineTools/SDKs/MacOSX15.sdk -arch x86_64 -MT libgnu_la-open.lo -MD -MP -MF .deps/libgnu_la-open.Tpo -c open.c  -fno-common -DPIC -o .libs/libgnu_la-open.o
:info:build In file included from base64.c:48:
:info:build ./ialloc.h:39:1: error: an attribute list cannot appear here
:info:build    39 | IALLOC_INLINE void * _GL_ATTRIBUTE_COLD
:info:build       | ^~~~~~~~~~~~~
:info:build ./ialloc.h:32:24: note: expanded from macro 'IALLOC_INLINE'
:info:build    32 | # define IALLOC_INLINE _GL_INLINE
:info:build       |                        ^~~~~~~~~~
:info:build ../../config.h:1192:28: note: expanded from macro '_GL_INLINE'
:info:build  1192 | # define _GL_INLINE static _GL_UNUSED
:info:build       |                            ^~~~~~~~~~
:info:build ../../config.h:1006:20: note: expanded from macro '_GL_UNUSED'
:info:build  1006 | #define _GL_UNUSED _GL_ATTRIBUTE_MAYBE_UNUSED
:info:build       |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~
:info:build ../../config.h:1001:37: note: expanded from macro '_GL_ATTRIBUTE_MAYBE_UNUSED'
:info:build  1001 | # define _GL_ATTRIBUTE_MAYBE_UNUSED [[__maybe_unused__]]
:info:build       |                                     ^~~~~~~~~~~~~~~~~~~~
:info:build In file included from base64.c:48:
:info:build ./ialloc.h:46:1: error: an attribute list cannot appear here
:info:build    46 | IALLOC_INLINE
:info:build       | ^~~~~~~~~~~~~
:info:build ./ialloc.h:32:24: note: expanded from macro 'IALLOC_INLINE'
:info:build    32 | # define IALLOC_INLINE _GL_INLINE
:info:build       |                        ^~~~~~~~~~
:info:build ../../config.h:1192:28: note: expanded from macro '_GL_INLINE'
:info:build  1192 | # define _GL_INLINE static _GL_UNUSED
:info:build       |                            ^~~~~~~~~~
:info:build ../../config.h:1006:20: note: expanded from macro '_GL_UNUSED'
:info:build  1006 | #define _GL_UNUSED _GL_ATTRIBUTE_MAYBE_UNUSED
:info:build       |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~
:info:build ../../config.h:1001:37: note: expanded from macro '_GL_ATTRIBUTE_MAYBE_UNUSED'
:info:build  1001 | # define _GL_ATTRIBUTE_MAYBE_UNUSED [[__maybe_unused__]]
:info:build       |                                     ^~~~~~~~~~~~~~~~~~~~

... and more of the same form

Is that because the autoreconf is getting something wrong? If it's unrelated and should get a separate ticket, should that wait for selfupdate to get the autoreconf fix?

Version 0, edited 7 weeks ago by ShadSterling (Shad Sterling) (next)

Changed 7 weeks ago by Buadhai

Attachment: main.2.log added

comment:6 Changed 7 weeks ago by Buadhai

Still fails for me on an M2 MBA after sequoia migration. Log file attached:

:info:build Exit code: 2
:error:build Failed to build gss: command execution failed
:debug:build Error code: CHILDSTATUS 4319 2
:debug:build Backtrace: command execution failed
:debug:build     while executing
:debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
:debug:build     invoked from within
:debug:build "command_exec -callback portprogress::target_progress_callback build"
:debug:build     (procedure "portbuild::build_main" line 10)
:debug:build     invoked from within
:debug:build "$procedure $targetname"

comment:7 Changed 7 weeks ago by jmroot (Joshua Root)

That's #70869.

comment:8 in reply to:  7 Changed 7 weeks ago by Buadhai

Replying to jmroot:

That's #70869.

How did you know that? I'm asking because I want to have a better understanding of how this all works.

Edit: Turns out I knew that all along. I just posted to the wrong ticket. Sorry.

Last edited 7 weeks ago by Buadhai (previous) (diff)
Note: See TracTickets for help on using tickets.