Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 547186 - media-sound/denemo-1.0.2 :pitchrecog.c:192:27: error: subscripted value is neither array nor pointer nor vector
Summary: media-sound/denemo-1.0.2 :pitchrecog.c:192:27: error: subscripted value is ne...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 2 votes (vote)
Assignee: Gentoo Sound Team
Whiteboard: Pending removal: 2018-04-13
Keywords: PMASKED
: 576096 (view as bug list)
Depends on:
Reported: 2015-04-20 12:49 UTC by Toralf Förster
Modified: 2018-04-29 18:09 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---

emerge log (media-sound-denemo-1.0.2-20150420-042612.log.bz2,34.79 KB, application/x-bzip)
2015-04-20 12:49 UTC, Toralf Förster

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2015-04-20 12:49:02 UTC
Created attachment 401670 [details]
emerge log

onset2 = new_fvec(1 , channels);
In file included from /usr/include/aubio/aubio.h:164:0,
                 from pitchrecog.c:29:
/usr/include/aubio/fvec.h:77:10: note: declared here
 fvec_t * new_fvec(uint_t length);
pitchrecog.c: In function ‘note_append’:
pitchrecog.c:192:27: error: subscripted value is neither array nor pointer nor vector
       note_buffer->data[0][i] = note_buffer->data[0][i+1];
pitchrecog.c:192:53: error: subscripted value is neither array nor pointer nor vector
       note_buffer->data[0][i] = note_buffer->data[0][i+1];
pitchrecog.c:194:23: error: subscripted value is neither array nor pointer nor vector
   note_buffer->data[0][note_buffer->length - 1] = anote;
pitchrecog.c: In function ‘get_note’:
pitchrecog.c:201:28: error: subscripted value is neither array nor pointer nor vector
       note_buffer2->data[0][i] = note_buffer->data[0][i];
pitchrecog.c:201:54: error: subscripted value is neither array nor pointer nor vector
       note_buffer2->data[0][i] = note_buffer->data[0][i];
pitchrecog.c: In function ‘pitchrecog’:
pitchrecog.c:223:15: error: subscripted value is neither array nor pointer nor vector
  ibuf->data[i][pos] =  *(in+j);/* need threshold higher - say 0.5 to avoid repe
pitchrecog.c:233:23: error: subscripted value is neither array nor pointer nor vector
         onset->data[0][0] *= onset2->data[0][0];
pitchrecog.c:233:45: error: subscripted value is neither array nor pointer nor vector
         onset->data[0][0] *= onset2->data[0][0];
pitchrecog.c: In function ‘set_onset_type’:
pitchrecog.c:322:41: error: ‘aubio_onsetdetection_type’ undeclared (first use in this function)
   if(onset>= sizeof(onset_types)/sizeof(aubio_onsetdetection_type))
pitchrecog.c:322:41: note: each undeclared identifier is reported only once for each function it appears in
pitchrecog.c:322:33: error: invalid operands to binary / (have ‘long unsigned int’ and ‘int *’)
   if(onset>= sizeof(onset_types)/sizeof(aubio_onsetdetection_type))
pitchrecog.c:322:11: warning: comparison between pointer and integer
   if(onset>= sizeof(onset_types)/sizeof(aubio_onsetdetection_type))
Makefile:694: recipe for target 'pitchrecog.o' failed
make[2]: *** [pitchrecog.o] Error 1
make[2]: Leaving directory '/var/tmp/portage/media-sound/denemo-1.0.2/work/denemo-1.0.2/src'
Makefile:513: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/media-sound/denemo-1.0.2/work/denemo-1.0.2'
Makefile:386: recipe for target 'all' failed
make: *** [all] Error 2
 * ERROR: media-sound/denemo-1.0.2::gentoo failed (compile phase):
 *   emake failed
 * If you need support, post the output of `emerge --info '=media-sound/denemo-1.0.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-sound/denemo-1.0.2::gentoo'`.
 * The complete build log is located at '/var/log/portage/media-sound:denemo-1.0.2:20150420-042612.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/media-sound/denemo-1.0.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-sound/denemo-1.0.2/temp/environment'.
 * Working directory: '/var/tmp/portage/media-sound/denemo-1.0.2/work/denemo-1.0.2'
 * S: '/var/tmp/portage/media-sound/denemo-1.0.2/work/denemo-1.0.2'

 * GNU info directory index is up-to-date.

The log is stored in /var/log/portage/_emerge_20150420-062722.log.
quick search:
Maintainer :
maintainer : 
herd       : sound

This is an unstable amd64 chroot image (named amd64-unstable-libtool_20150416) at a hardened host acting as a tinderbox.

Portage 2.2.18 (python 2.7.9-final-0, default/linux/amd64/13.0/desktop/kde, gcc-4.9.2, glibc-2.20-r2, 3.19.4-hardened x86_64)
System uname: Linux-3.19.4-hardened-x86_64-Intel-R-_Core-TM-_i7-3770_CPU_@_3.40GHz-with-gentoo-2.2
KiB Mem:    16164756 total,   1662404 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Sun, 19 Apr 2015 12:00:01 +0000
sh bash 4.3_p33-r2
ld GNU ld (Gentoo 2.25 p1.0) 2.25
distcc 3.2rc1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.3_p33-r2::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.9-r2::gentoo, 3.3.5-r1::gentoo
dev-util/cmake:           3.2.1::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.13.11::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:       1.10.3-r1::gentoo, 1.11.6-r1::gentoo, 1.12.6::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25::gentoo
sys-devel/gcc:            4.8.4::gentoo, 4.9.2::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.0::gentoo (virtual/os-headers)
sys-libs/glibc:           2.20-r2::gentoo

    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://
    priority: -1000

    location: /usr/local/portage
    masters: gentoo
    priority: 0

ACCEPT_KEYWORDS="amd64 ~amd64"
CFLAGS="-march=native -O2 -pipe"
CONFIG_PROTECT="/etc /etc/entropy /opt/openfire/resources/security/ /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
EMERGE_DEFAULT_OPTS="--nospinner --tree --quiet-build --jobs 1"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS=" rsync:// rsync://"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
USE="X a52 aac acl acpi aes-ni alsa amd64 apache2 avx avx2 berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit corefonts cracklib crypt cups cxx dbus declarative designer dnssec dot dri drmkms dts dvd dvdr ecc emboss encode exif extraengine fam ffmpeg firefox flac fontconfig fortran fpm gd gdbm gif glamor gpm gtk gudev gui iconv icu isag jadetex jpeg kde kipi kvm lapack lcms libkms libnotify libvirtd logrotate mad mbox minizip mmx mmxext mng modules mp3 mp4 mpeg multilib mysql ncurses nls nptl ogg opengl openmp openssl pam pango pax_kernel pcre pcre16 pdf phonon plasma png policykit ppds pwquality python qemu qt3support qt4 readline scrpyt sdl session spell spice sqlite sse sse2 sse4 sse4_1 sse4_2 ssh-askpass ssl ssse3 startup-notification svg tcpd theora thinkpad threads tiff tk tls truetype udev udisks uml unicode upower usb usbredir uxa v4l v4l2 video vorbis wxwidgets x264 xa xcb xcomposite xinerama xkb xml xmp xscreensaver xslt xv xvfb xvid xvmc zenmap zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom  oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_GB" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Comment 1 Peter Fox 2015-06-02 21:25:24 UTC
denemo-1.2.2 builds with the updated ebuild attached to bug 515888. Someone who knows about denemo should check it is ok. When I try to start it from the commandline I get:
$ denemo
 Pango - WARNING : /usr/lib/pango/1.6.0/modules/ cannot open shared object file: No such file or directory
Denemo - MESSAGE : Audio driver is 'portaudio'
Denemo - MESSAGE : Initializing Fluidsynth
fluidsynth: warning: Failed to pin the sample data to RAM; swapping is possible.
Denemo - MESSAGE : The default fluidsynth soundfont has been loaded
Denemo - MESSAGE : Initializing Rubberband
Denemo - MESSAGE : Initializing PortAudio backend
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.29/work/alsa-lib-1.0.29/src/pcm/pcm.c:2267:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.29/work/alsa-lib-1.0.29/src/pcm/pcm.c:2267:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.29/work/alsa-lib-1.0.29/src/pcm/pcm.c:2267:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.29/work/alsa-lib-1.0.29/src/pcm/pcm_route.c:867:(find_matching_chmap) Found no matching channel map
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.29/work/alsa-lib-1.0.29/src/pcm/pcm_route.c:867:(find_matching_chmap) Found no matching channel map
Denemo - MESSAGE : Opening output device 'ALSA: default'
Denemo - MESSAGE : MIDI driver is 'portmidi'
Denemo - WARNING : PortMidi backend is not enabled
Denemo - MESSAGE : Initializing dummy MIDI backend
Attempt to unlock mutex that was not locked
Comment 2 reisio 2016-05-01 03:47:49 UTC
Same issue with version 1.0.0.
Comment 3 reisio 2016-05-01 04:51:22 UTC
Can probably just abandon these 1.x versions for a 2.x ebuild from bug 567786.
Comment 4 Toralf Förster gentoo-dev 2016-05-01 09:31:10 UTC
*** Bug 576096 has been marked as a duplicate of this bug. ***
Comment 5 deference 2017-05-08 03:44:20 UTC
I'm also experiencing this bug
Comment 6 Pacho Ramos gentoo-dev 2018-03-01 13:22:27 UTC
this also ends up forcing downgrade of guile through lilypond
Comment 7 Pacho Ramos gentoo-dev 2018-04-29 18:09:08 UTC