Bug 225038

Summary: sysutils/cdrdao build failure on 10.4 amd64
Product: Ports & Packages Reporter: Miroslav Lachman <000.fbsd>
Component: Individual Port(s)Assignee: Marius Strobl <marius>
Status: Closed FIXED    
Severity: Affects Only Me Flags: bugzilla: maintainer-feedback? (marius)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Poudriere bulk build log failure none

Description Miroslav Lachman 2018-01-10 02:24:30 UTC
Created attachment 189574 [details]
Poudriere bulk build log failure

I am not able to build cdrdao in poudriere in 10.4 amd64 jail with following options:

     DOCS=on
     MP3OGG=on
     TOC2MP3=on

Last line with errors:
c++  -O2 -pipe  -fstack-protector -fno-strict-aliasing  -std=c++11  -fstack-protector -o toc2mp3  toc2mp3-toc2mp3.o ../trackdb/libtrackdb.a -L/usr/local/lib -lmp3lame -L/usr/local/lib -lmad -L/usr/local/lib -lvorbisfile -L/usr/local/lib -lao 
toc2mp3-toc2mp3.o: In function `init_encoder(int)':
toc2mp3.cc:(.text+0x28e): undefined reference to `bitrate_table'
toc2mp3.cc:(.text+0x295): undefined reference to `bitrate_table'
toc2mp3-toc2mp3.o: In function `main':
toc2mp3.cc:(.text+0xf23): undefined reference to `bitrate_table'
c++: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[3]: *** [Makefile:322: toc2mp3] Error 1
gmake[3]: Leaving directory '/wrkdirs/usr/ports/sysutils/cdrdao/work/cdrdao-1.2.3/utils'
gmake[2]: *** [Makefile:305: all-recursive] Error 1
gmake[2]: Leaving directory '/wrkdirs/usr/ports/sysutils/cdrdao/work/cdrdao-1.2.3'
gmake[1]: *** [Makefile:241: all] Error 2
gmake[1]: Leaving directory '/wrkdirs/usr/ports/sysutils/cdrdao/work/cdrdao-1.2.3'
*** Error code 1

Full build log attached
Comment 1 commit-hook freebsd_committer freebsd_triage 2018-01-11 21:43:15 UTC
A commit references this bug:

Author: marius
Date: Thu Jan 11 21:42:21 UTC 2018
New revision: 458797
URL: https://svnweb.freebsd.org/changeset/ports/458797

Log:
  Fix build of toc2mp3 after update of audio/lame to version 3.100.

  PR:	225038

Changes:
  head/sysutils/cdrdao/files/patch-utils_toc2mp3.cc