On Sun, Sep 03 2023, Jonathan Schleifer <[email protected]> wrote: > Am 03.09.23 um 19:49 schrieb Jeremie Courreges-Anglas: > >> I don't know which of .SILENT or make -s or the escape characters hide >> the compiler command lines used to build the object files, but let's >> find a way to disable this behaviour at least in the port. > > Attached is an updated port that removes the silent rules. However, that > makes the output quite confusing and is IMO not really an improvement. > But hey, you're the guys looking at that output, if that's what you > prefer, I'm fine with that :-). > >> We need to >> see the programs and flags involved, if only to verify that said flags >> are sane in the context of the ports tree. > > If that's all: buildsys.mk is the source of truth for all that. Printing > OBJC, OBJCFLAGS, CPPFLAGS, LIBS and LDFLAGS from that would probably be > sufficient for that purpose and would look a lot less messy.
There are two colliding interests here: having a build log that looks neat to you or the end user (hence the ascii escape sequences, I guess), and explicit build logs that bring us porters valuable information. There are few things as frustrating for us as an opaque build system. The output may look a bit messy in the port, but in that context that's better than no output at all. If that's something you want to care about, many projects handle both wishes with a --disable-silent-rules or V=0/V=1 button. >> Like being used as an alternative for other objc frameworks and as >> a runtime for objc applications. Admittedly that's not an ecosystem >> I know much about. > > Nope, this is not an OpenStep implementation, so cannot act as the > alternative of one. ack >> Thanks. Updated tarball attached which simplifies SHARED_LIBS handling >> and zaps COMPILER_LANGS=objc. Could you please tweak/patch the port so >> that compiler/linker commands are printed? > > I took those two changes. For silent see above. Thanks. I have imported objfw as proposed in your last tarball, except with a simple patch for clarity instead of your ed(1) script. -- jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE
