guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Help needed with newmoon


From: swedebugia
Subject: Help needed with newmoon
Date: Wed, 6 Mar 2019 21:04:17 +0100

Hi

My pet project for today was working on getting newmoon to build. I
failed :/

I got the definition from ng0 and have improved a few things and updated
it to the newest version.

I investigated the 3 errors below:
1. sqlite3 needs to be compiled with SQLITE_ENABLE_FTS3 (this results in
a lot of builds, patch attached)
2. our libvpx does not provide vpx_mem/vpx_mem.h even though it is in
the source of libvpx it is not installed it seems.
3. the pulseaudio-error I do not understand: <built-in>: fatal error:
when writing output to : Broken pipe ??

Here are the errors with context:

 0:19.11 checking for vpx >= 1.5.0... yes
 0:19.11 checking MOZ_LIBVPX_CFLAGS...
 0:19.11 checking MOZ_LIBVPX_LIBS...
-L/gnu/store/7s6z2ybw86k7r97cwzrix9hngs729lrk-libvpx-1.8.0/lib -lvpx -lm
 0:19.17 checking for vpx/vpx_decoder.h... yes
 0:19.38 checking for vpx_codec_dec_init_ver in -lvpx... yes
 0:19.42 checking for vpx_mem/vpx_mem.h... no
 0:19.44 checking for libpulse... yes
 0:19.45 checking MOZ_PULSEAUDIO_CFLAGS... -D_REENTRANT
 0:19.45 checking MOZ_PULSEAUDIO_LIBS...
-L/gnu/store/hd3x89yknm4k6k4gw16jy5xk7idq1sxf-pulseaudio-12.2/lib -lpulse
 0:19.47 <built-in>: fatal error: when writing output to : Broken pipe
 0:19.47 compilation terminated.
 0:19.48 /tmp/guix-build-newmoon-28.4.0.drv-0/source/old-configure: line
14935: test: : integer expression expected
 0:19.50 checking for wget... no
 0:19.52 checking for sqlite3 >= 3.26.0... yes
 0:19.52 checking SQLITE_CFLAGS...
 0:19.52 checking SQLITE_LIBS...
-L/gnu/store/kg104rhqzvmnpqxk91ayvwxzsrncr0f4-sqlite-3.26.0/lib -lsqlite3
 0:19.67 checking for SQLITE_SECURE_DELETE support in system SQLite... yes
 0:19.78 checking for SQLITE_THREADSAFE support in system SQLite... yes
 0:19.90 checking for SQLITE_ENABLE_FTS3 support in system SQLite... no
 0:19.90 configure: error: System SQLite library is not compiled with
SQLITE_ENABLE_FTS3.
 0:19.93 DEBUG: <truncated - see config.log for full output>
 0:19.94 DEBUG: configure:15039: checking for wget
 0:19.94 DEBUG: configure:15362: checking for sqlite3 >= 3.26.0
 0:19.94 DEBUG: configure:15369: checking SQLITE_CFLAGS
 0:19.94 DEBUG: configure:15374: checking SQLITE_LIBS
 0:19.94 DEBUG: configure:15405: checking for SQLITE_SECURE_DELETE
support in system SQLite
 0:19.94 DEBUG: configure:15428:
/gnu/store/n2p1zs14y89lwkg9da68y12pc10c6sw9-gcc-5.5.0/bin/gcc -std=gnu99
-o conftest  -fno-strict-aliasing -fno-math-errno -msse2 -mfpmath=sse
-pthread   -lpthread  -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id
conftest.c -ldl
-L/gnu/store/kg104rhqzvmnpqxk91ayvwxzsrncr0f4-sqlite-3.26.0/lib
-lsqlite3 1>&5
 0:19.94 DEBUG: configure:15451: checking for SQLITE_THREADSAFE support
in system SQLite
 0:19.94 DEBUG: configure:15474:
/gnu/store/n2p1zs14y89lwkg9da68y12pc10c6sw9-gcc-5.5.0/bin/gcc -std=gnu99
-o conftest  -fno-strict-aliasing -fno-math-errno -msse2 -mfpmath=sse
-pthread   -lpthread  -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id
conftest.c -ldl
-L/gnu/store/kg104rhqzvmnpqxk91ayvwxzsrncr0f4-sqlite-3.26.0/lib
-lsqlite3 1>&5
 0:19.94 DEBUG: configure:15497: checking for SQLITE_ENABLE_FTS3 support
in system SQLite
 0:19.94 DEBUG: configure:15520:
/gnu/store/n2p1zs14y89lwkg9da68y12pc10c6sw9-gcc-5.5.0/bin/gcc -std=gnu99
-o conftest  -fno-strict-aliasing -fno-math-errno -msse2 -mfpmath=sse
-pthread   -lpthread  -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id
conftest.c -ldl
-L/gnu/store/kg104rhqzvmnpqxk91ayvwxzsrncr0f4-sqlite-3.26.0/lib
-lsqlite3 1>&5
 0:19.94 DEBUG: configure: failed program was:
 0:19.94 DEBUG: #line 15511 "configure"
 0:19.94 DEBUG: #include "confdefs.h"
 0:19.94 DEBUG:
 0:19.94 DEBUG:             #include "sqlite3.h"
 0:19.94 DEBUG:
 0:19.94 DEBUG:             int main(int argc, char **argv){
 0:19.94 DEBUG:               return
!sqlite3_compileoption_used("SQLITE_ENABLE_FTS3");
 0:19.94 DEBUG:             }
 0:19.94 DEBUG: configure: error: System SQLite library is not compiled
with SQLITE_ENABLE_FTS3.
 0:19.94 ERROR: old-configure failed
 0:19.98 *** Fix above errors and then restart with\
 0:19.98
"/gnu/store/7j3941iannrngdvgbclyxid12vds5w9i-make-4.2.1/bin/make -f
client.mk build"
 0:19.98 make[1]: *** [client.mk:378: configure] Error 1
make: *** [GNUmakefile:9: build] Error 2


-- 
Cheers Swedebugia

Attachment: 0001-WIP-gnu-Add-New-Moon.patch
Description: Text Data

Attachment: 0002-gnu-sqlite-Add-build-flag-SQLITE_ENABLE_FTS3.patch
Description: Text Data

Attachment: palemoon.scm
Description: Text Data

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]