mmarzolla / queueing

A queueing package for GNU Octave
https://www.moreno.marzolla.name/software/queueing
GNU General Public License v3.0
0 stars 0 forks source link

Description file is not generated #3

Open carlosal1015 opened 1 month ago

carlosal1015 commented 1 month ago

Hi, Arch Linux User Repository maintainer here, my the question is similar that #2.

I am not sure if the Description.in should change to Description in the compilation process,

==> Making package: octave-queueing 1.2.8-1 (Fri Jul 12 20:45:48 2024)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
mkdir (/tmp/oct-dWCCOI)
untar (queueing-1.2.8.tar.gz, /tmp/oct-dWCCOI)
error: package is missing file: DESCRIPTION
error: called from
    install>verify_directory at line 359 column 7
    install at line 127 column 9
    pkg at line 619 column 9
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: octave-queueing-exit status 4
 -> Failed to install the following packages. Manual intervention is required:

https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=octave-queueing#n51

pkg install -verbose -nodeps queueing-1.2.8.tar.gz;
mmarzolla commented 1 month ago

I am unable to reproduce the problem; the file DESCRIPTION is already in the tarball https://github.com/mmarzolla/queueing/releases/download/1.2.8/queueing-1.2.8.tar.gz and I can install it (almost) cleanly:

GNU Octave, version 9.1.0
Copyright (C) 1993-2024 The Octave Project Developers.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  For details, type 'warranty'.

Octave was configured for "x86_64-pc-linux-gnu".

Home page:            https://octave.org
Support resources:    https://octave.org/support
Improve Octave:       https://octave.org/get-involved

For changes from previous versions, type 'news'.

octave:1>  pkg install -verbose -nodeps queueing-1.2.8.tar.gz;
mkdir (/tmp/oct-lPh3nz)
untar (queueing-1.2.8.tar.gz, /tmp/oct-lPh3nz)
warning: doc_cache_create: unusable help text found in file 'demo_web'
warning: called from
    doc_cache_create>handle_function at line 98 column 5
    doc_cache_create>create_cache at line 118 column 36
    gen_doc_cache_in_dir>@<anonymous> at line 150 column 20
    doc_cache_create>gen_doc_cache_in_dir at line 151 column 9
    doc_cache_create at line 62 column 12
    install>generate_lookfor_cache at line 836 column 5
    install at line 241 column 7
    pkg at line 619 column 9

For information about changes from previous versions of the queueing package, run 'news queueing'.
octave:2>

The warning about the missing help text has been fixed, and the patch will be included in the next package release.