So I thought maybe something is wrong with my packages. So I removed python2.7 
from my system (with —recursive option) and deleted 
/sw/lib/python2.7/site-packages directory. Then I tried to install python 2.7, 
which seemingly was successful, till I try to run it… Where I see OS X python 
2.7.6 instead 2.7.10
$ fink list python27Information about 11273 packages read in 1 seconds. i   
python27         1:2.7.10-1   Interpreted, object-oriented language
 i   python27-shlibs  1:2.7.10-1   Interpreted, object-oriented language$ ls 
/sw/lib/python2.7/site-packagesREADME$ python2.7 -VPython 2.7.6$ which python2.7
/sw/bin/python2.7$ python2.7Python 2.7.6 (default, Sep  9 2014, 15:04:36) [GCC 
4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.39)] on darwinType "help", 
"copyright", "credits" or "license" for more information.>>> $ 
/sw/bin/python2.7Python 2.7.6 (default, Sep  9 2014, 15:04:36) [GCC 4.2.1 
Compatible Apple LLVM 6.0 (clang-600.0.39)] on darwinType "help", "copyright", 
"credits" or "license" for more information.>>>  $ echo 
$PATH/sw/bin:/sw/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/sw/lib/coreutils/bin:/Users/Radek/bin:/Users/Radek/Science/workspace/Main/radek/bin





     On Monday, June 8, 2015 4:49 PM, Radek Szklarczyk <kedar...@yahoo.com> 
wrote:
   

 I get nothing for the command "fink dumpinfo -ePYTHONPATH pip-py27", but I 
followed with other commands, see below.
If I look at the error and what is left after the installation
—start output fink update---  for file in 
/sw/src/fink.build/root-pip-py27-7.0.3-1/sw/bin/pip 
/sw/src/fink.build/root-pip-py27-7.0.3-1/sw/bin/pip[23]; do    mv $file 
${file}-py2.7  donemv: rename 
/sw/src/fink.build/root-pip-py27-7.0.3-1/sw/bin/pip to 
/sw/src/fink.build/root-pip-py27-7.0.3-1/sw/bin/pip-py2.7: No such file or 
directory—end output fink update—
indeed I do not have the 
"/sw/src/fink.build/root-pip-py27-7.0.3-1/sw/bin/pip-py2.7" directory, only 
 /sw/src/fink.build/root-pip-py27-7.0.3-1/sw/lib
is present but not [...]/sw/bin

$ fink dumpinfo -ePYTHONPATH pip-py27Information about 11274 packages read in 1 
seconds.$ echo 
$PYTHONPATH/sw/lib/python2.7/site-packages:/sw/lib/qt4-mac/lib/python2.7/site-packages
 $ fink dumpinfo pip-py27Information about 11274 packages read in 1 
seconds.infofile: 
/sw/fink/dists/stable/main/finkinfo/languages/pip-py.infodebfile: 
/sw/fink/10.10/stable/main/binary-darwin-x86_64/languages/pip-py27_7.0.3-1_darwin-x86_64.debpackage:
 pip-py27epoch: version: 7.0.3revision: 1family: pip-py27status: 
latestallversions:    7.0.3-1trees: stable/maindescription: Python package 
managementtype: python 2.7license: OSI-Approvedmaintainer: Kurt Schwehr 
<goat...@users.sourceforge.net>depends: python27, 
setuptools-tng-py27builddepends: setuptools-tng-py27essential: 
[undefined]builddependsonly: [undefined]source: 
http://pypi.python.org/packages/source/p/pip/pip-7.0.3.tar.gzsource-md5: 
54cbf5ae000fb3af3367345f5d299d1cnosourcedirectory: 
[undefined]updateconfigguess: [undefined]updatelibtool: 
[undefined]updatepomakefile: [undefined]env: CCACHE_DIR=/sw/var/ccache 
CPPFLAGS=-I/sw/include 
DBUS_SESSION_BUS_ADDRESS=launchd:env=DBUS_FINK_SESSION_BUS_SOCKET GDK_USE_XFT=1 
HOME=/var/folders/43/h_w0v_211r9bn1l0ncxl3gp80000gn/T/fink-build-HOME.6iu7UTQ91k
 INFOPATH=/sw/share/info:/sw/info:/usr/share/info LDFLAGS=-L/sw/lib 
MACOSX_DEPLOYMENT_TARGET=10.10 MAKEFLAGS=-j7 
MANPATH=/sw/share/man:/usr/share/man:/usr/local/share/man:/Applications/Xcode.app/Contents/Developer/usr/share/man:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/share/man:/sw/lib/perl5/5.18.2/man:/sw/lib/perl5-core/5.16.2/man:/sw/lib/perl5/5.16.2/man
 
PATH=/sw/var/lib/fink/path-prefix-libcxx:/sw/var/lib/fink/path-prefix-clang:/sw/bin:/sw/sbin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R6/bin
 PERL5LIB=/sw/lib/perl5:/sw/lib/perl5/darwin PWD=/Users/Radek 
R_HOME=/sw/Library/Frameworks/R.framework/Versions/3.1/Resources 
SGML_CATALOG_FILES=/sw/etc/sgml/catalog SHLVL=2 TERM=xterm-color 
XDG_CACHE_HOME=/var/folders/43/h_w0v_211r9bn1l0ncxl3gp80000gn/T/fink-build-HOME.6iu7UTQ91k/.cache
 XDG_CONFIG_DIRS=/sw/etc/xdg 
XDG_CONFIG_HOME=/var/folders/43/h_w0v_211r9bn1l0ncxl3gp80000gn/T/fink-build-HOME.6iu7UTQ91k/.config
 XDG_DATA_DIRS=/sw/share 
XDG_DATA_HOME=/var/folders/43/h_w0v_211r9bn1l0ncxl3gp80000gn/T/fink-build-HOME.6iu7UTQ91k/.local/share
 XDG_RUNTIME_DIR=/var/folders/43/h_w0v_211r9bn1l0ncxl3gp80000gn/C/ 
XML_CATALOG_FILES=/sw/etc/xml/catalog 
ac_cv_path_INTLTOOL_PERL=/usr/bin/perlconfigureparams: 
--prefix=/swcompilescript: echo Skipping compile stagenoperltests: 
[undefined]updatepod: [undefined]installscript:   #!/bin/bash -ev   
/sw/bin/python2.7 setup.py install 
--root=/sw/src/fink.build/root-pip-py27-7.0.3-1   for file in 
/sw/src/fink.build/root-pip-py27-7.0.3-1/sw/bin/pip 
/sw/src/fink.build/root-pip-py27-7.0.3-1/sw/bin/pip[23]; do     mv $file 
${file}-py2.7   donedocfiles: AUTHORS.txt LICENSE.txt docssplitoffs: 
postinstscript:   update-alternatives --verbose --install /sw/bin/pip pip 
/sw/bin/pip-py2.7 27prermscript:  if [ $1 != "upgrade" ]; then    
update-alternatives --verbose --remove pip /sw/bin/pip-py2.7  else    echo 
"Skipping update-alternatives during an upgrage."  fihomepage: 
http://pypi.python.org/pypi/pipdescdetail: pip is a tool for installing and 
managing Python packages, such as those found in the Python Package Index. It's 
a replacement for easy_install. . Do not use pip to install on top of your fink 
tree.  That is a  bad bad bad idea.  Use --target with install to install 
packages to the side someplace.  Or better yet, use virtualenv.





     On Monday, June 8, 2015 4:29 PM, Alexander Hansen 
<alexanderk.han...@gmail.com> wrote:
   

 
> On Jun 6, 2015, at 11:42, Alexander Hansen <alexanderk.han...@gmail.com> 
> wrote:
> 
> Changing the subject to something less vague.
> 
> We prefer that bug reports only involve one package at a time, so that people 
> can more easily search for their issue in the mailing list archives.
> 
>> On Jun 3, 2015, at 23:44, Radek Szklarczyk <kedar...@yahoo.com> wrote:
>> 
>> Dear Fink-users,
>> Recently I observe a number of "mv" command errors when trying to update 
>> fink packages. That happens for pip-py27, virtualenv-py27 and a few other 
>> packages. Please advise!
>> Greetings,
>> Radek 
>> 
>> $ fink update pip-py27
>> Information about 11265 packages read in 1 seconds.
>> The following package will be installed or updated:
>> pip-py27
>> Setting runtime build-lock...
>> dpkg-deb -b /sw/src/fink.build/root-fink-buildlock-pip-py27-7.0.0-1 
>> /sw/src/fink.build
>> dpkg-deb: building package `fink-buildlock-pip-py27-7.0.0-1' in 
>> `/sw/src/fink.build/fink-buildlock-pip-py27-7.0.0-1_2015.06.04-08.35.58_darwin-x86_64.deb'.
>> Installing build-lock package...
>> /sw/bin/dpkg-lockwait -i 
>> /sw/src/fink.build/fink-buildlock-pip-py27-7.0.0-1_2015.06.04-08.35.58_darwin-x86_64.deb
>> Selecting previously deselected package fink-buildlock-pip-py27-7.0.0-1.
>> (Reading database ... 254258 files and directories currently installed.)
>> Unpacking fink-buildlock-pip-py27-7.0.0-1 (from 
>> .../fink-buildlock-pip-py27-7.0.0-1_2015.06.04-08.35.58_darwin-x86_64.deb) 
>> ...
>> Setting up fink-buildlock-pip-py27-7.0.0-1 (2015.06.04-08.35.58) ...
>> 
>> sudo -u fink-bld [ENV] sh -c /tmp/fink.aGOqz
>> env LANG=C LC_ALL=C /sw/bin/tar  --no-same-owner --no-same-permissions -xvf 
>> /sw/src/pip-7.0.0.tar.gz
>> pip-7.0.0/
>> pip-7.0.0/AUTHORS.txt
>> pip-7.0.0/CHANGES.txt
>> pip-7.0.0/docs/
>> [...]
>> pip-7.0.0/setup.py
>> sudo -u fink-bld [ENV] sh -c /tmp/fink.SXHC7
>> echo Skipping compile stage
>> Skipping compile stage
>> /bin/rm -rf /sw/src/fink.build/root-pip-py27-7.0.0-1
>> /bin/mkdir -p /sw/src/fink.build/root-pip-py27-7.0.0-1/sw
>> /bin/mkdir -p /sw/src/fink.build/root-pip-py27-7.0.0-1/DEBIAN
>> /usr/sbin/chown -R fink-bld:fink-bld /sw/src/fink.build/root-pip-py27-7.0.0-1
>> sudo -u fink-bld [ENV] sh -c /tmp/fink.JmV2A
>> /tmp/fink.8M6Wc
>> #!/bin/bash -ev
>>  /sw/bin/python2.7 setup.py install 
>>--root=/sw/src/fink.build/root-pip-py27-7.0.0-1
>> /sw/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution 
>> option: 'entry_points'
>>  warnings.warn(msg)
>> /sw/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution 
>> option: 'extras_require'
>>  warnings.warn(msg)
>> /sw/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution 
>> option: 'zip_safe'
>>  warnings.warn(msg)
>> /sw/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution 
>> option: 'tests_require'
>>  warnings.warn(msg)
>> running install
>> running build
>> running build_py
>> creating build
>> creating build/lib
>> creating build/lib/pip
>> copying pip/__init__.py -> build/lib/pip
>> copying pip/__main__.py -> build/lib/pip
>> copying pip/basecommand.py -> build/lib/pip
>> copying pip/baseparser.py -> build/lib/pip
>> […]
>> /sw/src/fink.build/root-pip-py27-7.0.0-1/sw/lib/python2.7/site-packages/pip/vcs/subversion.py
>>  to subversion.pyc
>> byte-compiling 
>> /sw/src/fink.build/root-pip-py27-7.0.0-1/sw/lib/python2.7/site-packages/pip/wheel.py
>>  to wheel.pyc
>> running install_egg_info
>> Writing 
>> /sw/src/fink.build/root-pip-py27-7.0.0-1/sw/lib/python2.7/site-packages/pip-7.0.0-py2.7.egg-info
>>  for file in /sw/src/fink.build/root-pip-py27-7.0.0-1/sw/bin/pip 
>>/sw/src/fink.build/root-pip-py27-7.0.0-1/sw/bin/pip[23]; do
>>    mv $file ${file}-py2.7
>>  done
>> mv: rename /sw/src/fink.build/root-pip-py27-7.0.0-1/sw/bin/pip to 
>> /sw/src/fink.build/root-pip-py27-7.0.0-1/sw/bin/pip-py2.7: No such file or 
>> directory
>> ### execution of /tmp/fink.8M6Wc failed, exit code 1
>> ### execution of /tmp/fink.JmV2A failed, exit code 1
>> Removing runtime build-lock...
>> Removing build-lock package...
>> /sw/bin/dpkg-lockwait -r fink-buildlock-pip-py27-7.0.0-1
>> (Reading database ... 254259 files and directories currently installed.)
>> Removing fink-buildlock-pip-py27-7.0.0-1 ...
>> Failed: phase installing: pip-py27-7.0.0-1 failed
>> 
>> Before reporting any errors, please run "fink selfupdate" and try again.
>> 
>> If you continue to have issues, please check to see if the FAQ on Fink's 
>> website solves the problem.  If not, ask on one (not both, please) of
>> these mailing lists:
>> 
>>     The Fink Users List <fink-users@lists.sourceforge.net>
>>     The Fink Beginners List <fink-beginn...@lists.sourceforge.net>,
>> 
>> with a carbon copy to the maintainer:
>> 
>>     Kurt Schwehr <goat...@users.sourceforge.net>
>> 
>> Note that this is preferable to emailing just the maintainer directly,
>> since most fink package maintainers do not have access to all possible
>> hardware and software configurations.
>> 
>> Please try to include the complete error message in your report.  This
>> generally consists of a compiler line starting with e.g. "gcc" or "g++"
>> followed by the actual error output from the compiler.
>> 
>> Also include the following system information:
>> Package manager version: 0.38.5
>> Distribution version: selfupdate-rsync Thu Jun  4 08:35:28 2015, 10.10, 
>> x86_64
>> Trees: local/main stable/main local/injected
>> Xcode.app: 6.3.2
>> Xcode command-line tools: 6.3.2.0.1.1431401888
>> Max. Fink build jobs:  1
>> 
>> ——————————————————————————————————————————————
>> 
> 
> <snip>  No useful information in the second one.
> 
> “No such file or directory” are a generic class of errors which indicate that 
> something failed to build but the build process didn’t stop.  
> 
> I don’t reproduce this error on my system (10.10/Xcode 6.3).  What do you get 
> from “/sw/bin/python -V” ?
> 
> -- 
> Alexander Hansen, Ph.D.
> Fink User Liaison
> 

The reply got lost in the moderation queue by accident—I was doing the list 
moderation too early in the morning.  I’ll paste the most relevant items from 
Radek’s reply here:

Thanks for looking into it!

# /sw/bin/python -V
Python 2.7.10

I attach the output again, because the previous was not readable. Do you also 
have warnings

#!/bin/bash -ev
  /sw/bin/python2.7 setup.py install 
--root=/sw/src/fink.build/root-pip-py27-7.0.3-1
/sw/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution 
option: 'entry_points'
  warnings.warn(msg)

In the middle of installation?

Greetings,
Radek 


I don’t see those messages in my build.  This might be one of the rare cases 
where something which is listed as a warning actually indicates a fatal problem.

Let’s check the environment that the build is using.  What do you get from 
“fink dumpinfo -ePYTHONPATH pip-py27”?




   

  
------------------------------------------------------------------------------
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to