Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 413901 - =games-strategy/lgeneral-1.2.3 fails to install with missing gfx/ subdirectories
Summary: =games-strategy/lgeneral-1.2.3 fails to install with missing gfx/ subdirectories
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: AMD64 Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-28 20:56 UTC by Volker Hemmann
Modified: 2012-09-03 10:05 UTC (History)
1 user (show)

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


Attachments
emerge -vp lgeneral (out,207 bytes, text/plain)
2012-04-30 03:31 UTC, hind
Details
emerge -v lgeneral &> /tmp/out (out,130.86 KB, text/plain)
2012-04-30 18:03 UTC, hind
Details
output of lgeneral -v (out,155.60 KB, text/plain)
2012-04-30 19:13 UTC, Volker Hemmann
Details
Workaround for missing subdirs of gfx/ (lgeneral-1.2.3.ebuild.patch,436 bytes, patch)
2012-05-17 16:27 UTC, Samuli Suominen (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Volker Hemmann 2012-04-28 20:56:28 UTC
lgeneral compiles fine but fails when generating data:

Converting:
Nation database...
Nation flag graphics...
/var/tmp/portage/games-strategy/lgeneral-1.2.3/image///usr/share/games/lgeneral/gfx/flags/pg.bmp: Couldn't open /var/tmp/portage/games-strategy/lgeneral-1.2.3/image///usr/share/games/lgeneral/gfx/flags/pg.bmp
 * ERROR: games-strategy/lgeneral-1.2.3 failed (install phase):
 *   Failed to generate scenario data
 * 
 * Call stack:
 *     ebuild.sh, line  85:  Called src_install
 *   environment, line 2824:  Called die
 * The specific snippet of code:
 *       SDL_VIDEODRIVER=dummy "${WORKDIR}"/tmp-build/lgc-pg/lgc-pg -s "${WORKDIR}"/pg-data -d "${D}/${GAMES_DATADIR}"/${PN} || die "Failed to generate scenario data";
 
emerge --info "=games-strategy/lgeneral-1.2.3"
WARNING: One or more repositories have missing repo_name entries:

        /usr/local/portage/ati-testing/profiles/repo_name
        /usr/local/portage/profiles/repo_name

NOTE: Each repo_name entry should be a plain text file containing a
unique name for the repository on the first line.


Portage 2.2.0_alpha100 (default/linux/amd64/10.0/desktop, gcc-4.5.3, glibc-2.14.1-r3, 3.0.30 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.0.30-x86_64-AMD_Phenom-tm-_II_X4_955_Processor-with-gentoo-2.1
Timestamp of tree: Sat, 28 Apr 2012 13:00:01 +0000
app-shells/bash:          4.2_p24-r1
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.6.7-r2, 2.7.3, 3.1.4-r3, 3.2.2-r1
dev-util/cmake:           2.8.7-r5
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.9.3
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.5
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.7
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.3 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r3
Repositories: gentoo x11 xarthisius c1pher kde x-portage x-ati-testing
Installed sets: @kde-4.8
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=amdfam10 -mtune=amdfam10 -O2 -msse3 -msse4a -msahf -fpredictive-commoning -mfpmath=sse -mcx16 -mpopcnt -mabm --param l1-cache-size=64 --param l1-cache-line-size=64 --param l2-cache-size=512 -ftracer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/games/angband/edit/ /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=amdfam10 -mtune=amdfam10 -O2 -msse3 -msse4a -msahf -fpredictive-commoning -mfpmath=sse -mcx16 -mpopcnt -mabm --param l1-cache-size=64 --param l1-cache-line-size=64 --param l2-cache-size=512 -ftracer -pipe"
DISTDIR="/var/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going"
FEATURES="assume-digests binpkg-logs buildpkg candy distlocks ebuild-locks fixlafiles metadata-transfer news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE@euro"
LC_ALL="de_DE@euro"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de"
MAKEOPTS="-j5"
PKGDIR="/var/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/var/portage"
PORTDIR_OVERLAY="/var/lib/layman/x11 /var/lib/layman/xarthisius /var/lib/layman/c1pher /var/lib/layman/kde /usr/local/portage /usr/local/portage/ati-testing"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="32bit 3dnow 3dnowext 64bit 7zip S3TC X Xaw3d a52 aac acpi addbookmarks aften aim aio akode akonadi alias alsa altenburgcards amarok amarok2 amd64 amr amrnb amrwb analogtv aotuv apng archive athena atm audio audiofile autoreplace bash-completion berkdb binary-drivers binfilter bittorrent boost branding bzip2 cairo captury cdaudio cdda cddb cdinstall cdparanoia cdr cdrom cdsound cegui chm clamav clamdtop cli clucene connection-sharing connectionstatus consolekit contactnotes cracklib crypt css cups curl cxx dbus ddate declarative device-mapper dhcp dhcpcd dirac divx dnd double-precision downloadorder dpms dragonplayer dri dts dv dvb dvbplayer dvbsetup dvd dvdr eap-sim eap-tls editor embedded emboss emerald emovix enca encode exceptions exif exiv2 expat extensions extra-cardsets fame fasttrack fat festival ffmpeg fftw file firefox fits flac fontconfig fontforge foomaticdb fortran freetts ftp fts3 g3dvl gadu gallium gd gdbm gdu geoip gif gimp glibc-omitfp glitz glut glx gnutella gpgme gpm graphite grub hddtemp highlight history icons iconv icotools icq icu id3 id3tag ieee1394 imagemagick imap inotify ipv6 irc irmc irrlicht jabber java java6 javascript jce jingle joystick jpeg jpeg2k kate kcal kde kde4 kdecards kdehiddenvisibility kdepim kdm kexi kipi konqueror kontact ktts lame lapack lcms lesstif libnotify libsamplerate libssh2 libv4l2 libwww lirc lm_sensors logitech-mouse logviewer lzma lzo mad magic mailbox maildir maps matroska mbox mbrola mdnsresponder-compat metric mime minizip mixer mjpeg mmap mmx mmxext mng modules monolithic mp2 mp3 mp4 mpeg mpeg2 mpi mpi-threads mplayer msn mtp mudflap mule multilib multimedia musepack music nano-syntax ncurses neXt nepomuk net network newspr ngui nls no-old-linux nocd nowin nowlistening npp nptl nptlonly nsplugin nspluginwrapper ntfs obex offensive ogg ogg123 ogm ogre ois okular old-daemons opencl openclipartcards openctl openexr opengl openmp optimized-qmake oscar otr oxygen pam pango pch pcre pda pdf pdfimport phonon physfs pixmaps plasma player plotutils plugins png pnm policykit posix postgres ppds pppd private-headers ps qimageblitz qscintilla qt-faststart qt3support qt4 qwt rar raster readline recode reiser4 reiserfs remix reports resolvconf rogue romio rss rtc sametime sasl scanner scenarios schedule schroedinger scsi sdl sdl-image sdl-sound sdlaudio search secure-delete semantic-desktop sensord server session shaders shm skins skype slp smp sms sndfile sockets sound sounds spell sqlite sqlite3 sse sse2 sse3 sse4a ssh ssl startup-notification statistics stats stroke strong-optimization subp svg sysfs system-v8 sysvipc szip tcpd templates test-programs texteffect textures tga theora threads threadsafe thumbnail tiff timidity tk tomsfastmath toolbar tools transcode translator truetype tv tv_check tv_combiner tv_pick_cgi tvtime udev unicode unzip upnp usb userlocales utempter v4l v4l2 vaapi vcd video videos virtuoso visualization vlc vorbis vpx wav webdav webgl webinterface webkit webpresence wifi windeco wireshark wma wma-fixed wmf wv2 wxwidgets x264 xanim xatrix xcb xcomposite xemacs xext xface xft xine xml xorg xosd xpm xrandr xrender xscreensaver xskatcards xulrunner xv xvid xvmc yahoo yiff yv12 zip zlib zsh-completion zvbi" ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2 samsung" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" LIRC_DEVICES="devinput" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vesa v4l fglrx r600 radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2012-04-29 05:24:29 UTC
builds and installs fine on stable amd64 so you're going to have to provide more information about why it's failing on your system since I can't reproduce it here.
Comment 2 Volker Hemmann 2012-04-29 07:51:35 UTC
the why is obvious from the error message. The lgc-pg run fails because it can not find pg.bmp.
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2012-04-29 23:33:58 UTC
That's more of a symptom than the cause.

Please capture the complete output from the attempted build:

emerge -vp lgeneral &> /tmp/out

And attach the file as text/plain.
Comment 4 hind 2012-04-30 03:31:28 UTC
Created attachment 310475 [details]
emerge -vp lgeneral

As I'm having the same error, attaching the attempted build output.
Comment 5 Mr. Bones. (RETIRED) gentoo-dev 2012-04-30 03:57:08 UTC
sorry, I meant to remove the -p option to emerge.  Try it again.
Comment 6 hind 2012-04-30 18:03:57 UTC
Created attachment 310513 [details]
emerge -v lgeneral &> /tmp/out

Attached.
Comment 7 Volker Hemmann 2012-04-30 19:13:18 UTC
Created attachment 310519 [details]
output of lgeneral -v

and here is mine. Just to make sure it really is the same problem.
Comment 8 geoscope 2012-05-13 18:10:29 UTC
On x86 verify the error. 

/var/tmp/portage/games-strategy/lgeneral-1.2.3/image///usr/share/games/lgeneral/gfx/

directory exists and has 2 files in it. no flags subdir.

Nation flag graphics...
/var/tmp/portage/games-strategy/lgeneral-1.2.3/image///usr/share/games/lgeneral/gfx/flags/pg.bmp: Couldn't open /var/tmp/portage/games-strategy/lgeneral-1.2.3/image///usr/share/games/lgeneral/gfx/flags/pg.bmp
 * ERROR: games-strategy/lgeneral-1.2.3 failed (install phase):
 *   Failed to generate scenario data
Comment 9 Mr. Bones. (RETIRED) gentoo-dev 2012-05-13 23:57:19 UTC
and 1.2.2 works fine, right?-
Comment 10 Volker Hemmann 2012-05-14 00:07:55 UTC
     Installed versions:  1.2.2{tbz2}(22:32:21 17.08.2011)(nls)

well, it did when I installed it last year - short test and it still does.
Comment 11 Samuli Suominen (RETIRED) gentoo-dev 2012-05-17 16:27:41 UTC
Created attachment 312121 [details, diff]
Workaround for missing subdirs of gfx/

With this patch, it emerges cleanly. No idea why, but it's not parallel make bug as I tried with -j1 too.
Comment 12 Volker Hemmann 2012-06-02 20:58:37 UTC
thanks, that fixed it for me. So when are we going to see a fixed ebuild in the tree?
Comment 13 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2012-09-03 10:05:42 UTC
Fixed by applying Samuli's patch.