Bug 150595 - audio/mhwaveedit: does not build
Summary: audio/mhwaveedit: does not build
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Sylvio Cesar Teixeira
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-15 17:40 UTC by Dmitry Marakasov
Modified: 2011-05-16 15:20 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry Marakasov freebsd_committer freebsd_triage 2010-09-15 17:40:00 UTC
mhwaveedit fails to build, likely in presence of pulseaudio. Log attached.

--- log begins here ---
===>  Found saved configuration for mhwaveedit-1.4.20
===>  Extracting for mhwaveedit-1.4.20
=> MD5 Checksum OK for mhwaveedit-1.4.20.tar.bz2.
=> SHA256 Checksum OK for mhwaveedit-1.4.20.tar.bz2.
===>  Patching for mhwaveedit-1.4.20
===>   mhwaveedit-1.4.20 depends on file: /usr/local/bin/sdl-config - found
===>   mhwaveedit-1.4.20 depends on file: /usr/local/bin/intltool-extract - found
===>   mhwaveedit-1.4.20 depends on executable: pkg-config - found
===>   mhwaveedit-1.4.20 depends on shared library: sndfile.1 - found
===>   mhwaveedit-1.4.20 depends on shared library: samplerate.1 - found
===>   mhwaveedit-1.4.20 depends on shared library: SDL-1.2.11 - found
===>   mhwaveedit-1.4.20 depends on shared library: atk-1.0.0 - found
===>   mhwaveedit-1.4.20 depends on shared library: glib-2.0.0 - found
===>   mhwaveedit-1.4.20 depends on shared library: gtk-x11-2.0.0 - found
===>   mhwaveedit-1.4.20 depends on shared library: pango-1.0.0 - found
===>  Configuring for mhwaveedit-1.4.20
configure: WARNING: unrecognized options: --disable-optimization
checking build system type... i386-portbld-freebsd8.1
checking host system type... i386-portbld-freebsd8.1
checking target system type... i386-portbld-freebsd8.1
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/local/bin/gmkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for msgfmt... /usr/local/bin/msgfmt
checking for gmsgfmt... /usr/local/bin/msgfmt
checking for xgettext... /usr/local/bin/xgettext
checking for msgmerge... /usr/local/bin/msgmerge
checking for style of include used by make... GNU
checking for gcc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking dependency style of cc... gcc3
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking whether NLS is requested... yes
checking for GNU gettext in libc... no
checking for iconv... yes
checking how to link with libiconv... /usr/local/lib/libiconv.so -Wl,-rpath -Wl,/usr/local/lib
checking for GNU gettext in libintl... yes
checking how to link with libintl... /usr/local/lib/libintl.so /usr/local/lib/libiconv.so -Wl,-rpath -Wl,/usr/local/lib
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for gcc... (cached) cc
checking whether we are using the GNU C compiler... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for cc option to accept ISO C89... (cached) none needed
checking dependency style of cc... (cached) gcc3
checking how to run the C preprocessor... cc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking whether cc needs -traditional... no
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for main in -libs... no
checking for round in -lm... yes
checking for pthread_create in -pthread... yes
checking for SNDFILE... yes
checking for LIBSAMPLERATE... yes
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking portaudio.h usability... yes
checking portaudio.h presence... yes
checking for portaudio.h... yes
checking for sdl-config... /usr/local/bin/sdl-config
checking for SDL - version >= 1.2.3... yes
checking for snd_pcm_open in -lasound... no
checking alsa/asoundlib.h usability... no
checking alsa/asoundlib.h presence... no
checking for alsa/asoundlib.h... no
checking for _oss_ioctl in -lossaudio... no
checking soundcard.h usability... no
checking soundcard.h presence... no
checking for soundcard.h... no
checking sys/soundcard.h usability... yes
checking sys/soundcard.h presence... yes
checking for sys/soundcard.h... yes
checking for PULSE... yes
checking sys/audio.h usability... no
checking sys/audio.h presence... no
checking for sys/audio.h... no
checking for pkg-config... /usr/local/bin/pkg-config
checking for GTK+ - version >= 2.0.0... yes (version 2.20.1)
checking for GTHREAD... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking size of off_t... 8
checking for ANSI C header files... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking for sys/types.h... (cached) yes
checking for unistd.h... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sched.h usability... yes
checking sched.h presence... yes
checking for sched.h... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for ladspa.h... (cached) no
checking for size_t... yes
checking for off_t... yes
checking for pid_t... yes
checking return type of signal handlers... void
checking whether time.h and sys/time.h may both be included... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for an ANSI C-conforming const... yes
checking for working volatile... yes
checking whether unsetenv returns a value... yes
checking for working memcmp... yes
checking for gettimeofday... yes
checking for mkdir... yes
checking for strerror... yes
checking for strtod... yes
checking for strtol... yes
checking for sched_yield... yes
checking for ceill... yes
checking for setlocale... yes
checking for fseeko... yes
checking for ftello... yes
checking for lrint... yes
checking for lrintf... yes
checking for dup2... yes
checking for memchr... yes
checking for memmove... yes
checking for memset... yes
checking for pow... yes
checking for putenv... yes
checking for select... yes
checking for sqrt... yes
checking for strchr... yes
checking for strrchr... yes
checking for strstr... yes
checking for strtoul... yes
checking whether closedir returns void... no
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking whether lstat dereferences a symlink specified with a trailing slash... yes
checking whether stat accepts an empty string... no
checking for working strtod... (cached) yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating po/Makefile.in
config.status: WARNING:  'po/Makefile.in.in' seems to ignore the --datarootdir setting
config.status: creating m4/Makefile
config.status: creating share/Makefile
config.status: creating config.h
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: executing depfiles commands
configure: WARNING: unrecognized options: --disable-optimization


------------------------
mhWaveEdit configuration
------------------------

Version: 1.4.20

Libraries: 
  GTK+ version:           2.x
  Libsndfile:             yes
  Libsamplerate:          yes

Sound drivers:
  Included drivers:       OSS SDL PulseAudio
  Drivers not included:   ALSA JACK Sun PortAudio EsounD aRts
  Default sound driver:   auto (detect at startup)

Other settings:
  LADSPA Support:         no
  Floating-point samples: double precision
  Default mixer app:      xmixer
  Compiler options:       -O2 -pipe -march=prescott -fno-strict-aliasing

Type make (or gmake) to compile mhWaveEdit!
===>  Building for mhwaveedit-1.4.20
make  all-recursive
Making all in m4
Making all in po
Making all in src
cc -DHAVE_CONFIG_H -I. -I.. -D_THREAD_SAFE -D_REENTRANT -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/pango-1.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2   -I/usr/local/include/SDL -I/usr/local/include -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/local/include     -I/usr/local/include        -D_REENTRANT -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include   -D_REENTRANT -I/usr/local/include -DLOCALEDIR=\"/usr/local/share/locale\"  -I/usr/local/include  -O2 -pipe -march=prescott -fno-strict-aliasing -MT chunk.o -MD -MP -MF .deps/chunk.Tpo -c -o chunk.o chunk.c
cc -DHAVE_CONFIG_H -I. -I.. -D_THREAD_SAFE -D_REENTRANT -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/pango-1.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2   -I/usr/local/include/SDL -I/usr/local/include -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/local/include     -I/usr/local/include        -D_REENTRANT -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include   -D_REENTRANT -I/usr/local/include -DLOCALEDIR=\"/usr/local/share/locale\"  -I/usr/local/include  -O2 -pipe -march=prescott -fno-strict-aliasing -MT int_box.o -MD -MP -MF .deps/int_box.Tpo -c -o int_box.o int_box.c
cc -DHAVE_CONFIG_H -I. -I.. -D_THREAD_SAFE -D_REENTRANT -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/pango-1.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2   -I/usr/local/include/SDL -I/usr/local/include -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/local/include     -I/usr/local/include        -D_REENTRANT -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include   -D_REENTRANT -I/usr/local/include -DLOCALEDIR=\"/usr/local/share/locale\"  -I/usr/local/include  -O2 -pipe -march=prescott -fno-strict-aliasing -MT sound.o -MD -MP -MF .deps/sound.Tpo -c -o sound.o sound.c
In file included from sound.c:76:
sound-pulse.c: In function 'pa_to_poll':
sound-pulse.c:118: error: 'POLLIN' undeclared (first use in this function)
sound-pulse.c:118: error: (Each undeclared identifier is reported only once
sound-pulse.c:118: error: for each function it appears in.)
sound-pulse.c:119: error: 'POLLOUT' undeclared (first use in this function)
sound-pulse.c:120: error: 'POLLHUP' undeclared (first use in this function)
sound-pulse.c:121: error: 'POLLERR' undeclared (first use in this function)
sound-pulse.c: In function 'poll_to_pa':
sound-pulse.c:128: error: 'POLLIN' undeclared (first use in this function)
sound-pulse.c:129: error: 'POLLOUT' undeclared (first use in this function)
sound-pulse.c:130: error: 'POLLHUP' undeclared (first use in this function)
sound-pulse.c:131: error: 'POLLERR' undeclared (first use in this function)
mv -f .deps/int_box.Tpo .deps/int_box.Po
*** Error code 1
mv -f .deps/chunk.Tpo .deps/chunk.Po
1 error
*** Error code 1
1 error
*** Error code 2
1 error
===> Compilation failed unexpectedly.
You have chosen to use multiple make jobs (parallelization) for all ports.
This port was not tested for this setting.  Please remove FORCE_MAKE_JOBS and
retry the build before reporting the failure to the maintainer.
*** Error code 1

Stop in /pool/ports/audio/mhwaveedit.
*** Error code 1

Stop in /pool/ports/audio/mhwaveedit.
--- log ends here ---

Fix: 

Needs an option to disable pulseaudio, and for the case it is enabled compilation should be fixed.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2010-09-15 17:40:11 UTC
Responsible Changed
From-To: freebsd-ports-bugs->sylvio

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Sylvio Cesar Teixeira freebsd_committer freebsd_triage 2011-02-10 18:13:14 UTC
State Changed
From-To: open->closed

The port is compiling normally in box 7.x in 8.x. I test it in my 
tinderbox.
Comment 3 Dmitry Marakasov freebsd_committer freebsd_triage 2011-02-11 02:12:06 UTC
State Changed
From-To: closed->open

I've mentioned this in the pr: the port doesn't build _in presence of 
pulseaudio_. And the problem is still there.
Comment 4 Sylvio Cesar Teixeira freebsd_committer freebsd_triage 2011-02-11 11:06:20 UTC
State Changed
From-To: open->analyzed

- The problem will be analyzed
Comment 5 dfilter service freebsd_committer freebsd_triage 2011-05-16 15:14:02 UTC
sylvio      2011-05-16 14:13:48 UTC

  FreeBSD ports repository

  Modified files:
    audio/mhwaveedit     Makefile distinfo 
  Log:
  - Update to 1.4.21
  - Add suport to pulseaudio
  
  PR:             ports/150595
  Submitted by:   amdmi3@
  
  Revision  Changes    Path
  1.64      +10 -1     ports/audio/mhwaveedit/Makefile
  1.42      +2 -2      ports/audio/mhwaveedit/distinfo
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 6 Sylvio Cesar Teixeira freebsd_committer freebsd_triage 2011-05-16 15:14:38 UTC
State Changed
From-To: analyzed->closed

Port update and add suport to pulseaudio