Opened 13 years ago

Last modified 12 years ago

#31090 closed defect

e2fsprogs snow leopard fails to build — at Initial Version

Reported by: tom_gall@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.2
Keywords: Cc:
Port: e2fsprogs

Description

This is using a certain beta 7.

POSIXLY_CORRECT=1 sudo port install e2fsprogs

Here's the error :

:info:build tdb.c:3841:19: warning: implicit declaration of function 'getpagesize' is invalid in C99 [-Wimplicit-function-declaration] :info:build tdb->page_size = getpagesize(); :info:build :info:build CC valid_blk.c :info:build CC version.c :info:build 1 warning generated. :info:build tdb.c:3841:19: warning: implicit declaration of function 'getpagesize' is invalid in C99 [-Wimplicit-function-declaration] :info:build tdb->page_size = getpagesize(); :info:build :info:build 1 warning generated. :info:build GEN_LIB libext2fs.a :info:build GEN_BSD_SOLIB libext2fs.2.1.dylib :info:build ld: duplicate symbol _ext2fs_fast_set_bit in inode_io.o and bb_compat.o for architecture x86_64 :info:build clang: error: linker command failed with exit code 1 (use -v to see invocation) :info:build make[2]: * [libext2fs.2.1.dylib] Error 1 :info:build make[2]: * Waiting for unfinished jobs.... :info:build make[2]: Leaving directory `/opt/local/var/macp

few warnings shoudl be cleaned up too:

:info:build ls.c:276:19: warning: conversion specifies type 'unsigned long long' but the argument has type 'u64' (aka 'unsigned long') [-Wformat] :info:build fprintf(f, "%llu kB\n", sb->s_kbytes_written); :info:build ~ :info:build %lu :info:build ls.c:278:19: warning: conversion specifies type 'unsigned long long' but the argument has type 'unsigned long' [-Wformat] :info:build fprintf(f, "%llu MB\n", :info:build ~ :info:build %lu :info:build ls.c:281:19: warning: conversion specifies type 'unsigned long long' but the argument has type 'unsigned long' [-Wformat] :info:build fprintf(f, "%llu GB\n", :info:build ~ :info:build %lu :info:build ls.c:284:19: warning: conversion specifies type 'unsigned long long' but the argument has type 'unsigned long' [-Wformat] :info:build fprintf(f, "%llu TB\n", :info:build ~ :info:build %lu :info:build ls.c:287:19: warning: conversion specifies type 'unsigned long long' but the argument has type 'unsigned long' [-Wformat] :info:build fprintf(f, "%llu PB\n", :info:build ~ :info:build %lu

related to this I'm sure:

:info:configure <stdin>:1:10: fatal error: 'asm/types.h' file not found:info:configure #include <asm/types.h>:info:configure :info:configure 1 error generated.:info:configure asm_types.c:3:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]:info:configure main(int argc, char argv):info:configure ~:info:configure asm_types.c:12:2: warning: #warning U8_TYPEDEF not defined [-W#warnings]:info:configure #warning U8_TYPEDEF not defined:info:configure :info:configure asm_types.c:21:2: warning: #warning S8_TYPEDEF not defined [-W#warnings]:info:configure #warning S8_TYPEDEF not defined:info:configure :info:configure asm_types.c:30:2: warning: #warning U16_TYPEDEF not defined [-W#warn ings] :info:configure #warning U16_TYPEDEF not defined :info:configure :info:configure asm_types.c:39:2: warning: #warning S16_TYPEDEF not defined [-W#warnings] :info:configure #warning S16_TYPEDEF not defined :info:configure :info:configure asm_types.c:49:2: warning: #warning U32_TYPEDEF not defined [-W#warn ings]:info:configure #warning U32_TYPEDEF not defined :info:configure :info:configure asm_types.c:58:2: warning: #warning S32_TYPEDEF not defined [-W#warn ings] :info:configure #warning S32_TYPEDEF not defined:info:configure :info:configure asm_types.c:68:2: warning: #warning U64_TYPEDEF not defined [-W#warn ings] :info:configure #warning U64_TYPEDEF not defined :info:configure :info:configure asm_types.c:77:2: warning: #warning S64_TYPEDEF not defined [-W#warn ings] :info:configure #warning S64_TYPEDEF not defined :info:configure

Thanks!

Change History (0)

Note: See TracTickets for help on using tickets.