Fails to emerge. [...] for f in CreateLibraryContents.sh CreateLibrary.sh ListLibraryContents.sh QueryLibrary.sh qfp-ui ; do if test -f $f ; then chmod 755 $f ; fi ; done /bin/sh ./CreateLibraryContents.sh -I . ./common.m4 amphenol.list connector.list crystal.list generic.list gtag.list optical.list pci.list amp.list aries.list bourns.list candk.list cts.list geda.list johnstech.list minicircuits.list nichicon.list optek.list panasonic.list tdk.list toko.list united_chemicon.list > pcblib.contents ./CreateLibraryContents.sh: file './aries.m4' isn't readable or doesn't exit make[2]: *** [Makefile:908: pcblib.contents] Error 1 make[2]: Leaving directory '/var/tmp/portage/sci-electronics/pcb-4.3.0/work/pcb-4.3.0/lib' make[1]: *** [Makefile:541: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/sci-electronics/pcb-4.3.0/work/pcb-4.3.0' make: *** [Makefile:480: all] Error 2 [...] Reproducible: Always Steps to Reproduce: 1. emerge sci-electronics/pcb 2. 3. Actual Results: fails as bove Expected Results: success kong ~ # emerge -pqv '=sci-electronics/pcb-4.3.0::gentoo' [ebuild U ] sci-electronics/pcb-4.3.0 [4.2.2] USE="dbus gif gui jpeg png tk -doc -gcode -gsvit -m4lib-png -nelma -test -toporouter" kong ~ # emerge --info '=sci-electronics/pcb-4.3.0::gentoo' Portage 3.0.45.2 (python 3.11.2-final-0, default/linux/amd64/17.1/desktop, gcc-12, glibc-2.37-r1, 6.2.6-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-6.2.6-gentoo-x86_64-AMD_Ryzen_5_3600_6-Core_Processor-with-glibc2.37 KiB Mem: 16284552 total, 5301116 free KiB Swap: 33554428 total, 33547188 free Timestamp of repository gentoo: Fri, 17 Mar 2023 17:15:01 +0000 Head commit of repository gentoo: 7ac497fb0ebc3e0518cd9460896af15682e65125 sh bash 5.2_p15-r2 ld GNU ld (Gentoo 2.40 p3) 2.40.0 distcc 3.4 x86_64-pc-linux-gnu [disabled] ccache version 4.8 [disabled] app-misc/pax-utils: 1.3.7::gentoo app-shells/bash: 5.2_p15-r2::gentoo dev-java/java-config: 2.3.1::gentoo dev-lang/perl: 5.36.0-r2::gentoo dev-lang/python: 3.10.10_p3::gentoo, 3.11.2_p2::gentoo, 3.12.0_alpha6::gentoo dev-lang/rust: 1.67.1::gentoo dev-util/ccache: 4.8::gentoo dev-util/cmake: 3.26.0::gentoo dev-util/meson: 1.0.1::gentoo sys-apps/baselayout: 2.13-r1::gentoo sys-apps/openrc: 0.46::gentoo sys-apps/sandbox: 2.30-r1::gentoo sys-devel/autoconf: 2.13-r7::gentoo, 2.71-r5::gentoo sys-devel/automake: 1.16.5::gentoo sys-devel/binutils: 2.40-r3::gentoo sys-devel/binutils-config: 5.5::gentoo sys-devel/clang: 15.0.7-r1::gentoo sys-devel/gcc: 12.2.1_p20230304::gentoo sys-devel/gcc-config: 2.10::gentoo sys-devel/libtool: 2.4.7-r1::gentoo sys-devel/lld: 15.0.7::gentoo sys-devel/llvm: 15.0.7::gentoo sys-devel/make: 4.4.1::gentoo sys-kernel/linux-headers: 6.2::gentoo (virtual/os-headers) sys-libs/glibc: 2.37-r1::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: rsync sync-uri: rsync://rsync.namerica.gentoo.org/gentoo-portage priority: -1000 volatile: False sync-rsync-verify-metamanifest: yes sync-rsync-extra-opts: --exclude ChangeLog* --delete-excluded sync-rsync-verify-max-age: 24 sync-rsync-verify-jobs: 1 crossdev-arm64 location: /var/db/repos/crossdev-arm64 masters: gentoo priority: 10 volatile: False brother-overlay location: /var/lib/layman/brother-overlay sync-type: webrsync sync-uri: https://github.com/stefan-langenmaier/brother-overlay.git masters: gentoo priority: 50 volatile: True guru location: /var/lib/layman/guru sync-type: webrsync sync-uri: https://anongit.gentoo.org/git/repo/proj/guru.git masters: gentoo priority: 50 volatile: True vifino-overlay location: /var/lib/layman/vifino-overlay sync-type: webrsync sync-uri: https://github.com/vifino/vifino-overlay.git masters: gentoo priority: 50 volatile: True Installed sets: @system ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-mtune=znver2 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /opt/brother/scanner/brscan4/brsanenetdevice4.cfg /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /var/bind /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php8.2/ext-active/ /etc/php/cgi-php8.2/ext-active/ /etc/php/cli-php8.2/ext-active/ /etc/php/fpm-php8.2/ext-active/ /etc/php/phpdbg-php8.2/ext-active/ /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="-mtune=znver2 -O2 -pipe" DISTDIR="/var/cache/distfiles" EMERGE_DEFAULT_OPTS="--keep-going=y --backtrack=500 --autounmask-backtrack=y --changed-deps=y" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE 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 XDG_STATE_HOME" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live candy clean-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 qa-unresolved-soname-deps sfperms unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://gentoo.gossamerhost.com http://gentoo.mirrors.tera-byte.com/ http://gentoo.cs.utah.edu/" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LEX="flex" LINGUAS="en en_US" MAKEOPTS="-j6 -l6" PKGDIR="/var/cache/binpkgs" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_EXTRA_OPTS="--exclude ChangeLog* --delete-excluded" 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="12bit 256-color X a52 aac aacplus aacs aalib acl acpi additions adns ads aes afterimage aio alsa amarok amazon amd64 ao aom apache2 appindicator applet ares aspell asyncdns attica audiofile auth autoipd avahi avx avx2 background bash-completion bcmath binfilter bl blake2 blink bluetooth bluray bogofilter bonjour bonobo bookmarks boost bootsplash branding bs2b bzip2 cacert cairo calf caps cdaudio cdda cdinstall cdr celt cgi cgroup chromecast chroot clang cle266 cli command-args contentcache corba corefonts cpudetection crypt cscope css csv ctype cups curl curlwrappers cursors cxx daap dane dav1d dba dbm dbus dbx dcc dcraw declarative devfs26 device-mapper dirac disassembler discard-path discid divx dlz dmi dmx dnssec docbook dpms dri dri3 drm dtmf dts dv dvb dvbcsa dvben50221 dvd dvdr dvdread dvi dynagraph dynamicplugin ecc edl egl elogind encode equalizer escreen espeak ethereal etwin exif expat exscalibar extensions extra extramodules faac faad fading-colors faillog fame fat fdk festival ffmpeg ffmpeg-mt ffmpegthumbnailer fftw fits flac flashrom flatfile fltk fma fma3 fmod fontconfig foomatic-db foomaticdb fortran fpm fpx freetts ftp fuse g3dvl gadu gajim gallium gcj gconf gd gdal gdbm gdu gecko-mediaplayer geoip geometry geonames geotiff gif gimp gimpprint git glamor glew glib glitz glut gmath gmedia gml gmp gmplayer gnuplot gnustep gnutls go gpg gphoto2 gpm gps grammar graphviz grass gs gsl gsm gstreamer gtk gtk3 gtkhtml gtkspell gui guile h323 hardened harfbuzz hdf5 hdhomerun hdri highlight hostip howl howl-compat http http2 httpd icecast iconv icq icu id3 idea ilbc imagemagick imap imlib imlib2 inkjar inode inotify insecure-savers int64 introspection ipmi ipsec iptv ipv6 iso14755 jabber jadetex java javascript jbig jce jingle john jpeg jpeg2k karma keybinder kpathsea ladspa lame lastfm latex lcms libaom libass libcanberra libdrm libedit libextractor libglvnd libinput libnotify librtmp libsamplerate libtirpc libv4l2 libvisual lm-sensors lm_sensors lmdb logrotate lpr lto lua lv2 lxc lyrics lz4 lzma lzo mad manual map mapnik marble mariadb matroska mbox md5sum mda-lv2 mdadm mdnsresponder-compat menubar microdns midi mikmod milter mime mimencode mmap mmx mmxext mng mnogosearch mod modplug mozcalendar mozdevelop mozilla mozsvg mozxmlterm mp3 mp4 mp4live mpeg mpeg2 mpg123 mplayer mpm-worker mtp multilib multimedia munin-apache munin-dhcp munin-irc munin-squid munin-surfboard musepack musicbrainz mysqli mythtv na_dd na_icons nagios-dns nagios-ntp nagios-ping nagios-ssh ncurses net netlink network networking nfs nfsv4 nfsv41 nginx nls nodrm nominatim nptl nsplugin nvme offensive ogg oggvorbis on-the-fly-crypt openal opencl openctl openexr opengl openh264 openmp openssh openssl opensslcrypt opus oscar osmesa otr pam pango parse-clocks passfile passwdqc passwordsave paste64 pcap pci pcmcia pcntl pcre pdf pdfimport perl pgo php pidgin pipewire pixbuf player plazes plotutils png pnm policykit pop3d popcnt portage portaudio posix postproc ppds print printsupport priority procmail proj pulseaudio pvr python pyzor qml qt5 quicktime rar raw razor rc5 rdesktop readline realmedia realtime recursor remix rle rnnoise romio rpc rpz rrdcgi rrdtool rss rtc rtf rtmp rtsp rubberband run-as-root sasl scanner schroedinger screen scripts scrypt sctp sdk sdl seccomp secure-delete sendmail sendto sensord serial server sftp sftplogging shape sharedext sharedmem shmvideo shorten silc sip sipim skins slp smi smime smp smtp sndfile snmp soap sockets sofia-sip softfax sound sox spamassassin speex spell spf spi split-usr sqlite sqlite3 srtp sse sse2 sse3 sse4_1 sse4_2 ssh ssl ssse3 startup-notification static-modules stats stream subtitles subversion svg svgz swat swig syntax-check sysfs syslog system-libvpx system-llvm sysvipc szip t1lib taglib tagwriting tcl tcltk template test-rust tetex tga themes theora thesaurus threads threadsafe thumbnail thunar thunderbird tiff timidity tk tokenizer tokyocabinet toolame toolbar tools transcode tremor truetype twolame type1 udev udf udisks ugly unbound unicode unzip update_drivedb upnp upower ups urandom uriparser usb utils v4l v4l2 vaapi vala valgrind vdpau vdr vhosts video vim vim-syntax visualization vlc vlm vmaf vnc vorbis vorbis-psy vpx vulkan vxml watchdog wav wavpack web webkit webkit2 webp webrtc wfs wg-quick widescreen wikipedia winbind wma wmf wmp wxwidgets wxwindows x264 x265 xattr xcb xcomposite xface xft xine xinerama xml xmlrpc xmltv xorg xosd xpm xrandr xrender xscreensaver xsettings xsl xslt xterm xulrunner xvfb xvid xvmc xz yaepg yahoo yahoo-geo zeroconf zimg zink zip zlib zrtp zstd zvbai zvbi" ABI_X86="64" ADA_TARGET="gnat_2021" 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 avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a 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="evdev roccat_savu libinput joystick" 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-4" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_10 python3_11" QEMU_SOFTMMU_TARGETS="arm ppc ppc64 x86_64" QEMU_USER_TARGETS="arm ppc ppc64 x86_64" RUBY_TARGETS="ruby31 ruby32" SANE_BACKENDS="gphoto2 abaton agfafocus apple artec artec_eplus48u as6e avision bh canon canon630u canon_dr canon_pp cardscan coolscan coolscan2 coolscan3 dc25 dc210 dc240 dell1600n_net dmc epjitsu epson epson2 fujitsu genesys gt68xx hp hp3500 hp3900 hp4200 hp5400 hp5590 hpsj5s hpljm1005 hs2p ibm kodak kodakaio kvs1025 kvs20xx leo lexmark ma1509 magicolor matsushita microtek microtek2 mustek mustek_pp mustek_usb nec net niash p5 pie pixma plustek plustek_pp qcam ricoh rts8891 s9036 sceptre sharp sm3600 sm3840 snapscan sp15c st400 stv680 tamarack teco1 teco2 teco3 test u12 umax umax_pp umax1220u xerox_mfp" USERLAND="GNU" VIDEO_CARDS="amdgpu radeon radeonsi" 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, LC_ALL, LD, 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 kong ~ #
Created attachment 858133 [details] build log build log
I ran into the same failure during a emerge -e world. If needed, I can post my build log as well.
I just built a new rig and almost a year later, running into same failure. Any ideas on solving this?
I had the same issue on sci-electronics/pcb-4.2.2. I do not know why it happens, as I could not find any differences in the Makefile for aries.m4 and the other .m4 targets. With the temp files of the failed build I used the following workaround to get sci-electronics/pcb-4.2.2 installed and a working binpkg of it. This might also help with sci-electronics/pcb-4.3.0 As root: cd /var/tmp/portage/sci-electronics/pcb-4.2.2/work/pcb-4.2.2/lib make aries.m4 chown portage:portage aries.m4 ebuild /var/db/repos/gentoo/sci-electronics/pcb/pcb-4.2.2.ebuild merge package