opencbm-0.4.99.96 does not compile
Brought to you by:
strik
Source tarball:
http://www.trikaliotis.net/Download/opencbm-0.4.99.96/opencbm-0.4.99.96.tar.bz2
The build fails:
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C lib/plugin/xum1541 -f LINUX/Makefile all gcc -O2 -Wall -I../include -I../include/LINUX -DPREFIX=\"/usr/local/Cellar/opencbm/0.4.99.96\" -DOPENCBM_CONFIG_FILE=\"/usr/local/Cellar/opencbm/0.4.99.96/etc/opencbm.conf\" -I/usr/local/Cellar/libusb-compat/0.1.5/include -I../../..//include/LINUX/ -I../../..//include/ -I../../ -I ../../..//../xum1541 -I../../..//libmisc -D_REENTRANT -c -o archlib.o archlib.c In file included from archlib.c:49: ./xum1541.h:15:10: fatal error: 'xum1541_types.h' file not found #include "xum1541_types.h" ^ 1 error generated. make[1]: *** [archlib.o] Error 1 make: *** [BUILDSYSTEM.lib/plugin/xum1541.all] Error 2
The file xum1541_types.h
is not included in the tarball. The source tarball for opencbm 0.4.99.95b does include this file and that release builds successfully on this same system. The system is Mac OS X 10.9 with Xcode 5.1.
Anonymous
The source of this problem appears to be the fact that the tarball is one level into the source hierarchy; all previous tarballs were taken from the root of the hierarchy, whereas the one for 0.4.99.96 is taken from the
opencbm
directory instead. This fails to include the xum1541 plugin directory in the tarball, and also breaks premade build build formulae due to the change in archive format (which I believe the OP is also trying to fix).Last edit: David Riley 2014-04-07
Thank you for reporting this issue.
Yes, of course, the same problem as with 0.4.99.95 and 0.4.99.95a. :(
It is time to re-automate the generation of dist packages, as I had it before.
I will upload a 0.4.99.96a, which contains the whole tree again.
Ok, should be fixed now.
Spiro, can you please include the fixes from https://sourceforge.net/p/opencbm/code/merge-requests/2/ in the new release tarball?
Mike, I deviced against including the fixes into 0.4.99.96a. The reason is that I would have to re-generated the Windows binaries, and I do not have time for this at the moment.
I will include it in the next release, though.
Spiro, we would appreciate if you could please make a source release that includes those fixes. David and I have been trying to get opencbm included as a Homebrew package (http://brew.sh). The invalid UTF-8 causes Homebrew's CI system to fail, which is blocking the package's acceptance.
Ok. I cannot promise when I will do it, but I will try to do as soon as possible.
Is this ok for you?
Yes, and thanks! I just tried to build v0.4.99.96a, please see [bugs:#58].
Related
Bugs:
#58