Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 290560 - [science overlay] sys-cluster/scalasca-1.2: doesn't compile
Summary: [science overlay] sys-cluster/scalasca-1.2: doesn't compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords: InOverlay
Depends on:
Blocks:
 
Reported: 2009-10-26 12:10 UTC by Carmen Navarrete
Modified: 2011-02-15 22:24 UTC (History)
3 users (show)

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


Attachments
adding missing dependecy (scalasca-1.2.diff,401 bytes, patch)
2009-10-28 18:41 UTC, Kacper Kowalik (Xarthisius) (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Carmen Navarrete 2009-10-26 12:10:32 UTC
++++++++++ CUBE3GUI (Qt version) +++++++++++++++
make[3]: se ingresa al directorio `/var/tmp/portage/sys-cluster/scalasca-1.2/work/scalasca-1.2/build-linux-gomp-nompi/build/cube-3.0/src/GUI-qt'
cat cube3-qt.pro.in > cube3-qt.pro
echo "LIBS += -lstdc++ -L../../../utils/szlib -lsc.z" >> cube3-qt.pro
echo "QMAKE_LFLAGS_SHAPP += -m64 " >> cube3-qt.pro
echo "QMAKE_CXXFLAGS += -march=opteron -O3 -pipe" >> cube3-qt.pro
qmake -unix -spec default -o QtMakefile cube3-qt.pro
make -f QtMakefile
make[4]: se ingresa al directorio `/var/tmp/portage/sys-cluster/scalasca-1.2/work/scalasca-1.2/build-linux-gomp-nompi/build/cube-3.0/src/GUI-qt'
g++ -c -pipe -march=opteron -O3 -pipe -march=opteron -O3 -pipe -Wall -W -D_REENTRANT -DPV_DEF_CFG= -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -Idisplay -I../cube -I. -o Action.o display/Action.cpp
En el fichero incluído de display/Action.cpp:12:
display/Action.h:15:19: error: QAction: No existe el fichero o el directorio
In file included from display/Action.cpp:12:
display/Action.h:19: error: expected class-name before ‘{’ token
display/Action.h:21: error: ISO C++ prohíbe la declaración de ‘Q_OBJECT’ sin tipo
display/Action.h:23: error: expected ‘;’ before ‘public’
display/Action.h:26: error: ISO C++ prohíbe la declaración de ‘QIcon’ sin tipo
display/Action.h:26: error: expected ‘,’ or ‘...’ before ‘&’ token
display/Action.h:29: error: expected ‘:’ before ‘slots’
display/Action.h:33: error: expected primary-expression before ‘void’
display/Action.h:33: error: ISO C++ prohíbe la declaración de ‘slots’ sin tipo
display/Action.h:33: error: expected ‘;’ before ‘void’
display/Action.cpp:14: error: ISO C++ prohíbe la declaración de ‘QString’ sin tipo
display/Action.cpp:14: error: expected ‘,’ or ‘...’ before ‘&’ token
display/Action.cpp: In constructor ‘Action::Action(int)’:
display/Action.cpp:14: error: la clase ‘Action’ no tiene ningún campo llamado ‘QAction’
display/Action.cpp:14: error: ‘text’ no se declaró en este ámbito
display/Action.cpp:14: error: ‘parent’ no se declaró en este ámbito
display/Action.cpp: At global scope:
display/Action.cpp:14: aviso: parámetro ‘QString’ sin uso
display/Action.cpp:16: error: ISO C++ prohíbe la declaración de ‘QIcon’ sin tipo
display/Action.cpp:16: error: expected ‘,’ or ‘...’ before ‘&’ token
display/Action.cpp:16: error: redefinition of ‘Action::Action(int)’
display/Action.cpp:14: error: se define ‘Action::Action(int)’ previamente aquí
display/Action.cpp:22: error: no hay una función miembro ‘void Action::enable()’ declarada en la clase ‘Action’
display/Action.cpp: In member function ‘void Action::disable()’:
display/Action.cpp:29: error: ‘setEnabled’ no se declaró en este ámbito
display/Action.cpp: In member function ‘void Action::check()’:
display/Action.cpp:34: error: ‘setChecked’ no se declaró en este ámbito
display/Action.cpp: In member function ‘void Action::uncheck()’:
display/Action.cpp:39: error: ‘setChecked’ no se declaró en este ámbito
display/Action.cpp: In member function ‘void Action::setCheckedInvert(bool)’:
display/Action.cpp:44: error: ‘setChecked’ no se declaró en este ámbito
make[4]: *** [Action.o] Error 1
make[4]: se sale del directorio `/var/tmp/portage/sys-cluster/scalasca-1.2/work/scalasca-1.2/build-linux-gomp-nompi/build/cube-3.0/src/GUI-qt'
make[3]: *** [all] Error 2
make[3]: se sale del directorio `/var/tmp/portage/sys-cluster/scalasca-1.2/work/scalasca-1.2/build-linux-gomp-nompi/build/cube-3.0/src/GUI-qt'
make[2]: *** [all-cube3-guiqt] Error 2
make[2]: se sale del directorio `/var/tmp/portage/sys-cluster/scalasca-1.2/work/scalasca-1.2/build-linux-gomp-nompi/build'
make[1]: *** [all] Error 2
make[1]: se sale del directorio `/var/tmp/portage/sys-cluster/scalasca-1.2/work/scalasca-1.2/build-linux-gomp-nompi'
make: *** [all] Error 2
 * ERROR: sys-cluster/scalasca-1.2 failed:
 *   emake failed
 * 
 * Call stack:
 *     ebuild.sh, line  49:  Called src_compile
 *   environment, line 3106:  Called die
 * The specific snippet of code:
 *       emake -j1 || die "emake failed"
 * 
 * If you need support, post the output of 'emerge --info =sys-cluster/scalasca-1.2',
 * the complete build log and the output of 'emerge -pqv =sys-cluster/scalasca-1.2'.
 * This ebuild is from an overlay named 'science': '/usr/local/portage/layman/science/'
 * The complete build log is located at '/var/tmp/portage/sys-cluster/scalasca-1.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-cluster/scalasca-1.2/temp/environment'.
 * S: '/var/tmp/portage/sys-cluster/scalasca-1.2/work/scalasca-1.2'

Reproducible: Always

Steps to Reproduce:
1. Compile sys-cluster/scalasca-1.2
2.
3.
Comment 1 Sebastian Luther (few) 2009-10-26 12:14:56 UTC
 * If you need support, post the output of 'emerge --info
=sys-cluster/scalasca-1.2',
 * the complete build log and the output of 'emerge -pqv
=sys-cluster/scalasca-1.2'.
 * This ebuild is from an overlay named 'science':
'/usr/local/portage/layman/science/'
 * The complete build log is located at
'/var/tmp/portage/sys-cluster/scalasca-1.2/temp/build.log'.
Comment 2 Carmen Navarrete 2009-10-26 12:22:46 UTC
emerge --info:

Portage 2.1.7.1 (default/linux/amd64/10.0/server, gcc-4.4.2, glibc-2.10.1-r0, 2.6.23-gentoo-r3 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.23-gentoo-r3-x86_64-AMD_Opteron-tm-_Processor_248-with-gentoo-2.0.1
Timestamp of tree: Mon, 26 Oct 2009 10:45:02 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p35
dev-java/java-config: 1.3.7-r1, 2.1.9-r1
dev-lang/python:     2.4.4-r7, 2.5.4-r2, 2.6.3, 3.1.1-r1
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.5.2-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.20
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=opteron -O3 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=opteron -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch parallelfetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="es_ES.utf8"
LC_ALL="es_ES.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="es en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/science /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow acl acpi amd64 apache apache2 bash-completion berkdb bzip2 cdr clamav cli cracklib crypt cups dbus dri dvd dvdr dvdread emul-linux-x86 ethereal fam fastcgi foomaticdb fortran gdbm gpm gtkhtml hal iconv ieee1394 innodb ipv6 isdnlog java javascript jpeg ldap libg++ mime mmx modules mozilla mudflap multilib mysql mysqli ncurses nls nptl nptlonly odbc offensive openmp pam pcre pdflib perl php pic png posix postgres ppds pppd python readline realine reflection session smartcard snmp sockets spell spl sse sse2 ssl svg sysfs tcpd tetex threads tiff tokenizer truetype unicode usb xml xml2 xmlrpc xorg xpm xsl zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es en" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

emerge -pqv:

[ebuild  N    ] sys-cluster/scalasca-1.2  USE="fortran openmp -debug -doc -examples -mpi -wxwidgets" 

Comment 3 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2009-10-28 18:36:46 UTC
Judging by "QAction: No existe el fichero o el directorio" scalasca should depend on x11-libs/qt-gui:4
Comment 4 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2009-10-28 18:41:22 UTC
Created attachment 208565 [details, diff]
adding missing dependecy
Comment 5 Sébastien Fabbro (RETIRED) gentoo-dev 2009-10-28 20:34:51 UTC
Cc-ing Christoph since he is the committer of the ebuild in the science overlay.
Comment 6 Christoph Junghans (RETIRED) gentoo-dev 2009-10-29 12:28:41 UTC
Added x11-libs/qt-gui:4 to deps, please sync sci overlay and try again
Comment 7 Christoph Junghans (RETIRED) gentoo-dev 2011-02-15 22:24:01 UTC
fixed long time ago.