[MacPorts] #71170: samba4 @4.20.0: 'In function 'sys_quotactl_4B' . . . quotactl' from incompatible pointer type (powerpc, 10.5.8) (was: samba-4.20.0: 'In function 'sys_quotactl_4B' . . . quotactl' from incompatible pointer type (powerpc, 10.5.8))
MacPorts
noreply at macports.org
Sun Oct 27 11:22:10 UTC 2024
#71170: samba4 @4.20.0: 'In function 'sys_quotactl_4B' . . . quotactl' from
incompatible pointer type (powerpc, 10.5.8)
---------------------+--------------------
Reporter: saxfun | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.10.1
Resolution: | Keywords:
Port: samba4 |
---------------------+--------------------
Changes (by jmroot):
* port: samba-4.20.0 => samba4
Old 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
New 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
}}}
--
--
Ticket URL: <https://trac.macports.org/ticket/71170#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list