Opened 10 years ago
Last modified 5 weeks ago
#44502 assigned defect
gnome-terminal install fails due to dependency on coreutils::gmkdir
Reported by: | nate.schley@… | Owned by: | dbevans (David B. Evans) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | cooljeanius (Eric Gallager) | |
Port: | gnome-terminal |
Description (last modified by dbevans (David B. Evans))
gnome-terminal repeatedly fails to install on fresh installation on macports until coreutils package is installed.
The gnome-terminal/main.log files includes the following consistently.
:info:destroot make[3]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tar balls_ports_gnome_gnome-terminal/gnome-terminal/work/gnome-terminal-3.12.3/src' :info:destroot /opt/local/bin/gmkdir -p '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarba lls_ports_gnome_gnome-terminal/gnome-terminal/work/destroot/opt/local/bin' :info:destroot /bin/sh: /opt/local/bin/gmkdir: No such file or directory :info:destroot make[3]: *** [install-binPROGRAMS] Error 1 :info:destroot make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gnome-terminal/gnome-terminal/work/gnome-terminal-3.12.3/src' :info:destroot make[2]: *** [install-am] Error 2 :info:destroot make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gnome-terminal/gnome-terminal/work/gnome-terminal-3.12.3/src' :info:destroot make[1]: *** [install] Error 2 :info:destroot make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gnome-terminal/gnome-terminal/work/gnome-terminal-3.12.3/src' :info:destroot make: *** [install-recursive] Error 1
once I figured out the gmkdir = GNU mkdir, which is in core utils, which is apparently not installed by default, things went smoothly.
Change History (3)
comment:1 Changed 10 years ago by dbevans (David B. Evans)
Description: | modified (diff) |
---|---|
Keywords: | gnome-terminal removed |
Owner: | changed from macports-tickets@… to devans@… |
Port: | gnome-terminal added |
Status: | new → assigned |
Version: | 2.3.1 |
comment:2 Changed 10 years ago by dbevans (David B. Evans)
I haven't been able to reproduce your problem on OS X 10.8.5. The program to use for mkdir, $MKDIR_P, is determined by configure.
By examining config.log, I can confirm that it will use
MKDIR_P='/opt/local/bin/gmkdir -p'
if coreutils is installed but, if not, it uses
MKDIR_P='./install-sh -c -d'
on this OS X version.
The fact that your log shows
:info:destroot /bin/sh: /opt/local/bin/gmkdir: No such file or directory
makes me think that you had coreutils installed when configure ran but later deactivated/uninstalled it and did a build without running configure again. This could possibly occur if you didn't clean the port before building.
Please try again a clean build as follows:
$ sudo port deactivate coreutils $ sudo port clean gnome-terminal $ sudo port install gnome-terminal
and if it fails again, attach both the build log cited in the error message and config.log which can be found in the directory given by
port work gnome-terminal
Thanks
comment:3 Changed 5 weeks ago by cooljeanius (Eric Gallager)
Cc: | cooljeanius added |
---|
Please use WikiFormatting to make log and terminal output more readable and attach a copy of the full build log to the ticket. Also don't forget to CC the port maintainer for faster response.