Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 139039 - amarok-1.4.1 fails to compile with LINGUAS=pl
Summary: amarok-1.4.1 fails to compile with LINGUAS=pl
Status: RESOLVED DUPLICATE of bug 139055
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Other
: High normal (vote)
Assignee: Diego Elio Pettenò (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-03 10:00 UTC by lothalev
Modified: 2006-07-03 12:40 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 lothalev 2006-07-03 10:00:32 UTC
amarok-1.4.1 fails to compile (due to configure warnings/problems) when LINGUAS variable is set in /etc/make.conf.

I have the following versions of autotools installed:
automake: 1.6.3 1.9.6-r2
autoconf: 2.60

emerge --info follows... (with LINGUAS already unset)
Portage 2.1.1_pre2-r2 (default-linux/x86/2006.0, gcc-3.4.6/vanilla, glibc-2.4-r3, 2.6.16-ck11 i686)
=================================================================
System uname: 2.6.16-ck11 i686 Intel(R) Celeron(R) M processor         1400MHz
Gentoo Base System version 1.12.1
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  0.4.2-r1
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.60
sys-devel/automake:  1.6.3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4m -O2 -pipe -mfpmath=sse"
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/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=pentium4m -pipe -mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS=""
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acpi alsa apache2 apm avi bzip2 cdr crypt dlloader dri elibc_glibc exif fam foomaticdb gif glut gtk2 hal i8x0 isdnlog jpeg kde kdexdeltas kernel_linux lcms mad memlimit mmx mmxext mng mp3 mpeg ncurses nls no-old-linux nptl nptlonly ogg opengl pam pcre pdflib png posix pppd python qt qt3 qt4 quicktime readline reflection sdl sse ssl theora truetype truetype-fonts type1-fonts udev unicode vorbis wifi x86 xorg xv xvid xvmc zlib input_devices_keyboard input_devices_mouse input_devices_synaptics input_devices_evdev userland_GNU video_cards_i810 video_cards_i915"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-07-03 10:02:19 UTC
If you don't tell what the problems are, nobody will ever know.
Comment 2 lothalev 2006-07-03 12:08:00 UTC
As I've written above, amarok-1.4.1 does not compile on my configuration with LINGUAS set (LINGUAS=pl)

First it puts some warnings, like:
*** Creating Makefile templates
doc/Makefile.am:4: required directory doc/pl does not exist

then:

wrong input (flag != 4) at admin/conf.change.pl line 117, <> line 1441.
config.status: creating Makefile
config.status: WARNING:  Makefile.in seems to ignore the --datarootdir setting
config.status: creating doc/Makefile
config.status: WARNING:  doc/Makefile.in seems to ignore the --datarootdir setting
....
config.status: creating doc/amarok/Makefile
config.status: WARNING:  doc/amarok/Makefile.in seems to ignore the --datarootdir setting
config.status: creating doc/da/Makefile
config.status: WARNING:  doc/da/Makefile.in seems to ignore the --datarootdir setting


Finally, it tries to compile the source, with failure:

/bin/sh ../../../libtool --silent --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../amarok/src -I../../../amarok/src/amarokcore -I../../../amarok/src -I../../../amarok/src/engine -I../../../amarok/src/plugin -I../../../amarok/src/statusbar -I../../../amarok/src/mediadevice -I/usr/kde/3.5/include -I/usr/qt/3/include -I.  -I/usr/kde/3.5/include  -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -march=pentium4m -pipe -mfpmath=sse -fno-inline -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c -o amarokdcophandler.lo amarokdcophandler.cpp
amarokdcophandler.cpp:22:26: amarokconfig.h: No such file or directory
In file included from amarokdcophandler.cpp:35:
../../../amarok/src/playlist.h:23:26: amarokconfig.h: No such file or directory
In file included from amarokdcophandler.cpp:35:
../../../amarok/src/playlist.h:117: error: incomplete type `AmarokConfig' used in nested name specifier
In file included from amarokdcophandler.cpp:36:
../../../amarok/src/playlistbrowser.h:74: error: incomplete type `AmarokConfig' used in nested name specifier
amarokdcophandler.cpp: In member function `virtual bool amaroK::DcopPlayerHandler::equalizerEnabled()':
amarokdcophandler.cpp:80: error: incomplete type `AmarokConfig' used in nested name specifier
amarokdcophandler.cpp: In member function `virtual bool amaroK::DcopPlayerHandler::osdEnabled()':
amarokdcophandler.cpp:87: error: incomplete type `AmarokConfig' used in nested name specifier
amarokdcophandler.cpp: In member function `virtual bool amaroK::DcopPlayerHandler::randomModeStatus()':
amarokdcophandler.cpp:97: error: incomplete type `AmarokConfig' used in nested name specifier
amarokdcophandler.cpp: In member function `virtual QString amaroK::DcopPlayerHandler::engine()':
amarokdcophandler.cpp:206: error: incomplete type `AmarokConfig' used in nested name specifier
amarokdcophandler.cpp: In member function `virtual QString amaroK::DcopPlayerHandler::setContextStyle(const QString&)':
amarokdcophandler.cpp:236: error: incomplete type `AmarokConfig' used in nested name specifier
amarokdcophandler.cpp: In member function `virtual void amaroK::DcopPlayerHandler::enableOSD(bool)':
amarokdcophandler.cpp:286: error: incomplete type `AmarokConfig' used in nested name specifier
amarokdcophandler.cpp: In member function `virtual void amaroK::DcopPlayerHandler::enableRandomMode(bool)':
amarokdcophandler.cpp:292: error: `struct AmarokConfig::EnumRandomMode' has not been declared
amarokdcophandler.cpp:292: error: `Tracks' was not declared in this scope
amarokdcophandler.cpp:292: error: `struct AmarokConfig::EnumRandomMode' has not been declared
amarokdcophandler.cpp:292: error: `Off' was not declared in this scope
amarokdcophandler.cpp:292: warning: unused variable 'Tracks'
amarokdcophandler.cpp:292: warning: unused variable 'Off'
amarokdcophandler.cpp: In member function `virtual void amaroK::DcopPlayerHandler::enableRepeatPlaylist(bool)':
amarokdcophandler.cpp:298: error: `struct AmarokConfig::EnumRepeat' has not been declared
amarokdcophandler.cpp:298: error: expected primary-expression before ':' token
amarokdcophandler.cpp:298: error: `struct AmarokConfig::EnumRepeat' has not been declared
amarokdcophandler.cpp:298: error: `Off' was not declared in this scope
amarokdcophandler.cpp:298: warning: unused variable 'Off'
amarokdcophandler.cpp: In member function `virtual void amaroK::DcopPlayerHandler::enableRepeatTrack(bool)':
amarokdcophandler.cpp:304: error: `struct AmarokConfig::EnumRepeat' has not been declared
amarokdcophandler.cpp:304: error: `Track' was not declared in this scope
amarokdcophandler.cpp:304: error: `struct AmarokConfig::EnumRepeat' has not been declared
amarokdcophandler.cpp:304: error: `Off' was not declared in this scope
amarokdcophandler.cpp:304: warning: unused variable 'Track'
amarokdcophandler.cpp:304: warning: unused variable 'Off'
amarokdcophandler.cpp: In member function `virtual void amaroK::DcopPlayerHandler::setEqualizerEnabled(bool)':
amarokdcophandler.cpp:384: error: incomplete type `AmarokConfig' used in nested name specifier
amarokdcophandler.cpp: In member function `virtual QString amaroK::DcopScriptHandler::readConfig(const QString&)':
amarokdcophandler.cpp:816: error: `KConfigSkeletonItem' was not declared in this scope
amarokdcophandler.cpp:816: error: `configItem' was not declared in this scope
amarokdcophandler.cpp:816: error: incomplete type `AmarokConfig' used in nested name specifier
amarokdcophandler.cpp:816: warning: unused variable 'KConfigSkeletonItem'
amarokdcophandler.cpp: In member function `virtual QStringList amaroK::DcopScriptHandler::readListConfig(const QString&)':
amarokdcophandler.cpp:826: error: `KConfigSkeletonItem' was not declared in this scope
amarokdcophandler.cpp:826: error: `configItem' was not declared in this scope
amarokdcophandler.cpp:826: error: incomplete type `AmarokConfig' used in nested name specifier
amarokdcophandler.cpp:826: warning: unused variable 'KConfigSkeletonItem'
amarokdcophandler.cpp:922:33: amarokdcophandler.moc: No such file or directory
make[4]: *** [amarokdcophandler.lo] Error 1
make[4]: Leaving directory `/var/tmp/portage/amarok-1.4.1/work/amarok-1.4.1/amarok/src/amarokcore'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/amarok-1.4.1/work/amarok-1.4.1/amarok/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/amarok-1.4.1/work/amarok-1.4.1/amarok'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/amarok-1.4.1/work/amarok-1.4.1'
make: *** [all] Error 2

!!! ERROR: media-sound/amarok-1.4.1 failed.
Call stack:
  ebuild.sh, line 1545:   Called dyn_compile
  ebuild.sh, line 940:   Called src_compile
  amarok-1.4.1.ebuild, line 74:   Called kde_src_compile
  kde.eclass, line 164:   Called kde_src_compile 'all'
  kde.eclass, line 306:   Called kde_src_compile 'myconf' 'configure' 'make'
  kde.eclass, line 302:   Called die

!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, and the call stack if relevant.
--------------------

Compiling without LINGUAS set works as expected.
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-07-03 12:40:21 UTC
Okay the warning about pl documentation is one problem (and I just fixed it) as the released documentation was broken.

The other problem sounds like a parallel make issue.


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