Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 312719 - x11-libs/openmotif-2.3.3: "installation of demos failed" with USE="examples jpeg png -xft"
Summary: x11-libs/openmotif-2.3.3: "installation of demos failed" with USE="examples j...
Status: RESOLVED DUPLICATE of bug 355795
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Ulrich Müller
URL:
Whiteboard:
Keywords: REGRESSION
: 312723 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-04-01 23:07 UTC by Björn Michaelsen
Modified: 2012-01-03 19:03 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---
ulm: Bugday+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Björn Michaelsen 2010-04-01 23:07:19 UTC
ebuild fails with:
make[2]: Leaving directory `/var/tmp/portage/x11-libs/openmotif-2.3.3/work/openmotif-2.3.3/demos/programs/getsubres'
Making install-data in hellomotif
make[2]: Entering directory `/var/tmp/portage/x11-libs/openmotif-2.3.3/work/openmotif-2.3.3/demos/programs/hellomotif'
../../../clients/uil/uil -o hellomotif.uid hellomotif.uil -I./../../../clients/uil -I../../../clients/uil

Severe: internal error - submit defect report
make[2]: *** [hellomotif.uid] Error 1
make[2]: Leaving directory `/var/tmp/portage/x11-libs/openmotif-2.3.3/work/openmotif-2.3.3/demos/programs/hellomotif'
make[1]: *** [install-data-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-libs/openmotif-2.3.3/work/openmotif-2.3.3/demos/programs'
make: *** [install-data-recursive] Error 1
make: Leaving directory `/var/tmp/portage/x11-libs/openmotif-2.3.3/work/openmotif-2.3.3/demos'
 * ERROR: x11-libs/openmotif-2.3.3 failed:
 *   installation of demos failed
 * 
 * Call stack:
 *     ebuild.sh, line  54:  Called src_install
 *   environment, line 3314:  Called die
 * The specific snippet of code:
 *           emake -j1 -C demos DESTDIR="${D}" install-data || die "installation of demos failed";


Reproducible: Always

Steps to Reproduce:
1. emerge openmotif
(I guess it only happens with USE="examples")

Actual Results:  
ebuild breaks

Expected Results:  
ebuild installs

Portage 2.1.8.3 (default/linux/amd64/10.0/developer, gcc-4.4.3, glibc-2.11-r1, 2.6.33-gentoo x86_64)
=================================================================
System uname: Linux-2.6.33-gentoo-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9650_@_3.00GHz-with-gentoo-2.0.1
Timestamp of tree: Thu, 01 Apr 2010 19:15:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     4.1_p2-r1
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.5-r1, 3.1.2-r1
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.1
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1
sys-devel/gcc:       4.4.3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.33
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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="-march=core2 -O2 -pipe"
DISTDIR="/var/portage/distfiles"
FEATURES="assume-digests buildpkg collision-protect cvs distlocks fixpackages multilib-strict news parallel-fetch protect-owned sandbox sfperms sign strict unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="de en_US en"
MAKEOPTS="-j9"
PKGDIR="/var/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="/var/portage"
PORTDIR_OVERLAY="/var/local-portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 bash-completion berkdb bluetooth bzip2 cairo cdr cli consolekit cracklib crypt cscope cups cxx dbus derby dga doc dri dts dvb dvd dvdr emboss encode examples exif fam ffmpeg firefox flac fortran fortune fts3 gdbm gif gimp gnome-keyring gnutls gpm gtk hal iconv imap ipv6 jadetex java jpeg jpeg2k lame laptop latex lcms ldap libnotify lm_sensors mad mikmod mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses netbeans new-login nls nntp nptl nptlonly nsplugin nvidia objc odbc offensive ogg opengl openmp pam pango pcre pdf perl png policykit ppds pppd python qt3support readline reflection sdl seamonkey session smime snmp spell spl sqlite sqlite3 sse sse2 ssl startup-notification svg sysfs syslog taglib tcpd theora tiff truetype unicode usb v4l v4l2 vim-pager vim-syntax vim-with-x vorbis x264 xcb xface xfce xinerama xml xorg xulrunner xv xvid xvmc zlib" 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" 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 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" DVB_CARDS="usb-dib0700 dibusb-usb1 dibusb-usb2" ELIBC="glibc" INPUT_DEVICES="virtualbox joystick keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en_US en" NETBEANS_MODULES="*" RUBY_TARGETS="jruby ruby18" USERLAND="GNU" VIDEO_CARDS="nv nvidia virtualbox vesa" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Björn Michaelsen 2010-04-01 23:14:59 UTC
*** Bug 312723 has been marked as a duplicate of this bug. ***
Comment 2 Chí-Thanh Christopher Nguyễn gentoo-dev 2010-04-09 07:42:50 UTC
Your report does not include the actual gcc call that fails, probably because you have -j in MAKEOPTS and/or missed some lines during copy/paste.

Google suggests to add -fno-strict-aliasing to CFLAGS.
Comment 3 Björn Michaelsen 2010-04-09 17:44:21 UTC
../../../clients/uil/uil -o hellomotif.uid hellomotif.uil -I./../../../clients/uil -I../../../clients/uil

Severe: internal error - submit defect report
make[2]: *** [hellomotif.uid] Error 1

^--- Thats the offending command. It does not fail while compiling with gcc, but when running the "uil" command (a compiler that is part of openmotif itself). Likely the error only happens with USE="doc"
Comment 4 Ulrich Müller gentoo-dev 2010-04-10 09:14:59 UTC
I can reproduce the problem only with one particular combination of USE flags, namely "examples jpeg png -xft". The problem didn't exist with openmotif-2.3.2-r2.

(In reply to comment #3)
> Likely the error only happens with USE="doc"

That doesn't make any difference, it fails for me with both "doc" and "-doc".
Comment 5 Ulrich Müller gentoo-dev 2010-04-10 22:25:51 UTC
I've looked at the problem and I must admit that I'm currently at a loss.
Some findings:
- Difference between 2.3.2 and 2.3.3 is that 2.3.2 used yacc to generate the
  uil parser, while 2.3.3 uses "bison -y".
- The problem occurs only within the sandbox environment, i.e. with
  LD_PRELOAD=libsandbox.so. Running make in demos/programs/hellomotif/ outside
  of the sandbox works just fine.
- I don't know why the behaviour should depend on the jpeg and png USE flags.

Any ideas?
Comment 6 Ulrich Müller gentoo-dev 2010-08-24 09:53:42 UTC
Is this still an issue with sandbox-2.3?
Comment 7 Ulrich Müller gentoo-dev 2010-12-02 07:23:26 UTC
(In reply to comment #6)
> Is this still an issue with sandbox-2.3?

No reply, and I cannot reproduce the problem any more.
Please reopen if this is still an issue.
Comment 8 Ulrich Müller gentoo-dev 2012-01-03 19:03:57 UTC

*** This bug has been marked as a duplicate of bug 355795 ***