Bugzilla – Bug 2072
Linux: Min-source build failure if libid3tag not installed on system
Last modified: 2019-05-12 07:28:45 UTC
If libid3tag is not installed on the system, "make" fails with error: export/ExportMP3.cpp:1622:4: error: ‘id3_length_t’ does not name a type; did you mean ‘int_least8_t’? This is a regression against Audacity 2.2.2 tarball. The problem is caused by: https://github.com/audacity/audacity/commit/e860502 (fixed types in ExportMP3.cpp to avoid "signed vs. unsigned" warnings ) To fix this bug: In ExportMP3.cpp, replace each occurrence of: id3_length_t with unsigned long
Fix committed at https://github.com/audacity/audacity/commit/8012f6b
I did not follow the exact steps, as I did not want to re-install Ubuntu, but certainly compiles fine with the changes in comment 1. So marking it as RESOLVED WORKSFORME on a technicality. RESOLVED FIXED is what we actually believe.
(In reply to James Crook from comment #2) James wrote: > I did not want to re-install Ubuntu Just for information, the bug could be reproduced by uninstalling libid3tag (for example, use Synaptic package manager to remove libid3tag0 and libid3tag0-dev), then downloading the Audacity source prior to the fix, and attempt building.