Opened 18 months ago

Closed 18 months ago

Last modified 18 months ago

#67405 closed update (fixed)

smake @1.2.5: Update to 1.7

Reported by: Dave-Allured (Dave Allured) Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: RobK88, Dave-Allured (Dave Allured)
Port: smake

Description (last modified by Dave-Allured (Dave Allured))

Smake is now bundled in Schily Tools, along with star and other things. Update to version 1.6 in last Schily Tools release, 2021-09-18. https://sourceforge.net/projects/schilytools/

Edit: Newer version was found. Update to 1.7. See PR comments below.

Change History (8)

comment:1 Changed 18 months ago by RobK88

Cc: RobK88 added

comment:2 Changed 18 months ago by RobK88

It should be noted that one typically is unable to build newer versions of Schily software without the latest version of smake.

If one tries to build newer versions of Schily software (such as star) without the latest version of smake, one will see strange errors like:

smake: No such file or directory. Can not open 'OBJ/i386-darwin-clang/OBJ/i386-darwin-clang/align_test.d'.

Notice the wrong directory (i.e. the OBJ sub-directory is also a sub-directory! OOPS!).

Until the port for smake is updated to the latest version, the workaround is to replace the RULES directory in the source for newer software being compiled with the RULES directory from an older version of the software being compiled (since the older version was presumably designed to be build with the older version of smake).

Last edited 18 months ago by RobK88 (previous) (diff)

comment:3 Changed 18 months ago by RobK88

I was able to build the latest version of smake - version 1.6 on my Mac running High Sierra.

Grinchs-MBP:i386-darwin-clang grinch$ ./smake -version
Smake release 1.6 2021/08/12 (x86_64-apple-macosx17.7.0) Copyright (C) 1985, 87, 88, 91, 1995-2021 J?rg Schilling

One cannot create the latest version of smake using the old version of smake. One must follow the instructions in the BOOTSTRAP README file found in the latest source tarball for Schily Tools. I was able to built the latest version of smake using gnu make or gmake installed via MacPorts as the make program.

If you just want to make the latest version of smake and nothing else, you just need to do the following (assuming gnu make or gmake is your default make program):

tar -xf schily-2021-09-18.tar.bz2
cd psmake
./MAKE-all

Once the latest version of smake is built, you will need to install it. Try ./smake INS_BASE=/usr/local INS_RBASE=/usr/local install. Or just install it manually from the psmake directory into /usr/local/bin or your desired directory.

I will work on updating the Portfile for smake (since I need the latest version of smake to build the latest version of the star archiver) and will submit a PR. (For the star PR, please see https://github.com/macports/macports-ports/pull/18616)

Last edited 18 months ago by RobK88 (previous) (diff)

comment:4 Changed 18 months ago by Dave-Allured (Dave Allured)

Cc: Dave-Allured added

comment:5 Changed 18 months ago by RobK88

Executing ./Make-all as shown in my previous comment only creates a stripped down version of smake for Bootstrapping.

To build a final version of smake without building all the other binaries in Schily Tools like star, cdrtools etc, use this script:

#!/bin/sh

# Make Bootstrapped smake using gmake
cd psmake
./MAKE-all

# Build smake dependencies using bootstrapped version of smake
cd ../libschily
../psmake/smake

# Build final smake using bootstrapped version of smake
cd ../smake
../psmake/smake

comment:6 Changed 18 months ago by RobK88

I have submitted a Pull Request (PR) to update smake to version 1.6. See https://github.com/macports/macports-ports/pull/18655

I can build and install smake on my Mac running High Sierra just fine outside MacPorts. Unfortunately, smakedoes NOT build in the MacPorts sand boxed environment using my updated Portfile and new build script Gmake.smake. Bummer!

Last edited 18 months ago by RobK88 (previous) (diff)

comment:7 in reply to:  6 Changed 18 months ago by mascguy (Christopher Nielsen)

Resolution: fixed
Status: newclosed

Replying to RobK88:

I have submitted a Pull Request (PR) to update smake to version 1.7. See https://github.com/macports/macports-ports/pull/18655

PR merged, via the following commit:

https://github.com/macports/macports-ports/commit/f66ee9691ae78995bed02c36c317a4a9debd28bf

comment:8 Changed 18 months ago by Dave-Allured (Dave Allured)

Description: modified (diff)
Summary: smake @1.2.5: Update to 1.6smake @1.2.5: Update to 1.7
Note: See TracTickets for help on using tickets.