Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 43171 - libgphoto2-2.1.4 fails to install
Summary: libgphoto2-2.1.4 fails to install
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Alastair Tse (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-27 23:31 UTC by Eric Brown
Modified: 2004-03-01 13:41 UTC (History)
1 user (show)

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


Attachments
build log... from emerge libgphoto2 | tee libgp.log (libgp.log,309.67 KB, text/plain)
2004-03-01 12:00 UTC, Eric Brown
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Brown 2004-02-27 23:31:27 UTC
libgphoto2-2.1.4 fails on install:

make[3]: Nothing to be done for `install-exec-am'.
/bin/install -c -d -m 0755 /var/tmp/portage/libgphoto2-2.1.4/image//usr/share/doc/libgphoto2_port/html/api/gphoto2-port
/bin/install -c -m 644 ./html/*.html /var/tmp/portage/libgphoto2-2.1.4/image//usr/share/doc/libgphoto2_port/html/api/gphoto2-port
/bin/install: cannot stat `./html/*.html': No such file or directory
make[3]: *** [install-data-local] Error 1
make[3]: Leaving directory `/var/tmp/portage/libgphoto2-2.1.4/work/libgphoto2-2.1.4/libgphoto2_port/doc'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/var/tmp/portage/libgphoto2-2.1.4/work/libgphoto2-2.1.4/libgphoto2_port/doc'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/libgphoto2-2.1.4/work/libgphoto2-2.1.4/libgphoto2_port'
make: *** [install-recursive] Error 1


wtf :), this was done with emerge -u if that matters.. (no it doesnt)
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.0-gentoo-r1)
=================================================================
System uname: 2.6.0-gentoo-r1 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.4.3.13p1
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon -O2 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /opt/tomcat/conf /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon -O2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.seren.com/gentoo http://mirror.clarkson.edu/pub/distributions/gentoo/ ftp://gentoo.noved.org/ ftp://gentoo.mirrors.pair.com/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib alsa avi berkdb cdr cjk crypt doc encode flash foomaticdb gdbm gif gphoto2 gpm gtk2 imlib java jpeg libg++ libwww mad mikmod mmx motif mpeg mysql ncurses nls oggvorbis opengl pam pdflib perl png postgres python quicktime readline sdl slang spell ssl svga tcltk tcpd tetex tiff truetype x86 xml2 xv zlib"
Comment 1 Alastair Tse (RETIRED) gentoo-dev 2004-02-28 04:35:22 UTC
can you please include the full build log? looks like a text-markup issue
Comment 2 Eric Brown 2004-02-29 18:37:12 UTC
build log? you mean all the output from emerging it?  i checked /var/log/emerge.log, but it doesn't seem to give any useful info...
Comment 3 Mike Gardiner (RETIRED) gentoo-dev 2004-02-29 19:50:34 UTC
a 'build log' ie, a logfile of the build process can be obtained with something like

emerge libgphoto | tee libgphoto-build.log

and then attach libgphoto-build.log

Thanks.
Comment 4 Eric Brown 2004-03-01 12:00:40 UTC
Created attachment 26676 [details]
build log... from emerge libgphoto2 | tee libgp.log
Comment 5 Eric Brown 2004-03-01 13:23:12 UTC
i was snooping around in the work dir.. (ok i was trying to learn how to debug).. and i looked thru the makefiles..

this problem happens if you do "Make install" in the doc/api directory (the suspicious html dir is there too).. so it turns out, this runs the install-data-local: directive, which is assuming there are html files in the html dir (and there are none, only pngs)...

so i was thinking, isn't HTML documentation usually generated from the sgml stuff?
.. i couldn't get much further than this.. there's some stuff with an html directive in this Makefile, and it uses gtkdoc-mkhtml.. however that doesn't have a man page, so i duno wtf it really does.. i ran make html, and it's familiar output, but it doesn't create HTML files...


i'm gona update openjade/opensd and hope that helps, but i dont think it will.
Comment 6 Eric Brown 2004-03-01 13:41:11 UTC
i fixed it :)

did emerge -u openjade (which went from 1.3.2-r1 to r2).. also openSD got updated... after this, the html files are generated, and it installs fine.  

My first bug fix :)

where's my gentoo-dev hat?!?