Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 622406 - media-sound/darkice-1.3 : VorbisLibEncoder.cpp:340:62: error: invalid conversion from ‘const float*’ to ‘float*’ [-fpermissive]
Summary: media-sound/darkice-1.3 : VorbisLibEncoder.cpp:340:62: error: invalid convers...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on: 740552
Blocks: 681420
  Show dependency tree
 
Reported: 2017-06-21 18:46 UTC by Toralf Förster
Modified: 2020-10-04 17:26 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,20.21 KB, text/plain)
2017-06-21 18:46 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,592.21 KB, text/plain)
2017-06-21 18:46 UTC, Toralf Förster
Details
environment (environment,80.30 KB, text/plain)
2017-06-21 18:46 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,67.37 KB, application/x-bzip)
2017-06-21 18:46 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,8.84 KB, application/x-bzip)
2017-06-21 18:46 UTC, Toralf Förster
Details
media-sound:darkice-1.3:20170621-183852.log (media-sound:darkice-1.3:20170621-183852.log,13.21 KB, text/plain)
2017-06-21 18:46 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,22.28 KB, application/x-bzip)
2017-06-21 18:46 UTC, Toralf Förster
Details
emerge-info.txt (emerge-info.txt,17.25 KB, text/plain)
2019-08-06 17:36 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,167.83 KB, text/plain)
2019-08-06 17:37 UTC, Toralf Förster
Details
environment (environment,16.83 KB, text/plain)
2019-08-06 17:37 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,15.08 KB, application/x-bzip)
2019-08-06 17:37 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,7.91 KB, application/x-bzip)
2019-08-06 17:37 UTC, Toralf Förster
Details
media-sound:darkice-1.3:20190805-221445.log (media-sound:darkice-1.3:20190805-221445.log,349.11 KB, text/plain)
2019-08-06 17:37 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,14.98 KB, application/x-bzip)
2019-08-06 17:37 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2017-06-21 18:46:18 UTC
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall  -pthread     -I/usr/include/aacplus   -I/usr/include/alsa  -D_REENTRANT    -Werror=terminate -O2 -pipe -march=native -c -o darkice-VorbisLibEncoder.o `test -f 'VorbisLibEncoder.cpp' || echo './'`VorbisLibEncoder.cpp
VorbisLibEncoder.cpp: In member function ‘virtual unsigned int VorbisLibEncoder::write(const void*, unsigned int)’:
VorbisLibEncoder.cpp:340:62: error: invalid conversion from ‘const float*’ to ‘float*’ [-fpermissive]
         src_short_to_float_array (shortBuffer, converterData.data_in, totalSamples);
                                                ~~~~~~~~~~~~~~^~~~~~~
In file included from VorbisLibEncoder.h:56:0,

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: desktop-libressl_20170604-185115

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-6.3.0 *

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python3.6 (fallback)
  [3]   python2.7 (fallback)
  [4]   pypy (fallback)

java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.4.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm
Comment 1 Toralf Förster gentoo-dev 2017-06-21 18:46:21 UTC
Created attachment 477546 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-06-21 18:46:24 UTC
Created attachment 477548 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2017-06-21 18:46:27 UTC
Created attachment 477550 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2017-06-21 18:46:30 UTC
Created attachment 477552 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2017-06-21 18:46:33 UTC
Created attachment 477554 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-06-21 18:46:37 UTC
Created attachment 477556 [details]
media-sound:darkice-1.3:20170621-183852.log
Comment 7 Toralf Förster gentoo-dev 2017-06-21 18:46:41 UTC
Created attachment 477558 [details]
temp.tbz2
Comment 8 Pacho Ramos gentoo-dev 2018-03-01 13:42:05 UTC
it compiles ok for me, can you retry?
Comment 9 Toralf Förster gentoo-dev 2019-08-06 17:36:55 UTC
it is still an issue at unstable amd64 tinderbox image 17.1_desktop_plasma-20190802-131642
Comment 10 Toralf Förster gentoo-dev 2019-08-06 17:36:58 UTC
Created attachment 585872 [details]
emerge-info.txt
Comment 11 Toralf Förster gentoo-dev 2019-08-06 17:37:00 UTC
Created attachment 585874 [details]
emerge-history.txt
Comment 12 Toralf Förster gentoo-dev 2019-08-06 17:37:03 UTC
Created attachment 585876 [details]
environment
Comment 13 Toralf Förster gentoo-dev 2019-08-06 17:37:05 UTC
Created attachment 585878 [details]
etc.portage.tbz2
Comment 14 Toralf Förster gentoo-dev 2019-08-06 17:37:08 UTC
Created attachment 585880 [details]
logs.tbz2
Comment 15 Toralf Förster gentoo-dev 2019-08-06 17:37:11 UTC
Created attachment 585882 [details]
media-sound:darkice-1.3:20190805-221445.log
Comment 16 Toralf Förster gentoo-dev 2019-08-06 17:37:13 UTC
Created attachment 585884 [details]
temp.tbz2
Comment 17 Stuart Longland 2019-11-03 02:25:20 UTC
I hit this myself, but found it would build if I set USE=-libsamplerate.

In the `darkice` sources, there's `#ifdef HAVE_SRC_LIB` which is defined when libsamplerate is detected/used.

My system has media-libs/libsamplerate-0.1.9 installed.  Maybe the API changed from previous releases?
Comment 18 Larry the Git Cow gentoo-dev 2020-10-04 17:26:22 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2616e64355661652ef1d01fadc915b916bd6c36

commit f2616e64355661652ef1d01fadc915b916bd6c36
Author:     Miroslav Šulc <fordfrog@gentoo.org>
AuthorDate: 2020-10-04 17:26:04 +0000
Commit:     Miroslav Šulc <fordfrog@gentoo.org>
CommitDate: 2020-10-04 17:26:04 +0000

    media-sound/darkice: removed obsolete 1.3
    
    Closes: https://bugs.gentoo.org/622406
    Package-Manager: Portage-3.0.8, Repoman-3.0.1
    Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>

 media-sound/darkice/Manifest           |  1 -
 media-sound/darkice/darkice-1.3.ebuild | 54 ----------------------------------
 2 files changed, 55 deletions(-)