[aubio-user] > 0.4 fails to build in gub

Jeremiah Benham jjbenham at chicagoguitar.com
Tue Mar 25 05:26:25 CET 2014


Gub
Grand Unified Builder (GUB, http://lilypond.org/gub) is a mini source-based
distribution and packaging system. It cross-compiles several packages with
their dependencies and assembles them into a single installation package.

For a Darwin target:
I applied a patch to not build the test directory.

http://denemo.org/~jjbenham/gub/patches/libaubio-no-tests.patch

for some reason --notests did not work form me.
Then I applied another patch to comment out uint_t in types.h
http://denemo.org/~jjbenham/gub/patches/libaubio-types.h.patch

Here is the log. It fails immediately upon the build stage:
http://denemo.org/~jjbenham/gub/target/darwin-x86/log/libaubio.log

I tried to compile it with ' --with-target-platform=darwin' but it never
got past the configure stage saying it can't find stdlib.h even though I
set CFLAGS="-I%(system_prefix)s/include/"

For a linux target, I had to disable the tests with the no-tests patch
mentioned above. It seem to finish without error.

Jeremiah



On Mon, Mar 24, 2014 at 12:23 PM, Paul Brossier <piem at piem.org> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi Jeremiah,
>
> Please remind me: what is gub? It seems that the binary you are building
> is not built for the correct architecture.
>
> Could you send the complete log of compiling with "./waf distclean
> configure build -j1"
>
> You could also try adding the --notests option.
>
> Best, Paul
>
>
> On 21/03/2014 14:10, Jeremiah Benham wrote:
> > I have previously build libaubio 3.x for mingw, darwin-x86, and
> > linux-x86. Now I am trying to upgrade to 4.x. While trying to
> > cross-compile libaubio for mingw I am getting these errors:
> > 158/194] utest: build/tests/test-pitchfcomb.exe Waf: Leaving
> > directory
> > `/home/jjbenham/public_html/gub/target/mingw/build/libaubio-0.4.0/build'
> >
> >
> >
> >
> >
> >
> Build failed
> > Traceback (most recent call last): File
> >
> "/home/jjbenham/public_html/gub/target/mingw/build/libaubio-0.4.0/waflib/Task.py",
> >
> >
> >
> >
> >
> line 123, in process ret=self.run() File
> >
> "/home/jjbenham/public_html/gub/target/mingw/build/libaubio-0.4.0/waflib/Task.py",
> >
> >
> >
> >
> >
> line 47, in run return m1(self) File
> >
> "/home/jjbenham/public_html/gub/target/mingw/build/libaubio-0.4.0/waflib/Tools/waf_unit_test.py",
> >
> >
> >
> >
> >
> line 56, in run
> >
> proc=Utils.subprocess.Popen(self.ut_exec,cwd=cwd,env=fu,stderr=Utils.subprocess.PIPE,stdout=Utils.subprocess.PIPE)
> >
> >
> >
> >
> >
> >
> File
>
> "/home/jjbenham/public_html/gub/target/tools/root/usr/lib/python2.6/subprocess.py",
> line 621, in __init__
> > errread, errwrite) File
> >
> "/home/jjbenham/public_html/gub/target/tools/root/usr/lib/python2.6/subprocess.py",
> >
> >
> >
> >
> >
> line 1126, in _execute_child raise child_exception OSError: [Errno 8]
> > Exec format error
> >
> > Traceback (most recent call last): Jeremiah
> >
> > _______________________________________________ aubio-user mailing
> >  list aubio-user at aubio.org
> > https://lists.aubio.org/listinfo/aubio-user
> >
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG/MacGPG2 v2.0.18 (Darwin)
> Comment: GPGTools - http://gpgtools.org
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>
> iEYEARECAAYFAlMwahIACgkQkuC958YALL21rACdEnlcZHF61yqUNWt0fuBWS/tm
> t1AAnApiD5DCfvjpLdSQL9rVF32OKkyq
> =ZHSk
> -----END PGP SIGNATURE-----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.aubio.org/pipermail/aubio-user/attachments/20140324/61bcc668/attachment.html>


More information about the aubio-user mailing list