cmake plugin doesn't work properly

Bug #1770838 reported by Giorgio
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snapcraft
Expired
Undecided
Unassigned

Bug Description

Hi, I'm trying to compile a part for my application but I can't because the cmake plugin doesn't work properly.

I'll show you why:

parts:
  application:
    plugin: cmake
    source: .

output:

Failed to run 'cmake /root/build_libvlc/parts/application/src -DCMAKE_INSTALL_PREFIX=' for 'application': Exited with code 1.
Verify that the part is using the correct parameters and try again.

parts:
  application:
    plugin: cmake
    configflags:
      - -DCMAKE_INSTALL_PREFIX=/anydirectory
    source: .

output:

Failed to run 'cmake /root/build_app/parts/application/src -DCMAKE_INSTALL_PREFIX=
-DCMAKE_INSTALL_PREFIX=/anydirectory' for 'application': Exited with code 1.
Verify that the part is using the correct parameters and try again.

As you can see in the second case "-DCMAKE_INSTALL_PREFIX=" clause is there twice.

How come?

Thank you :)

Giorgio (gobne)
description: updated
Revision history for this message
Kyle Fazzari (kyrofa) wrote :

"Failed to run 'cmake /root/build_libvlc/parts/application/src -DCMAKE_INSTALL_PREFIX=' for 'application': Exited with code 1" is a symptom, not an error in and of itself. It's saying cmake is bailing, so it bails. Above that, you should see an actual error from cmake. Can you paste that in here, please?

Changed in snapcraft:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Snapcraft because there has been no activity for 60 days.]

Changed in snapcraft:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.