I got the following error for https://github.com/sorin-ionescu/homebrew-personal/blob/master/sqlite.rb
Is this because this formula is too old and does not support my OS version?
$ brew install sorin-ionescu/homebrew-personal/sqlite
==> Tapping sorin-ionescu/personal
Cloning into '/usr/local/Homebrew/Library/Taps/sorin-ionescu/homebrew-personal'...
remote: Enumerating objects: 19, done.
remote: Counting objects: 100% (19/19), done.
remote: Compressing objects: 100% (19/19), done.
remote: Total 19 (delta 1), reused 6 (delta 0), pack-reused 0
Unpacking objects: 100% (19/19), done.
Error: Invalid formula: /usr/local/Homebrew/Library/Taps/sorin-ionescu/homebrew-personal/dvtm.rb
dvtm: undefined method `sha1' for #<BottleSpecification:0x00007f8d5a983ef8>
Error: Invalid formula: /usr/local/Homebrew/Library/Taps/sorin-ionescu/homebrew-personal/osxfuse.rb
osxfuse: unknown version :snow_leopard
Error: Invalid formula: /usr/local/Homebrew/Library/Taps/sorin-ionescu/homebrew-personal/httpie.rb
httpie: Unsupported special dependency :python
Error: Invalid formula: /usr/local/Homebrew/Library/Taps/sorin-ionescu/homebrew-personal/minidlna.rb
minidlna: undefined method `sha1' for #<Resource::PatchResource:0x00007f8d5a0b4250>
Error: Cannot tap sorin-ionescu/personal: invalid syntax in tap!
This very custom tap is outdated. The command you used is totally right.
taking my first steps in BitBake using this guide, setup works fine until the point when i run bitbake world, where i get this -
WARNING: python should use 4 spaces indentation, but found tabs in base.bbclass, line 41
....
WARNING: python should use 4 spaces indentation, but found tabs in base.bbclass, line 64
Parsing recipes: 100% |###########################################################################################################################################################################| Time: 0:00:00
Parsing of 1 .bb files complete (0 cached, 1 parsed). 1 targets, 0 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
ERROR: An uncaught exception occurred in runqueue################################################### | ETA: 0:00:00
Traceback (most recent call last):
File "/home/ubuntu/bitbake/lib/bb/runqueue.py", line 1508, in RunQueue.execute_runqueue():
try:
> return self._execute_runqueue()
except bb.runqueue.TaskFailure:
File "/home/ubuntu/bitbake/lib/bb/runqueue.py", line 1428, in RunQueue._execute_runqueue():
[43, 967, 4, 3, 1, 5, 3, 7, 13, 1, 2, 1, 1, 246, 35, 1, 38, 1, 35, 2, 338, 204, 142, 3, 3, 37, 244])
> if self.rqdata.prepare() == 0:
self.state = runQueueComplete
File "/home/ubuntu/bitbake/lib/bb/runqueue.py", line 1164, in RunQueueData.prepare():
todeal.remove(tid)
> self.prepare_task_hash(tid)
File "/home/ubuntu/bitbake/lib/bb/runqueue.py", line 1177, in RunQueueData.prepare_task_hash(tid='/home/ubuntu/Poky/poky/meta-tutorial/recipes-tutorial/first/first_0.1.bb:do_build'):
self.runtaskentries[tid].hash = bb.parse.siggen.get_taskhash(taskfn, taskname, procdep, self.dataCaches[mc])
> self.runtaskentries[tid].unihash = bb.parse.siggen.get_unihash(taskfn + "." + taskname)
File "/home/ubuntu/bitbake/lib/bb/siggen.py", line 45, in SignatureGenerator.get_unihash(task='/home/ubuntu/Poky/poky/meta-tutorial/recipes-tutorial/first/first_0.1.bb.do_build'):
def get_unihash(self, task):
> return self.taskhash[task]
KeyError: '/home/ubuntu/Poky/poky/meta-tutorial/recipes-tutorial/first/first_0.1.bb.do_build'
Summary: There were 13 WARNING messages shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
and yes - i pulled the latest BitBake from github:
bitbake --version
BitBake Build Tool Core version 1.40.0
what's wrong with my python code?
https://www.yoctoproject.org/docs/2.1/bitbake-user-manual/bitbake-user-manual.html#var-BB_SIGNATURE_HANDLER
It seems using BB_SIGNATURE_HANDLER noop(by default)
I fix this error by adding BB_SIGNATURE_HANDLER define in meta-tutorial/conf/bitbake.conf
BB_SIGNATURE_HANDLER ?= "basichash"
I am facing exactly the same issue, finally found it due to bitbake version.
If you git clone bitbake from https://github.com/openembedded/bitbake, you could checkout to a early version:
git checkout tags/1.26.0 -b 1.26.0
Then the issue is gone.
The tutorial code is broken. The bitbake.conf is stored in
ch04/meta-tutorial/conf/bitbake.conf
but it belongs to
ch04/build/conf/bitbake.conf
Move the file there and it works
I opened an issue: https://bitbucket.org/a4z/bitbakeguide/issues/17/bitbakeconf-stored-in-the-wrong-place
I am using this site here. http://retroshare.sourceforge.net/wiki/index.php/Win32CompileLibrariesMingw#Compile_OpenSSL
and I have come across a problem. The error is
In file included from /usr/include/w32api/windows.h:95:0, from sqlite3.c:9607:
/cygdrive/c/sqlcipher-2.2.0/../openssl-1.0.1c/include/openssl/ossl_typ.h:153:29: error: expected ‘)’ before numeric constant typedef struct X509_name_st X509_NAME;
/cygdrive/c/sqlcipher-2.2.0/../openssl-1.0.1c/include/openssl/ossl_typ.h:199:33: error: expected ‘)’ before numeric constant typedef struct ocsp_response_st OCSP_RESPONSE;
Makefile:573: recipe for target 'sqlite3.lo' failed
make: *** [sqlite3.lo] Error 1
I opened the ossl_typ.h file to find only 1 line in it so i am not able to trace the error. Thank you for your help!
I came across the same problem trying to build sqlcipher. The problem is that recent versions of minGW define X509_NAME and OCSP_RESPONSE.
You need to add CFLAGS="-DNOCRYPT" to your ./configure, e.g. ./configure --enable-tempstore=yes CFLAGS="-DSQLITE_HAS_CODEC -DSQLITE_TEMP_STORE=2 -DNOCRYPT -lcrypto" in order to tell the compiler not to define these constants first.
Here is a link that explain the problem : http://cygwin.com/ml/cygwin/2012-12/msg00194.html
I read this article (http://qasim.zaidi.me/2009/05/overriding-system-call-in-aix.html;) about overriding a systemcall in aix;
I wrote two kernel extensions just like the article said "The first kernel extension would merely re-export the original system call with a different name. The second, will actually override the syscall by redefining it, and then call the original one as exported by the first module."
But there is a error when I make the second extension:
1> gcc -O2 -maix64 -ffreestanding -o my_syscall.o -c my_syscall.c -D_KERNEL
1> ld -b64 -o my_syscall my_syscall.o -e my_syscall_init -bI:/home/rabbitte/output/test_system/my_syscall.exp -bI:/usr/lib/kernex.exp -lsys -lcsys
1>ld : 0711-224 warning : Duplicate symbol: .getpid
1> ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
The file "/home/rabbitte/output/test_system/my_syscall.exp" is the export file of the first extension.
I don't understand the what the "Duplicate symbol: .getpid" means. Could you tell me how to solve this problem?
Thanks very much.
The reason is that the file “kernex.exp” also include the symbol “getpid”. I should comment the getpid in file kernex.exp.
I've never done any of this, so this might not be sufficient to solve your problem, but your linker line has two -bI options. It should be -bI for the AIX kernex.exp, and -bE for your exp file according to the docs you point to.
After configuring with
$./configure -embedded arm -xplatform qws/linux-arm-g++ -opensource
I get this output when Making and can't figure out why:
../../src/corelib/arch/qatomic_arm.h: In function char q_atomic_swp(volatile
char*, char)':
../../src/corelib/arch/qatomic_arm.h:125: warning: address requested forret',
which is declared register'
global/qlibraryinfo.cpp: In functionvoid qt_core_init_boilerplate()':
global/qlibraryinfo.cpp:581: __builtin_exit' undeclared (first use this
function)
global/qlibraryinfo.cpp:581: (Each undeclared identifier is reported only once
for each function it appears in.)
global/qlibraryinfo.cpp:573: warning: statement with no effect
global/qlibraryinfo.cpp:573: warning: statement with no effect
global/qlibraryinfo.cpp:574: warning: statement with no effect
global/qlibraryinfo.cpp:574: warning: statement with no effect
global/qlibraryinfo.cpp:575: warning: statement with no effect
global/qlibraryinfo.cpp:576: warning: statement with no effect
global/qlibraryinfo.cpp:576: warning: statement with no effect
global/qlibraryinfo.cpp:577: warning: statement with no effect
global/qlibraryinfo.cpp:578: warning: statement with no effect
global/qlibraryinfo.cpp:578: warning: statement with no effect
global/qlibraryinfo.cpp:579: warning: statement with no effect
global/qlibraryinfo.cpp:580: warning: statement with no effect
global/qlibraryinfo.cpp:580: warning: statement with no effect
make[1]: *** [.obj/release-shared-emb-arm/qlibraryinfo.o] Error 1
make[1]: Leaving directory/home/bsalmi/Desktop/qt-embedded-linux-opensource-src-4.5.1/src/corelib'
make: *** [sub-corelib-make_default-ordered] Error 2
Can anyone tell me what might be the problem or what to look into?
Thank You
Bryce
Check this post out from the QT mailing lists:
http://lists.trolltech.com/pipermail/qt-embedded-interest/2009-March/000224.html