Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 636722 - media-sound/audacity-2.2.0[-id3tag] : export/ExportMP3.cpp:2013:22: error: id3_tag has not been declared
Summary: media-sound/audacity-2.2.0[-id3tag] : export/ExportMP3.cpp:2013:22: error: id...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Professional Audio Applications Maintainers
URL:
Whiteboard:
Keywords:
: 637124 639292 640178 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-11-06 18:10 UTC by Toralf Förster
Modified: 2018-02-18 11:13 UTC (History)
30 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.68 KB, text/plain)
2017-11-06 18:11 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,193.30 KB, text/plain)
2017-11-06 18:11 UTC, Toralf Förster
Details
environment (environment,93.08 KB, text/plain)
2017-11-06 18:11 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.58 KB, application/x-bzip)
2017-11-06 18:11 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,33.19 KB, application/x-bzip)
2017-11-06 18:11 UTC, Toralf Förster
Details
media-sound:audacity-2.2.0:20171106-131641.log (media-sound:audacity-2.2.0:20171106-131641.log,768.07 KB, text/plain)
2017-11-06 18:11 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,58.31 KB, application/x-bzip)
2017-11-06 18:11 UTC, Toralf Förster
Details
2.2.1-id3tag.patch (2.2.1-id3tag.patch,2.33 KB, patch)
2018-01-19 23:48 UTC, Vladimir
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2017-11-06 18:10:59 UTC
              ~~~~~~~~~^~~~~~~~~~~
export/ExportMP3.cpp: At global scope:
export/ExportMP3.cpp:2013:22: error: ‘id3_tag’ has not been declared
    void operator () (id3_tag *p) const { if (p) id3_tag_delete(p); }
                      ^~~~~~~
export/ExportMP3.cpp: In member function ‘void id3_tag_deleter::operator()(int*) const’:

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop_20171102-174725

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

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

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python3.6 (fallback)
  [3]   python2.7 (fallback)
  [4]   pypy3 (fallback)
  [5]   pypy (fallback)
Available Ruby profiles:
  [1]   ruby22 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 7.2.6.11 [icedtea-7]
2)	IcedTea JDK 3.6.0 [icedtea-8]
3)	IcedTea JDK 7.2.6.11 [icedtea-bin-7]
4)	IcedTea JDK 3.6.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-7  system-vm
  [2]   icedtea-8 
  [3]   icedtea-bin-7 
  [4]   icedtea-bin-8 

emerge -qpv media-sound/audacity
[ebuild  N    ] media-sound/audacity-2.2.0  USE="alsa flac ladspa lame lv2 mad midi nls portmixer soundtouch vorbis vst -doc -ffmpeg -id3tag -jack -libav -sbsms -twolame -vamp" CPU_FLAGS_X86="sse"
Comment 1 Toralf Förster gentoo-dev 2017-11-06 18:11:02 UTC
Created attachment 502820 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-11-06 18:11:05 UTC
Created attachment 502822 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2017-11-06 18:11:09 UTC
Created attachment 502824 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2017-11-06 18:11:13 UTC
Created attachment 502826 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2017-11-06 18:11:16 UTC
Created attachment 502828 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-11-06 18:11:19 UTC
Created attachment 502830 [details]
media-sound:audacity-2.2.0:20171106-131641.log
Comment 7 Toralf Förster gentoo-dev 2017-11-06 18:11:22 UTC
Created attachment 502832 [details]
temp.tbz2
Comment 8 Daniel 2017-11-06 20:27:02 UTC
with USE=id3tag, it builds fine...
Comment 9 Ivan Iraci 2017-11-07 13:06:56 UTC
Same problem here, same solution.
Comment 10 Nathan Zachary (RETIRED) gentoo-dev 2017-11-07 16:20:06 UTC
Agreed that it builds fine with the id3tag USE flag enabled.  If this is a requirement going forward, it should be enabled by default (or the USE flag should be removed).
Comment 11 Arnaud Vallette d'Osia 2017-11-07 18:33:20 UTC
I added me in copy of said bug, but I wanted to thank you for bumping this quick.
Comment 12 zlg (RETIRED) gentoo-dev 2017-11-12 21:20:34 UTC
*** Bug 637124 has been marked as a duplicate of this bug. ***
Comment 13 Mark Knecht 2017-11-27 16:03:33 UTC
+1 on both id3tag fix and suggestion that if it's required it should be on by default.
Comment 14 Michael Weber (RETIRED) gentoo-dev 2017-12-06 00:12:16 UTC
*** Bug 639292 has been marked as a duplicate of this bug. ***
Comment 15 Jeroen Roovers (RETIRED) gentoo-dev 2017-12-08 10:18:36 UTC
*** Bug 640178 has been marked as a duplicate of this bug. ***
Comment 16 toddb 2018-01-03 18:54:59 UTC
It appears that this is partly fixed in audacity-minsrc-2.2.1-rc3 sources. That is this config will create a buildable tree:

./configure --with-ffmpeg  --with-lame --with-libid3tag

However, if you omit --with-libid3tag you sill get the compile-time errors above. That suggests that either the code should be changed to compile without USE_LIBID3TAG defined, or that configure should insist that the user provide --with-libid3tag.  Or perhaps --with-libid3tag should be the default, as mentioned above.

I know nothing more.
Comment 17 Richard Ash 2018-01-07 17:41:10 UTC
This should be fixed in upstream https://github.com/audacity/audacity/pull/230 and will be included in the next release aimed for end of January. Patch should apply 2.2.1 as well if someone wants to create an -r1 ebuild in the meantime.
Comment 18 Vladimir 2018-01-19 23:48:48 UTC
Created attachment 515328 [details, diff]
2.2.1-id3tag.patch

Just adding the mentioned upstream commit in a form of a patch which may be used together with the ebuild from Bug 624264 containing some other fixes as well.
Comment 19 Larry the Git Cow gentoo-dev 2018-02-18 11:13:35 UTC
The bug has been closed via the following commit(s):

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

commit fa8c4f250b9a44c2a30d47bf7351e5fba08dc794
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2018-02-18 11:13:03 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2018-02-18 11:13:03 +0000

    media-sound/audacity: Fixed USE="id3tag" compilation.
    
    Closes: https://github.com/gentoo/gentoo/pull/6843
    Closes: https://bugs.gentoo.org/636722
    Package-Manager: Portage-2.3.24, Repoman-2.3.6

 media-sound/audacity/audacity-2.2.1.ebuild         | 10 ++-
 .../files/audacity-2.2.1-without-libid3tag.patch   | 87 ++++++++++++++++++++++
 2 files changed, 96 insertions(+), 1 deletion(-)