gmake[6]: Entering directory `/var/tmp/portage/media-libs/mesa-9.1.3/work/Mesa-9.1.3/src/mesa/drivers/dri/common' Making all in xmlpool gmake[7]: Entering directory `/var/tmp/portage/media-libs/mesa-9.1.3/work/Mesa-9.1.3/src/mesa/drivers/dri/common/xmlpool' Updating () de/LC_MESSAGES/options.mo from de.po. msgfmt: error while opening "de/LC_MESSAGES/options.mo" for writing: No such file or directory gmake[7]: *** [de/LC_MESSAGES/options.mo] Error 1 gmake[7]: Leaving directory `/var/tmp/portage/media-libs/mesa-9.1.3/work/Mesa-9.1.3/src/mesa/drivers/dri/common/xmlpool' gmake[6]: *** [all-recursive] Error 1 gmake[6]: Leaving directory `/var/tmp/portage/media-libs/mesa-9.1.3/work/Mesa-9.1.3/src/mesa/drivers/dri/common' gmake[5]: *** [all-recursive] Error 1 gmake[5]: Leaving directory `/var/tmp/portage/media-libs/mesa-9.1.3/work/Mesa-9.1.3/src/mesa/drivers/dri' gmake[4]: *** [all-recursive] Error 1 gmake[4]: Leaving directory `/var/tmp/portage/media-libs/mesa-9.1.3/work/Mesa-9.1.3/src/mesa/drivers' gmake[3]: *** [all-recursive] Error 1 gmake[3]: Leaving directory `/var/tmp/portage/media-libs/mesa-9.1.3/work/Mesa-9.1.3/src/mesa' gmake[2]: *** [all] Error 2 gmake[2]: Leaving directory `/var/tmp/portage/media-libs/mesa-9.1.3/work/Mesa-9.1.3/src/mesa' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/var/tmp/portage/media-libs/mesa-9.1.3/work/Mesa-9.1.3/src' gmake: *** [all-recursive] Error 1 * ERROR: media-libs/mesa-9.1.3 failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=media-libs/mesa-9.1.3'`, * the complete build log and the output of `emerge -pqv '=media-libs/mesa-9.1.3'`. * The complete build log is located at '/var/tmp/portage/media-libs/mesa-9.1.3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-libs/mesa-9.1.3/temp/environment'. * Working directory: '/var/tmp/portage/media-libs/mesa-9.1.3/work/Mesa-9.1.3' * S: '/var/tmp/portage/media-libs/mesa-9.1.3/work/Mesa-9.1.3' >>> Failed to emerge media-libs/mesa-9.1.3, Log file: >>> '/var/tmp/portage/media-libs/mesa-9.1.3/temp/build.log' * Messages for package x11-libs/libXfont-1.4.5-r1: * truetype support is disabled, non-Xft applications might not display truetype fonts. * Messages for package x11-proto/xcb-proto-1.8-r3: * Please rebuild both libxcb and xcb-util if you are upgrading from version 1.6 * Messages for package x11-apps/xinit-1.3.2: * If you use startx to start X instead of a login manager like gdm/kdm, * you can set the XSESSION variable to anything in /etc/X11/Sessions/ or * any executable. When you run startx, it will run this as the login session. * You can set this in a file in /etc/env.d/ for the entire system, * or set it per-user in ~/.bash_profile (or similar for other shells). * Here's an example of setting it for the whole system: * echo XSESSION="Gnome" > /etc/env.d/90xsession * env-update && source /etc/profile * Messages for package media-libs/mesa-9.1.3: * Found a non POSIX test construction in a configure script * The configure checks of this package may not function properly * Please report this on Gentoo Bugzilla in Gentoo/Alt product for component FreeBSD. * http://bugs.gentoo.org/enter_bug.cgi?product=Gentoo%2FAlt&component=FreeBSD&op_sys=FreeBSD * ERROR: media-libs/mesa-9.1.3 failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=media-libs/mesa-9.1.3'`, * the complete build log and the output of `emerge -pqv '=media-libs/mesa-9.1.3'`. * The complete build log is located at '/var/tmp/portage/media-libs/mesa-9.1.3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-libs/mesa-9.1.3/temp/environment'. * Working directory: '/var/tmp/portage/media-libs/mesa-9.1.3/work/Mesa-9.1.3' * S: '/var/tmp/portage/media-libs/mesa-9.1.3/work/Mesa-9.1.3' * GNU info directory index is up-to-date.
Portage 2.2.0_alpha177 (default/bsd/fbsd/amd64/9.1, gcc-4.6.3, freebsd-lib-9.1, 9.1-r1-Gentoo amd64) ================================================================= System uname: FreeBSD-9.1-r1-Gentoo-amd64-64bit-ELF KiB Mem: 4173108 total KiB Swap: 512 total Timestamp of tree: Sun, 26 May 2013 02:00:01 +0000 ld GNU ld (GNU Binutils) 2.22 app-shells/bash: 4.2_p42 dev-lang/python: 2.7.3-r3, 3.2.3-r2 dev-util/pkgconfig: 0.28 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.11.8 sys-devel/autoconf: 2.69 sys-devel/automake: 1.11.6, 1.13.2 sys-devel/binutils: 2.22-r1 sys-devel/gcc: 4.5.4, 4.6.3 sys-devel/gcc-config: 1.8 sys-devel/libtool: 2.4.2 sys-devel/make: 3.82-r4 sys-freebsd/freebsd-lib: 9.1 (virtual/os-headers) Repositories: gentoo ACCEPT_KEYWORDS="amd64-fbsd ~amd64-fbsd" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-gentoo-freebsd9.1" CFLAGS="-O2 -pipe -mtune=generic" CHOST="x86_64-gentoo-freebsd9.1" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/terminfo" CXXFLAGS="-O2 -pipe -mtune=generic" DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs chflags config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" INSTALL_MASK="/usr/lib/systemd" LANG="en_US.UTF-8" LDFLAGS="" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="acl amd64-fbsd berkdb bindist cracklib crypt cxx dri gdbm iconv ipv6 java5 java6 mmx modules multilib ncurses nls oss pam pcre python2 readline sse sse2 ssl tcpd unicode zlib" 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="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="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="FreeBSD" 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" KERNEL="FreeBSD" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="BSD" VIDEO_CARDS="apm ark chips cirrus cyrix dummy i128 intel mach64 mga nv r128 radeon rendition s3 s3virge savage siliconmotion sis tga trident tseng fbdev" 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, EMERGE_DEFAULT_OPTS, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
This error was caused by: 1) emerge mesa I have spent the last 24 hours attempting the resolve the issue with no luck, this appears to have broken some aspects of my package system since I am no longer able to emerge other software. I would really like to continue testing FreeBSD Gentoo but at the moment, I am down unable to proceed until we get feedback from the FreeBSD Gentoo team.
As you will see this is where the errors begin and I suspect are the key to resolving the issue: gmake[7]: Entering directory `/var/tmp/portage/media-libs/mesa-9.1.3/work/Mesa-9.1.3/src/mesa/drivers/dri/common/xmlpool' Updating () de/LC_MESSAGES/options.mo from de.po. msgfmt: error while opening "de/LC_MESSAGES/options.mo" for writing: No such file or directory gmake[7]: *** [de/LC_MESSAGES/options.mo] Error 1
This is portability issue. http://cgit.freedesktop.org/mesa/mesa/tree/src/mesa/drivers/dri/common/xmlpool/Makefile.am#n69 > %/LC_MESSAGES/options.mo: %.po > @mo="$@" \ > lang=$${mo%%/*}; \ > echo "Updating ($$lang) $@ from $?."; \ Notice that "mo" assignment line lack ";". It work as expected on bash, but not on sh. With sh, lang is just set to empty, which is causing this build failure.
I have switched from sh to the bash shell and all my issues have been temporarily resolved. I say "temporarily" resolved sine I prefer the sh shell over bash.
(In reply to Naohiro Aota from comment #4) > This is portability issue. > > http://cgit.freedesktop.org/mesa/mesa/tree/src/mesa/drivers/dri/common/ > xmlpool/Makefile.am#n69 > > > %/LC_MESSAGES/options.mo: %.po > > @mo="$@" \ > > lang=$${mo%%/*}; \ > > echo "Updating ($$lang) $@ from $?."; \ > > Notice that "mo" assignment line lack ";". It work as expected on bash, but > not on sh. With sh, lang is just set to empty, which is causing this build > failure. Send me a patch via mesa-dev@lists.freedesktop.org and I'll commit it. :)
I've sent the patch to the list.
(In reply to Naohiro Aota from comment #7) > I've sent the patch to the list. Thanks. I applied the patch to the master and 9.1 branches. 9.1.4 should be right around the corner.
9.1.4 is now in CVS