Opened 13 years ago

Closed 7 years ago

Last modified 7 years ago

#31798 closed defect (fixed)

Installation from binary package does not notify user of need to start launch item

Reported by: gallafent Owned by: macports-tickets@…
Priority: Normal Milestone: MacPorts 2.5.0
Component: base Version: 2.0.3
Keywords: Cc: larryv (Lawrence Velázquez), cooljeanius (Eric Gallager), ryandesign (Ryan Carsten Schmidt)
Port:

Description

Found this by chance, installing the same package on one 10.7 and one 10.6 machine. There is a binary package for 10.6 but not for 10.7, which reveals the problem.

When installing from a binary package, the notification that a port requires a subsequent “load” step is not shown, and that step does not seem to happen automatically (which is correct!).

Example on a 10.7 machine for which there happened not to be a binary package:

Humber:~ williamg$ sudo port install tuntaposx
Password:
--->  Fetching archive for tuntaposx
--->  Attempting to fetch tuntaposx-20090913_1.darwin_11.x86_64.tbz2 from http://packages.macports.org/tuntaposx
--->  Fetching tuntaposx
--->  Attempting to fetch tuntap_20090913_src.tar.gz from http://lil.fr.distfiles.macports.org/tuntaposx
--->  Verifying checksum(s) for tuntaposx
--->  Extracting tuntaposx
--->  Applying patches to tuntaposx
--->  Configuring tuntaposx
--->  Building tuntaposx
--->  Staging tuntaposx into destroot
--->  Creating launchd control script
###########################################################
# A startup item has been generated that will aid in
# starting tuntaposx with launchd. It is disabled
# by default. Execute the following command to start it,
# and to cause it to launch at startup:
#
# sudo port load tuntaposx
###########################################################
Warning: tuntaposx installs files outside the common directory structure.
--->  Installing tuntaposx @20090913_1
--->  Activating tuntaposx @20090913_1
**********************************************************************
* Warning: tuntaposx virtual device kernel extension loaded already. *
* Maybe you have installed the tuntaposx package already without     *
* using MacPorts, e.g. by installing Tunnelblick openvpn GUI. See    *
* kextstat(8), kextload(8) and kextunload(8) for manual handling.    *
**********************************************************************
--->  Cleaning tuntaposx

(That final warning isn't relevant, I have an old non-macports tuntap installed at the moment, which I'll get rid of in due course ;)

Example on a 10.6 machine, for which there is a binary package:

$ sudo port install tuntaposx
--->  Fetching archive for tuntaposx
--->  Attempting to fetch tuntaposx-20090913_1+universal.darwin_10.i386-x86_64.tbz2 from http://packages.macports.org/tuntaposx
--->  Attempting to fetch tuntaposx-20090913_1+universal.darwin_10.i386-x86_64.tbz2.rmd160 from http://packages.macports.org/tuntaposx
--->  Installing tuntaposx @20090913_1+universal
--->  Activating tuntaposx @20090913_1+universal
--->  Cleaning tuntaposx
504 ~
$

So: The message marked with #s about the startup item should be displayed when installing from a binary package. I expect this is actually a generic bug for all ports, but leaving port as tuntaposx for now, since that's where I discovered it. Please change component appropriately if that's true!

Change History (9)

comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: nomaintainer@… removed
Component: portsbase
Port: tuntaposx removed

comment:2 Changed 11 years ago by larryv (Lawrence Velázquez)

Cc: larryv@… added

Cc Me!

comment:3 Changed 11 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:4 Changed 7 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

In 6faf3f82aafe5bb39ae1caa944b818dd571227fe/macports-base:

Use notes for startupitem loading information

This way it isn't only printed once during the destroot phase (which
meant users never saw it if they installed from an archive.)

Fixes: #31798

comment:5 Changed 7 years ago by jmroot (Joshua Root)

Milestone: MacPorts Future

comment:6 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign added

Has duplicate #55740.

comment:7 Changed 7 years ago by neverpanic (Clemens Lang)

Milestone: MacPorts FutureMacPorts 2.5.0

comment:8 Changed 7 years ago by neverpanic (Clemens Lang)

Milestone: MacPorts 2.5.0MacPorts Future

comment:9 Changed 7 years ago by jmroot (Joshua Root)

Milestone: MacPorts FutureMacPorts 2.5.0
Note: See TracTickets for help on using tickets.