Opened 6 months ago
Last modified 6 weeks ago
#63761 new defect
gdb: Failed to destroot gdb: no files matched glob pattern "g*"
Reported by: | joelburton (Joel Burton) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.7.1 |
Keywords: | monterey | Cc: | greyhare |
Port: | gdb |
Description
Installing gdb on a new Macbook Pro M1, it fails with:
:debug:destroot Executing proc-post-org.macports.destroot-destroot-0 :error:destroot Failed to destroot gdb: no files matched glob pattern "g*"
Attachments (1)
Change History (8)
Changed 6 months ago by joelburton (Joel Burton)
comment:1 Changed 6 months ago by ryandesign (Ryan Schmidt)
Port: | gdb added |
---|---|
Summary: | gdb fails during destroot on Mac OS12 (Monterey) → gdb: Failed to destroot gdb: no files matched glob pattern "g*" |
Version: | → 2.7.1 |
comment:2 Changed 6 months ago by programmingkidx
I saw this error when I ran this command: sudo port install gdb +multiarch
My info:
Mac OS 11.1
M1 MacBook Air
comment:4 Changed 6 weeks ago by greyhare
Cc: | greyhare added |
---|
comment:6 Changed 6 weeks ago by greyhare
Odd, it seems to be building for x86_64 instead of arm64. That can't end well.
comment:7 Changed 6 weeks ago by greyhare
Yep, for some reason a clean install of MacPorts for Monterey creates an /opt/local/etc/macports/macports.conf with
#build_arch x86_64
and I had to uninstall all packages, uncomment that line, change x86_64 to arm64, and reinstall gdb to get it to work.
Note: See
TracTickets for help on using
tickets.
main.log