Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 695470 - media-gfx/wings-2.1.7 with dev-lang/erlang-22 - function font_weight/1 undefined
Summary: media-gfx/wings-2.1.7 with dev-lang/erlang-22 - function font_weight/1 undefined
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Jeroen Roovers (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 681526
  Show dependency tree
 
Reported: 2019-09-23 16:28 UTC by Thomas Simon
Modified: 2020-07-30 18:18 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,10.16 KB, text/plain)
2019-09-23 16:28 UTC, Thomas Simon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Simon 2019-09-23 16:28:24 UTC
Created attachment 590694 [details]
build.log

The same issue occured to me with versions 2.1.5 and 2.1.6, so this might be related to erlang (using version 22.0.2-r2).

Error message:

erlc -I ../e3d +debug_info '-Dwings_version="2.1.7"' -pa ../intl_tools  -o../ebin wings_text.erl
wings_text.erl:97: syntax error before: ':'
wings_text.erl:87: function font_weight/1 undefined
make[1]: *** [Makefile:177: ../ebin/wings_text.beam] Error 1
make[1]: Leaving directory '/var/tmp/portage/media-gfx/wings-2.1.7/work/wings-2.1.7/src'
make: *** [Makefile:158: opt] Error 2
make: Leaving directory '/var/tmp/portage/media-gfx/wings-2.1.7/work/wings-2.1.7/src'

Output of emerge --info:

# emerge --info '=media-gfx/wings-2.1.7::gentoo'
Portage 2.3.76 (python 3.7.4-final-0, default/linux/amd64/17.0, gcc-9.2.0, glibc-2.29-r5, 4.14.78-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.14.78-gentoo-x86_64-AMD_FX-tm-8350_Eight-Core_Processor-with-gentoo-2.6
KiB Mem:    16394816 total,  11293304 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Wed, 18 Sep 2019 16:00:01 +0000
Head commit of repository gentoo: bb505578b04cb17148bf43ede64594c5b1a53853
sh bash 5.0_p11
ld GNU ld (Gentoo 2.32 p2) 2.32.0
distcc 3.3.3 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          5.0_p11::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.30.0::gentoo
dev-lang/python:          2.7.16::gentoo, 3.6.9::gentoo, 3.7.4-r1::gentoo
dev-util/cmake:           3.15.3::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.18::gentoo
sys-devel/autoconf:       2.69-r4::gentoo
sys-devel/automake:       1.14.1-r2::gentoo, 1.15.1-r2::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.32-r1::gentoo
sys-devel/gcc:            7.3.0-r6::gentoo, 9.2.0::gentoo
sys-devel/gcc-config:     2.1::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.19::gentoo (virtual/os-headers)
sys-libs/glibc:           2.29-r5::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts: 
    sync-rsync-verify-jobs: 1

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 0

crossdev
    location: /usr/local/crossdev
    masters: gentoo
    priority: 1

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -fdiagnostics-color=always -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/easy-rsa /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -fdiagnostics-color=always -pipe -march=native"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--backtrack=99"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS=""
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X acl alsa amd64 bash-completion bluray bzip2 cli crypt cups cxx dri dvb egl emacs ffmpeg flac fontconfig fortran games gdbm gif gles gnutls gstreamer iconv imagemagick ipv6 jack joystick jpeg lame libsamplerate libtirpc lzo multilib ncurses nls nptl opengl openmp pam pch pcre png readline sdl seccomp smp spell split-usr ssl static-libs svg tcpd threads tiff truetype unicode vaapi wayland x264 xattr xft xinerama xinetd zlib" ABI_X86="32 64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx fma4 mmx mmxext sse sse2 sse3 ssse3 sse4a sse4_1 sse4_2 xop" CURL_SSL="gnutls" ELIBC="glibc" FFTOOLS="aviocat cws2fws ffescape ffeval fourcc2pixfmt graph2dot ismindex pktdumper trasher" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev joystick keyboard libinput" KERNEL="linux" L10N="de" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="pypy3 python3_6 python3_7" QEMU_SOFTMMU_TARGETS="x86_64 aarch64 arm mipsel mipsn32el i386 sh4" QEMU_USER_TARGETS="x86_64 aarch64 arm mipsel mipsn32el i386 sh4" RUBY_TARGETS="ruby26" USERLAND="GNU" VIDEO_CARDS="radeon r600 radeonsi amdgpu" 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:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Antonin Rousset 2019-11-05 21:57:29 UTC
I am using erlang 22.1.1 and I get the same error with wings 2.1.5, 2.1.6 and 2.1.7
Comment 2 Pacho Ramos gentoo-dev 2019-12-13 16:24:28 UTC
maybe wings-2.2 fixes this
Comment 3 Paul Vint 2020-01-11 20:51:17 UTC
I had this issue with wings-2.1.5, but wings-2.2.5 compiles fine
Comment 4 Pacho Ramos gentoo-dev 2020-07-30 18:18:51 UTC
(In reply to Paul Vint from comment #3)
> I had this issue with wings-2.1.5, but wings-2.2.5 compiles fine

thanks for testing