First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 188930
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Mamoru KOMACHI (RETIRED) <usata@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Christoph Mende <angelos@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
zsh-freebsd.patch Append -rdynamic to EXTRA_LDFLAGS patch Roy Marples (RETIRED) 2007-08-15 16:07 0000 448 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 188930 depends on: Show dependency tree
Show dependency graph
Bug 188930 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-08-14 23:59 0000
ojbdump -p /bin/zsh|grep NEEDED and ldd /bin/zsh claim that zsh was linked
against libzsh-4.3.4.so on FreeBSD, that file does not exist though, so when
trying to execute zsh it cries:
/libexec/ld-elf.so.1: Shared object "libzsh-4.3.4.so" not found, required by
"zsh"
this does not happen on linux (libzsh-4.3.4.so doesn't exist either, but zsh is
not linked against it)

------- Comment #1 From Roy Marples (RETIRED) 2007-08-15 14:31:41 0000 -------
This only happens with USE=pcre

------- Comment #2 From Roy Marples (RETIRED) 2007-08-15 15:26:39 0000 -------
The configure in zsh has been stripped of the [ and ] symbols

For example, in configure.ac we have this

case foo
  *-freebsd[3-9]*) ;;
esac

But autotools has changed this to

case foo
  *-freebsd3-9*) ;;
esac

So something here is baaadly broken :/

------- Comment #3 From Roy Marples (RETIRED) 2007-08-15 15:28:21 0000 -------
CC'ing toolchain to see if they have a clue

------- Comment #4 From Roy Marples (RETIRED) 2007-08-15 16:07:45 0000 -------
Created an attachment (id=128188) [edit]
Append -rdynamic to EXTRA_LDFLAGS

Until toolchain or autotools or zsh upstream fixes, here's a patch to the
ebuild to get around this issue.

------- Comment #5 From SpanKY 2007-08-16 05:24:04 0000 -------
ugh, no, please dont put that kind of stuff in the ebuild

what you reported is correct -- that is how the m4 language works

if you want to use [], you either need to use changequote, or cheat and double
up the [] quoting

case foo
  *-freebsd[[3-9]]*) ;;
esac

------- Comment #6 From Roy Marples (RETIRED) 2007-08-16 09:53:38 0000 -------
OK, I've added a fix to the tree and I'll send it upstream.

usata, I've also changed the ebuild a touch as ncurses isn't optional.

First Last Prev Next    No search results available      Search page      Enter new bug