Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#56116 closed defect (fixed)

libsecret @0.18.5: does not find automake 1.16

Reported by: korseby (korseby) Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 2.4.2
Keywords: haspatch Cc: ryandesign (Ryan Carsten Schmidt), majoc-at-astro (majoc-at-astro)
Port: libsecret

Description

Hi,

libsecret fails to build on macOS 10.13.3 and latest Xcode. It appears that autogen.sh does not find automake, although it was already installed with ports.

# port list installed | grep automake
automake                       @1.16.1         devel/automake
# which automake
/opt/bin/automake
# which autoconf
/opt/bin/autoconf
# echo $PATH
/opt/bin:/opt/sbin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/opt/bin:/opt/sbin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin
Executing:  cd "/opt/var/macports/build/_opt_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_libsecret/libsecret/work/libsecret-0.18.5" && ./autogen.sh --prefix=/opt --disable-silent-rules --enable-introspection 

You must have one of automake 1.15 1.14 1.13 1.12 1.11 1.10 to compile libsecret.
Install the appropriate package for your distribution,
or get the source tarball at http://ftp.gnu.org/gnu/automake/
Command failed:  cd "/opt/var/macports/build/_opt_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_libsecret/libsecret/work/libsecret-0.18.5" && ./autogen.sh --prefix=/opt --disable-silent-rules --enable-introspection 
Exit code: 1
Error: Failed to configure libsecret: configure failure: command execution failed
Error: See /opt/var/macports/logs/_opt_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_libsecret/libsecret/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.

Change History (10)

comment:1 Changed 6 years ago by mf2k (Frank Schima)

Cc: jeremyhu removed
Keywords: libsecret automake removed
Owner: set to jeremyhu
Status: newassigned

comment:2 in reply to:  description Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to korseby:

# port list installed | grep automake
automake                       @1.16.1         devel/automake

Note that port list installed doesn't do what you think it does. See wiki:FAQ#portlist. You should probably use port installed automake here instead.

comment:3 in reply to:  description ; Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to korseby:

You must have one of automake 1.15 1.14 1.13 1.12 1.11 1.10 to compile libsecret.

automake was recently updated from version 1.15.1 to 1.16.1. libsecret explicitly wants a version of automake from 1.10 to 1.15, so it fails with 1.16. We probably just need to add 1.16 to the list of acceptable versions, as upstream previously did for 1.15, 1.14, 1.13, 1.12. I don't know why they're being so restrictive of automake versions; it seems like they should assume that newer versions will work, instead of assuming that they won't. I don't see an upstream bug report about this; one should be filed.

comment:4 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: haspatch added
Summary: libsecret does not find automakelibsecret @0.18.5: does not find automake 1.16

comment:5 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign added

comment:6 Changed 6 years ago by majoc-at-astro (majoc-at-astro)

Cc: majoc-at-astro added

comment:7 Changed 6 years ago by majoc-at-astro (majoc-at-astro)

There's an exactly similar problem with gimp2. I'll file a separate ticket for that.

comment:8 Changed 6 years ago by korseby (korseby)

You may check (claws-)sylpheed mail-client too, as libsecret failed as a dependency too.

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

Resolution: fixed
Status: assignedclosed

In 63d5bd6427b5c6246104f29b195dfc165a712a30/macports-ports:

libsecret: refresh autogen.sh from upstream

Add build fix for automake 1.16.

Closes #56116

Alternative to https://github.com/macports/macports-ports/pull/1457

comment:10 in reply to:  3 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to ryandesign:

I don't see an upstream bug report about this; one should be filed.

https://bugzilla.gnome.org/show_bug.cgi?id=794610

Note: See TracTickets for help on using tickets.