Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 191349 - media-libs/libnjb-2.2.5-r1 and media-libs/libmtp-0.2.1 fail to install
Summary: media-libs/libnjb-2.2.5-r1 and media-libs/libmtp-0.2.1 fail to install
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-05 09:22 UTC by Carmine Paolino
Modified: 2007-09-06 07:25 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
libmtp.buildlog (libmtp.buildlog,48.99 KB, text/plain)
2007-09-05 09:56 UTC, Tony Vroon (RETIRED)
Details
bugged.buildlog (build.log,36.83 KB, text/plain)
2007-09-05 10:03 UTC, Carmine Paolino
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Carmine Paolino 2007-09-05 09:22:12 UTC
libnjb-2.2.5-r1 fails to install (it compiles ok) with this error:
/usr/bin/install -c -d /var/tmp/portage/media-libs/libnjb-2.2.5-r1/image//usr/share/doc/libnjb-2.2.5/html
/usr/bin/install -c -m 644 html/* /var/tmp/portage/media-libs/libnjb-2.2.5-r1/image//usr/share/doc/libnjb-2.2.5/html
/usr/bin/install: impossibile fare stat di `html/*': No such file or directory
make[2]: *** [install-data-local] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-libs/libnjb-2.2.5-r1/work/libnjb-2.2.5/doc'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/var/tmp/portage/media-libs/libnjb-2.2.5-r1/work/libnjb-2.2.5/doc'
make: *** [install-recursive] Error 1

!!! ERROR: media-libs/libnjb-2.2.5-r1 failed.
Call stack:
  ebuild.sh, line 1638:   Called dyn_install
  ebuild.sh, line 1083:   Called qa_call 'src_install'
  ebuild.sh, line 44:   Called src_install
  libnjb-2.2.5-r1.ebuild, line 27:   Called die


same for libmtp-allversions:
/usr/bin/install -c -d /var/tmp/portage/media-libs/libmtp-0.2.1/image//usr/share/doc/libmtp-0.2.1/html
/usr/bin/install -c -m 644 html/* /var/tmp/portage/media-libs/libmtp-0.2.1/image//usr/share/doc/libmtp-0.2.1/html
/usr/bin/install: impossibile fare stat di `html/*': No such file or directory
make[2]: *** [install-data-local] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-libs/libmtp-0.2.1/work/libmtp-0.2.1/doc'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/var/tmp/portage/media-libs/libmtp-0.2.1/work/libmtp-0.2.1/doc'
make: *** [install-recursive] Error 1

!!! ERROR: media-libs/libmtp-0.2.1 failed.
Call stack:
  ebuild.sh, line 1638:   Called dyn_install
  ebuild.sh, line 1083:   Called qa_call 'src_install'
  ebuild.sh, line 44:   Called src_install
  libmtp-0.2.1.ebuild, line 27:   Called die

Reproducible: Always

Steps to Reproduce:
1. emerge -1 libnjb
2. emerge -1 libmtp




tested (and always got that errors) with libnjb-2.2.5-r1 and ALL VERSIONS of libmtp with ANY combination of use flags "doc" and "examples
Comment 1 Tony Vroon (RETIRED) gentoo-dev 2007-09-05 09:36:30 UTC
Please do not report two separate bugs (however similar) in one bug report. Also, you should attach emerge --info at all times. When emerging something for a bug report, please use:

LC_ALL="C" emerge libmtp libnjb

That way error messages are readable to developers. I will clear out /usr/share/doc/libmtp* and see if I can reproduce the bug for libmtp (I do not maintain libnjb).
Comment 2 Tony Vroon (RETIRED) gentoo-dev 2007-09-05 09:41:51 UTC
deep-blue / # rm -rf /usr/share/doc/libmtp*
deep-blue / # emerge libmtp

This builds correctly. I will attach a buildlog of libmtp for confirmation in a moment. For good measure, here is my emerge --info:

Portage 2.1.3.7 (default-linux/x86/2007.0/desktop, gcc-4.2.0, glibc-2.6.1-r0, 2.6.23-rc3-gcb00e99c i686)
=================================================================
System uname: 2.6.23-rc3-gcb00e99c i686 Intel(R) Pentium(R) M processor 1.60GHz
Gentoo Base System release 1.12.10
Timestamp of tree: Unknown
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4, 2.5.1-r2
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.10-r4
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18
sys-devel/gcc-config: 1.4.0-r2
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=pentium-m -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs collision-protect cvs digest distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms sign unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.virginmedia.com/"
LANG="en_GB.UTF-8"
LC_ALL="en_GB.UTF-8"
LDFLAGS="-Wl,--as-needed"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/cvs/gentoo-x86"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://localhost/disabled"
USE="7zip S3TC X a52 aac aalib acpi adns adplug aim alsa amazon amr ao aotuv asf async audacious audiofile avahi bash-completion beagle berkdb bitmap-fonts bl bluetooth branding bzip2 cairo cardbus cddb cdr cracklib crypt cups curl dbus device-mapper devmap disk-partition divx djbfft djvu dmi dpms dri dts dv dvd dvdr dvdread dvi eap-tls ecc encode erandom ethereal evo exif expat fam fbcon ffmpeg fftw firefox flac fortran ftp gaim galago gdbm gif gimp glitz glut gmedia gnome-print gnutls gpg2-experimental gpgme gpm gstreamer gtk hal hdaps hpn i8x0 ical iconv icq idle imagemagick imap imlib2 ipv6 irc irda irmc jabber java jbig jce jpeg jpeg2k lame libcaca libnotify libsamplerate libsexy live lzo lzw mad matroska mbox mbrola md5sum midi mikmod mjpeg mmx mmxext mng modplug mozbranding mp2 mp3 mp4 mpeg mpeg2 mplayer msn mtp mudflap musepack nautilus ncurses network nls no-old-linux nokia6600 nptl nptlonly nsplugin ogg openal opengl openmp pam pcmcia pcre pdf perl physfs plugins png pnm ppds pri python qt3support quicktime rar readline real realmedia reflection rle rss rtc samba sdl session sid silc sms sndfile speex spell spl srt srv sse sse2 ssl startup-notification svg swig symlink syslog t1lib tga theora threads thumbnail thunar-vfs thunderbird tiff timidity trayicon truetype truetype-fonts tta type1-fonts unicode urandom usb uudeview v4l v4l2 vncviewer vorbis vorbis-psy wavpack web win32codecs wma wmf wmp x86 xanim xcomposite xhtml xinerama xml xml2 xorg xv xvid xvmc zlib" ALSA_CARDS="emu10k1 intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="i810"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Carmine Paolino 2007-09-05 09:51:59 UTC
(In reply to comment #2)
> deep-blue / # rm -rf /usr/share/doc/libmtp*
> deep-blue / # emerge libmtp
> 
> This builds correctly.
For me didn't change anything../usr/bin/install -c -m 644 html/* /var/tmp/portage/media-libs/libmtp-0.2.1/image//usr/share/doc/libmtp-0.2.1/html
/usr/bin/install: cannot stat `html/*': No such file or directory
make[2]: *** [install-data-local] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-libs/libmtp-0.2.1/work/libmtp-0.2.1/doc'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/var/tmp/portage/media-libs/libmtp-0.2.1/work/libmtp-0.2.1/doc'
make: *** [install-recursive] Error 1



> I will attach a buildlog of libmtp for confirmation in a
> moment. For good measure, here is my emerge --info:

mine is:
Portage 2.1.2.12 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.5-r4, 2.6.22-gentoo-r5-mactel i686)
=================================================================
System uname: 2.6.22-gentoo-r5-mactel i686 Intel(R) Core(TM)2 CPU T7400 @ 2.16GHz
Gentoo Base System release 2.0.0_alpha4
Timestamp of tree: Wed, 05 Sep 2007 08:20:01 +0000
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 2.0.0_alpha4
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://mirror.switch.ch/ftp/mirror/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://gentoo.mirror.solnet.ch http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
LANG="it_IT.UTF-8"
LC_ALL="it_IT.UTF-8"
LINGUAS="it"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/gechi /usr/portage/local/layman/mpd /usr/portage/local/layman/armagetron /usr/portage/local/layman/xeffects /usr/portage/local/layman/picoverlay /usr/portage/local/layman/dottout /usr/local/portage /usr/local/amule-overlay"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi aiglx aim alsa apache2 avahi bash-completion berkdb bitmap-fonts bluetooth cairo cddb cdparanoia cdr cli cracklib crypt cups dbus dri dvd dvdr exif fam ffmpeg firefox fortran ftp gdbm gif gpm gtk gtk2 hal iconv icq ieee1394 imagemagick imap ipv6 isdnlog jabber jack jpeg lcms ldap libnotify lirc mad madwifi midi mikmod mmx mono mp3 mpeg msn mudflap mysql ncurses nls nntp nptl nptlonly nsplugin ogg openal opengl openmp oscar pam pcre perl png pppd python quicktime readline reflection samba sdl session smp spl sse sse2 ssl startup-notification svg symlink tcpd theora threads tiff truetype truetype-fonts type1-fonts unicode v4l v4l2 vorbis wifi win32codecs x86 xcomposite xine xorg xscreensaver xv xvid yahoo zlib" ALSA_CARDS="hda-intel usb-audio virmidi" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" LIRC_DEVICES="devinput macmini" USERLAND="GNU" VIDEO_CARDS="radeon vesa fbdev vga"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 Tony Vroon (RETIRED) gentoo-dev 2007-09-05 09:56:16 UTC
Created attachment 130069 [details]
libmtp.buildlog
Comment 5 Tony Vroon (RETIRED) gentoo-dev 2007-09-05 09:59:50 UTC
There you are, the libmtp.buildlog
Please make one of your own, using:

LC_ALL="C" emerge libmtp &> libmtp.buildlog

Attach the resulting file to this bug. That we can both run diff between our versions and see why it installs for me and not for you. As a possible cause, you have MAKEOPTS="-j3" specified, while I do not have such an option.
It could be that the installation fails when run with multiple jobs.

Could you try the following, after you have created your buildlog (which I would still like to see):

MAKEOPTS="-j1" emerge libmtp
Comment 6 Carmine Paolino 2007-09-05 10:03:29 UTC
Created attachment 130071 [details]
bugged.buildlog

This is my (bugged) buildlog
Comment 7 Carmine Paolino 2007-09-05 10:06:33 UTC
(In reply to comment #5)
> There you are, the libmtp.buildlog
> Please make one of your own, using:
> 
> LC_ALL="C" emerge libmtp &> libmtp.buildlog

done, see previous post

> As a possible cause,
> you have MAKEOPTS="-j3" specified, while I do not have such an option.
> It could be that the installation fails when run with multiple jobs.

Why? it's an installation problem, not a compilation one ;-)

> MAKEOPTS="-j1" emerge libmtp

Anyway.. i tried, but with the same result :-(
Comment 8 Tony Vroon (RETIRED) gentoo-dev 2007-09-05 10:20:31 UTC
(In reply to comment #7)
> Why? it's an installation problem, not a compilation one ;-)

It's likely an ordering issue, because the installation does run with 3 make threads. If job 2 or 3 wants to put a file in a directory that job 1 hasn't created yet... *boom*

> MAKEOPTS="-j1" emerge libmtp
> Anyway.. i tried, but with the same result :-(

That is strange, I would have expected it to work. However, let's try the fix that I was planning to put in, and edit the ebuild:
emake DESTDIR="${D}" install || die "emake install failed"

This line will become:
emake -j1 DESTDIR="${D}" install || die "emake install failed" 

This will override the -j3 option only in the installation, and will not cause a speed penalty in the actual compilation process. You will need to run:
ebuild libmtp-0.2.1.ebuild digest

after you edit the ebuild, or portage will refuse to run it.

Comment 9 Carmine Paolino 2007-09-05 12:03:30 UTC
(In reply to comment #8)

> emake -j1 DESTDIR="${D}" install || die "emake install failed" 

tried with same result...

btw, what version of doxygen you have?
Comment 10 Tony Vroon (RETIRED) gentoo-dev 2007-09-05 12:26:52 UTC
(In reply to comment #9)
> > emake -j1 DESTDIR="${D}" install || die "emake install failed" 
> tried with same result...

Okay.

> btw, what version of doxygen you have?

[ebuild     U ] app-doc/doxygen-1.5.3 [1.4.7] USE="-debug% -doc -nodot% -qt3 -tetex" 3,533 kB

I will upgrade and see if it makes a difference. 

Comment 11 Tony Vroon (RETIRED) gentoo-dev 2007-09-05 12:48:05 UTC
(In reply to comment #10)
> [ebuild     U ] app-doc/doxygen-1.5.3 [1.4.7] USE="-debug% -doc -nodot% -qt3
> -tetex" 3,533 kB
> I will upgrade and see if it makes a difference. 

This made no difference.

What version of libtool are you on please?
[ebuild   R   ] sys-devel/libtool-1.5.24  USE="-vanilla" 0 kB

Could you upgrade or remerge yours, and make sure that USE="vanilla" is not set for this ebuild? 

Comment 12 Carmine Paolino 2007-09-05 14:08:35 UTC
(In reply to comment #11)

> Could you upgrade or remerge yours, and make sure that USE="vanilla" is not set
> for this ebuild? 

[ebuild   R   ] sys-devel/libtool-1.5.24  USE="-vanilla" 0 kB 
[ebuild   R   ] app-doc/doxygen-1.5.2  USE="-doc -qt3 -tetex" 0 kB 

remerged fine, but still have the same problem... (all other packages compiles, runs, dodocs etc. fine..) :-(

Comment 13 Jeroen Roovers (RETIRED) gentoo-dev 2007-09-05 15:06:03 UTC
media-libs/libmtp-0.2.1 builds fine for me, including documentation.

It seems like both of you have USE=-doc in your emerge --info. Maybe that sheds some light on the matter. Maybe it's a USE flag set in package.use that is causing this?

Tue Sep  4 19:06:10 CEST 2007
Portage 2.1.2.12 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.5-r4, 2.6.15-gentoo-r5 i686)
=================================================================
System uname: 2.6.15-gentoo-r5 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System release 1.12.9
Timestamp of tree: Wed, 05 Sep 2007 04:50:01 +0000
app-shells/bash:     3.2_p17
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -pipe -march=athlon"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-Os -pipe -march=athlon"
DISTDIR="/keeps/gentoo/distfiles"
FEATURES="autoaddcvs buildpkg cvs distlocks fixpackages metadata-transfer notitles sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://gentoo.tiscali.nl/ http://mirror.muntinternet.net/pub/gentoo/ "
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-z,now"
LINGUAS="en-gb en nl fy"
MAKEOPTS="-j2"
PKGDIR="/keeps/gentoo/packages/astrid"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/keeps/gentoo/portage"
PORTDIR_OVERLAY="/keeps/gentoo/local"
SYNC="rsync://10.0.0.153/gentoo-portage"
USE="3dnow 3dnowext X a52 aac aalib acl acpi alsa amr aoss apache2 asf audiofile bash-completion berkdb bitmap-fonts bl bonobo boost bzip2 cairo caps cdda cdio cdparanoia cdr chroot cle266 cli cpudetection cracklib crypt cscope cups curl custom-cflags d dga dillo dlloader doc dri dts dv dvd dvdr dvdread dxr3 edl elf emboss encode evo fam fame fbcon ffmpeg firefox flac flash foomaticdb fortran fpx freetype gdbm ggi gif gimpprint glitz glut gmp gnokii gnutls gpm graphviz gs gstreamer gtk gtk2 guile hfs iconv idn ieee1394 imagemagick imap imlib inkjar ipv6 isdnlog jack javascript jbig jingle jpeg jpeg2k kde kerberos ladspa lcms libcaca live lm_sensors logrotate lzo mad matroska midi mikmod mjpeg mmx mmxext mng modplug mozilla mozsvg mozxmlterm mp3 mpeg mudflap musepack nas ncurses nethack network nls nptl nptlonly nsplugin odk offensive ogg opengl openmp oss pam pcre pda pdf perl physfs pic png portaudio pppd python qt qt-static qt3 qt3support qt4 quicktime readline real reflection rtc ruby samba sasl screenshot sdl server session sftplogging slang smux sox speex spell spl sse ssl svg svga sysfs tcl tcpd tetex tga theora threads tiff tk truetype truetype-fonts type1-fonts unicode usb userlocales v4l v4l2 vcd vidix vlm vorbis win32codecs winbind x264 x86 xanim xcomposite xface xine xml xml2 xorg xosd xv xvid xvmc zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en-gb en nl fy" USERLAND="GNU" VIDEO_CARDS="nv"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 14 Jakub Moc (RETIRED) gentoo-dev 2007-09-05 15:15:54 UTC
(In reply to comment #13)
> media-libs/libmtp-0.2.1 builds fine for me, including documentation.

+1

Portage 2.1.3.7 (default-linux/x86/2007.0/desktop, gcc-4.2.0, glibc-2.6.1-r0, 2.6.22-gentoo-r6 i686)
=================================================================
System uname: 2.6.22-gentoo-r6 i686 AMD Athlon(tm) XP 1600+
Gentoo Base System release baselayout-2.0.0_rc4-r1
Timestamp of tree: Wed, 05 Sep 2007 14:30:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.5.1-r2
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.0_rc4-r1
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17, 2.17.50.0.18, 2.18
sys-devel/gcc-config: 1.4.0-r2
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -fforce-addr"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/gentoo-release /etc/php/apache2-php4/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php4/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php4/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d /usr/share/X11/xkb"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -fforce-addr"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical --with-bdeps=y"
FEATURES="ccache collision-protect distlocks metadata-transfer parallel-fetch sandbox sfperms splitdebug strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.fi.muni.cz/pub/linux/gentoo/ http://gentoo.osuosl.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed"
LINGUAS="cs en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--progress --prune-empty-dirs"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/overlays/beryl /usr/local/overlays/enlightenment /usr/local/overlays/php-overlay/testing /usr/local/overlays/php-overlay/experimental"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 7zip X X509 a52 aac aalib acl acpi alsa amr ao asf audiofile avahi bash-completion berkdb bluetooth branding bzip2 cairo caps cddb cdparanoia cdr chroot cli cpudetection cracklib crypt cscope css cups curl curlwrappers daap dbus dbx dga directfb dri dts dv dvb dvd dvdr dvdread encode exif expat fam fame fbcon ffmpeg fftw firefox flac flash flatfile foomaticdb ftp fuse gd gdbm geoip ggi gif gimp glibc-omitfp glitz glut gmp gphoto2 gpm graphviz gs gstreamer gtk hal ical iconv icq idn imagemagick imap imlib inifile ipv6 irda jack javascript jbig joystick jpeg jpeg2k kdeenablefinal kdehiddenvisibility kipi lame lcms libcaca libnotify libsamplerate lirc live lm_sensors logrotate lzo mad maildir matroska midi mikmod mime mjpeg mmap mmx mmxext mng modplug moznopango mp3 mp4 mpeg mplayer mudflap multiuser musepack musicbrainz ncurses network network-cron nfs nls nodrm nptl nptlonly nsplugin nvidia offensive ogg openal opengl openmp pam pcre pdf perl php png portaudio ppds python qt3 qt3support quicktime rar readline real reflection rle ruby samba sdl sdl-image session skey sms sndfile speex spell spl sqlite sqlite3 sse ssl startup-notification subtitles svg symlink syslog tcpd theora threads threadsafe thumbnail tiff truetype unicode urandom usb v4l v4l2 vcd vim-syntax vim-with-x vorbis wavpack win32codecs wmf x264 x86 xattr xcomposite xine xinerama xinetd xml xmlrpc xorg xosd xpm xv xvid xvmc zeroconf zip zlib" ALSA_CARDS="emu10k1 bt87x" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev joystick keyboard mouse vmmouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="cs en" LIRC_DEVICES="cph06x" USERLAND="GNU" VIDEO_CARDS="fbdev nv nvidia v4l vesa vmware"
Unset:  CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 15 Paul Varner (RETIRED) gentoo-dev 2007-09-05 15:17:13 UTC
libmtp builds fine here.

Portage 2.1.2.12 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.5-r4, 2.6.20-gentoo-r8 i686)
=================================================================
System uname: 2.6.20-gentoo-r8 i686 Dual-Core AMD Opteron(tm) Processor 2218
Gentoo Base System release baselayout-2.0.0_rc4-r1
Timestamp of tree: Wed, 05 Sep 2007 08:00:01 +0000
app-shells/bash:     3.2_p17
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 2.0.0_rc4-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=i686 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=i686 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y"
FEATURES="distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa arts berkdb bitmap-fonts branding cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo fam firefox fortran gdbm gif gnome gpm gstreamer gtk hal iconv ipv6 isdnlog jpeg kde kerberos ldap mad midi mikmod mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp oss pam pcre pdf perl png pppd python qt3 qt3support qt4 quicktime readline reflection sdl session spell spl ssl svg tcpd tiff truetype truetype-fonts type1-fonts unicode vorbis win32codecs x86 xml xorg xv zlib" 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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 16 Carmine Paolino 2007-09-05 15:25:04 UTC
(In reply to comment #13)
> media-libs/libmtp-0.2.1 builds fine for me, including documentation.

i tried emerging with ALL combination of use flags:
-doc -examples, +doc -examples, -doc +examples, +doc +examples

and gives me always that error..

remember that i get this error even with libnjb-2.2.5-r1!
Comment 17 Samuli Suominen (RETIRED) gentoo-dev 2007-09-05 15:29:11 UTC
libnjb is fine here, tested it multiple times with all USE combos while adding -r1
to tree.
Comment 18 Tony Vroon (RETIRED) gentoo-dev 2007-09-05 15:33:48 UTC
(In reply to comment #13)

> It seems like both of you have USE=-doc in your emerge --info. Maybe that sheds
> some light on the matter. Maybe it's a USE flag set in package.use that is
> causing this?

To be sure I've tried to build all combinations:
USE="-doc -examples" emerge libmtp
USE="doc -examples" emerge libmtp
USE="-doc examples" emerge libmtp
USE="doc examples" emerge libmtp

All 4 built without error. If I diff my buildlog vs the bugged buildlog (using the -b option to deal with the whitespace changes) I see libtool responding differently, which is why I asked to have it remerged.
Unfortunately it didn't make a difference.
Comment 19 Tony Vroon (RETIRED) gentoo-dev 2007-09-05 15:35:19 UTC
(In reply to comment #16)
> i tried emerging with ALL combination of use flags:
> -doc -examples, +doc -examples, -doc +examples, +doc +examples
> and gives me always that error..
> remember that i get this error even with libnjb-2.2.5-r1!

While I haven't yet determined what the exact problem is, it would be safe to say it is unique to your system. All other developers that I've asked to take a look so far were able to build the package. 

Comment 20 Carmine Paolino 2007-09-05 16:04:47 UTC
(In reply to comment #19)

another package that fails install phase:
/usr/bin/install -c -d -m 0755 /var/tmp/portage/media-libs/ftgl-2.1.2-r1/image//usr/share/doc/ftgl-2.1.2-r1/html
/usr/bin/install -c -m 0644 html/* /var/tmp/portage/media-libs/ftgl-2.1.2-r1/image//usr/share/doc/ftgl-2.1.2-r1/html/
/usr/bin/install: impossibile fare stat di `html/*': No such file or directory
make[1]: *** [install-local] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-libs/ftgl-2.1.2-r1/work/FTGL/unix/docs'
make: *** [install-recursive] Error 2
 * 
 * ERROR: media-libs/ftgl-2.1.2-r1 failed.
 * Call stack:
 *   ebuild.sh, line 1654:   Called dyn_install
 *   ebuild.sh, line 1089:   Called qa_call 'src_install'
 *   ebuild.sh, line 44:   Called src_install
 *   ftgl-2.1.2-r1.ebuild, line 58:   Called einstall
 *   ebuild.sh, line 633:   Called die

> While I haven't yet determined what the exact problem is, it would be safe to
> say it is unique to your system.

So what i have to do? Reinstall gentoo? Oo' :-(
Comment 21 Tony Vroon (RETIRED) gentoo-dev 2007-09-05 16:15:31 UTC
(In reply to comment #20)
> another package that fails install phase:
> /usr/bin/install -c -d -m 0755

> So what i have to do? Reinstall gentoo? Oo' :-(

Let's hope not. Reinstall /usr/bin/install:
deep-blue ~ # qfile /usr/bin/install
sys-apps/coreutils (/usr/bin/install)

So to do that, you'd have to remerge coreutils. Let me know if that does it.

Comment 22 Jeroen Roovers (RETIRED) gentoo-dev 2007-09-05 16:31:53 UTC
(In reply to comment #21)
> (In reply to comment #20)
> > another package that fails install phase:
> > /usr/bin/install -c -d -m 0755
> 
> > So what i have to do? Reinstall gentoo? Oo' :-(
> 
> Let's hope not. Reinstall /usr/bin/install:
> deep-blue ~ # qfile /usr/bin/install
> sys-apps/coreutils (/usr/bin/install)
> 
> So to do that, you'd have to remerge coreutils. Let me know if that does it.

That doesn't make sense. install appears to be working fine, even when it hits the non-existent html/* (which the shell fails to glob). Apparently there are _no_ files in html/ because they haven't been generated, so the problem is to be found earlier on in the process.
Comment 23 Paul Varner (RETIRED) gentoo-dev 2007-09-05 17:22:01 UTC
It really looks to me like doxygen is silently failing.  I can replicate the error if I replace doxygen with a shell script that simply does an exit 0. I see from the comments that you have already re-emerged doxygen, but I really think that is where the problem lies.
Comment 24 Carmine Paolino 2007-09-05 19:47:18 UTC
(In reply to comment #23)
> It really looks to me like doxygen is silently failing.  I can replicate the
> error if I replace doxygen with a shell script that simply does an exit 0. I
> see from the comments that you have already re-emerged doxygen, but I really
> think that is where the problem lies.

To make dependecy chains and library linking more sure i'm doing an emerge -e world, hoping fixes that strange error :-)
Comment 25 Carmine Paolino 2007-09-06 07:25:43 UTC
(In reply to comment #24)

Found the solution!
aruru ~ # which doxygen 
/usr/local/bin/doxygen
aruru ~ # cat /usr/local/bin/doxygen
#!/bin/bash

echo "yes" > /dev/null

O_o o_O O_O UNBELIEVABLE!!

If i find who wrote this script.... i'll redirect him to /dev/null!

Sorry for time-wasting...