Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 374433 - dev-python/PyQrcodec-1.0 fails to build
Summary: dev-python/PyQrcodec-1.0 fails to build
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-08 10:58 UTC by Cédric Jeanneret
Modified: 2012-04-06 19:37 UTC (History)
1 user (show)

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


Attachments
emerge --info (emerge-info,11.32 KB, text/plain)
2011-07-08 10:58 UTC, Cédric Jeanneret
Details
build log (build.log,8.13 KB, text/x-log)
2011-07-08 11:00 UTC, Cédric Jeanneret
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Cédric Jeanneret 2011-07-08 10:58:28 UTC
Created attachment 279423 [details]
emerge --info

Hello,

while trying to compile dev-python/PyQrcodec-1.0, I got this error:

[snip]
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.2/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lcv
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.2/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lhighgui
collect2: ld returned 1 exit status
error: command 'x86_64-pc-linux-gnu-g++' failed with exit status 1
 * ERROR: dev-python/PyQrcodec-1.0 failed (compile phase):
 *   Building failed with CPython 2.7 in distutils_building() function
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_compile
 *   environment, line 4888:  Called distutils_src_compile
 *   environment, line 1235:  Called python_execute_function 'distutils_building'
 *   environment, line 3424:  Called die
 * The specific snippet of code:
 *                       die "${failure_message}";
 * 
 * If you need support, post the output of 'emerge --info =dev-python/PyQrcodec-1.0',
 * the complete build log and the output of 'emerge -pqv =dev-python/PyQrcodec-1.0'.
 * The complete build log is located at '/var/tmp/portage/dev-python/PyQrcodec-1.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/PyQrcodec-1.0/temp/environment'.
 * S: '/var/tmp/portage/dev-python/PyQrcodec-1.0/work/PyQrCodec'


Attached:
emerge --info =dev-python/PyQrcodec-1.0
Comment 1 Cédric Jeanneret 2011-07-08 11:00:08 UTC
Created attachment 279425 [details]
build log
Comment 2 Jesus Rivero (RETIRED) gentoo-dev 2011-07-08 14:41:06 UTC
Yeah, since media-libs/opencv-2.2, the library has been reorganized, so -lcv
 and -lhighgui are no longer valid library names.

Plus, I think this package is dead. The HOMEPAGE and SRC_URI are no longer valid and I couldn't find the code anywhere. Maybe this could be a replacement:
http://pyqrcode.sourceforge.net/
Comment 3 Cédric Jeanneret 2011-07-09 08:55:16 UTC
Yup, indeed, it can (maybe even should?) replace this package.

If someone has an ebuild, I can test it.

Cheers,

C.
Comment 4 Thomas Raschbacher gentoo-dev 2012-01-29 21:38:52 UTC
I tried to link this to opencv_highgui and opencv_core and it built, installed and encoded a string for me, but decode crashed. maybe the pyqrcode is a possible replacemetn in portage
Comment 5 Pacho Ramos gentoo-dev 2012-04-06 19:37:55 UTC
dropped