In file included from term.h:183:0, from term.c:1389: ../term/linux.trm: In function ‘LINUX_putc’: ../term/linux.trm:278:21: error: ‘FNT5X9_VBITS’ undeclared (first use in this function) ../term/linux.trm:278:21: note: each undeclared identifier is reported only once for each function it appears in ../term/linux.trm:279:18: error: ‘FNT5X9_HBITS’ undeclared (first use in this function) ../term/linux.trm:280:34: error: ‘fnt5x9’ undeclared (first use in this function) ../term/linux.trm: In function ‘LINUX_put_text’: ../term/linux.trm:301:7: error: ‘FNT5X9_VCHAR’ undeclared (first use in this function) ../term/linux.trm:311:11: error: ‘FNT5X9_HCHAR’ undeclared (first use in this function) It looks like the --with-bitmap-terminals config flag is additionally required if --with-linux-vga is specified.
1) Please post your `emerge --info' output in a comment. 2) Please attach the entire build log to this bug report.
FEATURES variable contains unknown value(s): bindep, ctags, cvs, fixpackages, patchtree Portage 2.1.10.44 (default/linux/x86/10.0/desktop, gcc-4.5.3, glibc-2.14.1-r2, 3.2.1-gentoo i686) ================================================================= System uname: Linux-3.2.1-gentoo-i686-Intel-R-_Core-TM-2_Quad_CPU_Q8200_@_2.33GHz-with-gentoo-2.1 Timestamp of tree: Sat, 28 Jan 2012 02:45:01 +0000 distcc 3.1 i686-pc-linux-gnu [disabled] app-shells/bash: 4.2_p20 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.7.2-r3, 3.2.2 dev-util/cmake: 2.8.7-r1 dev-util/pkgconfig: 0.26 sys-apps/baselayout: 2.1 sys-apps/openrc: 0.9.8.2 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.2-r1 sys-devel/binutils: 2.22-r1 sys-devel/gcc: 4.5.3-r2 sys-devel/gcc-config: 1.5-r2 sys-devel/libtool: 2.4.2 sys-devel/make: 3.82-r3 sys-kernel/linux-headers: 3.2 (virtual/os-headers) sys-libs/glibc: 2.14.1-r2 Repositories: gentoo bitcoin lila-artwork catmur-co-uk ACCEPT_KEYWORDS="x86 ~x86" ACCEPT_LICENSE="* -@EULA @FSF-APPROVED @OSI-APPROVED dlj-1.1 googleearth" CBUILD="i686-pc-linux-gnu" CFLAGS="-ggdb -O1 -O2 -O3 -pipe -march=native -fdiagnostics-show-option" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-ggdb -O1 -O2 -O3 -pipe -march=native -fdiagnostics-show-option" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps y --autounmask=n" FEATURES="assume-digests bindep binpkg-logs candy collision-protect ctags cvs distlocks ebuild-locks fixlafiles fixpackages installsources news parallel-fetch patchtree protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS=" http://ftp.heanet.ie/pub/gentoo/ http://mirror.ac.uk/mirror/distro.ibiblio.org/pub/linux/distributions/gentoo/ http://ftp.gentoo.skynet.be/pub/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://gentoo.mirror.sdv.fr/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo/ " LANG="en_GB.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--as-needed" LINGUAS="en_GB en en_US ja_JP de_DE es_ES fa_IR fr_FR it_IT ru_RU" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/bitcoin /srv/gentoo/trees/lila-artwork /srv/gentoo/trees/catmur.co.uk" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="3dfx 3dnow 3dnowext 7zip X a52 aac aalib accessibility acl acpi admin aio alsa amrnb amrwb ancient animation ansi apng applet arj artworkextra asf aspell async attr audioscrobbler autoipd automount avahi bash-completion beagle berkdb bitmap-fonts blas bluetooth bmg bogofilter bonobo bookmarks boundschecking branding breakme browserplugin bzip2 cairo canvas caps cdda cddb cdio cdparanoia cdr cdrom chm cjk cleartype cli clutter communication composite conman consolekit cpp cracklib crypt cups curl cxx daap dbus deb design deskbar development devhelp device-mapper dga dia dirac disk-partition divx4linux djbfft djvu dmx doc docs dpms dri dts dv dvd dvdr dvdread dvi edl eds effects emboss emf enca encode epiphany epiphany-extension epydoc espeak ethereal evo evolution examples exif extra extras faac faad fam fancy fat fbcon fbcondecor festival ffi ffmpeg firefox flac flash font-server fontconfig fontforge foomaticdb fortran fpx freetype fts3 fuse galago games gb gcdmaster gcl gconf gd gdbm gdl gdu gedit geoip gif gimp gimpprint ginac git gksu glade glep glib glitz glut glx gnome gnome-keyring gnome-print gnomecanvas gnomedb gnomeoffice gnumeric gnuplot gnutls gphoto2 gpm grammar graphviz gs gsf gsm gstreamer gstreamer010 gtk gtk3 gtkhtml gtksharp gucharmap guile gzip h323 hal hddtemp hfs howl-compat http ical iconv icu id3 idn imagemagick imap imlib info inherit-graph inkjar insecure-savers ipod ipv6 irmc iso jabber java javascript jbig jfs jingle jpeg jpeg2k kdrive kerberos kpathsea latex lcms ldap lha libcaca libgda libkms libnotify libsamplerate libsexy live lm_sensors logrotate lua lzma lzo mad maildir man map math matroska md5sum mdb mime minizip mmkeys mmx mmx2 mmxext mng modules mono mozdevelop mozilla mozsvg mp3 mp4 mpeg msn msoffice mtp mudflap musicbrainz mysql nautilus ncurses network networking networkmanager new-login nfs nls nntp nocd nptl nptlonly nsplugin ntfs nxclient oav obex offensive office ogg ole openal opencore-amr opengl openmp openssh opi ots packagekit pam pango pcre pda pdf pidgin plotutils plugin plugins pmount png policykit pop pop3 postscript ppds pppd print printer productivity pulseaudio python qhull qt3support quotes rar rdesktop readline reiser4 reiserfs rhythmbox rle rpm rtc ruby samba sasl scanner schroedinger scintilla screen sdl sendto server session sip skippy-xd smbclient sms sndfile soap socks5 sound sourceview sox speex spell spreadsheet sqlite sse ssh ssl startup-notification subversion suspend2 svg svga sysfs syslog t1lib taamey tagwriting tar tcpd tetex theora thesaurus threads thumbnailing tiff tools totem tracker trayicon truetype truetype-fonts type1-fonts udev unicode upnp usb userlocales utf8 v4l v4l2 vaapi valgrind vcd videos vim vim-syntax vim-with-x vnc vorbis wav webdav webkit win32codecs wmf wordperfect wv wxwin x264 x86 x86emu xanim xattr xcb xchattext xcomposite xface xforms xfs xft xing xml xml2 xmp xorg xprint xrandr xscreensaver xulrunner xv xvid xvmc yv12 zeroconf zip zlib zoo" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 stage tables krita karbon braindump" CAMERAS="ptp2" 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="en_GB en en_US ja_JP de_DE es_ES fa_IR fr_FR it_IT ru_RU" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" 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, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 300167 [details] sci-visualization:gnuplot-4.6_rc1:20120128-145545.log Log with build failure
Created attachment 300169 [details] sci-visualization:gnuplot-4.6_rc1:20120128-151420.log Log with EXTRA_ECONF=--with-bitmap-terminals, builds successfully
Fixed.
Hm, I was about to fix this too and got a collision when committing. :-/ Can we please avoid the REQUIRED_USE and just enable the --with-bitmap-terminals option silently with USE=svga? I.e. like in the patch below? Why is the notice "copyright may restrict commercial use" needed in the description of the bitmap flag? AFAICS, bitmap.c carries the standard gnuplot copyright notice. --- gnuplot-4.6_rc1.ebuild.~1.4.~ +++ gnuplot-4.6_rc1.ebuild @@ -29,8 +29,6 @@ IUSE="bitmap cairo doc emacs examples +gd ggi latex lua plotutils qt4 readline svga thin-splines wxwidgets X xemacs" RESTRICT="wxwidgets? ( test )" -REQUIRED_USE="svga? ( bitmap )" - RDEPEND=" cairo? ( x11-libs/cairo @@ -117,6 +115,7 @@ myconf="${myconf} $(use_with lua)" myconf="${myconf} $(use_with plotutils plot "${EPREFIX}"/usr/$(get_libdir))" myconf="${myconf} $(use_with svga linux-vga)" + myconf="${myconf} $(use_with svga bitmap-terminals)" #401191 myconf="${myconf} $(use_enable thin-splines)" myconf="${myconf} $(use_enable wxwidgets)" myconf="${myconf} $(use_with X x)"
BTW, is this a new problem in 4.6, or did it occur in 4.4 already?
(In reply to comment #6) > Hm, I was about to fix this too and got a collision when committing. :-/ > Can we please avoid the REQUIRED_USE and just enable the > --with-bitmap-terminals option silently with USE=svga? I.e. like in the patch > below? I guess, this is a real bug, which is why I fix it this way and reported it upstream. > Why is the notice "copyright may restrict commercial use" needed in the > description of the bitmap flag? AFAICS, bitmap.c carries the standard gnuplot > copyright notice. That is what gnuplot's configure say. (see line 1262 of configure.in). (In reply to comment #7) > BTW, is this a new problem in 4.6, or did it occur in 4.4 already? No, in gnuplot-4.4 bitmap terminal is always on.
(In reply to comment #8) > > Why is the notice "copyright may restrict commercial use" needed in the > > description of the bitmap flag? > That is what gnuplot's configure say. (see line 1262 of configure.in). I see. Looks like the "raster plotting routines" in bitmap.c are derived from the following code: <https://groups.google.com/group/net.sources/msg/df5ff7e393f34671> The current version of bitmap.c doesn't bear much resemblance with it, though. Nevertheless, if we take it serious, then we should probably add something like "bitmap? ( free-noncomm )" to the LICENSE variable. (Or maybe better, commit the notice from bitmap.c as new license file.)
(In reply to comment #9) > (In reply to comment #8) > > > Why is the notice "copyright may restrict commercial use" needed in the > > > description of the bitmap flag? > > That is what gnuplot's configure say. (see line 1262 of configure.in). > > I see. Looks like the "raster plotting routines" in bitmap.c are derived from > the following code: > <https://groups.google.com/group/net.sources/msg/df5ff7e393f34671> > The current version of bitmap.c doesn't bear much resemblance with it, though. > > Nevertheless, if we take it serious, then we should probably add something like > "bitmap? ( free-noncomm )" to the LICENSE variable. (Or maybe better, commit > the notice from bitmap.c as new license file.) added "bitmap? ( free-noncomm )" to the LICENSE that should be enough. I would wait for rc2 (and more bugs) to see what we do with the svga/bitmap issue.
Issue was fixed upstream, so the next version of gnuplot will not need REQUIRED_USE anymore.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1bc736aeba885fe8dc748c1bd788db666d18a061 commit 1bc736aeba885fe8dc748c1bd788db666d18a061 Author: Ulrich Müller <ulm@gentoo.org> AuthorDate: 2019-12-01 18:52:24 +0000 Commit: Ulrich Müller <ulm@gentoo.org> CommitDate: 2019-12-01 18:54:26 +0000 sci-visualization/gnuplot: Drop free-noncomm license. File src/bitmap.c used to have a noncommercial restriction for the raster plotting routines, until version 4.6: ** You may use this code for anything you like as long as ** you are not selling it and the credit is given and ** this message retained. This was lifted in version 5.0: ** Jyrki Yli-Nokari, December 2013. ** Change to dual licence (Gnuplot + BSD) and remove previous ** restriction to noncommercial use. Bug: https://bugs.gentoo.org/401191#c9 Package-Manager: Portage-2.3.80, Repoman-2.3.19 Signed-off-by: Ulrich Müller <ulm@gentoo.org> sci-visualization/gnuplot/gnuplot-5.0.7.ebuild | 2 +- sci-visualization/gnuplot/gnuplot-5.2.6.ebuild | 2 +- sci-visualization/gnuplot/gnuplot-5.2.7.ebuild | 2 +- sci-visualization/gnuplot/gnuplot-5.2.9999.ebuild | 2 +- sci-visualization/gnuplot/gnuplot-5.3.9999.ebuild | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-)