Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 200872 - dev-php5/php-qt-0.1 compile failed
Summary: dev-php5/php-qt-0.1 compile failed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-30 21:09 UTC by toto
Modified: 2007-12-28 15:33 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 toto 2007-11-30 21:09:30 UTC
[100%] Building CXX object php_qt/CMakeFiles/php_qt.dir/handlers.o
Linking CXX shared library php_qt.so
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lsmokeqt
collect2: выполнение ld завершилось с кодом возврата 1
make[2]: *** [php_qt/php_qt.so] Ошибка 1
make[1]: *** [php_qt/CMakeFiles/php_qt.dir/all] Ошибка 2
make: *** [all] Ошибка 2
 *
 * ERROR: dev-php5/php-qt-0.1 failed.
 * Call stack:
 *           ebuild.sh, line 1701:  Called dyn_compile
 *           ebuild.sh, line 1039:  Called qa_call 'src_compile'
 *           ebuild.sh, line   44:  Called src_compile
 *   php-qt-0.1.ebuild, line   52:  Called die
 * The specific snippet of code:
 *      emake || die "emake failed"
 *  The die message:
 *   emake failed


Reproducible: Always
Comment 1 toto 2007-11-30 21:10:00 UTC
Portage 2.1.3.19 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-gentoo-r9 i686)
=================================================================
System uname: 2.6.22-gentoo-r9 i686 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
Timestamp of tree: Fri, 30 Nov 2007 16:00:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=k8 -msse3 -O2 -pipe -fomit-frame-pointer"
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 /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=k8 -msse3 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://mail http://gentoo.osuosl.org/"
LANG="ru_RU.UTF-8"
LC_ALL=""
LINGUAS="ru en"
MAKEOPTS="-j3"
PKGDIR="/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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://mail/gentoo-portage"
USE="3dnow 3dnowext X a52 aac aalib accessibility acl acpi adplug allegro alsa amr amrnb amrwb apache2 apm arts audiofile bcmath bdf berkdb bidi bitmap-fonts blender-game bluetooth boo bzip2 cairo cddb cdparanoia cdr chm clamav cli cracklib crypt curl dbus devil divx djvu dri dts dv dvd dvdr dvdread eds emboss emerald encode esd evo exif expat fam fat ffmpeg firefox flac fortran ftp gcj gdbm geoip gif glitz glut gmedia gmp gnokii gnutls gpac gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal hfs iconv icq idle idn ieee1394 imagemagick imlib isdnlog jack java javascript jfs jikes jingle jpeg kde kerberos kipi kqemu lame lcms ldap libnotify lirc lm_sensors logrotate lua lzo lzw mad matroska mhash midi mikmod mmap mmx mmxext mng modplug mono motif mp2 mp3 mp4 mpeg mplayer mudflap musepack ncurses nls nocardbus nocd nptl nptlonly ntfs nvidia nvtv ogg oggvorbis openal opengl openmp oss pam pcre pda pdf perl php png pnm pppd python qt qt3 qt3support qt4 quicktime rar readline real realmedia reflection reiser4 reiserfs rt2500usb rt73usb ruby samba sasl sdl server session slang slp smp sms sndfile snmp sockets socks5 sox speex spell spl sqlite srt srv sse sse2 ssl svg tcl tcltk tcpd theora tidy tiff tk trayicon truetype truetype-fonts tta type1 type1-fonts unicode usb v4l v4l2 vcd vhosts videos vorbis wavpack wifi win32codecs wmf wmp wxwindows x264 x86 xcb xfs xhtml xine xml xml2 xorg xosd xpm 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 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" LINGUAS="ru en" LIRC_DEVICES="pixelview_pro" USERLAND="GNU" VIDEO_CARDS="vesa fglrx radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-11-30 21:16:55 UTC
NFC... KDE folks, ideas about this?
Comment 3 Bo Ørsted Andresen (RETIRED) gentoo-dev 2007-11-30 23:47:13 UTC
(In reply to comment #0)
> cannot find -lsmokeqt

Install kde-base/smoke?

> collect2: выполнение ld завершилось с кодом

In the future use LC_ALL=C to get error messages in english...
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-11-30 23:48:38 UTC
(In reply to comment #3)
> Install kde-base/smoke?

The ebuild already depends on it...
Comment 5 toto 2007-12-01 05:03:10 UTC
Linking CXX shared library php_qt.so
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lsmokeqt
collect2: ld returned 1 exit status
make[2]: *** [php_qt/php_qt.so] Error 1
make[1]: *** [php_qt/CMakeFiles/php_qt.dir/all] Error 2
make: *** [all] Error 2


[ebuild   R   ] kde-base/smoke-3.5.8  USE="arts -debug -kdeenablefinal -xinerama" 0 kB
Comment 6 Marc Rodarte 2007-12-01 06:14:38 UTC
Deleting the 2 sed lines from src_unpack(), to use the bundled smoke library which is Qt4 compatible, should fix this problem.

Compiled and installed fine after
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2007-12-01 08:55:47 UTC
(In reply to comment #6)
> Deleting the 2 sed lines from src_unpack(), to use the bundled smoke library
> which is Qt4 compatible, should fix this problem.

Thas was indeed stupid mistake...
 
> Compiled and installed fine after

Well, that did not quite do the trick here... Anyway, please test this, WFM:

http://overlays.gentoo.org/svn/proj/php/testing/migration/dev-php5/php-qt/
Comment 8 toto 2007-12-02 17:22:03 UTC
Heh Jakub,
Compile fine, without any errors, but now php get on any command "segmentation failed" =/
My php is 5.2.5-pl0-gentoo.
I don't up full overlay, just only php-qt-0.1.ebuild with depends:
=x11-libs/qscintilla-2.1-r1
=dev-python/qscintilla-python-2.1
=dev-python/PyQt4-4.3.1
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2007-12-02 17:31:37 UTC
Well, we can package.mask this thing because I plain don't feel like investigating the issue. You can ask @ upstream mailing, also see http://www.gentoo.org/proj/en/qa/backtraces.xml for needed debugging info.

http://php-qt.org/?q=node/2
Comment 10 Jakub Moc (RETIRED) gentoo-dev 2007-12-12 20:37:54 UTC
Well, the compile issue is fixed; anything else -> a new bug.
Comment 11 Jakub Moc (RETIRED) gentoo-dev 2007-12-28 14:25:31 UTC
(In reply to comment #8)

0.9 in PHP overlay, you might try your luck w/ this one... :)

http://overlays.gentoo.org/svn/proj/php/migration/dev-php5/php-qt/
Comment 12 toto 2007-12-28 15:31:20 UTC
cool, calculator (as example) work =]
Comment 13 Jakub Moc (RETIRED) gentoo-dev 2007-12-28 15:33:04 UTC
(In reply to comment #12)
> cool, calculator (as example) work =]

Wonderful :-D Will get this into the tree ASAP.