#65791 closed defect (fixed)
nhc98 fails to parse on selfupdate
Reported by: | JohnFHall (John Hall) | Owned by: | barracuda156 |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.7.2 |
Keywords: | Cc: | ||
Port: | nhc98 |
Description
Port -v selfupdate returns:
Failed to parse file lang/nhc98/Portfile: invalid command name "build_arch"
Change History (5)
comment:1 Changed 2 years ago by jmroot (Joshua Root)
comment:2 follow-up: 4 Changed 2 years ago by jmroot (Joshua Root)
Owner: | set to barracuda156 |
---|
Never mind, definitely a problem with the Portfile, the problematic code is just conditional and only runs when on an OS version between Lion and Mojave. It shouldn't be setting build_arch, that is only supposed to be set in macports.conf (or left at its autodetected default).
comment:3 Changed 2 years ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:4 Changed 2 years ago by barracuda156
Replying to jmroot:
Never mind, definitely a problem with the Portfile, the problematic code is just conditional and only runs when on an OS version between Lion and Mojave. It shouldn't be setting build_arch, that is only supposed to be set in macports.conf (or left at its autodetected default).
Thank you for fixing that!
comment:5 Changed 2 years ago by JohnFHall (John Hall)
Confirming I'm running 10.13.6 High Sierra on an old 2009 MacPro5,1
Can you run
port version
to make sure you are running the current MacPorts version? Thebuild_arch
option has been around since 1.8.0.