Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 315797 - x11-libs/openmotif-2.3.3 emerge stops with "(.text+0x18): undefined reference to `main'"
Summary: x11-libs/openmotif-2.3.3 emerge stops with "(.text+0x18): undefined reference...
Status: RESOLVED DUPLICATE of bug 222415
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Ulrich Müller
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-17 21:39 UTC by Otto A. Schell
Modified: 2010-04-20 07:01 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 Otto A. Schell 2010-04-17 21:39:54 UTC
Emerging x11-libs/openmotif-2.3.3 stops with 

libtool: link: i686-pc-linux-gnu-gcc -g -O2 -Wall -g -fno-strict-aliasing -Wno-unused -Wno-comment -fno-tree-ter -I/usr/include/freetype2 -o wmluiltok wmluiltok.o  /usr/lib/libXp.so -L/usr/lib /usr/lib/libXext.so -ldl /usr/lib/libXft.so /usr/lib/libXrender.so /usr/lib/libfontconfig.so /usr/lib/libexpat.so /usr/lib/libfreetype.so /usr/lib/libX11.so /usr/lib/libxcb.so /usr/lib/libXau.so /usr/lib/libXdmcp.so /usr/lib/libjpeg.so -lpthread /usr/lib/libpng12.so -lz -lm -pthread
/usr/lib/gcc/i686-pc-linux-gnu/4.4.3/../../../crt1.o: In function `_start':
(.text+0x18): undefined reference to `main'
collect2: ld returned 1 exit status
make[2]: *** [wmluiltok] Error 1


Reproducible: Always

Steps to Reproduce:
1.emerge x11-libs/openmotif -av
2.<Enter>


Actual Results:  
1.These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] x11-libs/openmotif-2.3.3 [2.3.2] USE="jpeg png unicode xft -doc -examples" 0 kB

Total: 1 package (1 upgrade), Size of downloads: 0 kB

Would you like to merge these packages? [Yes/No] 
2.>>> Failed to emerge x11-libs/openmotif-2.3.3, Log file:

>>>  '/var/tmp/portage/x11-libs/openmotif-2.3.3/temp/build.log'

 * Messages for package x11-libs/openmotif-2.3.3:

 * ERROR: x11-libs/openmotif-2.3.3 failed:
 *   emake failed
 * 
 * Call stack:
 *     ebuild.sh, line  54:  Called src_compile
 *   environment, line 3211:  Called die
 * The specific snippet of code:
 *       emake -j1 MWMRCDIR="${EPREFIX}"/etc/X11/mwm || die "emake failed"
 * 
 * If you need support, post the output of 'emerge --info =x11-libs/openmotif-2.3.3',
 * the complete build log and the output of 'emerge -pqv =x11-libs/openmotif-2.3.3'.
 * The complete build log is located at '/var/tmp/portage/x11-libs/openmotif-2.3.3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-libs/openmotif-2.3.3/temp/environment'.
 * S: '/var/tmp/portage/x11-libs/openmotif-2.3.3/work/openmotif-2.3.3'


Expected Results:  
Should be installed
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2010-04-19 23:15:43 UTC
Please attach the output of emerge --info and the full build log!
Comment 2 Ulrich Müller gentoo-dev 2010-04-20 07:01:47 UTC
This looks like a dupe of bug 222415.

Please reopen if I am wrong, i.e. if you have a /usr/lib*/libfl.a in your system.


*** This bug has been marked as a duplicate of bug 222415 ***