Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 211481 - [xfce overlay] xfce-base/xfdesktop-9999 does not compile
Summary: [xfce overlay] xfce-base/xfdesktop-9999 does not compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: XFCE Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-26 07:47 UTC by Marek Bartosiewicz
Modified: 2008-02-26 17:16 UTC (History)
0 users

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


Attachments
build.log (build.log,22.06 KB, text/plain)
2008-02-26 11:55 UTC, Marek Bartosiewicz
Details
emerge --info (emerge-info.txt,3.95 KB, text/plain)
2008-02-26 11:56 UTC, Marek Bartosiewicz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marek Bartosiewicz 2008-02-26 07:47:09 UTC
I'm not sure if I should file this bug, am I right that 9999 are unsupported? Anyway, heres the thing (for me the "env: ca: No such file or directory" line is suspicious):

 U   trunk
Checked out revision 26640.
 *    working copy: /usr/portage/distfiles/svn-src/xfdesktop/trunk

>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/xfce-base/xfdesktop-9999/work/xfdesktop-9999 ...
 * patching autogen.sh
Preparing package directory /var/tmp/portage/xfce-base/xfdesktop-9999/work/xfdesktop-9999...
Creating /var/tmp/portage/xfce-base/xfdesktop-9999/work/xfdesktop-9999/aclocal.m4...
Running glib-gettextize --force --copy...
Copying file mkinstalldirs
Copying file po/Makefile.in.in

Please add the files
  codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4
  progtest.m4
from the /usr/share/aclocal directory to your autoconf macro directory
or directly to your aclocal.m4 file.
You will also need config.guess and config.sub, which you can get from
ftp://ftp.gnu.org/pub/gnu/config/.

Running intltoolize --automake --copy --force
Patching file 'po/Makefile.in.in'
Running libtoolize --force --copy...
You should add the contents of `/usr/share/aclocal/libtool.m4' to `aclocal.m4'.
Running aclocal-1.10   -I /usr/share/xfce4/dev-tools/m4macros -I /usr/share/xfce4/dev-tools/m4macros...
Running autoheader-2.61...
Running automake-1.10 --force-missing --add-missing --copy --gnu...
configure.ac:31: installing `./install-sh'
configure.ac:31: installing `./missing'
common/Makefile.am: installing `./depcomp'
menueditor/Makefile.am:3: compiling `menueditor-add-dialog.c' with per-target flags requires `AM_PROG_CC_C_O' in `configure.ac'
panel-plugin/Makefile.am:70: `%'-style pattern rules are a GNU make extension
Makefile.am: installing `./INSTALL'
Running autoconf-2.61...

[SNIP]

configure: creating ./config.status
config.status: creating Makefile
config.status: creating backdrops/Makefile
config.status: creating common/Makefile
config.status: creating doc/Makefile
config.status: creating doc/C/Makefile
config.status: creating doc/C/xfdesktop.xml
config.status: creating doc/C/images/Makefile
config.status: creating doc/fr/Makefile
config.status: creating doc/fr/xfdesktop.xml
config.status: creating doc/fr/images/Makefile
config.status: creating menueditor/Makefile
config.status: creating modules/Makefile
config.status: creating modules/menu/Makefile
config.status: creating modules/menu/directory-data/Makefile
config.status: creating modules/menu/menu-data/Makefile
config.status: creating panel-plugin/Makefile
config.status: creating pixmaps/Makefile
config.status: creating po/Makefile.in
config.status: creating po-doc/Makefile
config.status: creating settings/Makefile
config.status: creating src/Makefile
config.status: creating xfdesktop.spec
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing intltool commands
config.status: executing default-1 commands
config.status: executing po/stamp-it commands

Build Configuration:
  Build menu editor:                            yes
  Build desktop menu module:                    yes
  Build desktop menu panel plugin:              yes
  Build support for desktop icons:              yes
      Include support for file/launcher icons:  yes

Now type "make" to compile.
make  all-recursive
make[1]: Entering directory `/var/tmp/portage/xfce-base/xfdesktop-9999/work/xfdesktop-9999'
Making all in backdrops
make[2]: Entering directory `/var/tmp/portage/xfce-base/xfdesktop-9999/work/xfdesktop-9999/backdrops'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/xfce-base/xfdesktop-9999/work/xfdesktop-9999/backdrops'
Making all in common
make[2]: Entering directory `/var/tmp/portage/xfce-base/xfdesktop-9999/work/xfdesktop-9999/common'
/bin/sh ../libtool --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..    -I../src -I/usr/include/xfce4 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/atk-1.0   -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12   -O2 -march=athlon64 -pipe -fomit-frame-pointer -c -o libxfdesktop_la-xfdesktop-common.lo `test -f 'xfdesktop-common.c' || echo './'`xfdesktop-common.c
/bin/sh ../libtool --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..    -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12   -DXFCEMODDIR=\"/usr/lib64/xfce4/modules\" -O2 -march=athlon64 -pipe -fomit-frame-pointer -c -o libxfdesktop_menu_la-desktop-menu-stub.lo `test -f 'desktop-menu-stub.c' || echo './'`desktop-menu-stub.c
mkdir .libs
 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -DXFCEMODDIR=\"/usr/lib64/xfce4/modules\" -O2 -march=athlon64 -pipe -fomit-frame-pointer -c desktop-menu-stub.c  -fPIC -DPIC -o .libs/libxfdesktop_menu_la-desktop-menu-stub.o
env: ca: No such file or directory
make[2]: *** [libxfdesktop_menu_la-desktop-menu-stub.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../src -I/usr/include/xfce4 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/atk-1.0 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -O2 -march=athlon64 -pipe -fomit-frame-pointer -c xfdesktop-common.c  -fPIC -DPIC -o .libs/libxfdesktop_la-xfdesktop-common.o
env: ca: No such file or directory
make[2]: *** [libxfdesktop_la-xfdesktop-common.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/xfce-base/xfdesktop-9999/work/xfdesktop-9999/common'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/xfce-base/xfdesktop-9999/work/xfdesktop-9999'
make: *** [all] Error 2
 *
 * ERROR: xfce-base/xfdesktop-9999 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2342:  Called xfce4-svn_src_compile
 *             environment, line 3108:  Called die
 * The specific snippet of code:
 *       emake ${JOBS} || die
 *  The die message:
 *   (no error message)
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/xfce-base/xfdesktop-9999/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/xfce-base/xfdesktop-9999/temp/environment'.
 *


Reproducible: Always

Steps to Reproduce:
1. layman -a xfce
2. emerge xfdesktop
3.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2008-02-26 08:10:44 UTC
Well, we obviously can't fix live SVN stuff since it's changing all the time. The only thing we can fix is an issue with the ebuild itself, which obviously isn't the problem here.

Report to http://bugzilla.xfce.org/ if the problem persists for more than a couple of days.
Comment 2 Marek Bartosiewicz 2008-02-26 09:25:04 UTC
Hello again, I think that we have an ebuild problem, as xfdesktop from SVN compiles cleanly by hand:
http://bugzilla.xfce.org/show_bug.cgi?id=3877

[SNIP]
gcc -shared  .libs/xfce4_desktop_menu_la-desktop-menu.o -Wl,--whole-archive ../../common/.libs/libxfdesktop.a -Wl,--no-whole-archive  /usr/lib64/libxfce4menu-0.1.so -L/usr/lib64 /usr/lib64/libSM.so /usr/lib64/libICE.so /usr/lib64/libX11.so /usr/lib64/libxfcegui4.so /usr/lib64/libthunar-vfs-1.so /usr/lib64/libexo-0.3.so /usr/lib64/libgthread-2.0.so -lrt /usr/lib64/libgtk-x11-2.0.so /usr/lib64/libxfce4util.so /usr/lib64/libgdk-x11-2.0.so /usr/lib64/libatk-1.0.so /usr/lib64/libgdk_pixbuf-2.0.so /usr/lib64/libpangocairo-1.0.so /usr/lib64/libpango-1.0.so /usr/lib64/libcairo.so /usr/lib64/libgobject-2.0.so /usr/lib64/libgmodule-2.0.so -ldl /usr/lib64/libglib-2.0.so  -pthread -pthread -Wl,--export-dynamic -pthread -pthread -Wl,-soname -Wl,xfce4_desktop_menu.so -o .libs/xfce4_desktop_menu.so
rm -fr .libs/xfce4_desktop_menu.lax
mkdir .libs/xfce4_desktop_menu.lax
rm -fr .libs/xfce4_desktop_menu.lax/libxfdesktop.a
mkdir .libs/xfce4_desktop_menu.lax/libxfdesktop.a
(cd .libs/xfce4_desktop_menu.lax/libxfdesktop.a && ar x /xfce_svn/xfdesktop/trunk/modules/menu/../../common/.libs/libxfdesktop.a)
ar cru .libs/xfce4_desktop_menu.a  xfce4_desktop_menu_la-desktop-menu.o  .libs/xfce4_desktop_menu.lax/libxfdesktop.a/libxfdesktop_la-xfdesktop-common.o
ranlib .libs/xfce4_desktop_menu.a
rm -fr .libs/xfce4_desktop_menu.lax
creating xfce4_desktop_menu.la
(cd .libs && rm -f xfce4_desktop_menu.la && ln -s ../xfce4_desktop_menu.la xfce4_desktop_menu.la)
make[4]: Opuszczenie katalogu `/xfce_svn/xfdesktop/trunk/modules/menu'
make[3]: Opuszczenie katalogu `/xfce_svn/xfdesktop/trunk/modules/menu'
make[3]: Wejście do katalogu `/xfce_svn/xfdesktop/trunk/modules'
make[3]: Nie ma nic do zrobienia w `all-am'.
make[3]: Opuszczenie katalogu `/xfce_svn/xfdesktop/trunk/modules'
make[2]: Opuszczenie katalogu `/xfce_svn/xfdesktop/trunk/modules'
Making all in pixmaps
make[2]: Wejście do katalogu `/xfce_svn/xfdesktop/trunk/pixmaps'
make[2]: Nie ma nic do zrobienia w `all'.
make[2]: Opuszczenie katalogu `/xfce_svn/xfdesktop/trunk/pixmaps'
make[2]: Wejście do katalogu `/xfce_svn/xfdesktop/trunk'
make[2]: Opuszczenie katalogu `/xfce_svn/xfdesktop/trunk'
make[1]: Opuszczenie katalogu `/xfce_svn/xfdesktop/trunk'
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2008-02-26 09:34:47 UTC
Sigh... I said to bug upstream in a couple of *days*, not two minutes after this bug has been resolved. 
Comment 4 Marek Bartosiewicz 2008-02-26 09:38:11 UTC
Yeah, sorry!
I've found that this bug has something to do with LANG in the ebuild. That "env: ca: No such file or directory" changed to the next lang code when I removed "ca" from the ebuild's LANG line. But I don't know how to "repair" the ebuild.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2008-02-26 11:27:01 UTC
Attach a full emerge log w/ MAKEOPTS="-j1" and post emerge --info output.
Comment 6 Marek Bartosiewicz 2008-02-26 11:55:56 UTC
Created attachment 144670 [details]
build.log
Comment 7 Marek Bartosiewicz 2008-02-26 11:56:42 UTC
Created attachment 144671 [details]
emerge --info
Comment 8 Marek Bartosiewicz 2008-02-26 11:59:03 UTC
Here ya go.
And by the way, xfdesktop-9999 emerged succesfully when I modified the lang line to:
LANG="pl"
i.e. only one language was left.
Comment 9 Christoph Mende (RETIRED) gentoo-dev 2008-02-26 16:49:08 UTC
The problem was actually that the variable was named LANG, simply renaming it (it's now LINGUAS) fixed the problem without removing Catalan.
Comment 10 Marek Bartosiewicz 2008-02-26 17:16:03 UTC
Thanks, it emerges cleanly now.