Summary: | macos bash-2.05b-r9 compile errors | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Ben Powers <bennyp> |
Component: | Current packages | Assignee: | osx porters <osx> |
Status: | RESOLVED LATER | ||
Severity: | normal | CC: | pvdabeel |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | PPC | ||
OS: | Linux | ||
URL: | http://bennyp.thefreebizhost.com/basherrors | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | patched around dosym, added ~macos |
Description
Ben Powers
2004-08-24 00:55:31 UTC
i'm on an iBook G4 1Ghz btw, if that helps. The same thing happens with bash-2.05b-r5. dosym appears to not like parameters which contain dots (.) when executed on osx. I'll attach a patch to fix the ebuild but someone familiar with/working on portage should have a look at fixing dosym. sorry, that should read bash-3.0-r5. Created attachment 39086 [details, diff]
patched around dosym, added ~macos
dosym: #!/bin/bash # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /home/cvsroot/gentoo-src/portage/bin/dosym,v 1.6 2003/02/22 16:59:08 carpaski Exp $ if [ ${#} -ne 2 ] ; then echo "${0}: two arguments needed" exit 1 fi target="${1}" linkname="${2}" ln -snf "${target}" "${D}${linkname}" ------------- The only thing I can imagine is that MacOS doesn't understand ln -n Could you please try: ln -sfn $HOME/asdf.1.2 $HOME/sdfg.3.4 ls -ld $HOME/sdfg.3.4 rm -f $HOME/sdfg.3.4 and post those results. pathose@luna ~ $ ln -sfn $HOME/asdf.1.2 $HOME/sdfg.3.4 pathose@luna ~ $ ls -ld $HOME/sdfg.3.4 lrwxr-xr-x 1 pathose pathose 23 28 Sep 14:47 /Users/pathose/sdfg.3.4 -> /Users/pathose/asdf.1.2 pathose@luna ~ $ ls -ld $HOME/sdfg.3.4 ls: /Users/pathose/sdfg.3.4: No such file or directory Sorry, that last entry is the results of the directory listing after the rm has been issued. Also, from the ln man page: SYNOPSIS ln [-fhinsv] source_file [target_file] ln [-fhinsv] source_file ... target_dir link source_file target_file ... The options are as follows: ... -h If the target_file or target_dir is a symbolic link, do not follow it. This is most useful with the -f option, to replace a symlink which may point to a directory. ... -n Same as -h, for compatibility with other ln implementations. |