Skip to content

1.12.4 bottle contains 1.12.3 directory — pour fails with "is not a directory" #35

Description

@bli-blu-bla

Description

brew install dunglas/frankenphp/frankenphp fails when pouring the 1.12.4 bottle:
the tarball referenced by the formula was packaged from 1.12.3, so the expected
Cellar/frankenphp/1.12.4 directory is never created.

Steps to reproduce

$ brew install dunglas/frankenphp/frankenphp
==> Fetching downloads for: frankenphp

✔︎ Bottle capstone (5.0.9)                                                                                                                                                             Downloaded    3.3MB/  3.3MB
✔︎ Bottle watcher (0.14.5)                                                                                                                                                             Downloaded   97.6KB/ 97.6KB
✔︎ Bottle frankenphp (1.12.4)                                                                                                                                                          Downloaded   17.8MB/ 17.8MB
✔︎ Bottle php-zts (8.5.7)                                                                                                                                                              Downloaded   33.7MB/ 33.7MB
==> Installing frankenphp from dunglas/frankenphp
==> Installing dependencies for dunglas/frankenphp/frankenphp: capstone, shivammathur/php/php-zts and watcher
==> Installing dunglas/frankenphp/frankenphp dependency: capstone
==> Pouring capstone--5.0.9.arm64_tahoe.bottle.tar.gz
🍺  /opt/homebrew/Cellar/capstone/5.0.9: 31 files, 23.4MB
==> Installing dunglas/frankenphp/frankenphp dependency: shivammathur/php/php-zts
==> Pouring php-zts--8.5.7.arm64_tahoe.bottle.tar.gz

==> /opt/homebrew/Cellar/php-zts/8.5.7/bin/pear config-set php_ini /opt/homebrew/etc/php/8.5-zts/php.ini system
==> /opt/homebrew/Cellar/php-zts/8.5.7/bin/pear config-set php_dir /opt/homebrew/share/pear system
==> /opt/homebrew/Cellar/php-zts/8.5.7/bin/pear config-set doc_dir /opt/homebrew/share/pear/doc system
==> /opt/homebrew/Cellar/php-zts/8.5.7/bin/pear config-set ext_dir /opt/homebrew/lib/php/pecl/20250925-zts system
==> /opt/homebrew/Cellar/php-zts/8.5.7/bin/pear config-set bin_dir /opt/homebrew/opt/php-zts/bin system
==> /opt/homebrew/Cellar/php-zts/8.5.7/bin/pear config-set data_dir /opt/homebrew/share/pear/data system
==> /opt/homebrew/Cellar/php-zts/8.5.7/bin/pear config-set cfg_dir /opt/homebrew/share/pear/cfg system
==> /opt/homebrew/Cellar/php-zts/8.5.7/bin/pear config-set www_dir /opt/homebrew/share/pear/htdocs system
==> /opt/homebrew/Cellar/php-zts/8.5.7/bin/pear config-set man_dir /opt/homebrew/share/man system
==> /opt/homebrew/Cellar/php-zts/8.5.7/bin/pear config-set test_dir /opt/homebrew/share/pear/test system
==> /opt/homebrew/Cellar/php-zts/8.5.7/bin/pear config-set php_bin /opt/homebrew/opt/php-zts/bin/php system
==> /opt/homebrew/Cellar/php-zts/8.5.7/bin/pear update-channels
🍺  /opt/homebrew/Cellar/php-zts/8.5.7: 535 files, 152.6MB
==> Installing dunglas/frankenphp/frankenphp dependency: watcher
==> Pouring watcher--0.14.5.arm64_tahoe.bottle.tar.gz
🍺  /opt/homebrew/Cellar/watcher/0.14.5: 16 files, 393.2KB
==> Installing dunglas/frankenphp/frankenphp
==> Pouring frankenphp--1.12.4.arm64_sequoia.bottle.tar.gz
Error: /opt/homebrew/Cellar/frankenphp/1.12.4 is not a directory

Bottle contents

Extracting the bottle blob referenced by the formula
(50090ad56b853c90fc3f05817f84951c9fba6aeb638989b49ada276e58f7278c, arm64_sequoia)
shows it was built from 1.12.3:

$ tar -tzf 50090ad56b853c90fc3f05817f84951c9fba6aeb638989b49ada276e58f7278c--frankenphp--1.12.4.arm64_sequoia.bottle.tar.gz
frankenphp/1.12.3/
frankenphp/1.12.3/INSTALL_RECEIPT.json
frankenphp/1.12.3/LICENSE
frankenphp/1.12.3/bin/
frankenphp/1.12.3/.brew/
frankenphp/1.12.3/sbom.spdx.json
frankenphp/1.12.3/README.md
frankenphp/1.12.3/homebrew.frankenphp.service
frankenphp/1.12.3/homebrew.mxcl.frankenphp.plist
frankenphp/1.12.3/.brew/frankenphp.rb
frankenphp/1.12.3/bin/frankenphp

Environment

  • macOS Sequoia, Apple Silicon (arm64)
  • Homebrew 6.0.1-18-g9a3e38b

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions