Opened 11 years ago

Closed 8 years ago

#39100 closed defect (fixed)

aria2 @1.17.0 build error related to AppleTLSContext.cc; build failure

Reported by: bitmail@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc: mww@…, nonstop.server@…
Port: aria2

Description

System: MacPorts 2.1.3, OSX 10.5.8, ppc7450.

Building the latest version of aria2 fails. Previous versions worked fine. Might be related to changes upstream. Changelog for v. 1.17:

· This version adds Mac OS X native SSL/TLS library support.

Partial error log:

:info:build mv -f .deps/AppleMessageDigestImpl.Tpo .deps/AppleMessageDigestImpl.Po
:info:build /usr/bin/g++-4.0 -DHAVE_CONFIG_H -I. -I..  -Wall -I../lib -I../intl -DLOCALEDIR=\"/opt/local/share/locale\" -DCA_BUNDLE=\"\" -DHAVE_CONFIG_H  -I../deps/wslay/lib/includes -I../deps/wslay/lib/includes -I/opt/local/include  -I/opt/local/include/libxml2 -I/opt/local/include  -I/opt/local/include  -O2 -I/opt/local/include/libxml2 -arch ppc -MT AppleTLSContext.o -MD -MP -MF .deps/AppleTLSContext.Tpo -c -o AppleTLSContext.o AppleTLSContext.cc
:info:build AppleTLSContext.cc: In member function ‘bool aria2::AppleTLSContext::tryAsFingerprint(const std::string&)’:
:info:build AppleTLSContext.cc:158: error: ‘stripWhitespace’ was not declared in this scope
:info:build AppleTLSContext.cc:164: error: ‘hash_validator’ was not declared in this scope
:info:build make[2]: *** [AppleTLSContext.o] Error 1
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_aria2/aria2/work/aria2-1.17.0/src'
:info:build make[1]: *** [all-recursive] Error 1
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_aria2/aria2/work/aria2-1.17.0'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_aria2/aria2/work/aria2-1.17.0'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_aria2/aria2/work/aria2-1.17.0" && /usr/bin/make -w all 
:info:build Exit code: 2
:error:build org.macports.build for port aria2 returned: command execution failed
:debug:build Error code: CHILDSTATUS 79985 2
:debug:build Backtrace: command execution failed
    while executing
"system -nice 0 $fullcmdstring"
    ("eval" body line 1)
    invoked from within
"eval system $notty $nice \$fullcmdstring"
    invoked from within
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: targets not executed for aria2: org.macports.activate org.macports.build org.macports.destroot org.macports.install

Full error log attached.

Attachments (2)

main.log (168.5 KB) - added by bitmail@… 11 years ago.
Build log
main_r106524.log.bz2 (13.8 KB) - added by nonstop.server@… 11 years ago.

Download all attachments as: .zip

Change History (8)

Changed 11 years ago by bitmail@…

Attachment: main.log added

Build log

comment:1 Changed 11 years ago by nonstop.server@…

Cc: nonstop.server@… added

Cc Me!

comment:2 Changed 11 years ago by dmitry.gladkov@…

This Snow Leopard specific bug. Applying this commit fixed the problem: https://github.com/nmaier/aria2/commit/51ddcaf5b16ae39db18c5d4b840ee5ab43ab6b2f

comment:3 Changed 11 years ago by nonstop.server@…

This is also an issue for aria2 @1.17.1 (r106524). My log (main_r106524.log.bz2) of the update attempt has been attached for your inspection.

Changed 11 years ago by nonstop.server@…

Attachment: main_r106524.log.bz2 added

comment:4 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Is this still a problem with aria2 @1.19.0?

Last edited 9 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:6 Changed 8 years ago by dbevans (David B. Evans)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.