qt-core fails to compile, i tried downgrading back to 4.5.3 (since i uninstalled all qt-* to get around blocks) and i got the same error with 4.5.3 Reproducible: Always Steps to Reproduce: 1. attempt to compile qt-core Actual Results: >>> Done src_unpack >>> Starting builtin_saveenv >>> Done builtin_saveenv >>> Completed ebuild phases loadenv unpack saveenv >>> Running ebuild phases loadenv prepare saveenv as paludisbuild:paludisbuild... >>> Starting builtin_loadenv >>> Done builtin_loadenv >>> Starting src_prepare sed: -e expression #1, char 29: unknown option to `s' !!! ERROR in x11-libs/qt-core-4.6.0::gentoo: !!! In qt4-build_src_prepare at line 4534 !!! sed qmake compilers failed !!! Call stack: !!! * qt4-build_src_prepare (/var/tmp/paludis/x11-libs-qt-core-4.6.0/temp/loadsaveenv:4534) !!! * src_prepare (/var/tmp/paludis/x11-libs-qt-core-4.6.0/temp/loadsaveenv:4877) !!! * ebuild_f_prepare (/usr/libexec/paludis/2/src_prepare.bash:54) !!! * ebuild_main (/usr/libexec/paludis/ebuild.bash:604) !!! * main (/usr/libexec/paludis/ebuild.bash:632) diefunc: making ebuild PID 25618 exit with error die trap: exiting with error. Expected Results: compiled nicely i use paludis, shouldn't be relevant though this is notable: https://bugs.gentoo.org/show_bug.cgi?id=292741 i had the same exact error there, and devs decided that was an ebuild fault so they fixed it...probably the same thing needs to be fixed here also, i'm guessing all the other qt-* packages need to be fixed too, but i can't say for sure since they all depend on qt-core so i can't try to compile them [03:02:34][omar] temp $ emerge --info Portage 2.1.7.9 (default/linux/x86/10.0/desktop, gcc-4.4.2, glibc-2.11-r1, 2.6.31-gentoo-r6 i686) ================================================================= System uname: Linux-2.6.31-gentoo-r6-i686-Intel-R-_Pentium-R-_4_CPU_3.20GHz-with-gentoo-2.0.1 Timestamp of tree: Wed, 02 Dec 2009 11:30:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 4.0_p35 dev-java/java-config: 2.1.9-r1 dev-lang/python: 2.5.4-r3, 2.6.4, 3.1.1-r1 dev-util/ccache: 2.4-r8 dev-util/cmake: 2.8.0 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.5.2-r2 sys-apps/sandbox: 2.2 sys-devel/autoconf: 2.13, 2.64 sys-devel/automake: 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.6b virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="x86 ~x86" ACCEPT_LICENSE="* -@EULA" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb" 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="-O2 -march=pentium4 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" LDFLAGS="-Wl,-O1" 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" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa autoipd avahi bash-completion berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups dbus dri dts dvd dvdr eds emboss en encode evdev evo fam firefox flac fortran gdbm gif gnome gpm gstreamer gtk hal iconv ipv6 jpeg ldap libnotify mad mdnsresponder-compat mikmod modules mp3 mp4 mpeg mudflap ncurses nls nptl nptlonly nvidia ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3support quicktime readline reflection ruby sdl session spell spl ssl startup-notification svg sysfs tcpd threads thunar tiff truetype unicode usb vmware vorbis win32codecs x264 x86 xml xorg xulrunner xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" 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, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
OK, looks like we need to avoid using / as separator in seds in our ebuilds and eclasses.
Created attachment 212111 [details] Fix Tested with Qt 4.5.3 Tested with 4.5.3
Comment on attachment 212111 [details] Fix Tested with Qt 4.5.3 Tested with Qt-4.5.3
Yeah, that works, thank you!
(In reply to comment #3) > (From update of attachment 212111 [details]) > Tested with Qt-4.5.3 > just to..make sure, will this be ported upstream?
Isn't it upstream? who closed the bug? If you closed the bug perhaps reopen it and let the qt devs close it...
oh, it was me i'll reopen it then, sorry
All done Thanks for reporting this