What is a 'turd_octave'? this occurred during the most recent update to the octave package

Kenneth Wolcott kennethwolcott at gmail.com
Sun Mar 30 18:42:02 UTC 2025


Hi Ryan;

  Since it wasn't a fatal error, the octave port work area was
automatically cleaned, so I only have the details that I provided in the
initial email.

  I did a self update.

  I did a port outdated.

  The octave port was the only port that needed updating.

  I then did a port upgrade outdated.

That's it.

Hope that helps.

Ken Wolcott

On Sun, Mar 30, 2025 at 8:43 AM Ryan Carsten Schmidt <
ryandesign at macports.org> wrote:

> On Mar 29, 2025, at 21:03, Kenneth Wolcott wrote:
>
>
> What is a 'turd_octave'? this occurred during the most recent update to
> the octave package...
>
> recreating package description from .turd_octave
> warning: directory .turd_octave is not a valid package
> warning: called from
>     rebuild at line 71 column 7
>     pkg at line 707 column 9
>
>
> When a Portfile uses the directive destroot.keepdirs to tell MacPorts to
> keep a directory as part of the port's contents even though it is empty,
> this is accomplished by MacPorts creating an invisible "turd" file in the
> directory so that it is not empty. The octave Portfile does this here:
>
>
> https://github.com/macports/macports-ports/blob/595780010dd23eef0efe9602355c0de096008425/math/octave/Portfile#L728
>
> In your warning message it is being referred to as a directory rather than
> a file. I assume that is simply a mistake in the warning message.
>
> Something about octave is unexpectedly trying to process the turd file as
> if it were an octave package. Since it isn't one it complains.
>
> You could file a bug report. Be sure to mention what commands you ran that
> resulted in these messages.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20250330/6cd05a1b/attachment.htm>


More information about the macports-users mailing list