Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 529888 - sci-electronics/magic should be configured with --disable-modular
Summary: sci-electronics/magic should be configured with --disable-modular
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: The Soldering-Iron Brotherhood
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-19 17:01 UTC by Ioannis Galanommatis
Modified: 2015-07-17 14:53 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ioannis Galanommatis 2014-11-19 17:01:23 UTC
Hello,

The (~)7.5.231 and {M}(~)8.0.138 versions of sci-electronics/magic have the following in-program error: if the user executes the shell commands "ext2spice" or "exttosim", they get an "undefined symbol: extDevTable".

My environment is: tcl-8.5.15-r1, tk-8.5.15, magic-8.0.138, gcc-4.8.3 on a amd64 kvm guest.

The solution is to configure magic (at src_configure() function of the ebuild) with disable-modular instead of enable-modular. Stable ebuilds (<=7.5.202-r1) do not enable it, therefore they *might* be ok.

I found that fix, which worked for me, at http://opencircuitdesign.com/pipermail/magic-dev/2012.txt, where the project owner said:

> 2. More importantly, if I try an "exttosim" command from within
> magic, I get a hard error "couldn't load file
> "/usr/local/lib/magic/tcl/exttosim.so":
> /usr/local/lib/magic/tcl/exttosim.so: undefined symbol: extDevTable".

This one is a known issue with Ubuntu, or more likely having to do with
recent versions of gcc.  The fix is to recompile (do "make clean" first)
using the configuration option

	configure --disable-modular

That will make the error go away.
Comment 1 Thomas Beierlein gentoo-dev 2015-07-17 14:53:02 UTC
Thanks for pointing that out. It is fixed in the actual 8.0.207 version.

+*magic-8.0.207 (17 Jul 2015)
+
+  17 Jul 2015; Thomas Beierlein <tomjbe@gentoo.org> +magic-8.0.207.ebuild:
+  Bump to latest stable version. Fix --diable-modular problem (Bug #529888)
+