Summary: | dev-libs/qof-0.7.2 fails to compile because of (missing?) libqofsql.la | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Volker Wegert <gentoo> |
Component: | [OLD] Library | Assignee: | Christian Faulhammer (RETIRED) <fauli> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gnome-office+disabled, sean-gentoo |
Priority: | High | ||
Version: | 2006.1 | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 195986 |
Description
Volker Wegert
2007-11-03 20:20:29 UTC
This: CFLAGS : -Werror -Wdeclaration-after-statement -Wno-pointer-sign is probably something that shouldn't be in a released tarball. Also please fill bug reports with build.log in english. Volker, please try again. I added a patch that removed all warning CFLAGS from configure. (In reply to comment #2) > Volker, please try again. I added a patch that removed all warning CFLAGS from > configure. > the patch fails for me, with this output when i run emerge -u qof: * Failed Patch: qof-0.7.2-remove_spurious_CFLAGS.patch ! * ( /usr/portage/dev-libs/qof/files/qof-0.7.2-remove_spurious_CFLAGS.patch ) * * Include in your bugreport the contents of: * * /var/tmp/portage/dev-libs/qof-0.7.2/temp/qof-0.7.2-remove_spurious_CFLAGS.patch-28559.out * * ERROR: dev-libs/qof-0.7.2 failed. * Call stack: * ebuild.sh, line 1696: Called dyn_unpack * ebuild.sh, line 812: Called qa_call 'src_unpack' * ebuild.sh, line 44: Called src_unpack * qof-0.7.2.ebuild, line 22: Called epatch '/usr/portage/dev-libs/qof/files/qof-0.7.2-remove_spurious_CFLAGS.patch' * eutils.eclass, line 304: Called die * The specific snippet of code: * die "Failed Patch: ${patchname}!" * The die message: * Failed Patch: qof-0.7.2-remove_spurious_CFLAGS.patch! * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/dev-libs/qof-0.7.2/temp/build.log'. * and the details from: /var/tmp/portage/dev-libs/qof-0.7.2/temp/qof-0.7.2-remove_spurious_CFLAGS.patch-28559.out PATCH COMMAND: patch -p0 -g0 -E --no-backup-if-mismatch < /usr/portage/dev-libs/qof/files/qo f-0.7.2-remove_spurious_CFLAGS.patch ================================================== can't find file to patch at input line 3 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- /tmp/configure 2007-11-04 11:44:13.000000000 +0100 |+++ configure 2007-11-04 11:51:58.000000000 +0100 -------------------------- No file to patch. Skipping patch. 3 out of 3 hunks ignored ================================================== (same error repeats with patch command parameter updated to -p1, -p2, -p3, and -p4) if you want to see emerge --info from the machine i tried this on, here it is: emerge --info Portage 2.1.3.18 (default-linux/amd64/2007.0, gcc-4.2.2, glibc-2.6.1-r0, 2.6.22-gentoo-r6 x86_64) ================================================================= System uname: 2.6.22-gentoo-r6 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ Timestamp of tree: Mon, 05 Nov 2007 07:00:01 +0000 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.4 [enabled] app-shells/bash: 3.2_p17 dev-java/java-config: 1.3.7, 2.1.2-r1 dev-lang/python: 2.4.4-r6 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 1.12.10-r5 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="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -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 /var/bind /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/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=k8 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="buildpkg ccache digest distcc distlocks fixpackages metadata-transfer sandbox sfperms strict unmerge-orphans userfetch userpriv" GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/ http://gentoo.osuosl.org/ http://gentoo.arcticnetwork.ca/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/" LC_ALL="en_US.utf8" LINGUAS="en" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages/x86_64-pc-linux-gnu-4.2.0" 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" PORTDIR_OVERLAY="/usr/portage/local/layman/vmware /usr/portage/local/layman/mozilla /usr/portage/local/layman/webapps-experimental /usr/portage/local/layman/gentoo-de /usr/portage/local/layman/xeffects /usr/local/overlays/portage /usr/local/overlays/digital-trauma.de" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X Xaw3d a52 acl acpi aim alsa amd64 apache2 apm arts bash-completion berkdb bitmap-fonts bzip2 cairo cdr cjk ck-server cli cracklib crypt cups curl curlwrappers dba dbm dbus dga dri dvd dvdr dvdread eds emacs emacs-w3 emboss encode esd ethereal evo exif fam ffmpeg firefox flac fortran freetype gd gdbm geoip gif glitz gnome gnustep gphoto2 gpm gstreamer gtk hal iconv icq idn imagemagick imap isdnlog jabber java javascript jikes jpeg jpeg2k kde kdeenablefinal kdexdeltas kerberos lcms ldap lm_sensors mad mailwrapper mbox midi mikmod mime mmap mmx mng motif mp3 mpeg msn mudflap ncurses neXt nls nptl nptlonly nsplugin nvidia objc offensive ofx ogg opengl openmp oscar oss pam pcre pdf perl php plotutils png postgres ppds pppd prelude python qt3 qt3support qt4 quicktime readline reflection ruby samba scanner sdl server session slp snmp spell spl sse sse2 ssl svg szip tcltk tcpd tetex tidy tiff tk truetype truetype-fonts type1-fonts unicode v4l vcd vhosts vorbis wmf xface xine xml xml2 xmlrpc xorg xosd xv xvid yahoo 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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard evdev joystick mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nvidia nv" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS (In reply to comment #3) > the patch fails for me, with this output when i run emerge -u qof: Sorry, me being an idiot. Should be fixed now, if not, please get the baseball bat. Negative, this patch did not fix the problem. However, for no apparent reason, I decided to remove -j2 from the MAKEOPTS, and suddenly, it started compiling. Strange and stranger... (In reply to comment #5) > Negative, this patch did not fix the problem. However, for no apparent reason, > I decided to remove -j2 from the MAKEOPTS, and suddenly, it started compiling. > Strange and stranger... Could you please modify the ebuild in a way, that all emake is followed by a -j1 (or set MAKEOPTS to -j1), to be sure. I had no problems and no reports, but please check. (In reply to comment #6) > (In reply to comment #5) > > Negative, this patch did not fix the problem. However, for no apparent reason, > > I decided to remove -j2 from the MAKEOPTS, and suddenly, it started compiling. > > Strange and stranger... > > Could you please modify the ebuild in a way, that all emake is followed by a > -j1 (or set MAKEOPTS to -j1), to be sure. I had no problems and no reports, > but please check. > Ahem - I think either one of us misunderstood the other one. :-) With MAKEOPTS="-j2", I was unable to compile qof. Then I changed MAKEOPTS to "-j1" globally in make.conf, and the error went away. Why do you want me to meddle with the internals of an ebuild? (In reply to comment #7) > (In reply to comment #6) > > (In reply to comment #5) > > > Negative, this patch did not fix the problem. However, for no apparent reason, > > > I decided to remove -j2 from the MAKEOPTS, and suddenly, it started compiling. > > > Strange and stranger... > > Could you please modify the ebuild in a way, that all emake is followed by a > > -j1 (or set MAKEOPTS to -j1), to be sure. I had no problems and no reports, > > but please check. > Ahem - I think either one of us misunderstood the other one. :-) > With MAKEOPTS="-j2", I was unable to compile qof. Then I changed MAKEOPTS to > "-j1" globally in make.conf, and the error went away. Why do you want me to > meddle with the internals of an ebuild? Because adding -j1 to emake calls is the way to ensure that -j1 is set for MAKEOPTS...modifying global variables from make.conf is not the way to achieve that. Anyway, I modified the ebuild, please try again. |