Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 111775 - mail-client/sylpheed-claws-1.9.15: unexpected tmp image layout
Summary: mail-client/sylpheed-claws-1.9.15: unexpected tmp image layout
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High trivial
Assignee: Marius Mauch (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-07 05:41 UTC by Martin Mokrejš
Modified: 2006-05-11 07:17 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Mokrejš 2005-11-07 05:41:07 UTC
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/share/applications" || mkdir -p --
"/var/tmp/portage/sylpheed-claws-1.9.15/image//usr/share/applications"
 /bin/install -c -m 644 'sylpheed-claws.desktop'
'/var/tmp/portage/sylpheed-claws-1.9.15/image//usr/share/applications/sylpheed-claws.desktop'
test -z "/usr/share/icons/hicolor/48x48/apps" || mkdir -p --
"/var/tmp/portage/sylpheed-claws-1.9.15/image//usr/share/icons/hicolor/48x48/apps"
 /bin/install -c -m 644 'sylpheed-claws.png'
'/var/tmp/portage/sylpheed-claws-1.9.15/image//usr/share/icons/hicolor/48x48/apps/sylpheed-claws.png'
test -z "/usr/lib/pkgconfig" || mkdir -p --
"/var/tmp/portage/sylpheed-claws-1.9.15/image//usr/lib/pkgconfig"
 /bin/install -c -m 644 'sylpheed-claws.pc'
'/var/tmp/portage/sylpheed-claws-1.9.15/image//usr/lib/pkgconfig/sylpheed-claws.pc'
test -z "/usr/include/sylpheed-claws" || mkdir -p --
"/var/tmp/portage/sylpheed-claws-1.9.15/image//usr/include/sylpheed-claws"
 /bin/install -c -m 644 'config.h'
'/var/tmp/portage/sylpheed-claws-1.9.15/image//usr/include/sylpheed-claws/config.h'
make[2]: Leaving directory
`/var/tmp/portage/sylpheed-claws-1.9.15/work/sylpheed-claws-1.9.15'
make[1]: Leaving directory
`/var/tmp/portage/sylpheed-claws-1.9.15/work/sylpheed-claws-1.9.15'
sed: can't read
/var/tmp/portage/sylpheed-claws-1.9.15/image//usr/share/gnome/apps/Internet/sylpheed-claws.desktop:
No such file or directory
mv: cannot stat
`/var/tmp/portage/sylpheed-claws-1.9.15/image//usr/share/gnome/apps/Internet/sylpheed-claws.desktop':
No such file or directory
man:
gzipping man page: sylpheed-claws.1
prepallstrip:
strip: i686-pc-linux-gnu-strip --strip-unneeded
   usr/lib/sylpheed-claws/plugins/trayicon.so
   usr/lib/sylpheed-claws/plugins/pgpcore.so
   usr/lib/sylpheed-claws/plugins/pgpmime.so
   usr/lib/sylpheed-claws/plugins/pgpinline.so


I believe the tmp layout is fine but the install scripts just cannot find teh files
Comment 1 Marius Mauch (RETIRED) gentoo-dev 2005-11-13 03:51:56 UTC
This seems to be system-dependent somehow, needs further investigation.
Comment 2 Martin Mokrejš 2005-12-12 07:30:24 UTC
With 2.0.0_rc1 I got:

make[2]: Nothing to be done for `install-exec-am'.
/bin/sh ./config/mkinstalldirs
/var/tmp/portage/sylpheed-claws-2.0.0_rc1/image//usr/share/applications
mkdir -p -- /var/tmp/portage/sylpheed-claws-2.0.0_rc1/image//usr/share/applications
 /bin/install -c -m 644 sylpheed-claws.desktop
/var/tmp/portage/sylpheed-claws-2.0.0_rc1/image//usr/share/applications/sylpheed-claws.desktop
/bin/sh ./config/mkinstalldirs
/var/tmp/portage/sylpheed-claws-2.0.0_rc1/image//usr/share/icons/hicolor/48x48/apps
mkdir -p --
/var/tmp/portage/sylpheed-claws-2.0.0_rc1/image//usr/share/icons/hicolor/48x48/apps
 /bin/install -c -m 644 sylpheed-claws.png
/var/tmp/portage/sylpheed-claws-2.0.0_rc1/image//usr/share/icons/hicolor/48x48/apps/sylpheed-claws.png
/bin/sh ./config/mkinstalldirs
/var/tmp/portage/sylpheed-claws-2.0.0_rc1/image//usr/lib/pkgconfig
mkdir -p -- /var/tmp/portage/sylpheed-claws-2.0.0_rc1/image//usr/lib/pkgconfig
 /bin/install -c -m 644 sylpheed-claws.pc
/var/tmp/portage/sylpheed-claws-2.0.0_rc1/image//usr/lib/pkgconfig/sylpheed-claws.pc
/bin/sh ./config/mkinstalldirs
/var/tmp/portage/sylpheed-claws-2.0.0_rc1/image//usr/include/sylpheed-claws
 /bin/install -c -m 644 config.h
/var/tmp/portage/sylpheed-claws-2.0.0_rc1/image//usr/include/sylpheed-claws/config.h
make[2]: Leaving directory
`/var/tmp/portage/sylpheed-claws-2.0.0_rc1/work/sylpheed-claws-2.0.0-rc1'
make[1]: Leaving directory
`/var/tmp/portage/sylpheed-claws-2.0.0_rc1/work/sylpheed-claws-2.0.0-rc1'
mv: cannot stat
`/var/tmp/portage/sylpheed-claws-2.0.0_rc1/image//usr/share/man/man1/sylpheed.1':
No such file or directory
mv: cannot stat
`/var/tmp/portage/sylpheed-claws-2.0.0_rc1/image//usr/share/gnome/apps/Internet/sylpheed-claws.desktop':
No such file or directory
man:
gzipping man page: sylpheed-claws.1
prepallstrip:
strip: i686-pc-linux-gnu-strip --strip-unneeded
   usr/lib/sylpheed-claws/plugins/trayicon.so
   usr/lib/sylpheed-claws/plugins/pgpcore.so
   usr/lib/sylpheed-claws/plugins/pgpmime.so
   usr/lib/sylpheed-claws/plugins/pgpinline.so
   usr/bin/sylpheed-claws
>>> Completed installing sylpheed-claws-2.0.0_rc1 into
/var/tmp/portage/sylpheed-claws-2.0.0_rc1/image/

>>> Merging mail-client/sylpheed-claws-2.0.0_rc1 to /
--- /usr/
--- /usr/share/
--- /usr/share/locale/
--- /usr/share/locale/bg/
--- /usr/share/locale/bg/LC_MESSAGES/
>>> /usr/share/locale/bg/LC_MESSAGES/sylpheed-claws.mo
--- /usr/share/locale/ca/
--- /usr/share/locale/ca/LC_MESSAGES/
>>> /usr/share/locale/ca/LC_MESSAGES/sylpheed-claws.mo
[...]
Comment 3 timbrain 2006-04-19 16:18:04 UTC
These are errors in ebuild.
In procedure src_install() after "make DESTDIR=${D} install" which does correct installation meant by SC developers, there are some strange mv's & install's...
I think, for example "/usr/share/gnome/apps/Internet" is directory from Gnome1, obsolete in Gnome2 - so Sylpheed-Claws' make correctly doesn't generate sylpheed-claws.desktop in this dir & Sylpheed-Claws' make install correctly doesn't install it.
But ebuild tries to be too clever...
Maybe this faulty code came from pre-gnome2 ebuild or from original sylpheed ebuild....
Comment 4 timbrain 2006-04-19 16:31:41 UTC
I think summary should be changed to
"sylpheed-claws-2.0.0 ebuild tries to install nonexistent files"
Comment 5 Marius Mauch (RETIRED) gentoo-dev 2006-05-11 07:17:18 UTC
Made the code conditional so there should be no more error messages.