Bug 47013 - Bustle fails to compile
Summary: Bustle fails to compile
Alias: None
Product: Bustle
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Will Thompson
QA Contact:
Depends on:
Reported: 2012-03-06 11:40 UTC by Alex Merry
Modified: 2012-08-30 03:12 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Description Alex Merry 2012-03-06 11:40:08 UTC
I get the following message on ArchLinux (ghc 7.4.1-2):

fatal: Not a git repository (or any parent up to mount parent )
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
cc -g -O2 -Wall -Wunused  -Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu -o dist/build/bustle-pcap c-sources/pcap-monitor.c c-sources/bustle-pcap.c \
-pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gio-unix-2.0/  -pthread -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0   -I/usr/include -L/usr/lib  -lpcap
[1 of 1] Compiling Main             ( Setup.hs, Setup.o )
Linking setup ...
Configuring bustle-0.4.0...
Building bustle-0.4.0...
Preprocessing executable 'bustle' for bustle-0.4.0...

    Ambiguous module name `Prelude':
      it was found in multiple packages: base haskell98-
Comment 1 Will Thompson 2012-03-07 03:42:27 UTC
I think this patch on master <http://cgit.freedesktop.org/bustle/commit/?id=1755ec6> fixes this. I guess I should make a release!
Comment 2 Alex Merry 2012-03-14 10:56:33 UTC
Yes, that patch does fix it.  Shame I'm now getting "bus error"s when I try to use it...
Comment 3 Will Thompson 2012-03-14 11:47:07 UTC
(In reply to comment #2)
> Yes, that patch does fix it.  Shame I'm now getting "bus error"s when I try to
> use it...

What architecture are you on? Sounds like I've messed up my C<->Haskell marshalling…
Comment 4 Alex Merry 2012-03-14 16:59:14 UTC
x86_64.  It happens when I compile from source (git master or 0.4.0 with the patch), but not when I use your binaries.
Comment 5 Alex Merry 2012-03-14 16:59:53 UTC
And it happens when I go "File->New".  bustle-pcap works fine.
Comment 6 Alex Merry 2012-03-14 17:04:52 UTC
Actually, I'll file a new bug for this.
Comment 7 Will Thompson 2012-08-30 03:12:15 UTC
I finally released the build fix as 0.4.1. Sorry for the delay!

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.