On Sat, Dec 2, 2017 at 8:15 AM, Mick <michaelkintz...@gmail.com> wrote: > app-cdr/cdrdao-1.2.3-r4 also fails to install: > > [snip ...] > Making all in utils > make[2]: Entering directory '/var/tmp/portage/app-cdr/cdrdao-1.2.3-r4/work/ > cdrdao-1.2.3/utils' > x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../trackdb -march=native > -O2 -pipe -std=c++11 -pthread -c -o toc2cue.o toc2cue.cc > x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../trackdb -march=native > -O2 -pipe -pthread -c -o main.o main.c > x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../trackdb -march=native > -O2 -pipe -pthread -c -o cue2toc.o cue2toc.c > x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../trackdb -march=native > -O2 -pipe -pthread -c -o timecode.o timecode.c > x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../trackdb -march=native > -O2 -pipe -std=c++11 -pthread -c -o toc2cddb.o toc2cddb.cc > x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../trackdb -march=native > -O2 -pipe -std=c++11 -pthread -c -o toc2mp3-toc2mp3.o `test -f 'toc2mp3.cc' || > echo './'`toc2mp3.cc > x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -pthread -Wl,-O1 -Wl,--as- > needed -o cue2toc main.o cue2toc.o timecode.o -pthread > x86_64-pc-linux-gnu-g++ -march=native -O2 -pipe -std=c++11 -pthread -Wl,-O1 > -Wl,--as-needed -o toc2cddb toc2cddb.o ../trackdb/libtrackdb.a -lmad -lm - > lvorbisfile -lao -pthread > x86_64-pc-linux-gnu-g++ -march=native -O2 -pipe -std=c++11 -pthread -Wl,-O1 > -Wl,--as-needed -o toc2mp3 toc2mp3-toc2mp3.o ../trackdb/libtrackdb.a - > lmp3lame -lmad -lm -lvorbisfile -lao -pthread > [19/1535] > /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: > toc2mp3-toc2mp3.o: warning: relocation against `bitrate_table' in readonly > section `.text.startup' > toc2mp3-toc2mp3.o: In function `init_encoder(int)': > toc2mp3.cc:(.text+0x2c2): undefined reference to `bitrate_table' > toc2mp3.cc:(.text+0x2d0): undefined reference to `bitrate_table' > toc2mp3.cc:(.text+0x2db): undefined reference to `bitrate_table' > toc2mp3-toc2mp3.o: In function `main': > toc2mp3.cc:(.text.startup+0x29a): undefined reference to `bitrate_table' > toc2mp3.cc:(.text.startup+0x2a1): undefined reference to `bitrate_table' > /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: > warning: creating a DT_TEXTREL in a shared object. > collect2: error: ld returned 1 exit status > make[2]: *** [Makefile:487: toc2mp3] Error 1 > make[2]: *** Waiting for unfinished jobs.... > make[2]: Leaving directory '/var/tmp/portage/app-cdr/cdrdao-1.2.3-r4/work/ > cdrdao-1.2.3/utils' > make[1]: *** [Makefile:436: all-recursive] Error 1 > make[1]: Leaving directory '/var/tmp/portage/app-cdr/cdrdao-1.2.3-r4/work/ > cdrdao-1.2.3' > make: *** [Makefile:375: all] Error 2 > * ERROR: app-cdr/cdrdao-1.2.3-r4::gentoo failed (compile phase): > * emake failed > > Is there a solution for this?
There is a patch attached to this bug report. https://bugs.gentoo.org/635014