Project

General

Profile

Actions

Support Request #8334

closed

Race condition when installing osg libraries

Added by hidden over 4 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Customer:
AUDI
Department:
EF
Requester's Priority:
Normal
Support Level:
3rd Level
Resolution:
Product Issue Opened
Affected Products:
Platform:
Ubuntu 16.04 64bit, Windows 10 64bit
Topic:
DisplayTB::Common
FAQ Links:

Description

Supportanfrage

when building the examples the install target of each mixin will try copy the osg library to the bin folder.

This may lead to the error message:
"file INSTALL cannot duplicate symlink"

Ganesh implemented a workaround in ADTF_DISPLAY_TOOLBOXMacros.cmake. Here we create a list of installation folders. If the folder is already in the list it won't be added again:

function(disptb_install_osg OUTPUT_PATH)
set(GLOBAL_OSG_DEST $ENV{GLOBAL_OSG_DEST})
list(FIND GLOBAL_OSG_DEST ${OUTPUT_PATH} INDEX)
if(INDEX EQUAL -1)
list(APPEND GLOBAL_OSG_DEST ${OUTPUT_PATH})
set(ENV{GLOBAL_OSG_DEST} "${GLOBAL_OSG_DEST}")
else()
message(STATUS "Skipping installation of OSG libraries to ${OUTPUT_PATH}. Installation already scheduled in ${GLOBAL_OSG_DEST}")
return()
endif()

disptb_find_osg()

Note: This solution works well if we build all targets at once. If someone is only installing a single target it may happen that the osg libraries are not installed because their installation is configured for another target.

Lösung

Ticket ADISTB-1014 im Produkt angelegt

Actions #1

Updated by hidden over 4 years ago

  • Project changed from Public Support to 11
  • Status changed from New to In Progress
  • Topic set to DisplayTB::Common
  • Support Level changed from 2nd Level to 3rd Level
  • Customer set to AUDI
  • Department set to EF
  • Affected Products ADTF Display Toolbox 3.4.0 added
Actions #2

Updated by hidden over 4 years ago

  • Status changed from In Progress to To Be Closed
  • Resolution set to Known Problem
  • Platform Ubuntu 16.04 64bit, Windows 10 64bit added

Hallo Jens,

danke fuer den Hinweis, ich habe dazu mal ein Bug Ticket angelegt.
https://www.cip.audi.de/jira/browse/ADISTB-1014

Viele Grüße
Sebastian

Actions #3

Updated by hidden over 4 years ago

  • Resolution changed from Known Problem to Product Issue Opened
Actions #4

Updated by hidden over 4 years ago

  • Project changed from 11 to Public Support
  • Subject changed from adtf-display-toolbox 3.4.0: Race condition when installing osg libraries to Race condition when installing osg libraries
  • Description updated (diff)
  • Private changed from Yes to No
  • Product Issue Numbers set to https://www.cip.audi.de/jira/browse/ADISTB-1014
Actions #5

Updated by hidden over 3 years ago

  • Status changed from To Be Closed to Closed
Actions

Also available in: Atom PDF