Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 47984 - d4x-2.5.0_rc2 fails to build on ~x86 or ~sparc
Summary: d4x-2.5.0_rc2 fails to build on ~x86 or ~sparc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal
Assignee: Alastair Tse (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-15 16:46 UTC by Jason Wever (RETIRED)
Modified: 2004-06-17 17:38 UTC (History)
1 user (show)

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


Attachments
The latest d4x ebuild (d4x-2.5.0_rc3.ebuild,1.88 KB, application/octet-stream)
2004-04-29 11:22 UTC, Konida Toriyama
Details
The latest d4x ebuild patch (d4x-gtk-2.4.0.patch,979 bytes, patch)
2004-04-29 11:22 UTC, Konida Toriyama
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Wever (RETIRED) gentoo-dev 2004-04-15 16:46:14 UTC
d4x-2.5.0_rc2 fails on ~x86 and ~sparc while building with the following;

if g++ -DHAVE_CONFIG_H -I. -I. -I../..   -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -include ../../config.h  -mcpu=ultrasparc -mtune=ultrasparc -O2 -pipe   -MT about.o -MD -MP -MF ".deps/about.Tpo" \
  -c -o about.o `test -f 'about.cc' || echo './'`about.cc; \
then mv -f ".deps/about.Tpo" ".deps/about.Po"; \
else rm -f ".deps/about.Tpo"; exit 1; \
fi
about.cc: In function `void init_about_window(...)':
about.cc:220: error: `gtk_timeout_add' undeclared (first use this function)
about.cc:220: error: (Each undeclared identifier is reported only once for each
   function it appears in.)
make[3]: *** [about.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/d4x-2.5.0_rc2/work/d4x-2.5.0rc2/main/face'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/d4x-2.5.0_rc2/work/d4x-2.5.0rc2/main'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/d4x-2.5.0_rc2/work/d4x-2.5.0rc2'
make: *** [all] Error 2
 
!!! ERROR: net-misc/d4x-2.5.0_rc2 failed.
!!! Function src_compile, Line 57, Exitcode 2
!!! (no error message)

From what I can tell, this is not useflag related.
Comment 1 Heinrich Wendel (RETIRED) gentoo-dev 2004-04-28 12:34:57 UTC
i think it has to do with gtk+-2.4 which is stable now
Comment 2 Alastair Tse (RETIRED) gentoo-dev 2004-04-29 08:35:42 UTC
patch applied to 2.5.0_rc2. can sparc go and mark 2.5.0_rc2 for ~sparc?
Comment 3 Konida Toriyama 2004-04-29 11:15:34 UTC
Solution for me atleast:
1. Download d4x 2.5.0-rc3 from http://www.krasu.ru/soft/chuchelo/files/d4x-2.5.0rc3.tar.gz and copy it /usr/portage/distfiles
2. Get the ebuild and put it in an overlay directory (/usr/local/portage seems to be the default in /etc/make.conf. Put this ebuild in a folder /usr/local/portage/net-misc/d4x)
3. Get the patch and place in the file section of where the ebuild is (/usr/local/portage/net-misc/d4x/files)
4. ACCEPT_KEYWORDS=~x86 emerge d4x
5. Wait
Comment 4 Konida Toriyama 2004-04-29 11:22:00 UTC
Created attachment 30332 [details]
The latest d4x ebuild
Comment 5 Konida Toriyama 2004-04-29 11:22:32 UTC
Created attachment 30333 [details, diff]
The latest d4x ebuild patch
Comment 6 Alastair Tse (RETIRED) gentoo-dev 2004-06-17 17:38:40 UTC
_rc4 in portage, should solve this bug