[PD] Autobuild failure on oss

András Murányi muranyia at gmail.com
Fri Oct 19 00:33:41 CEST 2012


Done

On Wed, Oct 17, 2012 at 3:15 PM, Hans-Christoph Steiner <hans at at.or.at>wrote:

>
> I added a "Build-Conflicts: oss4-dev" to the pd-extended package.  Could
> you add a note to the Debian wiki page about making sure that package is
> not installed?
>
> .hc
>
> On 10/17/2012 08:17 AM, András Murányi wrote:
> > If we are talking about the failure on my box, it is an OSS thing:
> > http://manuals.opensound.com/developer/soundcard.h.html
> >
> >> #define SOUND_PCM_GETOSPACE
> >> SOUND_PCM_GETOSPACE_is_obsolete_use_SNDCTL_DSP_GETOSPACE_instead
> >>
> > (linux-libc-dev is installed of course)
> >
> > András
> >
> > On Wed, Oct 17, 2012 at 2:37 AM, Hans-Christoph Steiner <hans at at.or.at
> >wrote:
> >
> >>
> >> I don't know anything about that package, seems unnecessary and probably
> >> conflicting.  The header Pd needs is included in linux-libc-dev.
> >>
> >> .hc
> >>
> >> On 10/16/2012 08:27 PM, András Murányi wrote:
> >>> I have oss4-dev installed but oss4-base or oss4-source not... do we
> need
> >>> any of them?
> >>>
> >>> András
> >>>
> >>> On Wed, Oct 17, 2012 at 2:10 AM, Hans-Christoph Steiner <hans at at.or.at
> >>> wrote:
> >>>
> >>>>
> >>>> Strange, because building for Lucid on launchpad does not give this
> >>>> error, maybe you're missing a package? Here's the log:
> >>>>
> >>>> gcc -DPACKAGE_NAME=\"pd\" -DPACKAGE_TARNAME=\"pd\"
> >>>> -DPACKAGE_VERSION=\"0.43.1\" -DPACKAGE_STRING=\"pd\ 0.43.1\"
> >>>> -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"pd\"
> >>>> -DVERSION=\"0.43.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
> >>>> -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
> >>>> -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
> >>>> -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1
> >>>> -DLT_OBJDIR=\".libs/\" -DHAVE_LIBDL=1 -DSTDC_HEADERS=1
> -DHAVE_ALLOCA_H=1
> >>>> -DHAVE_ALLOCA=1 -DHAVE_SYS_SOUNDCARD_H=1 -DHAVE_UNISTD_H=1 -I.    -DPD
> >>>> -DINSTALL_PREFIX=\"/usr\" -DUSEAPI_ALSA -DUSEAPI_JACK -DJACK_XRUN
> >>>> -DUSEAPI_OSS -DUSEAPI_PORTAUDIO  -I../portaudio/include    -O2 -g -MT
> >>>> pd-s_audio_oss.o -MD -MP -MF .deps/pd-s_audio_oss.Tpo -c -o
> >>>> pd-s_audio_oss.o `test -f 's_audio_oss.c' || echo './'`s_audio_oss.c
> >>>> s_audio_oss.c: In function 'oss_open_audio':
> >>>> s_audio_oss.c:465: warning: ignoring return value of 'read', declared
> >>>> with attribute warn_unused_result
> >>>> s_audio_oss.c:478: warning: ignoring return value of 'write', declared
> >>>> with attribute warn_unused_result
> >>>> mv -f .deps/pd-s_audio_oss.Tpo .deps/pd-s_audio_oss.Po
> >>>>
> >>>>
> >>>>
> >>
> https://launchpadlibrarian.net/119881751/buildlog_ubuntu-lucid-i386.pd-extended_0.43.4~20121016-1~lucid_FAILEDTOBUILD.txt.gz
> >>>>
> >>>> .hc
> >>>>
> >>>> On 10/16/2012 06:46 PM, András Murányi wrote:
> >>>>> I've re-enabled the autobuild on my box, and it seems to connect and
> >> work
> >>>>> except that the build fails with this:
> >>>>>
> >>>>> Ubuntu 10.04.4
> >>>>>
> >>>>> gcc -DPACKAGE_NAME=\"pd\" -DPACKAGE_TARNAME=\"pd\"
> >>>>>> -DPACKAGE_VERSION=\"0.43.1\" -DPACKAGE_STRING=\"pd\ 0.43.1\"
> >>>>>> -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"pd\"
> >>>>>> -DVERSION=\"0.43.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
> >>>>>> -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
> >>>> -DHAVE_MEMORY_H=1
> >>>>>> -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
> >>>> -DHAVE_UNISTD_H=1
> >>>>>> -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBDL=1
> >> -DSTDC_HEADERS=1
> >>>>>> -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_SYS_SOUNDCARD_H=1
> >>>>>> -DHAVE_UNISTD_H=1 -I.    -DPD -DINSTALL_PREFIX=\"/usr\"
> -DUSEAPI_ALSA
> >>>>>> -DUSEAPI_JACK -DJACK_XRUN -DUSEAPI_OSS -DUSEAPI_PORTAUDIO
> >>>>>> -I../portaudio/include    -O2 -g -MT pd-s_audio_oss.o -MD -MP -MF
> >>>>>> .deps/pd-s_audio_oss.Tpo -c -o pd-s_audio_oss.o `test -f
> >>>> 's_audio_oss.c' ||
> >>>>>> echo './'`s_audio_oss.c
> >>>>>> s_audio_oss.c: In function ‘oss_configure’:
> >>>>>> s_audio_oss.c:205: error:
> >>>>>> ‘SOUND_PCM_GETOSPACE_is_obsolete_use_SNDCTL_DSP_GETOSPACE_instead’
> >>>>>> undeclared (first use in this function)
> >>>>>> s_audio_oss.c:205: error: (Each undeclared identifier is reported
> only
> >>>> once
> >>>>>> s_audio_oss.c:205: error: for each function it appears in.)
> >>>>>> s_audio_oss.c: In function ‘oss_open_audio’:
> >>>>>> s_audio_oss.c:465: warning: ignoring return value of ‘read’,
> declared
> >>>> with
> >>>>>> attribute warn_unused_result
> >>>>>> s_audio_oss.c:478: warning: ignoring return value of ‘write’,
> declared
> >>>>>> with attribute warn_unused_result
> >>>>>> s_audio_oss.c: In function ‘oss_calcspace’:
> >>>>>> s_audio_oss.c:517: error:
> >>>>>> ‘SOUND_PCM_GETOSPACE_is_obsolete_use_SNDCTL_DSP_GETOSPACE_instead’
> >>>>>> undeclared (first use in this function)
> >>>>>> s_audio_oss.c:524: error:
> >>>>>> ‘SOUND_PCM_GETISPACE_is_obsolete_use_SNDCTL_DSP_GETISPACE_instead’
> >>>>>> undeclared (first use in this function)
> >>>>>> s_audio_oss.c: In function ‘oss_doresync’:
> >>>>>> s_audio_oss.c:572: error:
> >>>>>> ‘SOUND_PCM_GETISPACE_is_obsolete_use_SNDCTL_DSP_GETISPACE_instead’
> >>>>>> undeclared (first use in this function)
> >>>>>> s_audio_oss.c:601: error:
> >>>>>> ‘SOUND_PCM_GETOSPACE_is_obsolete_use_SNDCTL_DSP_GETOSPACE_instead’
> >>>>>> undeclared (first use in this function)
> >>>>>>
> >>>>>
> >>>>
> >>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20121019/53390e2d/attachment-0001.htm>


More information about the Pd-list mailing list