poke-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GNU poke 2.90.0 on Linux/s390 and Linux/s390x


From: Jose E. Marchesi
Subject: Re: GNU poke 2.90.0 on Linux/s390 and Linux/s390x
Date: Mon, 23 Jan 2023 22:57:11 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

> On Linux/s390 (32-bit mode of s390x) and Linux/s390x (64-bit mode),
> poke build fine and passes all DejaGnu tests.
>
> But once installed, the binary does not work:
>
> * On Linux/s390:
>
>   $ ./poke
>   poke: ../../poke/pk-cmd-set.c:240: pk_cmd_set_init: Assertion `setting_int 
> != 0x7ULL' failed.
>   Aborted
>
> * On Linux/s390x:
>
>   $ ./poke
>        _____
>    ---'   __\_______
>               ______)  GNU poke 2.90.0
>               __)
>              __)
>    ---._______)
>
>   Copyright (C) 2019-2022 The poke authors.
>   License GPLv3+: GNU GPL version 3 or later.
>   This is free software: you are free to change and redistribute it.
>   There is NO WARRANTY, to the extent permitted by law.
>
>   Powered by Jitter 0.9.291.
>   Perpetrated by Jose E. Marchesi.
>
>   For help, type ".help".
>   Type ".exit" to leave the program.
>   poke: ../../poke/poke.c:311: pk_var_int: Assertion `val != 0x7ULL' failed.
>   Aborted

Hm both cases fail because some installed poke script (.pk) is not being
found.

Are they being installed in $pkgdatadir/poke/ ?  (like
/usr/local/share/poke/poke )

When poke runs uninstalled (which works) it reads the $POKEDATADIR,
$POKEAPPDIR from environment variables.

When poke runs installed (which seems to not work) it bases all these
values on the value of the cpp constant PKGDATADIR, which is passed in
poke_CPPFLAGS with -DPKGDATADIR=\"$(pkgdatadir)\" \







reply via email to

[Prev in Thread] Current Thread [Next in Thread]