
If you receive fatal errors during compilation resembling:
Code: Select all
../src/physfs/physfsrwops.c:161:19: error: ‘SDL_RWops’ has no member named ‘size’
Code: Select all
emerge -av libsdl:2 sdl-image:2 sdl-ttf:2 tome4
Moderator: Moderator
Code: Select all
../src/physfs/physfsrwops.c:161:19: error: ‘SDL_RWops’ has no member named ‘size’
Code: Select all
emerge -av libsdl:2 sdl-image:2 sdl-ttf:2 tome4
Hey leycec: I'm getting this exact same error while trying to compile b43 for OS X currently. How did you fix this problem?leycec wrote:Bump. Overlay raiagent now supports the recently released and much anticipated beta 43. Go grab some fun!![]()
If you receive fatal errors during compilation resembling:Just update SDL2 and cohorts, and try again:Code: Select all
../src/physfs/physfsrwops.c:161:19: error: ‘SDL_RWops’ has no member named ‘size’
Code: Select all
emerge -av libsdl:2 sdl-image:2 sdl-ttf:2 tome4
Code: Select all
emerge libsdl:2 sdl-image:2 sdl-ttf:2 tome4
Code: Select all
layman -a gamerlay
layman -S
emerge -C libsdl:2
emerge libsdl:2 sdl-image:2 sdl-ttf:2 tome4
The developer has been busy working on other bugs, as far as I know.hasufell wrote:It seems the Tome4 developer has no interest in fixing any of those bugs.
Code: Select all
Building configurations...
Running action 'gmake'...
Generating Makefile...
Generating build/TEngine.make...
Generating build/physfs.make...
Generating build/luadefault.make...
Generating build/luasocket.make...
Generating build/fov.make...
Generating build/lpeg.make...
Generating build/luaprofiler.make...
Generating build/tcodimport.make...
Generating build/expatstatic.make...
Generating build/lxp.make...
Generating build/luamd5.make...
Generating build/luazlib.make...
Generating build/luabitop.make...
Generating build/te4-bzip.make...
Done.
sed: can't read build/buildvm.make: No such file or directory
sed: can't read build/minilua.make: No such file or directory
* ERROR: games-roguelike/tome4-1.0.4::hasufell failed (configure phase):
* premake sucks
*
* Call stack:
* ebuild.sh, line 93: Called src_configure
* environment, line 2673: Called die
* The specific snippet of code:
* sed -i -e 's~^[ ]*LINKCMD.*$~LINKCMD = $(CC) $(CFLAGS) -o $(TARGET) $(OBJECTS) $(RESOURCES) $(LDFLAGS) $(LIBS)~' build/{buildvm,minilua,TEngine}.make || die "premake sucks"
*
I'm unable to reproduce that, please report here https://github.com/hasufell/hasufell-overlay/issues with "emerge --info" and _full_ build logGrahammm wrote:I have just tried building from hasufell's overlay but get the following errors.
Code: Select all
Building configurations... Running action 'gmake'... Generating Makefile... Generating build/TEngine.make... Generating build/physfs.make... Generating build/luadefault.make... Generating build/luasocket.make... Generating build/fov.make... Generating build/lpeg.make... Generating build/luaprofiler.make... Generating build/tcodimport.make... Generating build/expatstatic.make... Generating build/lxp.make... Generating build/luamd5.make... Generating build/luazlib.make... Generating build/luabitop.make... Generating build/te4-bzip.make... Done. sed: can't read build/buildvm.make: No such file or directory sed: can't read build/minilua.make: No such file or directory * ERROR: games-roguelike/tome4-1.0.4::hasufell failed (configure phase): * premake sucks * * Call stack: * ebuild.sh, line 93: Called src_configure * environment, line 2673: Called die * The specific snippet of code: * sed -i -e 's~^[ ]*LINKCMD.*$~LINKCMD = $(CC) $(CFLAGS) -o $(TARGET) $(OBJECTS) $(RESOURCES) $(LDFLAGS) $(LIBS)~' build/{buildvm,minilua,TEngine}.make || die "premake sucks" *
Depending on how it will be implemented it may improve workflow (or not...). In the end... it will not be hosted on github or anything like that, so you still end up doing the manual thing which is not that much different from attaching an ebuild to a bug report.leycec wrote:I have no good solution. I don't think anyone does. Portage's eventual migration to git should smooth over a few of these differences. But is a mere technology upgrade enough? We might want to contemplate a community "upgrade" as well.
gamerlay has caused us devs a lot of trouble, because people do not ask us about what to do and end up hacking system libraries without knowing what it can cause for other users.leycec wrote:I authored the original libsdl:2, sdl-image:2, and sdl-ttf:2 ebuilds later adopted by gamerlay, so I'm fairly close to the source of the issue. No one contacted me at any step in the process. (That would have been nice.) While I'm content with the eventual resolution, the contention it caused could probably have been averted at an earlier stage of the development cycle. But again: no one's to blame. A difference in values between official and unofficial developers invariably stymies communication.![]()