bugGNU Octave - Bugs: bug #62115, [MXE Octave] `cmake` missing...

 
 

bug #62115: [MXE Octave] `cmake` missing dependency

Submitter:  None
Submitted:  Fri 25 Feb 2022 09:45:15 PM UTC
   
 
Category:  Configuration and Build System Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Unexpected Error or Warning
Status:  Fixed Assigned to:  lostbard
Originator Name:  Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 7.0.90
Operating System:  * Microsoft Windows Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Fri 04 Mar 2022 04:19:31 PM UTC, comment #6: 

I tested locally with your change ported to the release branch and that avoids the warning when installing the "dicom" package from "-forge". `cmake` seems to be working correctly.
So, I grafted your change to the release branch and pushed here:
https://hg.octave.org/mxe-octave/rev/497afa9abf22

Should be fixed in the "official" Octave 7 for Windows.

Closing report.

Markus Mützel <mmuetzel>
Group administrator
Wed 02 Mar 2022 04:47:11 PM UTC, comment #5: 

I pushed https://hg.octave.org/mxe-octave/rev/b319dc565a3a that makes cmake work

As a side effect for the dicom package, I see that if installed in a path with spaces, that detection of the gdcm includes later in the dicom package fail, so I will have to change something in the dicom package in order to get around potential spaces - but thats not part of this bug.

John Donoghue <lostbard>
Group Member
Mon 28 Feb 2022 10:29:15 PM UTC, comment #4: 

ok - so it looks like it creates its own curl library if it doesnt decet the system one (named slightly different) but isnt installing it.

I added a change in cmake options passed to during building cmake that seems to help detection and stops the dependency on libcmcurl.dll

I'll push it up after I verify it seems to all work


John Donoghue <lostbard>
Group Member
Sun 27 Feb 2022 05:38:58 PM UTC, comment #3: 

Maybe an issue when building cmake with cmake? MXE are building cmake with autotools:
https://github.com/mxe/mxe/blob/master/src/cmake.mk

Markus Mützel <mmuetzel>
Group administrator
Sun 27 Feb 2022 02:05:20 PM UTC, comment #2: 

I hadnt seen the error from cmake, but did know that the gdcm library detection falls back to 'fallback' detection because cmake doesnt find it, hence the warning.

Looking in the logs for a current mxe build, I see :

Linking C shared library libcmcurl.dll

Which looks to be successful, however the dll does not appear to get installed.


John Donoghue <lostbard>
Group Member
Sun 27 Feb 2022 12:07:48 PM UTC, comment #1: 

GDCM is a dependency of the dicom package that is bundled in the installer for Octave for Windows.

The actual issue seems to be that the version of `cmake` that is bundled in the same installer seems to be broken. I'm also seeing that dependency on `libcmcurl.dll`. But that library isn't installed.

CC'ing John Donoghue as the MXE specialist.

Markus Mützel <mmuetzel>
Group administrator
Fri 25 Feb 2022 09:45:15 PM UTC, original submission:  

Hello, this is on Octave 6.3.0 on Windows:

>> pkg update
C:/Octave/OCTAVE~1.0/mingw64/bin/cmake.exe: error while loading shared libraries: libcmcurl.dll: cannot open shared object file: No such file or directory
C:/Octave/OCTAVE~1.0/mingw64/bin/cmake.exe: error while loading shared libraries: libcmcurl.dll: cannot open shared object file: No such file or directory
configure: WARNING: No GDCM detected using cmake - trying fallback detection


What is GDCM? A web search gave me only something called "Grassroots DICOM" related to X-rays and medical images and that seems unrelated to Octave.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by lostbard (Posted a comment)
  • -email is unavailable- added by mmuetzel (Posted a comment)
  • -email is unavailable- added by mmuetzel
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 10 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-03-04 mmuetzel StatusReady For Test Fixed
        Open/ClosedOpen Closed
    2022-03-02 lostbard StatusConfirmed Ready For Test
        Assigned toNone lostbard
    2022-02-27 mmuetzel CategoryNone Configuration and Build System
        Item GroupNone Unexpected Error or Warning
        StatusNone Confirmed
        Release6.3.0 7.0.90
        SummaryWeird error about GDCM [MXE Octave] `cmake` missing dependency
        Carbon-Copy- Added lostbard

    Back to the top

    Powered by Savane 3.13-599c.
    Corresponding source code