New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #27568 (closed enhancement: fixed)

Opened 2 years ago

Last modified 2 years ago

gstreamer always prints warning about check

Reported by: ryandesign@… Owned by: rmstonecipher@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc:
Port: gstreamer

Description

gstreamer prints this warning:

It is likely that this port will fail to build if the 'check'
port is active. If this port fails to build, deactive 'check'
by running:
port deactivate check
Reactivate 'check' after successfully installing gstreamer
by running:
port activate check
If you do not have 'check' installed, ignore this message.

This warning should not be printed if check is not installed. If check is installed, it should be printed, as an error that aborts the build attempt (since it won't succeed).

Change History

comment:1 Changed 2 years ago by ryandesign@…

Also, "deactivate" is misspelled "deactive".

comment:2 Changed 2 years ago by rmstonecipher@…

The typo was fixed in r74152.
How could one determine in a conditional statement within a portfile if "check" is installed?

comment:3 Changed 2 years ago by ryandesign@…

It's simplest to check for the existence (inside ${prefix}) of a file that check installs. See for example how ImageMagick bails if cryptlib is installed (because the installation would fail).

comment:4 Changed 2 years ago by rmstonecipher@…

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in r74325.

Note: See TracTickets for help on using tickets.