Opened 9 years ago

Last modified 7 years ago

#1243 closed defect (Fixed)

compliation errors on last git origin/master

Reported by: stars Owned by:
Priority: Very High Milestone:
Component: Core Tor/Tor Version: 0.2.2.7-alpha
Severity: Keywords:
Cc: stars, Sebastian, nickm, arma Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

Hello,

i have try to build Tor from last git commit : commit 30b6fe6e9b7cae25bd87d436eb4f78300313c94f and have a couple errors on compilation.

t -Wold-style-definition -Waddress -Wmissing-noreturn -Wnormalized=id -Woverride-init -Wstrict-overflow=1 -Wextra -Warray-bounds -MT dns.o -MD -MP -MF .deps/dns.Tpo -c -o dns.o dns.c
dns.c: In function ‘configure_nameservers’:
dns.c:1246: error: too many arguments to function ‘evdns_base_set_option’
dns.c:1247: error: too many arguments to function ‘evdns_base_set_option’
dns.c:1249: error: too many arguments to function ‘evdns_base_set_option’
dns.c:1250: error: too many arguments to function ‘evdns_base_set_option’
dns.c:1254: error: too many arguments to function ‘evdns_base_set_option’
dns.c:1256: error: too many arguments to function ‘evdns_base_set_option’
make[2]: * [dns.o] Erreur 1
make[2]: quittant le répertoire « /home/stars/tor/src/or »
make[1]:
* [install-recursive] Erreur 1
make[1]: quittant le répertoire « /home/stars/tor/src »
make: * [install-recursive] Erreur 1

I run kubuntu Lucid alpha2 on x86 64 Linux KDELucidTest 2.6.32-12-generic #17-Ubuntu SMP Fri Feb 5 08:16:30 UTC 2010 x86_64 GNU/Linux

SwissTorExit

[Automatically added by flyspray2trac: Operating System: Other Linux]

Child Tickets

Change History (10)

comment:1 Changed 9 years ago by nickm

Looks like an incompatibility with the latest Libevent from git. I'd better add some code to check it.

comment:2 Changed 9 years ago by stars

i have tested on karmic 9.10 who are the stable version and it make the same error. Yes i have build libevent stable from BSD ports and build the lastest git Tor and was no problems. So it's surely with libevent.

I just add a few ligne more from my compile error, i have miss it.

m -Werror -Winit-self -Wmissing-field-initializers -Wdeclaration-after-statement -Wold-style-definition -Waddress -Wmissing-noreturn -Wnormalized=id -Woverride-init -Wstrict-overflow=1 -Wextra -Warray-bounds -MT dns.o -MD -MP -MF .deps/dns.Tpo -c -o dns.o dns.c
dns.c: In function ‘configure_nameservers’:
dns.c:1246: error: too many arguments to function ‘evdns_base_set_option’
dns.c:1247: error: too many arguments to function ‘evdns_base_set_option’
dns.c:1249: error: too many arguments to function ‘evdns_base_set_option’
dns.c:1250: error: too many arguments to function ‘evdns_base_set_option’
dns.c:1254: error: too many arguments to function ‘evdns_base_set_option’
dns.c:1256: error: too many arguments to function ‘evdns_base_set_option’
dns.c: At top level:
dns.c:1722: fatal error: opening dependency file .deps/dns.Tpo: Permission non accordée
compilation terminated.
make[3]: * [dns.o] Erreur 1
make[3]: quittant le répertoire « /home/stars/tor/src/or »
make[2]:
* [all-recursive] Erreur 1
make[2]: quittant le répertoire « /home/stars/tor/src »
make[1]: * [all-recursive] Erreur 1
make[1]: quittant le répertoire « /home/stars/tor »
make:
* [all] Erreur 2

Like you see there a permission problem too

Best Regards

comment:3 Changed 9 years ago by nickm

Should be fixed with latest libevent git and latest tor git versions.

comment:4 Changed 9 years ago by arma

Bug reporter asked us to reopen the task?

comment:5 Changed 9 years ago by nickm

Make sure your Tor git version is at least 4e082ec8 or later and your Libevent git version is either older
than 1dd7e6dc3ae or newer than 63e868e69f4041.

(Alternatively, make sure your Tor version is not between 0.2.2.1-alpha and 0.2.2.8-alpha (inclusive)
when building against Libevent 2.0.4-alpha or later.)

comment:6 Changed 9 years ago by stars

Hello to everyone,

Well for kubuntu karmic 9.10, it build perfectly and run well.

On Lucid 10.04, it still this error : " dns.c:1722: fatal error: opening dependency file .deps/dns.Tpo: Permission non accordée
compilation terminated. "

I dunno if Lucid have a new structure about encrypted home folder and make a problem with the permission.

My work around was simply to use "sudo make" instead "make".

If you don't find anything about that, wait till 25.02.10 when will come out the alpha3 Lucid and i will try again.

Except that it's compatible .

Thanks for the fix and have a great day

SwissTorExit

comment:7 Changed 9 years ago by arma

Sounds like you tried 'make' as root at some point, and it wrote some files
which your non-root user can't read. So it can't finish the compile.

To confirm, you could do a new git checkout and compare.

comment:8 Changed 9 years ago by stars

Okydoky, i have done a checkout and it have compiled without errors on Lucid.

Thanks for all, the bug report can be closed.

Best Regards

comment:9 Changed 9 years ago by Sebastian

flyspray2trac: bug closed.

comment:10 Changed 7 years ago by nickm

Component: Tor RelayTor
Note: See TracTickets for help on using tickets.