Summary: | media-libs/aubio-0.3.2-r1 fails to emerge: aubio_wrap.c:1582:6: error: 'coercion' undeclared (first use in this function) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | gentoo |
Component: | New packages | Assignee: | Samuli Suominen (RETIRED) <ssuominen> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build.log |
Description
gentoo
2011-09-30 20:12:48 UTC
Created attachment 288413 [details]
build.log
`eselect python list` output please, I suspect you have python-3 as default and aubio is python-2 only (by Python.h -> object.h -> typedef for coercion) Correct, I have set Python 3 as default. If aubio requires Python2, it should depend on it or set itself to use Python2. Available Python interpreters: [1] python2.7 [2] python3.1 * (In reply to comment #3) > Correct, I have set Python 3 as default. > > If aubio requires Python2, it should depend on it or set itself to use Python2. that's what I was aiming to verify :) will fix in hour or two. 01 Oct 2011; Samuli Suominen <ssuominen@gentoo.org> aubio-0.3.2-r1.ebuild: Use python.eclass and set python2 as default wrt bugs #313523 and #385129 Please resync in hour (or later preferably so mirrors get synced for sure) and when you see that ChangeLog entry, you can retest Thanks for reporting Hi! Thanks, I think it works now. At least I emerged it and it's no longer on the list of emerge -uDN world. However, there's a postinst error. Not sure if it's important. ERROR: postinst Syntax errors / warnings in Python modules for CPython 2.7: Compiling /usr/lib64/python2.7/site-packages/aubio/bench/onset.py ... SyntaxError: ('invalid syntax', ('/usr/lib64/python2.7/site-packages/aubio/bench/onset.py', 114, 36, "ttd.append(Gnuplot.Data(fp, gd, with='linespoints', n")) Compiling /usr/lib64/python2.7/site-packages/aubio/gnuplot.py ... SyntaxError: ('invalid syntax', ('/usr/lib64/python2.7/site-packages/aubio/gnuplot.py', 158, 30, " return Gnuplot.Data(x,y,with='lines')n")) Compiling /usr/lib64/python2.7/site-packages/aubio/plot/keyboard.py ... SyntaxError: ('invalid syntax', ('/usr/lib64/python2.7/site-packages/aubio/plot/keyboard.py', 33, 51, " whites = Gnuplot.Data(xw,yw,xwdelta,ywdelta,with = 'boxxyerrorbars')n")) Compiling /usr/lib64/python2.7/site-packages/aubio/task/beat.py ... SyntaxError: ('invalid syntax', ('/usr/lib64/python2.7/site-packages/aubio/task/beat.py', 250, 41, 'ttoplots.append(Gnuplot.Data(results,with='linespoints',title="auto"))n')) Compiling /usr/lib64/python2.7/site-packages/aubio/task/notes.py ... SyntaxError: ('invalid syntax', ('/usr/lib64/python2.7/site-packages/aubio/task/notes.py', 98, 42, "ttoplots.append(Gnuplot.Data(now,freq,with='lines',n")) Compiling /usr/lib64/python2.7/site-packages/aubio/task/onset.py ... SyntaxError: ('invalid syntax', ('/usr/lib64/python2.7/site-packages/aubio/task/onset.py', 106, 47, "ttoplot.append(Gnuplot.Data(downtime,ofunc,with='lines',title=self.params.onsetmode))n")) Compiling /usr/lib64/python2.7/site-packages/aubio/task/pitch.py ... SyntaxError: ('invalid syntax', ('/usr/lib64/python2.7/site-packages/aubio/task/pitch.py', 159, 44, "ttoplots.append(Gnuplot.Data(time,pitch,with='lines',n")) (In reply to comment #7) > Hi! Thanks, I think it works now. At least I emerged it and it's no longer on > the list of emerge -uDN world. > > However, there's a postinst error. Not sure if it's important. It is important, and fixed in aubio-0.3.2-r2 since it needed a revision bump so everyone gets the fixed copy. Great, thanks for fixing! I wish I knew how to do those sort of things... :-) |