[MacPorts] #31090: e2fsprogs snow leopard fails to build
MacPorts
noreply at macports.org
Sat Sep 3 10:33:59 PDT 2011
#31090: e2fsprogs snow leopard fails to build
------------------------------+---------------------------------------------
Reporter: tom_gall@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.2
Keywords: | Port:
------------------------------+---------------------------------------------
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!
--
Ticket URL: <https://trac.macports.org/ticket/31090>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list