Bug 277978 - [exp-run] ports-mgmt/pkg-devel 1.20.99.12
Summary: [exp-run] ports-mgmt/pkg-devel 1.20.99.12
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: Port Management Team
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-26 15:36 UTC by Baptiste Daroussin
Modified: 2024-04-03 07:15 UTC (History)
3 users (show)

See Also:
bugzilla: maintainer-feedback? (pkg)
bapt: exp-run?


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Baptiste Daroussin freebsd_committer freebsd_triage 2024-03-26 15:36:46 UTC
In preparation for pkg 1.21 please exp-run pkg-devel 1.20.99.1 with WITH_PKG=devel in make.conf
Comment 2 Gleb Popov freebsd_committer freebsd_triage 2024-03-31 14:43:22 UTC
I wasn't able to reproduce the crash, but here are my findings nevertheless:

mod_php82 TMPPLIST:

@postexec %D/sbin/apxs -e -a -n php %f
@preunexec %D/sbin/apxs -e -A -n php %f

These lines come from Mk/Uses/apache.mk

in the resulting package manifest I see:

"post-install":"/usr/local/sbin/apxs -e -a -n php (null)","pre-deinstall":"/usr/local/sbin/apxs -e -A -n php (null)"

These "(null)" look wrong and probably lead to the core of the problem.
Comment 3 Muhammad Moinur Rahman freebsd_committer freebsd_triage 2024-03-31 14:49:07 UTC
(In reply to Gleb Popov from comment #2)
I wish I could just kill these mod_php* ports. :/
Comment 4 Baptiste Daroussin freebsd_committer freebsd_triage 2024-03-31 20:34:53 UTC
I know the bigs I will fix it soon
Comment 5 commit-hook freebsd_committer freebsd_triage 2024-04-02 13:30:46 UTC
A commit in branch main references this bug:

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

commit c923e0d7d6c52b93375205e4133e83b0b9d541c7
Author:     Baptiste Daroussin <bapt@FreeBSD.org>
AuthorDate: 2024-04-02 13:16:14 +0000
Commit:     Baptiste Daroussin <bapt@FreeBSD.org>
CommitDate: 2024-04-02 13:30:10 +0000

    ports-mgmt/pkg: update to 1.21.0

    Changes since latest 1.20.0
    - new event PKG_EVENT_PKG_ERRNO
    - add: only generates .pkgsave when really needed
    - repo:
      * remove the ability to create v1 repository format
      * remove ability to produce meta.{pkg,txz} unused since 1.13
      * replace packagesite.pkg with data.pkg (new extensible format)
      * keep producing packagesite.pkg for backward compatibility
      * local repository information is now located in
        /var/dbv/repos/<reponame/*
    - support job cancellation (packagekit support)
    - update bundle code to latest versions:
      * libcurl
      * sqlite
      * lua
      * libucl
    - plist keywords:
      - new @override_prefix
      - new @var key value (able to expand %%key%%)
    - scripts:
      * new variable PKG_ISCHROOTED for script to be aware if being run
        bia pkg -c
    - update:
      * prevents concurrent pkg update to compete
    - pkgbase:
      * .snap now comes after .alpha in versionning
    - key:
      * new subcommand to be able to generate signature keys
    - signatures:
      * add support ECDSA and EdDSA for all its signature mechanism
    - elfhints:
      * pkg now supports elfhints of any byte-order on FreeBSD
    - solver:
      * prevent directly in the solver the ability to remove vital or
        locked packages

    PR:             277978
    Exp-run:        antoine

 ports-mgmt/pkg/Makefile  | 3 +--
 ports-mgmt/pkg/distinfo  | 6 +++---
 ports-mgmt/pkg/pkg-plist | 2 ++
 3 files changed, 6 insertions(+), 5 deletions(-)
Comment 6 Baptiste Daroussin freebsd_committer freebsd_triage 2024-04-03 07:15:35 UTC
fixed and released, thank you!