#65610 closed defect (invalid)

turbovnc-viewer fails to build

Reported by: rodmur (Dale Harris) Owned by: Tatsh (Andrew Udvare)
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: Cc:
Port: turbovnc-viewer

Description

Problems building turbovnc-viewer, appears it requires libjpeg-turbo to built with a java option.

:debug:configure Preferred compilers: clang macports-clang-14 macports-clang-13 macports-clang-12 macports-clang-11
:debug:configure Using compiler 'Xcode Clang'
:debug:configure Executing proc-pre-org.macports.configure-configure-0
:debug:configure Active variants check for source-type install considers depends_fetch depends_extract depends_lib depends_build depends_run: libjpeg-turbo cmake
:debug:configure Ignoring active_variants requirement for openjdk11 because source-type install only considers depends_fetch depends_extract depends_lib depends_build depends_run and those do not contain openjdk11
:debug:configure libjpeg-turbo is installed with the following variants: 
:debug:configure   required: java, forbidden: 
:debug:configure   rejected, because required variant java is missing
:error:configure Failed to configure turbovnc-viewer: libjpeg-turbo must be installed with +java.
:debug:configure Error code: NONE
:debug:configure Backtrace: libjpeg-turbo must be installed with +java.
:debug:configure     while executing
:debug:configure "$pre $targetname"

Attachments (1)

main.log.gz (4.5 KB) - added by rodmur (Dale Harris) 21 months ago.
main log attached, gzipped

Download all attachments as: .zip

Change History (5)

Changed 21 months ago by rodmur (Dale Harris)

Attachment: main.log.gz added

main log attached, gzipped

comment:1 Changed 21 months ago by jmroot (Joshua Root)

Keywords: turbovnc-viewer libjpeg-turbo java removed
Owner: set to Tatsh
Status: newassigned

comment:2 in reply to:  description Changed 20 months ago by ryandesign (Ryan Carsten Schmidt)

Replying to rodmur:

Problems building turbovnc-viewer, appears it requires libjpeg-turbo to built with a java option.

Yes, it appears to! You should do what the error message told you to do:

:error:configure Failed to configure turbovnc-viewer: libjpeg-turbo must be installed with +java.

In other words, run:

sudo port install libjpeg-turbo +java

comment:3 Changed 20 months ago by rodmur (Dale Harris)

Oh cool, I didn't realize that was an option. Of course, if turbovnc-viewer needs that option, seems like it would be included in it's build instructions.

comment:4 Changed 20 months ago by ryandesign (Ryan Carsten Schmidt)

Resolution: invalid
Status: assignedclosed

It is not possible for a port to depend on a variant of another port. See #126. The best it can do is print a message explaining what you need to do to solve the problem.

Note: See TracTickets for help on using tickets.