Opened 11 years ago

Closed 10 years ago

Last modified 10 years ago

#42300 closed defect (fixed)

afflib fails to build.

Reported by: dershow Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc: jessekornblum@…, jessebowling@…, ryandesign (Ryan Carsten Schmidt)
Port: afflib

Description

afflib 3.6.12 fails to build. I was attempting to install afflib to work with sleuthkit, but it will not build. Additionally, we might consider an upgrade to afflib version 4, although it is not clear from the website if that version is compatible with sleuthkit 4 or not. Here is the end of the build log file:

:info:build libtool: link: /usr/bin/clang++ -pipe -Os -arch x86_64 -D_FORTIFY_SOURCE=2 -Wall -g -Wl,-headerpad_max_install_names -arch x86_64 -o affuse affuse-affuse.o  -L/opt/local/lib ../lib/.libs/libafflib.a -lcrypto -lssl -lexpat -lz -lncurses -lreadline
:info:build libtool: link: /usr/bin/clang++ -pipe -Os -arch x86_64 -D_FORTIFY_SOURCE=2 -Wall -g -Wl,-headerpad_max_install_names -arch x86_64 -o affdiskprint affdiskprint.o  -L/opt/local/lib ../lib/.libs/libafflib.a -lcrypto -lssl -lexpat -lz -lncurses -lreadline
:info:build libtool: link: /usr/bin/clang++ -pipe -Os -arch x86_64 -D_FORTIFY_SOURCE=2 -Wall -g -Wl,-headerpad_max_install_names -arch x86_64 -o affverify affverify.o aff_bom.o  -L/opt/local/lib ../lib/.libs/libafflib.a -lcrypto -lssl -lexpat -lz -lncurses -lreadline
:info:build affxml.cpp:86:14: error: 'long type-name' is invalid
:info:build     uint32_t long zsectors;     // number of sectors that are all blank
:info:build              ^
:info:build affxml.cpp:87:14: error: 'long type-name' is invalid
:info:build     uint32_t long badsectors;   // number of bad sectors
:info:build              ^
:info:build affxml.cpp:88:14: error: 'long type-name' is invalid
:info:build     uint32_t long zpages;               // number of pages that are all blank
:info:build              ^
:info:build affxml.cpp:89:14: error: 'long type-name' is invalid
:info:build     uint32_t long pages;                // total number of pages
:info:build              ^
:info:build affxml.cpp:90:14: error: 'long type-name' is invalid
:info:build     uint32_t long sectors;              // total number of sectors
:info:build              ^
:info:build 5 errors generated.
:info:build make[2]: *** [affxml.o] Error 1
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_afflib/afflib/work/afflib-3.6.12/tools'
: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_tarballs_ports_security_afflib/afflib/work/afflib-3.6.12'
: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_tarballs_ports_security_afflib/afflib/work/afflib-3.6.12'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_afflib/afflib/work/afflib-3.6.12" && /usr/bin/make -j8 -w all 
:info:build Exit code: 2
:error:build org.macports.build for port afflib returned: command execution failed
:debug:build Error code: CHILDSTATUS 44478 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 afflib: org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Please see the log file for port afflib for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_afflib/afflib/main.log

Change History (4)

comment:1 Changed 11 years ago by mf2k (Frank Schima)

Cc: jessekornblum@… added

Cc'ing maintainer of sleuthkit.

comment:2 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: jessebowling@… added

Has duplicate #45183.

comment:3 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

I think this is fixed with r125901.

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

Cc: ryandesign@… added

Cc Me!

Note: See TracTickets for help on using tickets.