using bitbake to build libmodbus

Asked by JM

Hi,
  I am using a ARM based development platform. I am using 'bitbake' to build my applications. I used the following recipe
http://git.openembedded.org/cgit.cgi/openembedded/tree/recipes/libmodbus (please check the link) to build libmodbus however I have been faced with these errors.

jm@jm-desktop:~/Desktop/corecdp-1.1.1$ bitbake libmodbus
NOTE: Handling BitBake files: / (7982/7982) [100 %]
Parsing of 7982 .bb files complete (7673 cached, 309 parsed). 7723 targets, 327 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing runqueue
NOTE: Running task 280 of 448 (ID: 1, /home/jm/Desktop/corecdp-1.1.1/user-collection/recipes/libmodbus/libmodbus_2.0.3.bb, do_setscene)
NOTE: package libmodbus-2.0.3-r3.3: task do_setscene: Started
NOTE: package libmodbus-2.0.3-r3.3: task do_setscene: Succeeded
FATAL: libmodbus-2.0.3: http://github.com/downloads/stephane/libmodbus/libmodbus-2.0.3.tar.gz has no checksum defined, cannot check archive integrity
ERROR: Error in executing python function in: /home/jm/Desktop/corecdp-1.1.1/user-collection/recipes/libmodbus/libmodbus_2.0.3.bb
ERROR: Exception:<type 'exceptions.SystemExit'> Message:1
ERROR: Printing the environment of the function
ERROR: Function base_do_fetch failed
ERROR: TaskFailed event exception, aborting
ERROR: Build of /home/jm/Desktop/corecdp-1.1.1/user-collection/recipes/libmodbus/libmodbus_2.0.3.bb do_fetch failed
NOTE: Running task 433 of 448 (ID: 2, /home/jm/Desktop/corecdp-1.1.1/user-collection/recipes/libmodbus/libmodbus_2.0.3.bb, do_fetch)
ERROR: Task 2 (/home/jm/Desktop/corecdp-1.1.1/user-collection/recipes/libmodbus/libmodbus_2.0.3.bb, do_fetch) failed with 256
ERROR: '/home/jm/Desktop/corecdp-1.1.1/user-collection/recipes/libmodbus/libmodbus_2.0.3.bb' failed
NOTE: package libmodbus-2.0.3-r3.3: task do_fetch: Started
NOTE: Missing checksum
FATAL: libmodbus-2.0.3: http://github.com/downloads/stephane/libmodbus/libmodbus-2.0.3.tar.gz has no checksum defined, cannot check archive integrity
ERROR: '/home/jm/Desktop/corecdp-1.1.1/user-collection/recipes/libmodbus/libmodbus_2.0.3.bb' failed

I would very much appreciate it in case someone could let me know a solution to build libmodbus using 'bitbake'. Thank you very much and have a great day.
                                                      Best Regards,
                                                      JM

Question information

Language:
English Edit question
Status:
Answered
For:
libmodbus Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Stéphane Raimbault (sra) said :
#1

It's certainly a problem related to bitbake (or requirements of bitbake with the bb package) and libmodbus 2.0.X has been deprecated by the 3.0.X series.

Can you help with this problem?

Provide an answer of your own, or ask JM for more information if necessary.

To post a message you must log in.