[MacPorts] #65268: lowdown @1.0.0: make install in build phase?
MacPorts
noreply at macports.org
Tue May 31 22:51:51 UTC 2022
#65268: lowdown @1.0.0: make install in build phase?
------------------------+----------------------
Reporter: ryandesign | Owner: judaew
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.7.2
Keywords: | Port: lowdown
------------------------+----------------------
The lowdown port runs `make install install_lib_common install_shared` (as
the macports user) in the build phase, which is unusual, especially since
MacPorts will run `make install` again (as root) in the destroot phase.
Usually in the build phase ports run `make` or `make all` or some other
makefile target that builds the software, leaving the makefile's
installation target(s) to be run only in the destroot phase. If this build
system is so unusual that it really requires the installation targets to
be invoked in the build phase, that should be explained in a portfile
comment ideally with a link to the upstream bug report. Also, note that
MacPorts adds parallel build flags like `-j8` during the build phase but
not during the destroot phase because we found that many build systems
fail when installing in parallel. So MacPorts will run your `make install
install_lib_common install_shared` during the build phase with the
parallel build flags. So far this is not failing on the build machines, so
this makefile may be designed to accommodate parallel install, or it could
just be luck.
--
Ticket URL: <https://trac.macports.org/ticket/65268>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list