Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 834870

Summary: dev-ml/lablgl-1.06-r1: parallel build fails with ml_glarray.c:18:10: fatal error: raw_tags.h: No such file or directory
Product: Gentoo Linux Reporter: Gary E. Miller <gem>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal CC: gem, jstein
Priority: Normal Keywords: NeedPatch
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 351559    
Attachments: builid log

Description Gary E. Miller 2022-03-10 00:42:02 UTC
ml_shader.c:1241:88: note: in expansion of macro ‘String_val’
 1241 | (Shader_program_val(program), infologLength, &charsWritten, String_val(infoLog));
      |                                                             ^~~~~~~~~~

In file included from /usr/include/GL/gl.h:2050,
                 from ml_shader.c:14:
/usr/include/GL/glext.h:764:100: note: expected ‘GLchar *’ {aka ‘char *’} but argument is of type ‘const char *’
  764 | og (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
      |                                                       ~~~~~~~~^~~~~~~

ml_glarray.c:18:10: fatal error: raw_tags.h: No such file or directory
   18 | #include "raw_tags.h"
      |          ^~~~~~~~~~~~
compilation terminated.
Comment 1 Gary E. Miller 2022-03-10 00:42:57 UTC
Created attachment 766659 [details]
builid log

build log
Comment 2 Gary E. Miller 2022-03-10 00:44:25 UTC
  
backup ~ # emerge -pqv '=dev-ml/lablgl-1.06-r1::gentoo'
[ebuild  N    ] dev-ml/lablgl-1.06-r1  USE="glut ocamlopt -doc -tk" 

backup ~ # emerge --info '=dev-ml/lablgl-1.06-r1::gentoo'
Portage 3.0.30 (python 3.9.9-final-0, default/linux/amd64/17.1, gcc-11.2.1, glibc-2.33-r13, 5.16.3-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.16.3-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E3-1241_v3_@_3.50GHz-with-glibc2.33
KiB Mem:    16299088 total,   2087880 free
KiB Swap:   33554428 total,  33414628 free
Timestamp of repository gentoo: Wed, 09 Mar 2022 18:15:01 +0000
Head commit of repository gentoo: 43488a42b43b78e5cda834b3d61848fc7cc6b6bf
sh bash 5.1_p16
ld GNU ld (Gentoo 2.37_p1 p2) 2.37
distcc[10290] (dcc_trace_version) distcc 3.4 x86_64-pc-linux-gnu; built Jul  3 2021 12:58:34 [disabled]
app-misc/pax-utils:        1.3.3::gentoo
app-shells/bash:           5.1_p16::gentoo
dev-lang/perl:             5.34.0-r6::gentoo
dev-lang/python:           2.7.18_p13::gentoo, 3.9.9-r1::gentoo, 3.10.2_p1::gentoo
dev-lang/rust:             1.58.1::gentoo
dev-util/cmake:            3.22.2::gentoo
dev-util/meson:            0.60.3::gentoo
sys-apps/baselayout:       2.7-r3::gentoo
sys-apps/openrc:           0.44.10::gentoo
sys-apps/sandbox:          2.25::gentoo
sys-devel/autoconf:        2.13-r1::gentoo, 2.69-r5::gentoo, 2.71-r1::gentoo
sys-devel/automake:        1.16.4::gentoo
sys-devel/binutils:        2.37_p1-r2::gentoo
sys-devel/binutils-config: 5.4::gentoo
sys-devel/clang:           12.0.1::gentoo, 13.0.1::gentoo
sys-devel/gcc:             11.2.1_p20220115::gentoo
sys-devel/gcc-config:      2.5-r1::gentoo
sys-devel/libtool:         2.4.6-r6::gentoo
sys-devel/lld:             13.0.1::gentoo
sys-devel/llvm:            12.0.1::gentoo, 13.0.1::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  5.15-r3::gentoo (virtual/os-headers)
sys-libs/glibc:            2.33-r13::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.us.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts: --exclude ChangeLog* 
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-jobs: 1

crossdev
    location: /var/db/repos/crossdev-aarch64
    masters: gentoo
    priority: 10

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=core-avx2 "
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.3/ext-active/ /etc/php/apache2-php8.0/ext-active/ /etc/php/apache2-php8.1/ext-active/ /etc/php/cgi-php7.3/ext-active/ /etc/php/cgi-php8.0/ext-active/ /etc/php/cgi-php8.1/ext-active/ /etc/php/cli-php7.3/ext-active/ /etc/php/cli-php8.0/ext-active/ /etc/php/cli-php8.1/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=core-avx2 "
DISTDIR="/var/cache/distfiles/"
EMERGE_DEFAULT_OPTS="--keep-going --with-bdeps=y --backtrack=2"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH 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 buildpkg-live cgroup 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 qa-unresolved-soname-deps sandbox sfperms unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirrors.aliyun.com/gentoo/ http://gentoo.gossamerhost.com https://mirrors.aliyun.com/gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_US"
MAKEOPTS="-j8 -l4"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude ChangeLog* "
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"
SHELL="/bin/bash"
USE="10bit X aac acl adns aio amd64 asyncdns avahi bash-completion bcmath blake2 bzip2 cairo caps cdp cgi clang cli conntrack cron crypt curl dbus declarative dri edp elogind enca examples faac fdp fontconfig fortran fpm fpx frontend gbm gcrypt gd gdbm git glamor glut gmp gnutls gpg gs gsm gtk harfbuzz hddtemp hdri http2 iconv infinality ipmi ipv6 jbig jpeg lcms libglvnd libnl libtirpc lto lz4 lzma minizip mp3 multilib ncurses netlink network nfs nfsdcld nfsidmap nfsv4 nfsv41 nls nptl offensive openexr opengl openmp openssl pam pcap pcre pgo png python q32 q8 qt3support qt4 qt5 rar raw readline rpc scrypt sctp seccomp sharedmem snmp sonmp split-usr sqlite ssh ssl svg threads tiff tools truetype unbound unicode update_drivedb urandom usb vim-syntax vpx wg-quick wmf wxwidgets x264 x265 xattr xml zlib zstd" ABI_X86="64" ADA_TARGET="gnat_2020" APACHE2_MODULES="proxy actions alias auth_basic authn_alias authn_anon authn_core authn_dbm authn_file authz_core authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif socache_shmcb speling status unique_id unixd userdir usertrack vhost_alias access_compat auth_digest http2 ident imagemap log_forensic macro proxy_fcgi ratelimit remoteip reqtimeout slotmem_shm" APACHE2_MPMS="prefork" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="apache conntrack cpu csv df disk exec filecount interface iptables irq load logfile match_empty_counter match_regex match_value memcached memory mysql network rrdtool sensors swap syslog table tail target_notification target_replace target_scale target_set tcpconns unixsock uptime users vmem write_http" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="emu gentoo_platforms_efi-32 gentoo_platforms_efi-64 pc" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en en-US" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" RUBY_TARGETS="ruby26 ruby27" USERLAND="GNU" VIDEO_CARDS="nv nouveau vesa radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LANG, LC_ALL, LD, LEX, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-03-10 01:15:15 UTC
gary, could you try MAKEOPTS="-j1"?
Comment 4 Gary E. Miller 2022-03-10 01:21:23 UTC
(In reply to Sam James from comment #3)
> gary, could you try MAKEOPTS="-j1"?

You nailed it 1st time.  -j1 and it emerges fine.

Thanks Sam.
Comment 5 Larry the Git Cow gentoo-dev 2022-03-10 02:32:36 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7753b9b64661794edc79a3b6de4afb8ba6407abe

commit 7753b9b64661794edc79a3b6de4afb8ba6407abe
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-03-10 02:32:06 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-03-10 02:32:06 +0000

    dev-ml/lablgl: force serial build
    
    This isn't a super-active upstream package and it's got a tonne
    of make targets, so let's just force serial build for now, even
    if not ideal :(
    
    Closes: https://bugs.gentoo.org/834870
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-ml/lablgl/lablgl-1.06-r1.ebuild | 3 +++
 1 file changed, 3 insertions(+)
Comment 6 Gary E. Miller 2022-03-10 02:42:26 UTC
Thanks for the fix.  llpp needs it, and I'm a fan of llpp.
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-03-10 04:33:28 UTC
(In reply to Gary E. Miller from comment #4)
> (In reply to Sam James from comment #3)
> > gary, could you try MAKEOPTS="-j1"?
> 
> You nailed it 1st time.  -j1 and it emerges fine.
> 
> Thanks Sam.

(In reply to Gary E. Miller from comment #6)
> Thanks for the fix.  llpp needs it, and I'm a fan of llpp.

Thank you! :)