FS#39156 - [samba] build fails

Attached to Project: Arch Linux
Opened by Joel Teichroeb (klusark) - Tuesday, 04 March 2014, 19:15 GMT
Last edited by Gerardo Exequiel Pozzi (djgera) - Saturday, 15 March 2014, 15:46 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
This package was built last just 8 days ago, so I'm not sure why this would be happening in the mean time, but it is.

Additional info:
[1949/3776] Compiling source4/lib/registry/tools/regshell.c
../source4/lib/registry/tools/regshell.c: In function 'reg_complete_key':
../source4/lib/registry/tools/regshell.c:532:11: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result]
asprintf(&matches[0], "%s%s", base_n, matches[1]);
^
../source4/lib/registry/tools/regshell.c:534:11: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result]
asprintf(&matches[0], "%s%s", base_n,
^
[1950/3776] Compiling libcli/smbreadline/smbreadline.c
../libcli/smbreadline/smbreadline.c: In function 'smb_readline':
../libcli/smbreadline/smbreadline.c:144:20: error: 'Function' undeclared (first use in this function)
rl_event_hook = (Function *)callback;
^
../libcli/smbreadline/smbreadline.c:144:20: note: each undeclared identifier is reported only once for each function it appears in
../libcli/smbreadline/smbreadline.c:144:30: error: expected expression before ')' token
rl_event_hook = (Function *)callback;
^
Waf: Leaving directory `/build/samba/src/samba-4.1.5/bin'
Build failed: -> task failed (err #1):
{task: cc smbreadline.c -> smbreadline_1.o}
Makefile:8: recipe for target 'all' failed
make: *** [all] Error 1
==> ERROR: A failure occurred in build().
Aborting...


Steps to reproduce:
sudo extra-x86_64-build
This task depends upon

Closed by  Gerardo Exequiel Pozzi (djgera)
Saturday, 15 March 2014, 15:46 GMT
Reason for closing:  Fixed
Comment by Joel Teichroeb (klusark) - Tuesday, 04 March 2014, 19:21 GMT
Looks to be a similar issue to #39158
Comment by Doug Newgard (Scimmia) - Wednesday, 05 March 2014, 06:28 GMT
See: http://lists.gnu.org/archive/html/bug-readline/2014-03/msg00002.html

anatolik pointed this out in another bug report, the readline API has changed.
Comment by Jeffrey Clark (h0tw1r3) - Monday, 10 March 2014, 22:23 GMT
''
--- a/libcli/smbreadline/smbreadline.c
+++ b/libcli/smbreadline/smbreadline.c
@@ -141,7 +141,7 @@

#if HAVE_DECL_RL_EVENT_HOOK
if (callback)
- rl_event_hook = (Function *)callback;
+ rl_event_hook = (rl_hook_func_t *)callback;
#endif
ret = readline(prompt);
if (ret && *ret)
''
Comment by Joel Teichroeb (klusark) - Friday, 14 March 2014, 18:13 GMT
  • Field changed: Percent Complete (100% → 0%)
readline-6.3.patch was not uploaded to the repo along with the svn commit.

Loading...