Opened 10 years ago

Closed 10 years ago

#47370 closed defect (invalid)

failed to install afflib

Reported by: demantos@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc:
Port: afflib

Description (last modified by mf2k (Frank Schima))

I want to mount e01 image to my macbook and I find below article. http://kleinco.com.au/thoughts-events/item/mounting-split-disk-images-under-osx

He say to me install afflib 3.3.6. so, I edit source.conf and create a port index in new repository. While install afflib I find a error message.

malwarel4bMacPro:~ demantos$ sudo port -v install afflib
--->  Computing dependencies for afflib.
--->  Building afflib
make: Entering directory `/opt/local/var/macports/build/_Library_MacPorts_security_afflib/afflib/work/afflib-3.3.6'
/Applications/Xcode.app/Contents/Developer/usr/bin/make  all-recursive
make[1]: Entering directory `/opt/local/var/macports/build/_Library_MacPorts_security_afflib/afflib/work/afflib-3.3.6'
Making all in lib
make[2]: Entering directory `/opt/local/var/macports/build/_Library_MacPorts_security_afflib/afflib/work/afflib-3.3.6/lib'
/bin/sh ../libtool --tag=CXX   --mode=compile /usr/bin/clang++ -DHAVE_CONFIG_H -I. -I.. -I../lzma443/C -I../lzma443/C/7zip/Compress/LZMA_Alone    -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=26 -I/opt/local/include -I/usr/local/include -I/opt/local/include  -pipe -Os -arch x86_64 -stdlib=libc++ -MT vnode_ewf.lo -MD -MP -MF .deps/vnode_ewf.Tpo -c -o vnode_ewf.lo vnode_ewf.cpp
/bin/sh ../libtool --tag=CC   --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I../lzma443/C -I../lzma443/C/7zip/Compress/LZMA_Alone    -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=26 -I/opt/local/include -I/usr/local/include -I/opt/local/include -DQEMU_IMG -pipe -Os -arch x86_64 -MT libafflib_la-block-cow.lo -MD -MP -MF .deps/libafflib_la-block-cow.Tpo -c -o libafflib_la-block-cow.lo `test -f 'qemu/block-cow.c' || echo './'`qemu/block-cow.c
/bin/sh ../libtool --tag=CC   --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I../lzma443/C -I../lzma443/C/7zip/Compress/LZMA_Alone    -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=26 -I/opt/local/include -I/usr/local/include -I/opt/local/include -DQEMU_IMG -pipe -Os -arch x86_64 -MT libafflib_la-block-dmg.lo -MD -MP -MF .deps/libafflib_la-block-dmg.Tpo -c -o libafflib_la-block-dmg.lo `test -f 'qemu/block-dmg.c' || echo './'`qemu/block-dmg.c
/bin/sh ../libtool --tag=CC   --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I../lzma443/C -I../lzma443/C/7zip/Compress/LZMA_Alone    -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=26 -I/opt/local/include -I/usr/local/include -I/opt/local/include -DQEMU_IMG -pipe -Os -arch x86_64 -MT libafflib_la-block-parallels.lo -MD -MP -MF .deps/libafflib_la-block-parallels.Tpo -c -o libafflib_la-block-parallels.lo `test -f 'qemu/block-parallels.c' || echo './'`qemu/block-parallels.c
libtool: compile:  /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I../lzma443/C -I../lzma443/C/7zip/Compress/LZMA_Alone -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=26 -I/opt/local/include -I/usr/local/include -I/opt/local/include -DQEMU_IMG -pipe -Os -arch x86_64 -MT libafflib_la-block-cow.lo -MD -MP -MF .deps/libafflib_la-block-cow.Tpo -c qemu/block-cow.c  -fno-common -DPIC -o .libs/libafflib_la-block-cow.o
libtool: compile:  /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I../lzma443/C -I../lzma443/C/7zip/Compress/LZMA_Alone -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=26 -I/opt/local/include -I/usr/local/include -I/opt/local/include -DQEMU_IMG -pipe -Os -arch x86_64 -MT libafflib_la-block-dmg.lo -MD -MP -MF .deps/libafflib_la-block-dmg.Tpo -c qemu/block-dmg.c  -fno-common -DPIC -o .libs/libafflib_la-block-dmg.o
libtool: compile:  /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I../lzma443/C -I../lzma443/C/7zip/Compress/LZMA_Alone -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=26 -I/opt/local/include -I/usr/local/include -I/opt/local/include -DQEMU_IMG -pipe -Os -arch x86_64 -MT libafflib_la-block-parallels.lo -MD -MP -MF .deps/libafflib_la-block-parallels.Tpo -c qemu/block-parallels.c  -fno-common -DPIC -o .libs/libafflib_la-block-parallels.o
libtool: compile:  /usr/bin/clang++ -DHAVE_CONFIG_H -I. -I.. -I../lzma443/C -I../lzma443/C/7zip/Compress/LZMA_Alone -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=26 -I/opt/local/include -I/usr/local/include -I/opt/local/include -pipe -Os -arch x86_64 -stdlib=libc++ -MT vnode_ewf.lo -MD -MP -MF .deps/vnode_ewf.Tpo -c vnode_ewf.cpp  -fno-common -DPIC -o .libs/vnode_ewf.o
libtool: compile:  /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I../lzma443/C -I../lzma443/C/7zip/Compress/LZMA_Alone -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=26 -I/opt/local/include -I/usr/local/include -I/opt/local/include -DQEMU_IMG -pipe -Os -arch x86_64 -MT libafflib_la-block-parallels.lo -MD -MP -MF .deps/libafflib_la-block-parallels.Tpo -c qemu/block-parallels.c -o libafflib_la-block-parallels.o >/dev/null 2>&1
libtool: compile:  /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I../lzma443/C -I../lzma443/C/7zip/Compress/LZMA_Alone -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=26 -I/opt/local/include -I/usr/local/include -I/opt/local/include -DQEMU_IMG -pipe -Os -arch x86_64 -MT libafflib_la-block-cow.lo -MD -MP -MF .deps/libafflib_la-block-cow.Tpo -c qemu/block-cow.c -o libafflib_la-block-cow.o >/dev/null 2>&1
vnode_ewf.cpp:61:12: error: no matching function for call to 'libewf_check_file_signature'
    return libewf_check_file_signature(filename)==1 ? 1 : 0;
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/include/libewf.h:98:5: note: candidate function not viable: requires 2 arguments, but 1 was provided
int libewf_check_file_signature(
    ^
vnode_ewf.cpp:99:5: error: unknown type name 'LIBEWF_HANDLE'
    LIBEWF_HANDLE *handle = libewf_open( files, nfiles, LIBEWF_OPEN_READ );
    ^
vnode_ewf.cpp:99:29: error: use of undeclared identifier 'libewf_open'
    LIBEWF_HANDLE *handle = libewf_open( files, nfiles, LIBEWF_OPEN_READ );
                            ^
libtool: compile:  /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I../lzma443/C -I../lzma443/C/7zip/Compress/LZMA_Alone -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=26 -I/opt/local/include -I/usr/local/include -I/opt/local/include -DQEMU_IMG -pipe -Os -arch x86_64 -MT libafflib_la-block-dmg.lo -MD -MP -MF .deps/libafflib_la-block-dmg.Tpo -c qemu/block-dmg.c -o libafflib_la-block-dmg.o >/dev/null 2>&1
vnode_ewf.cpp:140:5: error: unknown type name 'LIBEWF_HANDLE'
    LIBEWF_HANDLE *handle = EWF_HANDLE(af);
    ^
vnode_ewf.cpp:163:5: error: unknown type name 'LIBEWF_HANDLE'
    LIBEWF_HANDLE *handle = EWF_HANDLE(af);
    ^
vnode_ewf.cpp:169:5: error: unknown type name 'LIBEWF_HANDLE'
    LIBEWF_HANDLE *handle = EWF_HANDLE(af);
    ^
vnode_ewf.cpp:175:5: error: unknown type name 'LIBEWF_HANDLE'
    LIBEWF_HANDLE *handle = EWF_HANDLE(af);
    ^
mv -f .deps/libafflib_la-block-parallels.Tpo .deps/libafflib_la-block-parallels.Plo
vnode_ewf.cpp:197:38: error: unknown type name 'LIBEWF_HANDLE'
static uint32_t ewf_bytes_per_sector(LIBEWF_HANDLE *handle)
                                     ^
/bin/sh ../libtool --tag=CC   --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I../lzma443/C -I../lzma443/C/7zip/Compress/LZMA_Alone    -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=26 -I/opt/local/include -I/usr/local/include -I/opt/local/include -DQEMU_IMG -pipe -Os -arch x86_64 -MT libafflib_la-block-qcow.lo -MD -MP -MF .deps/libafflib_la-block-qcow.Tpo -c -o libafflib_la-block-qcow.lo `test -f 'qemu/block-qcow.c' || echo './'`qemu/block-qcow.c
vnode_ewf.cpp:211:5: error: unknown type name 'LIBEWF_HANDLE'
    LIBEWF_HANDLE *handle = EWF_HANDLE(af);
    ^
9 errors generated.
make[2]: *** [vnode_ewf.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
mv -f .deps/libafflib_la-block-cow.Tpo .deps/libafflib_la-block-cow.Plo
libtool: compile:  /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I../lzma443/C -I../lzma443/C/7zip/Compress/LZMA_Alone -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=26 -I/opt/local/include -I/usr/local/include -I/opt/local/include -DQEMU_IMG -pipe -Os -arch x86_64 -MT libafflib_la-block-qcow.lo -MD -MP -MF .deps/libafflib_la-block-qcow.Tpo -c qemu/block-qcow.c  -fno-common -DPIC -o .libs/libafflib_la-block-qcow.o
mv -f .deps/libafflib_la-block-dmg.Tpo .deps/libafflib_la-block-dmg.Plo
libtool: compile:  /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I../lzma443/C -I../lzma443/C/7zip/Compress/LZMA_Alone -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=26 -I/opt/local/include -I/usr/local/include -I/opt/local/include -DQEMU_IMG -pipe -Os -arch x86_64 -MT libafflib_la-block-qcow.lo -MD -MP -MF .deps/libafflib_la-block-qcow.Tpo -c qemu/block-qcow.c -o libafflib_la-block-qcow.o >/dev/null 2>&1
mv -f .deps/libafflib_la-block-qcow.Tpo .deps/libafflib_la-block-qcow.Plo
make[2]: Leaving directory `/opt/local/var/macports/build/_Library_MacPorts_security_afflib/afflib/work/afflib-3.3.6/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/local/var/macports/build/_Library_MacPorts_security_afflib/afflib/work/afflib-3.3.6'
make: *** [all] Error 2
make: Leaving directory `/opt/local/var/macports/build/_Library_MacPorts_security_afflib/afflib/work/afflib-3.3.6'
Command failed:  cd "/opt/local/var/macports/build/_Library_MacPorts_security_afflib/afflib/work/afflib-3.3.6" && /usr/bin/make -j4 -w all
Exit code: 2
Error: org.macports.build for port afflib returned: command execution failed
Warning: targets not executed for afflib: org.macports.activate org.macports.build org.macports.destroot org.macports.install
Please see the log file for port afflib for details:
    /opt/local/var/macports/logs/_Library_MacPorts_security_afflib/afflib/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port afflib failed

Libewf is installed.

malwarel4bMacPro:build demantos$ port installed libewf
The following ports are currently installed:
  libewf @20131230_1 (active)

I attach main.log

Attachments (1)

main.log (19.3 KB) - added by demantos@… 10 years ago.

Download all attachments as: .zip

Change History (4)

Changed 10 years ago by demantos@…

Attachment: main.log added

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

In the future, please use WikiFormatting.

comment:2 Changed 10 years ago by mf2k (Frank Schima)

Description: modified (diff)
Keywords: afflib removed

comment:3 Changed 10 years ago by mf2k (Frank Schima)

Resolution: invalid
Status: newclosed

The afflib port is at version 3.7.4. We can't fix your user modified portfile.

Note: See TracTickets for help on using tickets.