Project

General

Profile

Gentoo 'emerge --config "=www-apps/redmine-1.4.3"' compile error

Added by Hugo Mueller about 12 years ago

Hi,

trying to install redmine on Gentoo.. my target is to get all running using apache with fastcgi..

here is the output of the emerge --config:

emerge --config "=www-apps/redmine-1.4.3" 

Configuring pkg...

 *
 * Upgrade database.
 *
 * Migrate database.
rake aborted!
(eval):1: compile error
(eval):1: syntax error, unexpected $end, expecting '}'

Tasks: TOP => db:migrate => environment
(See full trace by running task with --trace)
 * ERROR: www-apps/redmine-1.4.3 failed (config phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line  85:  Called pkg_config
 *   environment, line 3841:  Called die
 * The specific snippet of code:
 *           RAILS_ENV="${RAILS_ENV}" ${RUBY} -S rake db:migrate || die;
 *
 * If you need support, post the output of `emerge --info '=www-apps/redmine-1.4.3'`,
 * the complete build log and the output of `emerge -pqv '=www-apps/redmine-1.4.3'`.
 * This ebuild is from an overlay named 'gentoo': '/var/db/pkg/'
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="" JAVA_HOME="/etc/java-config-2/current-system-vm" 
JAVACFLAGS="" COMPILER="" 
and of course, the output of emerge --info
 * The complete build log is located at '/var/tmp/portage/www-apps/redmine-1.4.3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/www-apps/redmine-1.4.3/temp/environment'.
 * Working directory: '/var/lib/redmine'
 * S: '/var/tmp/portage/www-apps/redmine-1.4.3/work/redmine-1.4.3'

as described in the error here are the outputs:

emerge --info '=www-apps/redmine-1.4.3'
Portage 2.1.11.10 (default/linux/amd64/10.0/server, gcc-4.6.3, glibc-2.15-r2, 3.5.2-gentoo x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.5.2-gentoo-x86_64-AMD_E-350_Processor-with-gentoo-2.2
Timestamp of tree: Thu, 23 Aug 2012 23:15:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [enabled]
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.12
dev-lang/python:          2.7.3-r2, 3.2.3-r1
dev-util/cmake:           2.8.8-r3
dev-util/pkgconfig:       0.27
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.10.5
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.69
sys-devel/automake:       1.12.3
sys-devel/binutils:       2.22.90
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.5 (virtual/os-headers)
sys-libs/glibc:           2.15-r2
Repositories: gentoo
ACCEPT_KEYWORDS="amd64 ~amd64" 
ACCEPT_LICENSE="* -@EULA Oracle-BCLA-JavaSE" 
CBUILD="x86_64-pc-linux-gnu" 
CFLAGS="-O2 -pipe" 
CHOST="x86_64-pc-linux-gnu" 
CONFIG_PROTECT="/etc /var/lib/redmine/config" 
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /var/lib/redmine/config/locales /var/lib/redmine/config/settings.yml" 
CXXFLAGS="-O2 -pipe" 
DISTDIR="/usr/portage/distfiles" 
FCFLAGS="-O2 -pipe" 
FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified distcc distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" 
FFLAGS="-O2 -pipe" 
GENTOO_MIRRORS="ftp://192.168.4.94:9421/" 
LANG="de_DE.UTF-8" 
LDFLAGS="-Wl,-O1 -Wl,--as-needed" 
MAKEOPTS="-j3" 
PKGDIR="/usr/portage/packages" 
PORTAGE_CONFIGROOT="/" 
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="" 
SYNC="rsync://192.168.4.94/gentoo-portage" 
USE="acl acpi amd64 apache2 berkdb bzip2 caps cli cracklib crypt cups cxx dri extra fam fontconfig fortran gd gdbm gpm iconv ipv6 jadetex java java6 jpeg kpathsea latex logrotate mmx modules mpi mudflap multilib mysql ncurses nls nptl odbc openmp pam pcre pdo perl php png postgres pppd python readline samba session snmp sqlite sqlite3 sse sse2 sse3 ssl tcpd tiff truetype unicode urandom utils xml xmlrpc 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 authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

www-apps/redmine-1.4.3 was built with the following:
USE="fastcgi ldap (multilib) -imagemagick -openid -passenger -test" RUBY_TARGETS="ruby18" 

emerge -pqv '=www-apps/redmine-1.4.3'
[ebuild   R   ] www-apps/redmine-1.4.3  USE="fastcgi ldap -imagemagick -openid -passenger -test" RUBY_TARGETS="ruby18" 

I'm trying now to get redmine running for a while... so I should have some dependencies and configurations done already... Anyway, a "compile error" does not seems to be caused by configurations.

This emerge --config "=www-apps/redmine-1.4.3" was executed right after newly emerged redmine (had to re-emerge it because I forgot the fastcgi USE-flag)

Any idea what I am doing wrong?

Thanks


Replies (1)

RE: Gentoo 'emerge --config "=www-apps/redmine-1.4.3"' compile error - Added by Hugo Mueller about 12 years ago

Update:

moved the /var/lib/redmine folder, unmerged redmine and re-emerged it again. Now --config works again, but Im still having troubles to get redmine work with apache and fastcgi (always getting an "idle timeout").. after a bit researches I guess something goes wrong inside the .fcgi - but I cannot figure out what it actually does..

Is the .fcgi coming from redmine itself or is it a gentoo-portage file? I mean... can someone here help me with that, or shall I go to gentoo instead?

Thanks

    (1-1/1)