Opened 3 weeks ago

Last modified 3 weeks ago

#71170 new defect

samba-4.20.0: 'In function 'sys_quotactl_4B' . . . quotactl' from incompatible pointer type (powerpc, 10.5.8) — at Initial Version

Reported by: saxfun Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.10.1
Keywords: Cc:
Port: samba4

Description

[2150/3810] Compiling source3/libads/authdata.c [2151/3810] Compiling source3/smbd/notifyd/notifyd_db.c [2152/3810] Compiling source3/smbd/notifyd/notifyd_entry.c [2153/3810] Compiling source3/smbd/notifyd/notifyd.c [2154/3810] Linking bin/default/lib/cmdline/libcmdline-private-samba.dylib [2155/3810] Compiling source3/lib/sysquotas_jfs2.c [2156/3810] Compiling source3/lib/sysquotas_4B.c ../../source3/lib/sysquotas_4B.c: In function 'sys_quotactl_4B': ../../source3/lib/sysquotas_4B.c:138:39: error: passing argument 4 of 'quotactl' from incompatible pointer type [-Wincompatible-pointer-types]

138 | ret = quotactl(path, cmd, id, qblk);

| ~ | | | struct dqblk *

In file included from ../../source3/lib/sysquotas_4B.c:43: /usr/include/sys/quota.h:223:38: note: expected 'caddr_t' {aka 'char *'} but argument is of type 'struct dqblk *'

223 | int quotactl(const char *, int, int, caddr_t);

|

Waf: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_samba4/samba4/work/samba-4.20.0/bin/default' Build failed

-> task in 'sysquotas' failed with exit status 1 (run with -v to display more information)

make: * [all] Error 1 Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_samba4/samba4/work/samba-4.20.0" && /usr/bin/make Exit code: 2 Error: Failed to build samba4: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_samba4/samba4/main.log for details. Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug. Error: Processing of port samba4 failed

Change History (0)

Note: See TracTickets for help on using tickets.