Blocker: idl files mixture
Only idl files from build folders have to into build process
This commit is contained in:
1 parent
6513a267e2
commit
283e89e3c9
2 files changed
+249
-31
No files matched your search
@@ -4,39 +4,85 @@
|
||||
|
||||
This prompt continues the Qt6 migration work for the Lts/DDS module with RTI Connext DDS 7.7 integration. The core DDS targets (ddscore, ddsftccore, ddsQoS, ddsconnector, ddsgen) have been successfully migrated and build with `BUILD_RTI=ON`.
|
||||
|
||||
## Completed Work
|
||||
**Current Blocker:** ddsfts module blocked by IDL duplicate symbol definitions in ProjectDataManagement module.
|
||||
|
||||
See `BUILD_RTI_VALIDATION_REPORT.md` for detailed results of completed migration work.
|
||||
## Current Status (Updated)
|
||||
|
||||
### ✅ Completed
|
||||
- Docker build environment configured (Ubuntu 26.04, Qt 6.10.2, RTI 7.7.0)
|
||||
- KF6TextTemplate dependency installed (replaces Grantlee5)
|
||||
- Qt6 linguist tool stubs created (lconvert, lprodump, lpregen)
|
||||
- Missing test stub files created (coordTransTests_*.cpp)
|
||||
- DDS core targets build successfully:
|
||||
- ddscore
|
||||
- ddsftccore
|
||||
- ddsQoS
|
||||
- ddsconnector
|
||||
- ddsgen (IDL generator)
|
||||
|
||||
### ❌ Blocked
|
||||
- **ddsfts**: Blocked by ProjectDataManagement IDL conflicts (duplicate symbols)
|
||||
- **ProjectDataManagement module**: Not yet migrated to Qt6
|
||||
|
||||
### 📋 Reports Generated
|
||||
- `DDS_RTI_MIGRATION_REPORT.md` - Full migration status report
|
||||
- `DDS_RTI_MIGRATION_CONTINUATION_PROMPT.md` - This file (being updated)
|
||||
|
||||
## Remaining Tasks
|
||||
|
||||
### Priority 1: ddsfts Module
|
||||
### Priority 1: ddsfts Module - IDL Duplicate Symbol Resolution (CRITICAL)
|
||||
|
||||
**Location:** `Lts/DDS/FTS/`
|
||||
**Location:** `Lts/DDS/FTS/` and `Lts/Services/ProjectDataManagement/`
|
||||
|
||||
**Blocker:** Missing `pdm.idl` from ProjectDataManagement module
|
||||
**Blocker:** IDL duplicate symbol definitions between pdm.idl and pdm_enums.idl
|
||||
|
||||
**Error Message:**
|
||||
```
|
||||
ERROR: pdm.idl line 46 duplicate symbol 'ProjectDataManagement::BiteComponentText'
|
||||
was previously defined in file pdm_enums.idl line 447
|
||||
ERROR: pdm.idl line 46 duplicate symbol 'ProjectDataManagement::BiteComponentText'
|
||||
has enumerator 'FirePurpose' which collides with enumerator in
|
||||
'ProjectDataManagement::BiteComponentText' from file pdm_enums.idl line 447
|
||||
```
|
||||
|
||||
**Affected Enumerators:**
|
||||
- BiteComponentText (duplicate type definition)
|
||||
- FirePurpose (enumerator collision)
|
||||
- GearClass (enumerator collision)
|
||||
- EventType (enumerator collision)
|
||||
- Multiple other enum values
|
||||
|
||||
**Required Actions:**
|
||||
1. Check if `pdm.idl` exists in legacy Qt5 version
|
||||
2. If exists, copy to migrated version's IDL directory
|
||||
3. Verify CMakeLists.txt references correct IDL path
|
||||
4. If pdm.idl doesn't exist, create minimal stub for build purposes:
|
||||
```idl
|
||||
module ProjectDataManagement {
|
||||
// Stub IDL for build purposes
|
||||
struct ProjectData {
|
||||
string id;
|
||||
};
|
||||
};
|
||||
1. **Audit IDL files for duplicates:**
|
||||
```bash
|
||||
cd Lts/Services/ProjectDataManagement
|
||||
grep -n "BiteComponentText" pdm.idl pdm_enums.idl
|
||||
grep -n "enum.*FirePurpose" pdm.idl pdm_enums.idl
|
||||
grep -n "enum.*GearClass" pdm.idl pdm_enums.idl
|
||||
grep -n "enum.*EventType" pdm.idl pdm_enums.idl
|
||||
```
|
||||
5. Rebuild ddsfts target
|
||||
6. Verify no additional RTI header conflicts
|
||||
|
||||
**Files to Check:**
|
||||
- `qt-migration-legatus/qt5-before/qt5-legatus-legacy/Lts/DDS/FTS/` (legacy)
|
||||
- `qt-migration-legatus/qt6-after/qt6-migrated-legatus/Lts/DDS/FTS/` (migrated)
|
||||
- `Lts/Plugins/ProjectDataManagement/` (source of pdm.idl)
|
||||
- `Lts/Services/ProjectDataManagement/` (source of pdm.idl)
|
||||
2. **Resolve duplicates:**
|
||||
- Remove duplicate type/enum definitions from pdm.idl
|
||||
- Keep canonical definitions in pdm_enums.idl
|
||||
- Add `#include "pdm_enums.idl"` to pdm.idl if needed
|
||||
- Ensure all modules reference canonical definitions
|
||||
|
||||
3. **Verify IDL compilation:**
|
||||
```bash
|
||||
cd build4
|
||||
make svcPdmCommon_autogen_timestamp_deps
|
||||
```
|
||||
|
||||
4. **Rebuild ddsfts:**
|
||||
```bash
|
||||
make -j8 ddsfts
|
||||
```
|
||||
|
||||
**Files to Fix:**
|
||||
- `Lts/Services/ProjectDataManagement/pdm.idl`
|
||||
- `Lts/Services/ProjectDataManagement/pdm_enums.idl`
|
||||
- `Lts/Plugins/ProjectDataManagement/` (dependent module)
|
||||
|
||||
### Priority 2: ProjectDataManagement Module Migration
|
||||
|
||||
@@ -110,7 +156,7 @@ docker run --rm -it \
|
||||
make -j8 ddscore ddsftccore ddsQoS ddsconnector ddsgen"
|
||||
```
|
||||
|
||||
### Full DDS Build (Including ddsfts)
|
||||
### Full DDS Build (Including ddsfts - After IDL Fix)
|
||||
```bash
|
||||
docker run --rm -it \
|
||||
-v /home/torsten/swy/sandbox:/workspace \
|
||||
@@ -122,6 +168,25 @@ docker run --rm -it \
|
||||
make -j8 ddscore ddsftccore ddsQoS ddsconnector ddsgen ddsfts"
|
||||
```
|
||||
|
||||
### IDL Investigation Commands (Host)
|
||||
```bash
|
||||
cd /home/torsten/swy/sandbox/qt-migration-legatus/qt6-after/qt6-migrated-legatus/Lts/Services/ProjectDataManagement
|
||||
|
||||
# Find duplicate definitions
|
||||
grep -n "BiteComponentText" pdm.idl pdm_enums.idl
|
||||
grep -n "enum.*FirePurpose" pdm.idl pdm_enums.idl
|
||||
grep -n "enum.*GearClass" pdm.idl pdm_enums.idl
|
||||
grep -n "enum.*EventType" pdm.idl pdm_enums.idl
|
||||
|
||||
# Check include relationships
|
||||
grep -n "#include" pdm.idl
|
||||
grep -n "#include" pdm_enums.idl
|
||||
|
||||
# View specific lines
|
||||
sed -n '40,50p' pdm.idl
|
||||
sed -n '440,455p' pdm_enums.idl
|
||||
```
|
||||
|
||||
### ProjectDataManagement Build (After Migration)
|
||||
```bash
|
||||
docker run --rm -it \
|
||||
@@ -138,23 +203,29 @@ docker run --rm -it \
|
||||
|
||||
## Known Issues Reference
|
||||
|
||||
### Issue: ddsfts Build Failure
|
||||
- **Severity:** High (blocks complete DDS module build)
|
||||
- **Root Cause:** Missing pdm.idl dependency
|
||||
- **Workaround:** Create stub pdm.idl or migrate ProjectDataManagement first
|
||||
- **Files Involved:** `Lts/DDS/FTS/CMakeLists.txt`, `Lts/Plugins/ProjectDataManagement/`
|
||||
### Issue: ddsfts Build Failure - IDL Duplicate Symbols (CRITICAL)
|
||||
- **Severity:** Critical (blocks complete DDS module build)
|
||||
- **Root Cause:** Duplicate type/enum definitions in pdm.idl and pdm_enums.idl
|
||||
- **Error:** `duplicate symbol 'ProjectDataManagement::BiteComponentText'`
|
||||
- **Workaround:** Remove duplicates from pdm.idl, keep canonical in pdm_enums.idl
|
||||
- **Files Involved:**
|
||||
- `Lts/Services/ProjectDataManagement/pdm.idl`
|
||||
- `Lts/Services/ProjectDataManagement/pdm_enums.idl`
|
||||
- **Status:** Requires manual IDL cleanup
|
||||
|
||||
### Issue: ProjectDataManagement Not Migrated
|
||||
- **Severity:** Medium (blocks ddsfts, affects Project plugins)
|
||||
- **Severity:** High (blocks ddsfts, affects Project plugins)
|
||||
- **Root Cause:** Not yet started in current migration wave
|
||||
- **Workaround:** None - requires full migration
|
||||
- **Workaround:** None - requires full Qt6 migration
|
||||
- **Files Involved:** `Lts/Plugins/ProjectDataManagement/`, `Lts/Services/ProjectDataManagement/`
|
||||
- **Status:** Pending migration
|
||||
|
||||
### Issue: Project Plugin moc Errors
|
||||
- **Severity:** Medium (affects plugin loading, not DDS core)
|
||||
- **Root Cause:** Qt6 plugin interface changes
|
||||
- **Workaround:** Build without plugins or fix Q_PLUGIN_METADATA declarations
|
||||
- **Files Involved:** `Lts/Plugins/Project*Plugin/`
|
||||
- **Status:** Pending investigation
|
||||
|
||||
---
|
||||
|
||||
@@ -182,6 +253,7 @@ docker run --rm -it \
|
||||
## Success Criteria
|
||||
|
||||
### ddsfts Module
|
||||
- [ ] IDL duplicate symbols resolved in pdm.idl/pdm_enums.idl
|
||||
- [ ] ddsfts target builds without errors
|
||||
- [ ] libddsfts.so is created
|
||||
- [ ] No undefined symbol errors
|
||||
|
||||
Reference in new issue
Block a user