Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 602990 - app-misc/pax-utils-1.1.7: fails to compile on Darwin and Solaris
Summary: app-misc/pax-utils-1.1.7: fails to compile on Darwin and Solaris
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All OS X
: Normal normal (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
: 603172 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-12-18 10:06 UTC by Fabian Groffen
Modified: 2017-01-22 18:00 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fabian Groffen gentoo-dev 2016-12-18 10:06:59 UTC
Along a bunch of warnings, this error terminates the build:

paxldso.c:365:22: error: too many arguments provided to function-like macro
      invocation
void paxldso_cleanup(void)


cut 'n' pastie:

In file included from paxldso.c:9:   
In file included from ./paxinc.h:16: 
./security.h:25:39: warning: unused parameter 'allow_forking'
      [-Wunused-parameter]
static inline void security_init(bool allow_forking) {}
                                      ^
In file included from paxldso.c:9:   
In file included from ./paxinc.h:34: 
./paxldso.h:29:51: warning: unused parameter 'elf' [-Wunused-parameter]
static inline char *ldso_cache_lookup_lib(elfobj *elf, const char *fname)
                                                  ^
./paxldso.h:29:68: warning: unused parameter 'fname' [-Wunused-parameter]
static inline char *ldso_cache_lookup_lib(elfobj *elf, const char *fname)
                                                                   ^
./paxldso.h:56:48: warning: unused parameter 'fname' [-Wunused-parameter]
static inline int ldso_config_load(const char *fname)
                                               ^
paxldso.c:365:22: error: too many arguments provided to function-like macro
      invocation
void paxldso_cleanup(void)
                     ^
./paxldso.h:65:10: note: macro 'paxldso_cleanup' defined here
# define paxldso_cleanup()
         ^
paxldso.c:365:6: error: variable has incomplete type 'void'
void paxldso_cleanup(void)
     ^
paxldso.c:365:21: error: expected ';' after top level declarator
void paxldso_cleanup(void)
                    ^
                    ;
4 warnings and 3 errors generated.   
In file included from paxinc.c:12:   
In file included from ./paxinc.h:16: 
./security.h:25:39: warning: unused parameter 'allow_forking'
      [-Wunused-parameter]
Comment 2 Fabian Groffen gentoo-dev 2016-12-18 10:43:50 UTC
next error is the ldpaths, so please release 1.1.8 soon for Darwin, thanks.
Comment 3 Fabian Groffen gentoo-dev 2016-12-18 10:53:05 UTC
Same story for Solaris, latest git compiles
Comment 4 Michael Palimaka (kensington) gentoo-dev 2016-12-22 14:20:40 UTC
*** Bug 603172 has been marked as a duplicate of this bug. ***
Comment 5 SpanKY gentoo-dev 2017-01-22 18:00:17 UTC
fixed with the 1.2 release