RPM Build fails on file I didn't edit - centos

I'm on CentOS 7 trying to rebuild a kernel from source, only having edited the buildid value in the kernel.spec file. When I try to build, It goes on fine for a while and then fails.
From what I understand in the error log, it's failing due to errors in a file I never touched.
The build command I used was
rpmbuild -bb --without debug --without debuginfo --target=uname -m kernel.spec 2> build-err.log | tee build-out.log
The error log looks like this.
In file included from bench/futex-hash.c:17:0:
bench/futex.h: In function 'futex_wait':
bench/futex.h:36:10: error: 'SYS_futex' undeclared (first use in this function)
syscall(SYS_futex, uaddr, op | opflags, val, timeout, uaddr2, val3)
^
bench/futex.h:45:9: note: in expansion of macro 'futex'
return futex(uaddr, FUTEX_WAIT, val, timeout, NULL, 0, opflags);
^
bench/futex.h:36:10: note: each undeclared identifier is reported only once for each function it appears in
syscall(SYS_futex, uaddr, op | opflags, val, timeout, uaddr2, val3)
^
bench/futex.h:45:9: note: in expansion of macro 'futex'
return futex(uaddr, FUTEX_WAIT, val, timeout, NULL, 0, opflags);
^
bench/futex.h: In function 'futex_wake':
bench/futex.h:36:10: error: 'SYS_futex' undeclared (first use in this function)
syscall(SYS_futex, uaddr, op | opflags, val, timeout, uaddr2, val3)
^
bench/futex.h:55:9: note: in expansion of macro 'futex'
return futex(uaddr, FUTEX_WAKE, nr_wake, NULL, NULL, 0, opflags);
^
bench/futex.h: In function 'futex_lock_pi':
bench/futex.h:36:10: error: 'SYS_futex' undeclared (first use in this function)
syscall(SYS_futex, uaddr, op | opflags, val, timeout, uaddr2, val3)
^
bench/futex.h:66:9: note: in expansion of macro 'futex'
return futex(uaddr, FUTEX_LOCK_PI, detect, timeout, NULL, 0, opflags);
^
bench/futex.h: In function 'futex_unlock_pi':
bench/futex.h:36:10: error: 'SYS_futex' undeclared (first use in this function)
syscall(SYS_futex, uaddr, op | opflags, val, timeout, uaddr2, val3)
^
bench/futex.h:75:9: note: in expansion of macro 'futex'
return futex(uaddr, FUTEX_UNLOCK_PI, 0, NULL, NULL, 0, opflags);
^
bench/futex.h: In function 'futex_cmp_requeue':
bench/futex.h:36:10: error: 'SYS_futex' undeclared (first use in this function)
syscall(SYS_futex, uaddr, op | opflags, val, timeout, uaddr2, val3)
^
bench/futex.h:87:9: note: in expansion of macro 'futex'
return futex(uaddr, FUTEX_CMP_REQUEUE, nr_wake, nr_requeue, uaddr2,
^
bench/futex.h: In function 'futex_wait':
bench/futex.h:46:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
mv: cannot stat 'bench/.futex-hash.o.tmp': No such file or directory
make[3]: *** [bench/futex-hash.o] Error 1
make[2]: *** [bench] Error 2
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [perf-in.o] Error 2
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.GPuhpL (%build)
Bad exit status from /var/tmp/rpm-tmp.GPuhpL (%build)

Related

Protected execution, 2 cases

Why does in first following case protected execution work, but in second does not?:
q)t:([]a:1 2;b:3 4);
q)#[#[cols t; ; :; `bb]; (cols t)?`b; `columnNotFound]
`a`bb
q)#[#[cols t; ; :; `cc]; (cols t)?`c; `columnNotFound] // 1. works perfectly
`columnNotFound
q)#[#[cols t; (cols t)?`c; :; `cc]; `; `columnNotFound] // 2. exception does not handled
'length
[0] #[#[cols t; (cols t)?`c; :; `cc]; `; `columnNotFound]
^
Upd:
Hmm, I suspect something after trying:
q)#[{#[cols t; (cols t)?`c; :; `cc]}; `; `columnNotFound]
`columnNotFound
The protected execution is using the argument you're supplying. The first two examples are projections but the last is not, so it fails on execution.
q){#[cols t;x;:;`bb]}(cols t)?`b
`a`bb
q){#[cols t;x;:;`cc]}(cols t)?`c / thrown into error trap
'length
[1] {#[cols t;x;:;`cc]}
^
q))\
q)#[cols t;(cols t)?`c;:;`cc] / fails on execution
'length
[0] #[cols t;(cols t)?`c;:;`cc]
^
q)
In your upd, making the # apply a function is forcing the argument in the protected execution to be used.
q){#[cols t;(cols t)?`c;:;`cc]}`
'length
[1] {#[cols t;(cols t)?`c;:;`cc]}
^
q))

Type error resolving infix expression when compiling simple decoder

This is the code in vhdl:
library IEEE;
use IEEE.std_logic_1164.all;
entity DECODER_TWO is
port
(
SW : in std_logic_vector(2 downto 1);
LD : out std_logic_vector(4 downto 1)
);
end DECODER_TWO;
architecture MY_FIRST_DECODER of DECODER_TWO is
begin
with SW select
LD <= "1110" when "00",
LD <= "1101" when "01",
LD <= "1011" when "10",
LD <= "0111" when "11",
LD <= "1111" when others;
end MY_FIRST_DECODER;
When I try to compile this very simple 2 to 4-bit decoder I get the error message, no matter what I do
# ** Error: C:/skole/in3160/oblig2/DecoderArchitect.vhd(15): Type error resolving infix expression "<=" as type ieee.std_logic_1164.STD_LOGIC_VECTOR.
# ** Error: C:/skole/in3160/oblig2/DecoderArchitect.vhd(16): Type error resolving infix expression "<=" as type ieee.std_logic_1164.STD_LOGIC_VECTOR.
# ** Error: C:/skole/in3160/oblig2/DecoderArchitect.vhd(17): Type error resolving infix expression "<=" as type ieee.std_logic_1164.STD_LOGIC_VECTOR.
# ** Error: C:/skole/in3160/oblig2/DecoderArchitect.vhd(18): Type error resolving infix expression "<=" as type ieee.std_logic_1164.STD_LOGIC_VECTOR.
# ** Error: C:/skole/in3160/oblig2/DecoderArchitect.vhd(19): VHDL Compiler exiting
I can't see or understand what the problem is, since I don't get an error for '<=' in the first line, only line 2, 3, 4, and 5.

What does error when compiling drivers for wn722n mean?

I am trying to install drivers for wireless adapter wn722n on kali linux.
Following TP link manual:https://static.tp-link.com/2018/201812/20181207/Installation%20Guide%20for%20Linux.pdf
I get a lot of errors at the make stage that I don't understand:
root#kali:~/Downloads/rtl8188EUS_linux_v5.2.2.4_25483.20171222# make
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.5.0-kali2-amd64/build M=/root/Downloads/rtl8188EUS_linux_v5.2.2.4_25483.20171222 modules
make[1]: Entering directory '/usr/src/linux-headers-5.5.0-kali2-amd64'
CC [M] /root/Downloads/rtl8188EUS_linux_v5.2.2.4_25483.20171222/core/rtw_cmd.o
In file included from /root/Downloads/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/osdep_service.h:46,
from /root/Downloads/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/drv_types.h:32,
from /root/Downloads/rtl8188EUS_linux_v5.2.2.4_25483.20171222/core/rtw_cmd.c:22:
/root/Downloads/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/osdep_service_linux.h: In function ‘_init_timer’:
/root/Downloads/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/osdep_service_linux.h:288:8: error: ‘_timer’ {aka ‘struct timer_list’} has no member named ‘data’
288 | ptimer->data = (unsigned long)cntx;
| ^~
/root/Downloads/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/osdep_service_linux.h:289:2: error: implicit declaration of function ‘init_timer’; did you mean ‘_init_timer’? [-Werror=implicit-function-declaration]
289 | init_timer(ptimer);
| ^~~~~~~~~~
| _init_timer
In file included from /root/Downloads/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/drv_types.h:35,
from /root/Downloads/rtl8188EUS_linux_v5.2.2.4_25483.20171222/core/rtw_cmd.c:22:
/root/Downloads/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/wifi.h: At top level:
/root/Downloads/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/wifi.h:1012: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
1012 | #define IEEE80211_MAX_AMPDU_BUF 0x40
|
In file included from /root/Downloads/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/osdep_service_linux.h:86,
from /root/Downloads/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/osdep_service.h:46,
from /root/Downloads/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/drv_types.h:32,
from /root/Downloads/rtl8188EUS_linux_v5.2.2.4_25483.20171222/core/rtw_cmd.c:22:
/usr/src/linux-headers-5.5.0-kali2-common/include/linux/ieee80211.h:1451: note: this is the location of the previous definition
1451 | #define IEEE80211_MAX_AMPDU_BUF 0x100
|
cc1: some warnings being treated as errors
make[3]: *** [/usr/src/linux-headers-5.5.0-kali2-common/scripts/Makefile.build:271: /root/Downloads/rtl8188EUS_linux_v5.2.2.4_25483.20171222/core/rtw_cmd.o] Error 1
make[2]: *** [/usr/src/linux-headers-5.5.0-kali2-common/Makefile:1707: /root/Downloads/rtl8188EUS_linux_v5.2.2.4_25483.20171222] Error 2
make[1]: *** [/usr/src/linux-headers-5.5.0-kali2-common/Makefile:179: sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.5.0-kali2-amd64'
make: *** [Makefile:1911: modules] Error 2
Anyone has an idea what those mean?

psql errors on restore database

Please read a litle story first. So I have a front end application that run on a SUSE Linux Enterprise 9 PC and PostgreSQL 7.4.2 database server.
Now I installed on a Windows 8.1 PC postgresql-9.5.1 from get.enterprisedb.com.
When I want to restore the backup from SUSE (that was made from a menu item of the front end application) with the command:
psql -U admin -d MyDataBase -f BackupDatabase
I receive a lot of errors like:
^
psql:d:/Ael_DB.tar:27100: ERROR: syntax error at or near "Scara"
LINE 1: Scara: A;
^
psql:d:/Ael_DB.tar:27101: ERROR: syntax error at or near "Apartamentul"
LINE 1: Apartamentul: 20;
^
psql:d:/Ael_DB.tar:27102: ERROR: syntax error at or near "Ü8"
LINE 1: Ü?Localitate: Constanta;
^
psql:d:/Ael_DB.tar:27103: ERROR: syntax error at or near "Bulevardul"
LINE 1: Bulevardul: AUREL VLAICU;
^
psql:d:/Ael_DB.tar:27104: ERROR: syntax error at or near "NumÄ?r"
LINE 1: NumÄ?r arterÄ?: 6;
^
psql:d:/Ael_DB.tar:27105: ERROR: syntax error at or near "Blocul"
LINE 1: Blocul: C6;
^
psql:d:/Ael_DB.tar:27106: ERROR: syntax error at or near "Apartamentul"
LINE 1: Apartamentul: 48;
^
psql:d:/Ael_DB.tar:27107: ERROR: syntax error at or near "WLocalitate"
LINE 1: WLocalitate: Constanta;
^
psql:d:/Ael_DB.tar:27108: ERROR: syntax error at or near "Strada"
LINE 1: Strada: CAIUTI;
^
psql:d:/Ael_DB.tar:27109: ERROR: syntax error at or near "NumÄ?r"
LINE 1: NumÄ?r arterÄ?: 27;
^
psql:d:/Ael_DB.tar:27110: ERROR: syntax error at or near "Localitate"
LINE 1: Localitate: Constanta;
^
psql:d:/Ael_DB.tar:27111: ERROR: syntax error at or near "Strada"
LINE 1: Strada: CRINULUI;
^
psql:d:/Ael_DB.tar:27112: ERROR: syntax error at or near "NumÄ?r"
LINE 1: NumÄ?r arterÄ?: 19;
^
psql:d:/Ael_DB.tar:27113: ERROR: syntax error at or near "Localitate"
LINE 1: Localitate: Constanta;
^
psql:d:/Ael_DB.tar:27114: ERROR: syntax error at or near "Strada"
LINE 1: Strada: DRAGOSLAVELE;
^
psql:d:/Ael_DB.tar:27115: ERROR: syntax error at or near "NumÄ?r"
LINE 1: NumÄ?r arterÄ?: 1B;
^
psql:d:/Ael_DB.tar:27116: ERROR: syntax error at or near "Blocul"
LINE 1: Blocul: 1A;
^
psql:d:/Ael_DB.tar:27117: ERROR: syntax error at or near "Apartamentul"
LINE 1: Apartamentul: 9;
^
psql:d:/Ael_DB.tar:27118: ERROR: syntax error at or near ""Localitate"
LINE 1: "Localitate: Constanta;
^
psql:d:/Ael_DB.tar:27119: ERROR: syntax error at or near "Strada"
LINE 1: Strada: OBORULUI;
^
psql:d:/Ael_DB.tar:27120: ERROR: syntax error at or near "NumÄ?r"
LINE 1: NumÄ?r arterÄ?: 54;
^
psql:d:/Ael_DB.tar:27121: ERROR: syntax error at or near "Blocul"
LINE 1: Blocul: L2;
^
psql:d:/Ael_DB.tar:27122: ERROR: syntax error at or near "Scara"
LINE 1: Scara: B;
^
psql:d:/Ael_DB.tar:27123: ERROR: syntax error at or near "Apartamentul"
LINE 1: Apartamentul: 34;
^
psql:d:/Ael_DB.tar:27124: ERROR: syntax error at or near "┼Localitate"
LINE 1: ┼Localitate: Constanta;
^
psql:d:/Ael_DB.tar:27125: ERROR: syntax error at or near "Strada"
LINE 1: Strada: PRELUNGIREA LILIACULUI;
^
psql:d:/Ael_DB.tar:27126: ERROR: syntax error at or near "NumÄ?r"
LINE 1: NumÄ?r arterÄ?: 6;
^
psql:d:/Ael_DB.tar:27127: ERROR: syntax error at or near "Blocul"
LINE 1: Blocul: G8;
^
psql:d:/Ael_DB.tar:27128: ERROR: syntax error at or near "Apartamentul"
LINE 1: Apartamentul: 50;
^
psql:d:/Ael_DB.tar:27129: ERROR: syntax error at or near "Localitate"
LINE 1: Localitate: Constanta;
^
psql:d:/Ael_DB.tar:27130: ERROR: syntax error at or near "Strada"
LINE 1: Strada: STEFAN CEL MARE;
^
psql:d:/Ael_DB.tar:27131: ERROR: syntax error at or near "NumÄ?r"
LINE 1: NumÄ?r arterÄ?: 57;
^
psql:d:/Ael_DB.tar:27132: ERROR: syntax error at or near "Blocul"
LINE 1: Blocul: M17;
^
psql:d:/Ael_DB.tar:27133: ERROR: syntax error at or near "Apartamentul"
LINE 1: Apartamentul: 24;
^
psql:d:/Ael_DB.tar:27134: ERROR: syntax error at or near "eme"
LINE 1: eme.Localitate: Mereni;
^
psql:d:/Ael_DB.tar:27147: ERROR: syntax error at or near "ńwĆ"
LINE 1: ńwĆ
^
psql:d:/Ael_DB.tar:27147: ERROR: syntax error at or near "˘ţŤ"
LINE 1: ˘ţŤ;
^
psql:d:/Ael_DB.tar:27147: ERROR: syntax error at or near "˘ţŤ"
LINE 1: ˘ţŤ;
^
psql:d:/Ael_DB.tar:27147: ERROR: syntax error at or near "o"
LINE 1: o↕?;
^
psql:d:/Ael_DB.tar:27147: ERROR: syntax error at or near "uLp"
LINE 1: uLp;
^
psql:d:/Ael_DB.tar:27147: ERROR: syntax error at or near "uLp"
LINE 1: uLp;
^
psql:d:/Ael_DB.tar:27153: ERROR: syntax error at or near "∟"
LINE 1: ∟♀×#=∟♀>Ý`
^
psql:d:/Ael_DB.tar:27153: ERROR: syntax error at or near "Öę?"
LINE 1: Öę?;
^
psql:d:/Ael_DB.tar:27153: ERROR: syntax error at or near "Öę?"
LINE 1: Öę?;
^
psql:d:/Ael_DB.tar:27153: ERROR: syntax error at or near "o"
LINE 1: o↕?;
^
psql:d:/Ael_DB.tar:27153: ERROR: syntax error at or near "o"
LINE 1: o↕?;
^
psql:d:/Ael_DB.tar:27153: ERROR: syntax error at or near "o"
LINE 1: o↕?;
^
psql:d:/Ael_DB.tar:27153: ERROR: syntax error at or near "o"
LINE 1: o↕?;
^
psql:d:/Ael_DB.tar:27153: ERROR: syntax error at or near "∟"
LINE 1: ∟ů⌂?śů⌂?śů⌂?ś♀]?<ף<Öę?<|Í<ŹÂuD"
LINE 1: |>D;
^
psql:d:/Ael_DB.tar:27153: ERROR: syntax error at or near "|>D"
LINE 1: |>D;
^
psql:d:/Ael_DB.tar:27153: ERROR: syntax error at or near "|>D"
LINE 1: |>D;
^
psql:d:/Ael_DB.tar:27153: ERROR: syntax error at or near ">"
LINE 1: >Ă.;
^
psql:d:/Ael_DB.tar:27153: ERROR: syntax error at or near ">"
LINE 1: >Ă.;
^
psql:d:/Ael_DB.tar:27153: ERROR: syntax error at or near ">"
LINE 1: >Ă.;
^
psql:d:/Ael_DB.tar:27153: ERROR: syntax error at or near ">"
LINE 1: >Ă.;
^
☼▲◄♀☻". available for "▼→♥gupa↕; agem↕↕g▬N↨X ☼#☺☻; ┌g☺4g☺(☻►=♦?☻
Try \h with no arguments to see available help.
psql:d:/Ael_DB.tar:27171: ERROR: syntax error at or near "∟"
LINE 1: .resources.resource.9.typede5zĆ♀4VĎm_1181127081303.zipbp"]...
^
psql:d:/Ael_DB.tar:27171: ERROR: syntax error at or near ")"
LINE 1: )R6↔ ^H§"0Ű☺k‼"d§}↔=$ç♂▬order b'y ´ nt♀▲Á☺ůlocal"ć☻#'m♂"Me...
^
psql:d:/Ael_DB.tar:27174: ERROR: syntax error at or near "l"
LINE 1: l◄!L'♠Z su‼ŕraI_c◄1⌂ nl/ç &tšl‼Sl§=↔=n☼§☺E☼U♥m☺Ř nm☻Km☼...
^
psql:d:/Ael_DB.tar:27175: ERROR: syntax error at or near "Localitate"
LINE 1: Localitate: Constanta;
^
psql:d:/Ael_DB.tar:27176: ERROR: syntax error at or near "Bulevardul"
LINE 1: Bulevardul: 1 DECEMBRIE 1918;
^
psql:d:/Ael_DB.tar:27177: ERROR: syntax error at or near "NumÄ?r"
LINE 1: NumÄ?r arterÄ?: 6;
^
psql:d:/Ael_DB.tar:27178: ERROR: syntax error at or near "Blocul"
LINE 1: Blocul: L56;
^
psql:d:/Ael_DB.tar:27179: ERROR: syntax error at or near "Scara"
LINE 1: Scara: B;
^
psql:d:/Ael_DB.tar:27180: ERROR: syntax error at or near "Apartamentul"
LINE 1: Apartamentul: 25;
^
psql:d:/Ael_DB.tar:27181: ERROR: syntax error at or near "Localitate"
LINE 1: Localitate: Constanta;
^
psql:d:/Ael_DB.tar:27182: ERROR: syntax error at or near "Bulevardul"
LINE 1: Bulevardul: 1 MAI;
^
psql:d:/Ael_DB.tar:27183: ERROR: syntax error at or near "NumÄ?r"
LINE 1: NumÄ?r arterÄ?: 3;
^
psql:d:/Ael_DB.tar:27184: ERROR: syntax error at or near "Blocul"
LINE 1: Blocul: H10;
^
psql:d:/Ael_DB.tar:27185: ERROR: syntax error at or near "Scara"
LINE 1: Scara: A;
^
psql:d:/Ael_DB.tar:27186: ERROR: syntax error at or near "Apartamentul"
LINE 1: Apartamentul: 20;
^
psql:d:/Ael_DB.tar:27187: ERROR: syntax error at or near "Localitate"
LINE 1: Localitate: Constanta;
^
psql:d:/Ael_DB.tar:27188: ERROR: syntax error at or near "Bulevardul"
LINE 1: Bulevardul: AUREL VLAICU;
^
psql:d:/Ael_DB.tar:27189: ERROR: syntax error at or near "NumÄ?r"
LINE 1: NumÄ?r arterÄ?: 6;
^
psql:d:/Ael_DB.tar:27190: ERROR: syntax error at or near "Blocul"
LINE 1: Blocul: C6;
^
psql:d:/Ael_DB.tar:27191: ERROR: syntax error at or near "Apartamentul"
LINE 1: Apartamentul: 48;
^
psql:d:/Ael_DB.tar:27192: ERROR: syntax error at or near "WLocalitate"
LINE 1: WLocalitate: Constanta;
^
psql:d:/Ael_DB.tar:27193: ERROR: syntax error at or near "Strada"
LINE 1: Strada: CAIUTI;
^
psql:d:/Ael_DB.tar:27194: ERROR: syntax error at or near "NumÄ?r"
LINE 1: NumÄ?r arterÄ?: 27;
^
psql:d:/Ael_DB.tar:27195: ERROR: syntax error at or near "Localitate"
LINE 1: Localitate: Constanta;
^
psql:d:/Ael_DB.tar:27196: ERROR: syntax error at or near "Strada"
LINE 1: Strada: CRINULUI;
^
psql:d:/Ael_DB.tar:27197: ERROR: syntax error at or near "NumÄ?r"
LINE 1: NumÄ?r arterÄ?: 19;
^
psql:d:/Ael_DB.tar:27198: ERROR: syntax error at or near "Localitate"
LINE 1: Localitate: Constanta;
^
psql:d:/Ael_DB.tar:27199: ERROR: syntax error at or near "Strada"
LINE 1: Strada: DRAGOSLAVELE;
^
psql:d:/Ael_DB.tar:27200: ERROR: syntax error at or near "NumÄ?r"
LINE 1: NumÄ?r arterÄ?: 1B;
^
psql:d:/Ael_DB.tar:27201: ERROR: syntax error at or near "Blocul"
LINE 1: Blocul: 1A;
^
psql:d:/Ael_DB.tar:27202: ERROR: syntax error at or near "Apartamentul"
LINE 1: Apartamentul: 9;
^
psql:d:/Ael_DB.tar:27203: ERROR: syntax error at or near ""Localitate"
LINE 1: "Localitate: Constanta;
^
psql:d:/Ael_DB.tar:27204: ERROR: syntax error at or near "Strada"
LINE 1: Strada: OBORULUI;
^
psql:d:/Ael_DB.tar:27205: ERROR: syntax error at or near "NumÄ?r"
LINE 1: NumÄ?r arterÄ?: 54;
^
psql:d:/Ael_DB.tar:27206: ERROR: syntax error at or near "Blocul"
LINE 1: Blocul: L2;
^
psql:d:/Ael_DB.tar:27207: ERROR: syntax error at or near "Scara"
LINE 1: Scara: B;
^
psql:d:/Ael_DB.tar:27208: ERROR: syntax error at or near "Apartamentul"
LINE 1: Apartamentul: 34;
^
psql:d:/Ael_DB.tar:27209: ERROR: syntax error at or near "┼Localitate"
LINE 1: ┼Localitate: Constanta;
^
psql:d:/Ael_DB.tar:27210: ERROR: syntax error at or near "Strada"
LINE 1: Strada: PRELUNGIREA LILIACULUI;
^
psql:d:/Ael_DB.tar:27211: ERROR: syntax error at or near "NumÄ?r"
LINE 1: NumÄ?r arterÄ?: 6;
^
I did not let the command to finish since the database has 6 GB and would last too long.
The question is where I am wrong or missing something ?

Error: illegal character '#'

I tried running the logic file from Doop test set in Logic Blox 3.10. I run the analysis.js file in 1-call-site-sensitive folder
using following commands in sequence:
lb create testworkspace
lb exec testworkspace --file analysis.logic
It prompts me the following errors:
ubuntu#ubuntu:~/doop/logic/1-call-site-sensitive$ lb exec testworkspace --file analysis.logic
Error: block __block0: line 8: error: illegal character '#' (code: ILLEGAL_CHARACTER)
#include "macros.logic"
^
block __block0: line 8: error: unexpected token 'macros.logic' (code: UNEXPECTED_TOKEN)
#include "macros.logic"
^
block __block0: line 9: error: illegal character '#' (code: ILLEGAL_CHARACTER)
#include "../context-sensitive.logic"
^
block __block0: line 10: error: illegal character '#' (code: ILLEGAL_CHARACTER)
#include "../library.logic"
^
block __block0: line 47: error: illegal character '#' (code: ILLEGAL_CHARACTER)
#ifdef PADDLE_COMPAT
^
block __block0: line 47: error: unexpected token 'PADDLE_COMPAT' (code: UNEXPECTED_TOKEN)
#ifdef PADDLE_COMPAT
^^^^^^^^^^^^^
block __block0: line 48: error: unexpected token '.' (code: UNEXPECTED_TOKEN)
MethodInvocationValue(?startupInvocation, "<<no-context>>").
^
block __block0: line 49: error: illegal character '#' (code: ILLEGAL_CHARACTER)
#else
^
block __block0: line 51: error: illegal character '#' (code: ILLEGAL_CHARACTER)
#endif
^
block __block0: line 62: error: illegal character '#' (code: ILLEGAL_CHARACTER)
#ifdef PADDLE_COMPAT
^
block __block0: line 64: error: illegal character '#' (code: ILLEGAL_CHARACTER)
#else
^
block __block0: line 66: error: illegal character '#' (code: ILLEGAL_CHARACTER)
#endif
^
block __block0: line 73: error: illegal character '#' (code: ILLEGAL_CHARACTER)
#ifdef PADDLE_COMPAT
^
block __block0: line 75: error: illegal character '#' (code: ILLEGAL_CHARACTER)
#else
^
block __block0: line 77: error: illegal character '#' (code: ILLEGAL_CHARACTER)
#endif
^
block __block0: line 85: error: illegal character '#' (code: ILLEGAL_CHARACTER)
#ifdef PADDLE_COMPAT
^
block __block0: line 87: error: illegal character '#' (code: ILLEGAL_CHARACTER)
#else
^
block __block0: line 89: error: illegal character '#' (code: ILLEGAL_CHARACTER)
#endif
^
18 ERRORS (BloxCompiler version 73677_d4ce8757cf9e9f444fdfe6fd6e4f43064577d1e8)
Am I running it correctly? I have attached all the files I have run with LogicBlox in this link:
Doop currently supports only version 3.X (preferably 3.9 or 3.10) of the LogicBlox engine. Furthermore, doop is a whole framework. It's not just a logic file. In order to run doop, you have to invoke the wrapping script or gradlew directly.
I suggest you check this tutorial from PLDI'15. http://plast-lab.github.io/doop-pldi15-tutorial/