Bug 279804 - devel/adacurses: missing ali files
Summary: devel/adacurses: missing ali files
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Dima Panov
URL:
Keywords:
Depends on:
Blocks: 279866
  Show dependency treegraph
 
Reported: 2024-06-17 03:28 UTC by Jonathan Chen
Modified: 2024-08-14 04:25 UTC (History)
3 users (show)

See Also:
bugzilla: maintainer-feedback? (fluffy)


Attachments
git-diff to restore .ali output (2.10 KB, patch)
2024-06-17 03:28 UTC, Jonathan Chen
no flags Details | Diff
git-diff to restore .ali output (2.30 KB, patch)
2024-07-24 21:17 UTC, Jonathan Chen
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Chen 2024-06-17 03:28:16 UTC
Created attachment 251516 [details]
git-diff to restore .ali output

All the .ali files for the package are missing.
Fix by including devel/gprbuild as a dependency.
Comment 1 Dima Panov freebsd_committer freebsd_triage 2024-07-22 18:26:01 UTC
error: "terminal_interface.ali" not found, "terminal_interface.ads" must be compiled


package still is incomplete :(
Comment 2 Jonathan Chen 2024-07-22 22:57:04 UTC
(In reply to Dima Panov from comment #1)

The error you've shown only comes up if I attempt to compile an Ada program which uses adacurses, eg: ports-mgmt/synth.

devel/adacurses requires devel/grpbuild to successfully complete; as can be seen in src/Makefile.in.
Comment 3 Jonathan Chen 2024-07-22 23:31:52 UTC
stormbringer:~,11:29am# pkg install -y adacurses
Updating Synth repository catalogue...
Fetching meta.conf: 100%    178 B   0.2kB/s    00:01    
Fetching data.pkg: 100%  336 KiB 344.1kB/s    00:01    
Processing entries: 100%
Synth repository update completed. 1532 packages processed.
All repositories are up to date.
Checking integrity... done (0 conflicting)
The following 1 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
        adacurses: 20211021_1

Number of packages to be installed: 1

The process will require 4 MiB more space.
[1/1] Installing adacurses-20211021_1...
[1/1] Extracting adacurses-20211021_1: 100%
stormbringer:~,11:30am# pkg info -l adacurses | grep terminal_interface.ali
        /usr/local/lib/adacurses/terminal_interface.ali
Comment 4 Jonathan Chen 2024-07-24 21:17:09 UTC
Created attachment 252265 [details]
git-diff to restore .ali output

Bump PORTREVISION to indicate package content change.
Comment 5 commit-hook freebsd_committer freebsd_triage 2024-08-12 09:05:05 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=405a3fc5d33710483df415f6a2d07292bcd081a2

commit 405a3fc5d33710483df415f6a2d07292bcd081a2
Author:     Dima Panov <fluffy@FreeBSD.org>
AuthorDate: 2024-08-12 09:00:10 +0000
Commit:     Dima Panov <fluffy@FreeBSD.org>
CommitDate: 2024-08-12 09:03:57 +0000

    devel/adacurses: build .ali files (+)

    depend on devel/gprbuild

    PR:     279804

    Note:   tested only on i386 and amd64, unable to build on aarch64 due to gprbuild build error

 devel/adacurses/Makefile  |  7 ++++---
 devel/adacurses/pkg-plist | 37 +++++++++++++++++++++++++++++++++++++
 2 files changed, 41 insertions(+), 3 deletions(-)
Comment 6 Dima Panov freebsd_committer freebsd_triage 2024-08-12 09:06:33 UTC
Landed, thanks!


Was unable to build on aarch64 due to gprbuild build error
Comment 7 Jonathan Chen 2024-08-13 04:22:28 UTC
To build adacurses on aarch64, bug 279996 must first be committed.
Comment 8 Dima Panov freebsd_committer freebsd_triage 2024-08-13 07:39:27 UTC
(In reply to Jonathan Chen from comment #7)
Nope, gprbuild itself fails to build on aarch64
Comment 9 Jonathan Chen 2024-08-14 04:25:49 UTC
(In reply to Dima Panov from comment #8)

devel/gprbuild currently fails to build because there are missing .ali files on aarch64-gnat12. This is addressed by the fix on bug 279996. Once it is committed, gprbuild will then build successfully.