Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 560922 - games-misc/opengfx-0.5.2 fails to build: nmlc: command not found
Summary: games-misc/opengfx-0.5.2 fails to build: nmlc: command not found
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-20 16:14 UTC by Robert G. Siebeck
Modified: 2015-09-24 21:11 UTC (History)
1 user (show)

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


Attachments
output of ´equery f nml´ (nml-files.txt,23.34 KB, text/plain)
2015-09-21 14:30 UTC, Robert G. Siebeck
Details
Output of ´emerge -v nml´ (emerge-nml,105.49 KB, text/plain)
2015-09-23 14:50 UTC, Robert G. Siebeck
Details
Output of ´emerge --info´ (emerge-info,17.12 KB, text/plain)
2015-09-23 14:50 UTC, Robert G. Siebeck
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert G. Siebeck 2015-09-20 16:14:45 UTC
opengfx-0.5.2 fails to build, here's my log:

>>> Emerging (2 of 2) games-misc/opengfx-0.5.2::gentoo
 * opengfx-0.5.2-source.tar.xz SHA256 SHA512 WHIRLPOOL size ;-) ...                                          [ ok ]
>>> cfg-update-1.8.2-r1: Creating checksum index...
>>> Unpacking source...
>>> Unpacking opengfx-0.5.2-source.tar.xz to /var/tmp/portage/games-misc/opengfx-0.5.2/work
>>> Source unpacked in /var/tmp/portage/games-misc/opengfx-0.5.2/work
>>> Preparing source in /var/tmp/portage/games-misc/opengfx-0.5.2/work/opengfx-0.5.2-source ...
 * Applying opengfx-0.5.2-Makefile.patch ...                                                                 [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/games-misc/opengfx-0.5.2/work/opengfx-0.5.2-source ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/games-misc/opengfx-0.5.2/work/opengfx-0.5.2-source ...
make -j3 help 
all:         Build the entire NewGRF and its documentation
install:     Install into the default NewGRF directory (/var/tmp/portage/games-misc/opengfx-0.5.2/homedir/.openttd/baseset/opengfx)
doc:         Build the documentation (docs/license.txt docs/changelog.txt docs/readme.txt)
gfx:         Build the graphics dependencies
grf:         Build the grf files only (ogfx1_base.grf ogfxc_arctic.grf ogfxh_tropical.grf ogfxt_toyland.grf ogfxi_logos.grf ogfxe_extra.grf)
nml:         Generate the combined nml files only (ogfx1_base.nml ogfxc_arctic.nml ogfxh_tropical.nml ogfxt_toyland.nml ogfxi_logos.nml ogfxe_extra.nml)
obg:         Generate the baseset meta data (opengfx.obg)

clean:       Clean all built files
distclean:   Clean really everything
maintainer-clean:
             Reset the repository to prestine state and delete files which can be generated

Bundles for distribution:
bundle_tar:  Build the distritubion bundle as tar archive (opengfx-0.5.2.tar)
bundle_zip:  Build the distritubion bundle and compress with zip (opengfx-0.5.2.tar.zip)
bundle_xz:   Build the distritubion bundle and compress with xz (opengfx-0.5.2.tar.xz)
bundle_gzip: Build the distritubion bundle and compress with gzip (opengfx-0.5.2.tar.gz)
bundle_bzip: Build the distribution bundle and compress with bzip2 (opengfx-0.5.2.tar.bz2)

Release:
bananas:     Upload bundle to BaNaNaS

Valid command line variables are:
Helper programmes:
MAKE MAKE_FLAGS.        defaults: make -r
CC CC_FLAGS.            defaults: x86_64-pc-linux-gnu-gcc -C -E -nostdinc -x c-header
AWK                     defaults: awk
GREP                    defaults: grep
GRFID GRFID_FLAGS.      defaults: grfid -m
UNIX2DOS UNIX2DOS_FLAGS defaults: /usr/bin/unix2dos -q
GIMP GIMP_FLAGS         defaults:  -n -i
CP_FLAGS (for cp command):        -rf

NML NML_FLAGS.          defaults: nmlc -c -p DOS

archive and compression programmes:
TAR TAR_FLAGS   .       defaults: tar -cf
ZIP ZIP_FLAGS.          defaults: zip -9rq
GZIP GZIP_FLAGS         defaults: gzip -9f
BZIP BZIP_FLAGS         defaults: bzip2 -9fk
XZ XZ_FLAGS             defaults: xz -efk

INSTALL_DIR             defaults: /var/tmp/portage/games-misc/opengfx-0.5.2/homedir/.openttd/baseset/opengfx
    Sets the default installation directory for Basesets
make -j3 bundle_tar 
[CPP] ogfx1_base.nml
x86_64-pc-linux-gnu-gcc -D REPO_REVISION=5580 -D NEWGRF_VERSION=5580  -C -E -nostdinc -x c-header -MMD -MF ogfx1_base.nml.dep -MT ogfx1_base.nml -o ogfx1_base.nml ogfx1_base.pnml
[LNG] custom_tags.txt
[GIMP disabled]
echo "VERSION        :0.5.2" > custom_tags.txt
echo "VERSION_STRING :0.5.2" >> custom_tags.txt
echo "TITLE          :OpenGFX 0.5.2" >> custom_tags.txt
echo "FILENAME       :ogfx1_base.grf ogfxc_arctic.grf ogfxh_tropical.grf ogfxt_toyland.grf ogfxi_logos.grf ogfxe_extra.grf" >> custom_tags.txt
[CPP] ogfxc_arctic.nml
echo "REPO_DATE      :2015-04-12" >> custom_tags.txt
x86_64-pc-linux-gnu-gcc -D REPO_REVISION=5580 -D NEWGRF_VERSION=5580  -C -E -nostdinc -x c-header -MMD -MF ogfxc_arctic.nml.dep -MT ogfxc_arctic.nml -o ogfxc_arctic.nml ogfxc_arctic.pnml
echo "REPO_HASH      :df5c3000dd4a" >> custom_tags.txt
echo "REPO_BRANCH    :default" >> custom_tags.txt
echo "NEWGRF_VERSION :5580" >> custom_tags.txt
[CPP] ogfxh_tropical.nml
x86_64-pc-linux-gnu-gcc -D REPO_REVISION=5580 -D NEWGRF_VERSION=5580  -C -E -nostdinc -x c-header -MMD -MF ogfxh_tropical.nml.dep -MT ogfxh_tropical.nml -o ogfxh_tropical.nml ogfxh_tropical.pnml
echo "DAYS_SINCE_2K  :5580" >> custom_tags.txt
[CPP] ogfxt_toyland.nml
x86_64-pc-linux-gnu-gcc -D REPO_REVISION=5580 -D NEWGRF_VERSION=5580  -C -E -nostdinc -x c-header -MMD -MF ogfxt_toyland.nml.dep -MT ogfxt_toyland.nml -o ogfxt_toyland.nml ogfxt_toyland.pnml
[CPP] ogfxi_logos.nml
x86_64-pc-linux-gnu-gcc -D REPO_REVISION=5580 -D NEWGRF_VERSION=5580  -C -E -nostdinc -x c-header -MMD -MF ogfxi_logos.nml.dep -MT ogfxi_logos.nml -o ogfxi_logos.nml ogfxi_logos.pnml
[CPP] ogfxe_extra.nml
x86_64-pc-linux-gnu-gcc -D REPO_REVISION=5580 -D NEWGRF_VERSION=5580  -C -E -nostdinc -x c-header -MMD -MF ogfxe_extra.nml.dep -MT ogfxe_extra.nml -o ogfxe_extra.nml ogfxe_extra.pnml
[DOC] docs/readme.txt
cat docs/readme.ptxt \
        | sed -e "s/{{REPO_TITLE}}/OpenGFX 0.5.2/" \
        | sed -e "s/{{GRF_ID}}//" \
        | sed -e "s/{{REPO_REVISION}}/5580/" \
        | sed -e "s/{{FILENAME}}//" \
        > docs/readme.txt
/usr/bin/unix2dos -q docs/readme.txt
[NML] ogfx1_base.grf
nmlc -c -p DOS -M --MF=ogfx1_base.grf.dep --grf ogfx1_base.grf ogfx1_base.nml
[NML] ogfxh_tropical.grf
/bin/bash: nmlc: command not found
[NML] ogfxc_arctic.grf
nmlc -c -p DOS -M --MF=ogfxh_tropical.grf.dep --grf ogfxh_tropical.grf ogfxh_tropical.nml
nmlc -c -p DOS -M --MF=ogfxc_arctic.grf.dep --grf ogfxc_arctic.grf ogfxc_arctic.nml
Makefile:330: recipe for target 'ogfx1_base.grf' failed
make: *** [ogfx1_base.grf] Error 127
make: *** Waiting for unfinished jobs....
/bin/bash: nmlc: command not found
/bin/bash: nmlc: command not found
Makefile:330: recipe for target 'ogfxh_tropical.grf' failed
make: *** [ogfxh_tropical.grf] Error 127
Makefile:330: recipe for target 'ogfxc_arctic.grf' failed
make: *** [ogfxc_arctic.grf] Error 127


games-util/nml-0.4.1 is installed.
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2015-09-21 02:01:20 UTC
make sure games-util/nml is installed.
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2015-09-21 02:24:52 UTC
I should say, re-emerge games-util/nml to make sure it's installed correctly.
Comment 3 Robert G. Siebeck 2015-09-21 06:43:55 UTC
(In reply to Mr. Bones. from comment #2)
> I should say, re-emerge games-util/nml to make sure it's installed correctly.

As stated in my first comment, nml is installed. I also re-emerged it before filing the bug, which didn't help.
Comment 4 Mr. Bones. (RETIRED) gentoo-dev 2015-09-21 14:26:09 UTC
what's the output from

equery files nml
Comment 5 Robert G. Siebeck 2015-09-21 14:30:47 UTC
Created attachment 412454 [details]
output of ´equery f nml´

See attachment for output of ´equery f nml´
Comment 6 Mr. Bones. (RETIRED) gentoo-dev 2015-09-21 14:36:00 UTC
please attach the output from emerge --info and the full output from emerge -v nml
Comment 7 Robert G. Siebeck 2015-09-23 14:50:03 UTC
Created attachment 412646 [details]
Output of ´emerge -v nml´
Comment 8 Robert G. Siebeck 2015-09-23 14:50:54 UTC
Created attachment 412648 [details]
Output of ´emerge --info´
Comment 9 Mr. Bones. (RETIRED) gentoo-dev 2015-09-24 19:44:21 UTC
maybe the python team has an idea.  it smells like locally modified eclasses or overlay interaction.  I can't reproduce it on stable amd64.  try to figure out why you're not building the shared library in nml.
Comment 10 Robert G. Siebeck 2015-09-24 21:11:43 UTC
(In reply to Mr. Bones. from comment #9)
> maybe the python team has an idea.  it smells like locally modified eclasses
> or overlay interaction.  I can't reproduce it on stable amd64.  try to
> figure out why you're not building the shared library in nml.

That was the right hint, thank you very much. I had to downgrade dev-python/setuptools-9999 to dev-python/setuptools-12.0.1. This fixed my nml installation and now I can emerge opengfx.