Bug 274973 - lang/pharo: update to 10.0.8
Summary: lang/pharo: update to 10.0.8
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: Fernando Apesteguía
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-08 20:46 UTC by Daniel Ziltener
Modified: 2023-11-24 08:19 UTC (History)
2 users (show)

See Also:


Attachments
Git Patch File (4.96 KB, patch)
2023-11-08 20:46 UTC, Daniel Ziltener
no flags Details | Diff
lang/pharo: update to 10.0.9 (5.88 KB, patch)
2023-11-23 01:17 UTC, Daniel Ziltener
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Ziltener 2023-11-08 20:46:03 UTC
Created attachment 246207 [details]
Git Patch File

This updates the Pharo VM to version 10.0.8.
Comment 1 Fernando Apesteguía freebsd_committer freebsd_triage 2023-11-13 08:12:41 UTC
^Triage: Simplifying title

^Triage: If there is a changelog or release notes URL available for this version, please add it to the URL field.

Q/A: PORTREVISION should be removed (NO NEED TO UPDATE A NEW PATCH)


Thanks!
Comment 2 Fernando Apesteguía freebsd_committer freebsd_triage 2023-11-13 09:53:14 UTC
This does not build in poudriere:

===>   Generating temporary packing list
/bin/mkdir -p /usr/local/libexec/pharo10
mkdir: /usr/local/libexec/pharo10: Permission denied
*** Error code 1

Stop.

It looks like it is trying to escape the staging area during building.

Could you have a look?
Comment 3 Fernando Apesteguía freebsd_committer freebsd_triage 2023-11-13 09:55:29 UTC
These lines should refer to ${STAGEDIR}:

+       ${MKDIR} ${DESTDIR}${PREFIX}/libexec/pharo10
+       cd ${WRKDIR}/.build/build/packaging/linux/bin && \
+               ${INSTALL_SCRIPT} pharo ${DESTDIR}${PREFIX}/bin/pharo10
+       cd ${WRKDIR}/.build/build/vm && \
+               ${INSTALL_PROGRAM} pharo ${DESTDIR}${PREFIX}/libexec/pharo10/pharo
+       cd ${WRKDIR}/.build/build/vm && \
+               ${FIND} . -type f -name "*.so" | while read file; do \
+               ${INSTALL_LIB} $$file ${DESTDIR}${PREFIIX}/lib/pharo10; \
+               done
Comment 4 Daniel Ziltener 2023-11-23 01:17:18 UTC
Created attachment 246505 [details]
lang/pharo: update to 10.0.9

Updated the patch accordingly. Thanks!
Comment 5 Fernando Apesteguía freebsd_committer freebsd_triage 2023-11-24 08:19:52 UTC
Committed,

Thanks!
Comment 6 commit-hook freebsd_committer freebsd_triage 2023-11-24 08:19:53 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0f02c6466c455f20b81db359aa433ba2555a1b82

commit 0f02c6466c455f20b81db359aa433ba2555a1b82
Author:     Daniel Ziltener <dziltener@lyrion.ch>
AuthorDate: 2023-11-23 09:05:15 +0000
Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2023-11-24 08:19:14 +0000

    lang/pharo: update to 10.0.8

    PR:             274973
    Reported by:    dziltener@lyrion.ch

 lang/pharo/Makefile                                | 56 +++++++++++++---------
 lang/pharo/distinfo                                |  5 +-
 .../patch-packaging_linux_bin_launch.sh.in (new)   | 18 +++++++
 lang/pharo/pkg-descr                               |  2 -
 lang/pharo/pkg-plist (new)                         | 20 ++++++++
 5 files changed, 74 insertions(+), 27 deletions(-)