Bug 277852

Summary: devel/alire: Update to 2.0.1
Product: Ports & Packages Reporter: Alastair Hogge <agh>
Component: Individual Port(s)Assignee: Robert Clausecker <fuz>
Status: Open ---    
Severity: Affects Only Me CC: agh, fuz
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
URL: https://github.com/alire-project/alire/releases/tag/v2.0.1
Attachments:
Description Flags
Update to 2.0.1 none

Description Alastair Hogge 2024-03-21 01:40:43 UTC

    
Comment 1 Alastair Hogge 2024-04-05 03:58:13 UTC
Created attachment 249727 [details]
Update to 2.0.1

Update to 2.0.1:
* Increase build verbosity
* Prefix Port with "ada-"
* Remove pkg-plist, most of the contents is now covered by ${PORTDOCS},
  the remaining 4 entries by ${PLIST_FILES}

https://github.com/alire-project/alire/releases/tag/v2.0.0
https://github.com/alire-project/alire/releases/tag/v2.0.1
Comment 2 Alastair Hogge 2024-04-05 03:59:01 UTC
[TESTPORT] poudriere-testport devel/ada-alire:
[TESTPORT] main-amd64-current: PASS
[TESTPORT] 13_2-amd64-release: PASS
[TESTPORT] 13_3-amd64-release: PASS
[TESTPORT] 13_3-i386-release: PASS
[TESTPORT] 14_0-amd64-release: PASS
[TESTPORT] main-i386-current: FAIL
[TESTPORT] 13_2-i386-release: FAIL
[TESTPORT] 14_0-i386-release: FAIL
Comment 3 Robert Clausecker freebsd_committer freebsd_triage 2024-05-12 09:57:26 UTC
Do you know why the build fails on some platforms?  Is this failure acceptable to you?
Comment 4 Alastair Hogge 2024-05-12 13:05:15 UTC
Comment on attachment 249727 [details]
Update to 2.0.1

Will need to redo patch without the ada- prefix.
Comment 5 Alastair Hogge 2024-05-12 13:24:34 UTC
(In reply to Robert Clausecker from comment #3)

Heya Robert,

The failures shit me to tears. I first noticed this (2022/2023) when I started working on restoring Ada Ports that been removed back in 2022-02-28[1]. The failures were happening only on i386, with lang/gnat12, and devel/gprbuild. Using lang/gcc6-aux was OK, provided I could get the Port to build, however, many of those Ada systems have seen updated since they were last in the Ports tree, and I think they required a later version of an Ada compiler, as well as moving from gnatmake to gprbuild. The failure happens in the gprbuild phase, from memory, and it had something to do with blowing out the stack space of the gprbuild process. Investigating this is on my TODO list, I would prefer working Ports, even in light of the i386 architecture's coming departure. Having said that, I doubt I will get around to investigating that before we see i386 off. I even have a vague memory of my initial Alire Port working on all i386 releases at the time too, but I sat on the Port for so long, that by the time I submitted it for review, the i386 builds were failing. All Ada Ports using lang/gnat12 do this as far I can recall.

I still have no working environment for Port shenanigans, unfortunate, 'tis doing my head in; I will be away soon, delaying the restoration of said shenanigans further.

Thanks for your interest tho.

1: https://cgit.freebsd.org/ports/commit/?id=8e2a89b
Comment 6 Robert Clausecker freebsd_committer freebsd_triage 2024-05-12 18:58:39 UTC
Okay, as you wish.  I understand that you do not want to have this committed at this time?
Comment 7 Robert Clausecker freebsd_committer freebsd_triage 2024-05-12 19:07:04 UTC
Note that devel/gprbuild currently also fails on arm64:

error: "s-imgllli.ali" not found, "s-imgllli.ads" must be compiled
error: "s-imgllli.ali" not found, "s-imgllli.ads" must be compiled
gnatmake: *** bind failed.
*** Error code 4
Comment 8 Alastair Hogge 2024-05-12 22:24:53 UTC
(In reply to Robert Clausecker from comment #6)

Yes, I mistakenly believed language specific Ports should have a prefix, in this case "ada-", so I started to reflect that in updates I was working on previously, however, I have since been informed, that is not the convention, bug #277823, comment #8.
Comment 9 Alastair Hogge 2024-05-12 22:32:39 UTC
(In reply to Robert Clausecker from comment #7)

Yeah I noticed that too, my plan has been to investigate that using the QEMU option in poudriere-devel.