Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 56989 - new version of games-server/halflife-metamod exists and need fix with USE="src"
Summary: new version of games-server/halflife-metamod exists and need fix with USE="src"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Gentoo Games
URL: http://metamod.org/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-14 00:44 UTC by Sergiy Borodych
Modified: 2004-08-31 15:12 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 Sergiy Borodych 2004-07-14 00:44:36 UTC
I make ebuild for v1.17.1 and it work for me
http://bor.org.ua/projects/portage/games-server/halflife-metamod/
some changes:
  now 2 tarbols in SRC_URI
  simple config file protect
  fix doc list to install

Also need fix emerge halflife-metamod with USE="src"
similar error for new(1.17.1) and old(1.17-r1) ebuilds

root@counter-strike portage # USE="src" emerge -v halflife-metamod
Calculating dependencies ...done!
>>> emerge (1 of 1) games-server/halflife-metamod-1.17.1 to /
>>> md5 src_uri ;-) metamod-1.17.1-linux.tar.gz
>>> md5 src_uri ;-) metamod-1.17.1.tar.gz
>>> Unpacking source...
>>> Unpacking metamod-1.17.1-linux.tar.gz to /var/tmp/portage/halflife-metamod-1.17.1/work
>>> Unpacking metamod-1.17.1.tar.gz to /var/tmp/portage/halflife-metamod-1.17.1/work
src
>>> Source unpacked.
src
for i in metamod stub_plugin trace_plugin wdmisc_plugin; do \
        make -C $i opt || exit; \
done
Building linkgame.cpp
make[1]: Entering directory `/var/tmp/portage/halflife-metamod-1.17.1/work/metamod-1.17.1/metamod'
Makefile:475: Rules.depend: No such file or directory
gcc -MM -I. -I../metamod -I/usr/games/lib/hlsdk/multiplayer/engine -I/usr/games/lib/hlsdk/multiplayer/common -I/usr/games/lib/hlsdk/multiplayer/pm_shared -I/usr/games/lib/hlsdk/multiplayer/dlls -I/usr/games/lib/hlsdk/multiplayer linkgame.cpp vdate.cpp metamod.cpp mplugin.cpp mutil.cpp sdk_util.cpp commands_meta.cpp engine_api.cpp game_support.cpp conf_meta.cpp linkent.cpp studioapi.cpp thread_logparse.cpp mhook.cpp mqueue.cpp support_meta.cpp linkplug.cpp reg_support.cpp mlist.cpp osdep.cpp log_meta.cpp mreg.cpp h_export.cpp dllapi.cpp api_info.cpp | sed "s;\(^[^       ]*\):\(.*\);debug.linux.steam/\1 debug.win32.steam/\1: \2;" > Rules.depend
make[1]: Leaving directory `/var/tmp/portage/halflife-metamod-1.17.1/work/metamod-1.17.1/metamod'
make[1]: Entering directory `/var/tmp/portage/halflife-metamod-1.17.1/work/metamod-1.17.1/metamod'
make default OPT=opt
make[2]: Entering directory `/var/tmp/portage/halflife-metamod-1.17.1/work/metamod-1.17.1/metamod'
mkdir -p msgs
egrep "DEBUG\([0-9]" linkgame.cpp vdate.cpp metamod.cpp mplugin.cpp mutil.cpp sdk_util.cpp commands_meta.cpp engine_api.cpp game_support.cpp conf_meta.cpp linkent.cpp studioapi.cpp thread_logparse.cpp mhook.cpp mqueue.cpp support_meta.cpp linkplug.cpp reg_support.cpp mlist.cpp osdep.cpp log_meta.cpp mreg.cpp h_export.cpp dllapi.cpp api_info.cpp *.h | sed "s/:[      ]*//" | sort -k2,2 > msgs/debug
egrep "META_LOG\(" linkgame.cpp vdate.cpp metamod.cpp mplugin.cpp mutil.cpp sdk_util.cpp commands_meta.cpp engine_api.cpp game_support.cpp conf_meta.cpp linkent.cpp studioapi.cpp thread_logparse.cpp mhook.cpp mqueue.cpp support_meta.cpp linkplug.cpp reg_support.cpp mlist.cpp osdep.cpp log_meta.cpp mreg.cpp h_export.cpp dllapi.cpp api_info.cpp *.h | sed "s/:[        ]*//" | sort > msgs/log
egrep "META_ERROR\(" linkgame.cpp vdate.cpp metamod.cpp mplugin.cpp mutil.cpp sdk_util.cpp commands_meta.cpp engine_api.cpp game_support.cpp conf_meta.cpp linkent.cpp studioapi.cpp thread_logparse.cpp mhook.cpp mqueue.cpp support_meta.cpp linkplug.cpp reg_support.cpp mlist.cpp osdep.cpp log_meta.cpp mreg.cpp h_export.cpp dllapi.cpp api_info.cpp *.h | sed "s/:[      ]*//" | sort > msgs/error
mkdir -p opt.linux.steam
gcc -march=i586 -O2 -pipe -march=pentium4 -mcpu=pentium4 -ffast-math -fomit-frame-pointer -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -falign-loops=2 -falign-jumps=2 -falign-functions=2 -fno-exceptions -fno-rtti -s -Wall -Wno-unknown-pragmas  -DOPT_TYPE=\"optimized\"  -fPIC -I. -I../metamod -I/usr/games/lib/hlsdk/multiplayer/engine -I/usr/games/lib/hlsdk/multiplayer/common -I/usr/games/lib/hlsdk/multiplayer/pm_shared -I/usr/games/lib/hlsdk/multiplayer/dlls -I/usr/games/lib/hlsdk/multiplayer -o opt.linux.steam/linkgame.o -c linkgame.cpp
In file included from meta_api.h:41,
                 from metamod.h:40,
                 from linkent.h:43,
                 from linkgame.cpp:39:
engine_api.h:40:23: archtypes.h: No such file or directory
In file included from meta_api.h:41,
                 from metamod.h:40,
                 from linkent.h:43,
                 from linkgame.cpp:39:
engine_api.h:139: error: type specifier omitted for parameter `int32'
engine_api.h:139: error: parse error before `)' token
engine_api.h:164: error: syntax error before `(' token
engine_api.h:165: error: `uint32' was not declared in this scope
engine_api.h:165: error: parse error before `)' token
engine_api.h:185: error: syntax error before `(' token
engine_api.h:261: error: syntax error before `*' token
engine_api.h:262: error: syntax error before `*' token
engine_api.h:343: error: type specifier omitted for parameter `int32'
engine_api.h:343: error: parse error before `)' token
engine_api.h:363: error: `FN_FUNCTIONFROMNAME' was not declared in this scope
engine_api.h:363: error: ISO C++ forbids declaration of `uint32' with no type
engine_api.h:363: error: typedef `uint32' is initialized (use __typeof__
   instead)
engine_api.h:379: error: `FN_RANDOMLONG' was not declared in this scope
engine_api.h:379: error: `int32' was not declared in this scope
engine_api.h:379: error: parse error before `,' token
engine_api.h:379: error: ISO C++ forbids declaration of `int32' with no type
engine_api.h:379: error: typedef `int32' is initialized (use __typeof__
   instead)
engine_api.h:437: error: syntax error before `*' token
engine_api.h:438: error: syntax error before `*' token
make[2]: *** [opt.linux.steam/linkgame.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/halflife-metamod-1.17.1/work/metamod-1.17.1/metamod'
make[1]: *** [opt] Error 2
make[1]: Leaving directory `/var/tmp/portage/halflife-metamod-1.17.1/work/metamod-1.17.1/metamod'
make: *** [opt] Error 2

!!! ERROR: games-server/halflife-metamod-1.17.1 failed.
!!! Function src_compile, Line 43, Exitcode 2
!!! (no error message)
Comment 1 SpanKY gentoo-dev 2004-08-31 15:12:21 UTC
USE=src isnt really supported ... if you have a patch, i'll add it, otherwise i wont bother

version bumped in portage to 1.17.2
Comment 2 SpanKY gentoo-dev 2004-08-31 15:12:37 UTC
oh, and file a new bug in case you do provide a patch or something