Bug 10478 - AIX 7.1 Build Failures
AIX 7.1 Build Failures
Status: RESOLVED WORKSFORME
Product: Samba 4.0
Classification: Unclassified
Component: Build
4.0.9
PPC AIX
: P5 normal
: ---
Assigned To: Björn Jacke
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-02-28 19:31 UTC by Gregory Cushing
Modified: 2014-06-11 13:38 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gregory Cushing 2014-02-28 19:31:51 UTC
I am having samba build problems with 3.6.X and 4.0.9

When I build I get

Compiling lib/system.c
lib/system.c: In function 'get_atimespec':
lib/system.c:231: error: incompatible types in return
lib/system.c: In function 'get_mtimespec':
lib/system.c:266: error: incompatible types in return
lib/system.c: In function 'get_ctimespec':
lib/system.c:301: error: incompatible types in return
The following command failed:

make: 1254-004 The error code from the last command is 1.


Stop.


I have tried with XLC and gcc and cc. I have applied patch 9911. What am I missing?
Comment 1 Jelmer Vernooij 2014-02-28 19:42:11 UTC
Just  chatted with Gregory about this on IRC. This is happening only with the autoconf build, not with the waf build (which works fine).
Comment 2 Gregory Cushing 2014-02-28 19:44:04 UTC
Just wanted to add in the conversation. I can build 4.1.4 on waf..... but the smbd daemon entirely dies.

I also get semlock, try and wait errors as well as a myriad of warnings....


If i do a waf build of 3.6.x it fails as well.
using log level 10 nothing shows on aix /var/log/daemon.log

Any help would be appreciated!
Comment 3 Gregory Cushing 2014-02-28 21:30:30 UTC
../source3/libads/kerberos.c: In function 'smb_krb5_get_ntstatus_from_krb5_error_init_creds_opt':
../source3/libads/kerberos.c:126: warning: 'krb5_get_init_creds_opt_get_error' is deprecated (declared at default/source4/heimdal/lib/krb5/krb5-protos.h:2008)
[2396/3658] Compiling source3/libads/ads_status.c
sem_trywait: Permission denied
sem_post: Permission denied
sem_destroy: Permission denied
[2397/3658] Compiling source3/lib/system.c
sem_trywait: Permission denied
sem_post: Permission denied
sem_destroy: Permission denied
[2398/3658] Compiling source3/lib/sendfile.c
sem_trywait: Permission denied
sem_post: Permission denied
sem_destroy: Permission denied
../source3/lib/system.c: In function 'get_atimespec':
../source3/lib/system.c:231: error: incompatible types in return
../source3/lib/system.c: In function 'get_mtimespec':
../source3/lib/system.c:266: error: incompatible types in return
../source3/lib/system.c: In function 'get_ctimespec':
../source3/lib/system.c:301: error: incompatible types in return
Waf: Leaving directory `/rehash/samba-4.0.9/bin'
Build failed:  -> task failed (err #1):
        {task: cc system.c -> system_45.o}
make: 1254-004 The error code from the last command is 1.



WAF BUILD of 4.0.9
Comment 4 Gregory Cushing 2014-03-03 21:46:17 UTC
I have confirmed no builds of any versions work on aix 7.1

I have run into ldap build issues, ads compile issues. rpc join failures.

NSS build module failures.


AIX Does not appear to have any working status... 

Giving up.
Comment 5 Björn Jacke 2014-06-11 13:38:49 UTC
as the Samba team has no AIX box available for testing and for development, this platform is not optimally supported right now. Feel free to donate a box to change this. I'll close this bug here as I cannot see this problem with autobuild in 4.0 and in 4.1 autobuild has even been removed.