Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 260244 - qmake from qt 4.5 doesn't generate parallel make safe makefiles (was: media-sound/qjackctl-0.3.4 - Parse error at /var/tmp/portage/media-sound/qjackctl-0.3.4/work/qjackctl-0.3.4/translations/qjackctl_ru.ts:3440:69: Premature end of document.)
Summary: qmake from qt 4.5 doesn't generate parallel make safe makefiles (was: media-s...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
: 268883 269244 (view as bug list)
Depends on:
Blocks: 266201
  Show dependency tree
 
Reported: 2009-02-25 12:07 UTC by Vladimir Savic
Modified: 2014-11-03 13:21 UTC (History)
4 users (show)

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


Attachments
Build log (build.log,28.98 KB, text/plain)
2009-02-25 12:12 UTC, Vladimir Savic
Details
linquist patch (qt-x11-opensource-src-4.5.0-lrelease.patch,452 bytes, patch)
2009-04-16 01:54 UTC, Markos Chandras (RETIRED)
Details | Diff
new qt-gui ebuild (qt-gui-4.5.0-r2.ebuild,5.44 KB, text/plain)
2009-04-16 01:56 UTC, Markos Chandras (RETIRED)
Details
Improved linguist patch (qt-x11-opensource-src-4.5.0-lrelease.patch,896 bytes, patch)
2009-04-16 19:27 UTC, Markos Chandras (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Savic 2009-02-25 12:07:03 UTC
Attach is console output when I try to emerge qjackctl.

Reproducible: Always

Steps to Reproduce:




Portage 2.1.6.7 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.27-gentoo-r8 x86_64)
=================================================================
System uname: Linux-2.6.27-gentoo-r8-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4000+-with-glibc2.2.5
Timestamp of tree: Wed, 25 Feb 2009 10:30:01 +0000
app-shells/bash:     3.2_p48-r1
dev-java/java-config: 2.1.7
dev-lang/python:     2.4.4-r13, 2.5.4-r2
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r1
sys-apps/sandbox:    1.3.8
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://mirror.bih.net.ba/gentoo/ http://distfiles.gentoo.bg/ http://ftp.gentoo.bg/ "
LANG="C"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
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/pro-audio"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 64bit X aac aalib acl acpi alsa amd64 aspell berkdb bindist bzip2 cairo cdr cli cracklib crypt cups dbus djvu dri dssi dvd exif fam ffmpeg flac fltk fontconfig fontforge fortran gdbm glib gpm gtk hal iconv imagemagick ipv6 isdnlog jack java jpeg jpeg2k lcms midi mmx mng mp3 mp4 mudflap multilib mysql ncurses nls nptl nptlonly nsplugin openexr opengl openmp pam pch pcre pdf perl plugins png pppd python qt3 qt4 readline reflection session smp speex spell spl sse sse2 ssl svg svgz sysfs tcl tcpd theora threads tiff tk unicode usb webkit wmf xcomposite xft xine xinerama xml xorg xprint xscreensaver xulrunner xv 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 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" ELIBC="glibc" INPUT_DEVICES="wacom evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Vladimir Savic 2009-02-25 12:12:05 UTC
Created attachment 183132 [details]
Build log
Comment 2 Alexis Ballier gentoo-dev 2009-02-28 13:50:03 UTC
that sounds like if qmake doesn't generate parallel make safe makefiles for the translation files. moreover i've never seen this before qt 4.5.0_rc1
Comment 3 Simon Haegler 2009-03-22 17:36:34 UTC
i can confirm this one (qt-4.5.0, not rc)
Comment 4 Sylvain Chevallier 2009-04-07 02:05:35 UTC
(In reply to comment #2)
> that sounds like if qmake doesn't generate parallel make safe makefiles for the
> translation files. moreover i've never seen this before qt 4.5.0_rc1
> 

Yes, I had the same error. When emerging with MAKEOPTS="-j1", everything works.
Comment 5 Markos Chandras (RETIRED) gentoo-dev 2009-04-16 01:54:17 UTC
Created attachment 188518 [details, diff]
linquist patch
Comment 6 Markos Chandras (RETIRED) gentoo-dev 2009-04-16 01:56:04 UTC
Created attachment 188522 [details]
new qt-gui ebuild

Could you please try to use this ebuild to build qt-gui-4.5.0 and then try to re-emerge qjackctl . This ebuild should fix the translating issues. 

Thanks
Comment 7 Markos Chandras (RETIRED) gentoo-dev 2009-04-16 19:27:10 UTC
Created attachment 188605 [details, diff]
Improved linguist patch

This patch should fix the problem
Comment 8 Markos Chandras (RETIRED) gentoo-dev 2009-04-22 11:07:53 UTC
+*qt-gui-4.5.0-r2 (22 Apr 2009)                                                                      
+                                                                                                    
+  22 Apr 2009; Markos Chandras <hwoarang@gentoo.org>                                                
+  +files/qt-x11-opensource-src-4.5.0-linguist-crash.patch,                                          
+  +files/qt-x11-opensource-src-4.5.0-lrelease.patch,                                                
+  +qt-gui-4.5.0-r2.ebuild:                                                                          
+  New revbump for qt-gui. Fixes bug 265878, bug 260244, bug 259414                                  
+      

Closing 

Re-open if needed.

Thanks for reporting


PS: I ve already contacted upstream about this issue. We dealing with this now using a workaround until we have an official solution :)
Comment 9 Markos Chandras (RETIRED) gentoo-dev 2009-05-07 13:45:47 UTC
*** Bug 268883 has been marked as a duplicate of this bug. ***
Comment 10 Markos Chandras (RETIRED) gentoo-dev 2009-05-10 15:17:15 UTC
*** Bug 269244 has been marked as a duplicate of this bug. ***
Comment 11 Nikos Chantziaras 2014-11-03 12:06:28 UTC
(In reply to Markos Chandras from comment #8)
> Closing 
> 
> Re-open if needed.

When emerging the new media-sound/qjackctl-0.3.12:

lrelease error: Parse error at src/translations/qjackctl_fr.ts:3661:21: Premature end of document.

Please reopen.
Comment 12 Davide Pesavento (RETIRED) gentoo-dev 2014-11-03 13:21:11 UTC
This bug is very old, would you mind opening a new one? Remember to attach the full build log and also please check if it works with -j1.