bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-tar] OS X Build errors


From: Dominyk Tiller
Subject: [Bug-tar] OS X Build errors
Date: Mon, 04 Aug 2014 01:23:39 +0100
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.0

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Gnu-Tar seems to have some fairly major build issues on OS X. The
previous version installs and works fine, but 1.28 generates a whole
ton of fatal errors during the make process.

Those errors are:

-
----------------------------------------------------------------------------------------
In file included from xattr-at.c:40:
../gnu/at-func.c:77:12: error: too few arguments to function call,
expected 6,
      have 5
    return CALL_FUNC (file);
           ^~~~~~~~~~~~~~~~
../gnu/at-func.c:46:60: note: expanded from macro 'CALL_FUNC'
# define CALL_FUNC(F) (AT_FUNC_F1 (F AT_FUNC_POST_FILE_ARGS))
                       ~~~~~~~~~~                          ^
/usr/include/sys/xattr.h:65:1: note: 'setxattr' declared here
int setxattr(const char *path, const char *name, const void *value,
size...
^
In file included from xattr-at.c:40:
../gnu/at-func.c:95:35: error: too few arguments to function call,
expected 6,
      have 5
        FUNC_RESULT proc_result = CALL_FUNC (proc_file);
                                  ^~~~~~~~~~~~~~~~~~~~~
../gnu/at-func.c:46:60: note: expanded from macro 'CALL_FUNC'
# define CALL_FUNC(F) (AT_FUNC_F1 (F AT_FUNC_POST_FILE_ARGS))
                       ~~~~~~~~~~                          ^
/usr/include/sys/xattr.h:65:1: note: 'setxattr' declared here
int setxattr(const char *path, const char *name, const void *value,
size...
^
In file included from xattr-at.c:40:
../gnu/at-func.c:132:9: error: too few arguments to function call,
expected 6,
      have 5
  err = CALL_FUNC (file);
        ^~~~~~~~~~~~~~~~
../gnu/at-func.c:46:60: note: expanded from macro 'CALL_FUNC'
# define CALL_FUNC(F) (AT_FUNC_F1 (F AT_FUNC_POST_FILE_ARGS))
                       ~~~~~~~~~~                          ^
/usr/include/sys/xattr.h:65:1: note: 'setxattr' declared here
int setxattr(const char *path, const char *name, const void *value,
size...
^
In file included from xattr-at.c:52:
../gnu/at-func.c:77:12: warning: implicit declaration of function
'lsetxattr' is
      invalid in C99 [-Wimplicit-function-declaration]
    return CALL_FUNC (file);
           ^
../gnu/at-func.c:46:24: note: expanded from macro 'CALL_FUNC'
# define CALL_FUNC(F) (AT_FUNC_F1 (F AT_FUNC_POST_FILE_ARGS))
                       ^
xattr-at.c:48:20: note: expanded from macro 'AT_FUNC_F1'
#define AT_FUNC_F1 lsetxattr
                   ^
In file included from xattr-at.c:65:
../gnu/at-func.c:77:12: error: too few arguments to function call,
expected 6,
      have 4
    return CALL_FUNC (file);
           ^~~~~~~~~~~~~~~~
../gnu/at-func.c:46:60: note: expanded from macro 'CALL_FUNC'
# define CALL_FUNC(F) (AT_FUNC_F1 (F AT_FUNC_POST_FILE_ARGS))
                       ~~~~~~~~~~                          ^
/usr/include/sys/xattr.h:61:1: note: 'getxattr' declared here
ssize_t getxattr(const char *path, const char *name, void *value, size_...
^
In file included from xattr-at.c:65:
../gnu/at-func.c:95:35: error: too few arguments to function call,
expected 6,
      have 4
        FUNC_RESULT proc_result = CALL_FUNC (proc_file);
                                  ^~~~~~~~~~~~~~~~~~~~~
../gnu/at-func.c:46:60: note: expanded from macro 'CALL_FUNC'
# define CALL_FUNC(F) (AT_FUNC_F1 (F AT_FUNC_POST_FILE_ARGS))
                       ~~~~~~~~~~                          ^
/usr/include/sys/xattr.h:61:1: note: 'getxattr' declared here
ssize_t getxattr(const char *path, const char *name, void *value, size_...
^
In file included from xattr-at.c:65:
../gnu/at-func.c:132:9: error: too few arguments to function call,
expected 6,
      have 4
  err = CALL_FUNC (file);
        ^~~~~~~~~~~~~~~~
../gnu/at-func.c:46:60: note: expanded from macro 'CALL_FUNC'
# define CALL_FUNC(F) (AT_FUNC_F1 (F AT_FUNC_POST_FILE_ARGS))
                       ~~~~~~~~~~                          ^
/usr/include/sys/xattr.h:61:1: note: 'getxattr' declared here
ssize_t getxattr(const char *path, const char *name, void *value, size_...
^
In file included from xattr-at.c:79:
../gnu/at-func.c:77:12: warning: implicit declaration of function
'lgetxattr' is
      invalid in C99 [-Wimplicit-function-declaration]
    return CALL_FUNC (file);
           ^
../gnu/at-func.c:46:24: note: expanded from macro 'CALL_FUNC'
# define CALL_FUNC(F) (AT_FUNC_F1 (F AT_FUNC_POST_FILE_ARGS))
                       ^
xattr-at.c:75:20: note: expanded from macro 'AT_FUNC_F1'
#define AT_FUNC_F1 lgetxattr
                   ^
In file included from xattr-at.c:92:
../gnu/at-func.c:77:12: error: too few arguments to function call,
expected 4,
      have 3
    return CALL_FUNC (file);
           ^~~~~~~~~~~~~~~~
../gnu/at-func.c:46:60: note: expanded from macro 'CALL_FUNC'
# define CALL_FUNC(F) (AT_FUNC_F1 (F AT_FUNC_POST_FILE_ARGS))
                       ~~~~~~~~~~                          ^
/usr/include/sys/xattr.h:73:1: note: 'listxattr' declared here
ssize_t listxattr(const char *path, char *namebuff, size_t size, int
options);
^
In file included from xattr-at.c:92:
../gnu/at-func.c:95:35: error: too few arguments to function call,
expected 4,
      have 3
        FUNC_RESULT proc_result = CALL_FUNC (proc_file);
                                  ^~~~~~~~~~~~~~~~~~~~~
../gnu/at-func.c:46:60: note: expanded from macro 'CALL_FUNC'
# define CALL_FUNC(F) (AT_FUNC_F1 (F AT_FUNC_POST_FILE_ARGS))
                       ~~~~~~~~~~                          ^
/usr/include/sys/xattr.h:73:1: note: 'listxattr' declared here
ssize_t listxattr(const char *path, char *namebuff, size_t size, int
options);
^
In file included from xattr-at.c:92:
../gnu/at-func.c:132:9: error: too few arguments to function call,
expected 4,
      have 3
  err = CALL_FUNC (file);
        ^~~~~~~~~~~~~~~~
../gnu/at-func.c:46:60: note: expanded from macro 'CALL_FUNC'
# define CALL_FUNC(F) (AT_FUNC_F1 (F AT_FUNC_POST_FILE_ARGS))
                       ~~~~~~~~~~                          ^
/usr/include/sys/xattr.h:73:1: note: 'listxattr' declared here
ssize_t listxattr(const char *path, char *namebuff, size_t size, int
options);
^
In file included from xattr-at.c:105:
../gnu/at-func.c:77:12: warning: implicit declaration of function
'llistxattr'
      is invalid in C99 [-Wimplicit-function-declaration]
    return CALL_FUNC (file);
           ^
../gnu/at-func.c:46:24: note: expanded from macro 'CALL_FUNC'
# define CALL_FUNC(F) (AT_FUNC_F1 (F AT_FUNC_POST_FILE_ARGS))
                       ^
xattr-at.c:102:20: note: expanded from macro 'AT_FUNC_F1'
#define AT_FUNC_F1 llistxattr
                   ^
3 warnings and 9 errors generated.
make[3]: *** [xattr-at.o] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
-
----------------------------------------------------------------------------------------

Any ideas on this?

Tested on both 10.9 & 10.10 and the same set of errors pop up.

Dominyk

- -- 
Sent from Thunderbird for OS X. My PGP public key is automatically
attached to this email.
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQIcBAEBCgAGBQJT3tKHAAoJEIclJNuddDJsRHcQAJPgt03gf/LlPx/s3xxq/Adl
Ud4VHYhbyDWTu5pcu58Gqk+h2u32oqOOAfUhQeFtWw4Bv4pKdJC+w2wetOoo+IsL
km3ViK9JEgtePQL1Ek9fAEYdFMkuhhs9SujcAvBEmmpSKPKdPe1G8NAmy8wsfzcO
TQy5nxJIeHHnnmCCUdaqdt2DF37619NPmUlh1QHQVgTVrN9JMN4jUNBksAAd7Jf9
B4GOf+mC+yIdhO2IGmQJUr66CYeCejt2qubNzzj/0BRE+Kbq4m/2oV60bMuVJuc7
S1Fi8+23IeVmKQb4A7jQDT6vR3LXQcQeaVuiZlhKNc5eOAQ0nk+fVhWYgUUKfBwk
a3WNOVHL0otwalT+YW/D6vtZx/NtjPyxLRE8dJjn3SEZpdGCktcLltrHUeKDR8YF
joyJ9f2FDKUMk5hYAopVaylFNK2YfnzPdQGKsS8VaPT/Kj5TNLEDXAw1nQm1y5eh
ynow3Nx09Eay/8HCbm2v0Q9dO3T98qAWXOndiTUINc9LHSc9wJZfXccNI9H8d26b
gpENpMgZTys97JcTPlkYP8zlUaHcF7sRYHyaMZNFmU4uRRANQk4DJi7upst0HgU7
eGBSwL/XOp+0iWXNRiwPxbmBwCs3cGMLzJ3zBIRjus1uDBqCuTOpNr2PzGmvzQko
WZW5DgamvVtM/mfInhf0
=gkCu
-----END PGP SIGNATURE-----

Attachment: 0x9D74326C.asc
Description: application/pgp-keys

Attachment: 0x9D74326C.asc.sig
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]