Existing app-mobilephone/bitpim ebuild has a sed command which does not properly change the bitpim build script to the proper python version. I recently upgraded to python-2.6, ran python updater and then removed python-2.5 leaving only python-2.6 on the system. bitpim-1.0.6.ebuild munges a build.sh prepping for swig to change from a hardcoded PYTHONVER variable to a dynamic one calculated from the installed Gentoo python version. Unfortunately the sed command is wrong (and nobody would see it unless they were not on python-2.5). Attached ebuild corrects this problem. Reproducible: Always Steps to Reproduce: 1. Upgrade to python-2.6 only on your Gentoo system 2. Try to install bitpim 3. watch it fail! Actual Results: Note that I'm using paludis for the following: >>> Starting builtin_loadenv >>> Done builtin_loadenv >>> Starting src_compile ./build.sh: line 2: python2.5: command not found /usr/include/usb.h:337: Warning(302): Identifier 'usb_device' redefined (ignored), /usr/include/usb.h:249: Warning(302): previous definition of 'usb_device'. gcc: _libusb.so: No such file or directory etc.... Expected Results: an actual installation
Created attachment 190542 [details] updated bitpim ebuild with corrected sed statement for python version
Created attachment 195402 [details, diff] patch to correct sed statement This is still broken in bitpim-1.0.6-r1. Attached is a patch for bitpim-1.0.6-r1 with Sean's fix.
Fixed in 1.0.6-r1 (no rev bump).