Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 508298 - app-text/xdvik-22.87
Summary: app-text/xdvik-22.87
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: CJK Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-21 07:20 UTC by Martin Väth
Modified: 2014-04-24 08:33 UTC (History)
2 users (show)

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 Martin Väth 2014-04-21 07:20:24 UTC
The new version fixes a bug which crashed the application in some cases
(I can provide details if required, but since finally a new version is out which fixes it, I suppose that this is not necessary anymore.)

BTW: I can confirm that changing the ebuild to EAPI=5 works without changes.
And when you are at it: src_prepare() should perhaps contain a "local i" to avoid namespace pollution.
Comment 1 Alex Xu (Hello71) 2014-04-21 23:18:43 UTC
/me grumbles about self-assigning bugs
Comment 2 Naohiro Aota gentoo-dev 2014-04-23 09:21:01 UTC
bumped. Thanks.
Comment 3 fiziksergei 2014-04-24 08:33:40 UTC
Error occurs during the compilation.

libtool: link: gcc -Wimplicit -Wreturn-type -Wdeclaration-after-statement -Wno-unknown-pragmas -march=native -O2 -pipe -mtune=native -mfpmath=sse -Wl,--hash-style=gnu -Wl,-O1 -Wl,--as-needed -o xdvi-bin main.o -Wl,--allow-multiple-definition  libxdvi.a -lkpathsea -lfreetype -lz -lbz2 -lpng16 -L/usr/lib64 -lXaw3d -lXmu -lXt -lSM -lICE -lXi -lXext -lXpm -lX11 -lm
libxdvi.a(events.o): In function `xi2_emulate_action':
events.c:(.text+0x31b9): undefined reference to `set_bar_value'
events.c:(.text+0x3325): undefined reference to `set_bar_value'
collect2: error: ld returned 1 exit status
Makefile:750: recipe for target 'xdvi-bin' failed
make[2]: *** [xdvi-bin] Error 1
make[2]: Leaving directory '/var/tmp/portage/app-text/xdvik-22.87/work/xdvik-22.87/texk/xdvik'
Makefile:984: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/app-text/xdvik-22.87/work/xdvik-22.87/texk/xdvik'
Makefile:572: recipe for target 'all' failed
make: *** [all] Error 2
 * ERROR: app-text/xdvik-22.87::gentoo failed (compile phase):
 *   emake failed

eix app-text/xdvik

[U] app-text/xdvik
     Available versions:  22.85-r1 (~)22.86 (~)22.87 {Xaw3d emacs motif neXt}
     Installed versions:  22.86(15:10:11 24.04.2014)(Xaw3d -emacs -motif -neXt)
     Homepage:            http://xdvi.sourceforge.net/
     Description:         DVI previewer for X Window System

I think error in event.h and event.c files.
Due to #ifdef MOTIF