Opened 6 years ago

Closed 6 years ago

#58065 closed defect (fixed)

sleuthkit: configure error on Mojave

Reported by: dershow Owned by: mf2k (Frank Schima)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: sleuthkit

Description

The Sleuthkit port was just upgraded from 4.6.2 to 4.6.5, but the upgrade fails to configure for me. I've attached the log file

Attachments (2)

main.log (8.3 KB) - added by dershow 6 years ago.
main.2.log (8.2 KB) - added by dershow 6 years ago.

Download all attachments as: .zip

Change History (19)

Changed 6 years ago by dershow

Attachment: main.log added

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

Summary: The Sleuthkit upgrade failssleuthkit: configure error on Mojave

Error is:

:debug:configure system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_sleuthkit/sleuthkit/work/sleuthkit-4.6.5" && ./bootstrap --verbose
:info:configure ./bootstrap: line 3: aclocal: command not found

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

It builds fine for me on High Sierra.

comment:3 Changed 6 years ago by Schamschula (Marius Schamschula)

When I built sleuthkit, I also did so on High Sierra, but ran into this issue while building in trace mode.

I'm not sure what is going on here, as aclocal is provided by automake and it is explicitly called out for by depends_build-append.

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

Indeed, automake is not in the dependencies. My understanding is that setting autoconf.cmd ./bootstrap clears the build dependencies. So adding automake after that command should fix this.

Last edited 6 years ago by mf2k (Frank Schima) (previous) (diff)

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

Yes, I locally edited the Portfile and confirmed that this works.

comment:6 Changed 6 years ago by dershow

I was trying to also see if I can run autopsy https://trac.macports.org/ticket/55985, but it seems to also require sleuthkit-4.6.5.jar. At least 4.6.2 doesn't produce a jar file.

comment:7 in reply to:  6 Changed 6 years ago by Schamschula (Marius Schamschula)

Replying to dershow:

I was trying to also see if I can run autopsy https://trac.macports.org/ticket/55985, but it seems to also require sleuthkit-4.6.5.jar. At least 4.6.2 doesn't produce a jar file.

I also had a look at autopsy 4.10.0 yesterday. Someone with more experience doing java ports needs to tackle it. It seems to need a complete rewrite of the Portfile.

comment:8 Changed 6 years ago by dershow

Does this mean that just installing automake will solve the build problem? Otherwise, should the depend_build-append section of the port file be moved down, or something else with automake?

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

Yes, installing automake should fix it. Please let us know if it does.

Last edited 6 years ago by mf2k (Frank Schima) (previous) (diff)

comment:10 Changed 6 years ago by dershow

It doesn't. I installed the automake port, and then tried the upgrade and it fails during configure.

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

Did you clean first?

comment:12 Changed 6 years ago by dershow

Yes, I did.

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

Please attach the new main.log file.

Changed 6 years ago by dershow

Attachment: main.2.log added

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

Error is now:

:info:configure sh: autom4te: command not found
:info:configure aclocal: error: echo failed with exit status: 127

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

Now install autoconf, sudo port clean sleuthkit and try again.

Last edited 6 years ago by mf2k (Frank Schima) (previous) (diff)

comment:16 Changed 6 years ago by dershow

That did it.

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

Owner: set to mf2k
Resolution: fixed
Status: newclosed

In 8e92f093db9e740753ccc95508a814e2af9b421e/macports-ports (master):

sleuthkit: Fix build

Fixes: #58065

Note: See TracTickets for help on using tickets.