Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0007811 [Squeak] VM minor always 03-06-14 21:10 03-06-14 21:23
Reporter lewis View Status public  
Assigned To lewis
Priority normal Resolution open  
Status assigned   Product Version
Summary 0007811: squeak-vm: Fails to build with clang instead of gcc
Description VM does not compile on clang compiler, affects Debian distribution
Additional Information Reported on vm-dev http://lists.squeakfoundation.org/pipermail/vm-dev/2014-March/014817.html [^]

Forwarded from Debian bug report

> Resent-From: Nicolas Sévelin-Radiguet <nicosr@free.fr>
> From: Nicolas Sévelin-Radiguet <nicosr@free.fr>
> Subject: Bug#740972: squeak-vm: Fails to build with clang instead of gcc
> Date: 6. März 2014 11:21:36 GMT-8
> Resent-To: debian-bugs-dist@lists.debian.org
> To: Debian Bug Tracking System <submit@bugs.debian.org>
> Resent-Cc: Debian Squeak Team <pkg-squeak-devel@lists.alioth.debian.org>
> Reply-To: Nicolas Sévelin-Radiguet <nicosr@free.fr>, 740972@bugs.debian.org
>
> Package: squeak-vm
> Version: 4.10.2.2614-1
> Severity: minor
> Tags: patch
> User: pkg-llvm-team@lists.alioth.debian.org
> Usertags: clang-ftbfs
>
> Hello,
>
> Your package fails to build with clang instead of gcc. [-Wreturn-type]
> Buildlogs and patch are here:
> https://github.com/nonas/debian-clang/tree/master/buildlogs/squeak-vm [^]
>
> Regards,
> Nicolas
>
> -- System Information:
> Debian Release: jessie/sid
> APT prefers testing-updates
> APT policy: (500, 'testing-updates'), (500, 'testing')
> Architecture: amd64 (x86_64)
> Foreign Architectures: i386
>
> Kernel: Linux 3.12-1-amd64 (SMP w/4 CPU cores)
> Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
Attached Files

- Relationships

- Notes
(0014489 - 544 - 807 - 807 - 807 - 807 - 807)
nicolas cellier
03-06-14 21:23

The only errors I found while reading the report are:

/«PKGBUILDDIR»/unix/vm-sound-pulse/sqUnixSoundPulseAudio.c:998:21: error: non-void function 'sound_StopRecording' should return a value [-Wreturn-type]
        if (!audioIn.open) return;
                           ^
/«PKGBUILDDIR»/unix/vm-sound-pulse/sqUnixSoundPulseAudio.c:1001:31: error: non-void function 'sound_StopRecording' should return a value [-Wreturn-type]
        if (NULL == audioIn.pa_conn) return;

Since it's not generated code, it shouldn't be very hard to fix...
 

- Issue History
Date Modified Username Field Change
03-06-14 21:10 lewis New Issue
03-06-14 21:10 lewis Status new => assigned
03-06-14 21:10 lewis Assigned To  => lewis
03-06-14 21:23 nicolas cellier Note Added: 0014489


Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
34 total queries executed.
29 unique queries executed.
Powered by Mantis Bugtracker