Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 202318 - net-mail/ezmlm-idx-6.0.0: missing symbol "FATAL" in /usr/lib/ezmlm/sub-std.so
Summary: net-mail/ezmlm-idx-6.0.0: missing symbol "FATAL" in /usr/lib/ezmlm/sub-std.so
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: PPC Linux
: High critical (vote)
Assignee: Qmail Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on: 251383
Blocks:
  Show dependency tree
 
Reported: 2007-12-14 20:20 UTC by Adrian Perez
Modified: 2009-01-02 10:35 UTC (History)
1 user (show)

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


Attachments
Makes linker export symbols in binaries (ezmlm-idx-ppc-linkage.patch,434 bytes, patch)
2007-12-14 20:23 UTC, Adrian Perez
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Adrian Perez 2007-12-14 20:20:40 UTC
Using some tools from the ezmlm-idx package will say that /usr/lib/ezmlm/sub-std.so has an undefined symbol named "FATAL". This does happen under ppc but not under amd64, so I believe this is a ppc-only issue.

Inspection with "nm" on am64 shows up the following:

  $ nm -D /usr/lib/ezmlm/sub-std.so | grep FATAL
                   U FATAL
  $ nm -D /usr/bin/ezmlm-list | grep FATAL
  0000000000405dd0 R FATAL

The same on ppc:

  $ nm -D /usr/lib/ezmlm/sub-std.so | grep FATAL
                   U FATAL  
  $ nm -D /usr/bin/ezmlm-list | grep FATAL
  (no output)

So it looked like the ppc linker is not exporting symbols from the executables when building ezmlm-idx, so I tested adding "-Wl,-E" to the flags used by the linker and it worked (see attached patch for the ebuild).

Also, for the sake of completeness, I believe net-mail/ezmlm-idx should block net-mail/ezmlm in its dependencies. If you install both binaries with same names would collide.

Reproducible: Always

Steps to Reproduce:
1. sudo emerge ezmlm-idx
2. ezmlm-make ~/test ~/.qmail-test test localhost
3. ezmlm-list ~/test/subscribers

Actual Results:  
ezmlm-list: fatal: Could not load plugin /usr/lib/ezmlm/sub-std.so: /usr/lib/ezmlm/sub-std.so: undefined symbol: FATAL


Expected Results:  
Tool should work without error and show mailing list subscribers.
Comment 1 Adrian Perez 2007-12-14 20:23:15 UTC
Created attachment 138501 [details, diff]
Makes linker export symbols in binaries
Comment 2 Benedikt Böhm (RETIRED) gentoo-dev 2009-01-02 10:35:22 UTC
fixed in 7.0.0, please test