Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 405029

Summary: =dev-db/libiodbc-3.52.7-r1 fails to build with parallel make
Product: Gentoo Linux Reporter: Fabio Coatti <fabio.coatti>
Component: Current packagesAssignee: Ole Markus With (RETIRED) <olemarkus>
Status: RESOLVED FIXED    
Severity: normal CC: Adrian.Bassett, kripton
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 450782    
Bug Blocks: 351559    

Description Fabio Coatti 2012-02-20 13:09:19 UTC
Hi, I'm trying to emerge the libiodbc and I get this error:
/bin/sh ../libtool --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../include -I../include -I../iodbc -I../iodbcinst -pthread -DQT_SHARED -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/libdrm -I/usr/include/qt4/QtCore   -D__GTK__  -DWITH_PTHREADS -D_REENTRANT  -march=native -mtune=native -O2 -pipe -DODBCVER=0x0350 -DIODBC_BUILD=7090909 -c -o error.lo error.c
make[2]: *** Nessuna regola per generare l'obiettivo «../iodbcadm/libiodbcadm.la», necessario per «iodbcadm-gtk».  Stop.
make[2]: *** Attesa dei processi non terminati....

(translation: No rule to build the target «../iodbcadm/libiodbcadm.la» needed by 
«iodbcadm-gtk».  Stop.
waiting for unfinished processes..

make[2]: Leaving directory `/var/tmp/portage/dev-db/libiodbc-3.52.7-r1/work/libiodbc-3.52.7/iodbcadm'
make[1]: *** [all-recursive] Errore 1
make[1]: Leaving directory `/var/tmp/portage/dev-db/libiodbc-3.52.7-r1/work/libiodbc-3.52.7/iodbcadm'
make: *** [all-recursive] Errore 1



Reproducible: Always




calvin ~ # emerge --info
Portage 2.2.0_alpha87 (default/linux/amd64/10.0, gcc-4.5.3, glibc-2.14.1-r2, 3.2.6 x86_64)
=================================================================
System uname: Linux-3.2.6-x86_64-Intel-R-_Core-TM-_i5_CPU_M_520_@_2.40GHz-with-gentoo-2.1
Timestamp of tree: Mon, 20 Feb 2012 12:30:01 +0000
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.6.7-r2, 2.7.2-r3, 3.1.4-r3, 3.2.2
dev-util/cmake:           2.8.7-r3
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.3
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.2 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r2
Repositories: gentoo overlay
Installed sets: @kde
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -mtune=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.3/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"
CXXFLAGS="-march=native -mtune=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
FFLAGS=""
GENTOO_MIRRORS="http://de-mirror.org/distro/gentoo/ "
LANG="it_IT.utf8"
LC_ALL="it_IT.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="it en"
MAKEOPTS="-j4"
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="/usr/overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 3dnowprefetch X \ a52 aac aalib acl acpi aim alsa amd64 apng ares asf ati audio audiofile avahi bash-completion berkdb bidi bl bluetooth branding bri bzip2 caps ccdda cdr cjk cli consolekit cracklib crypt cups curl cxx dba dbus declarative device-mapper dga divx divx4linux dparanoia dri dts dv dvb dvd dvdr dvdread eap-sim edl embedded encode ethereal exif expat faad fam fame fbcon ffmpeg fftw flac force-cgi-redirect fortran ftp gallium garmin gd gdbm gimp gmedia gmp gnutls gphoto2 gpm gps gsm gtk h264 h323 iconv icq icu idn ifp ilbc imagemagick imap innodb ipod iproute2 ipv6 ithreads jabber jack java javascript joystick jpeg kde kontact kvm lastfm lcms libcaca libnotify libvirtd live lm_sensors lua lvm lxc lzma lzo maildir matroska mbox mdnsresponder-compat mhash mime mjpeg mmap mmx mmxext mng modules mozdevelop mozilla mp3 mp4 msn mtp mudflap multilib mysql ncurses nepomuk network networkmanager new-hpcups nfsv4 njb nls nptl nptlonly nsplugin offensive ofx ogg oggvorbis ogm openal openexr opengl openmp oscar pam parted pcap pcre pdf phonon php plasma plotutils png policykit ppds pppd qemu qt3support qt4 readline rtc ruby samba sasl sdl semantic-desktop session sha512 sip slang slp sndfile snmp sox speex spell srt sse sse2 ssh ssl ssse3 startup-notification svg symlink sysfs tcltk tcpd theora threads tiff tk tremor udev unicode usb utempter v4l v4l2 vcd vde vdpau vhosts video videos vim-syntax virt-network virtualbox vorbis wav webkit wifi wimax wmf wmp wps wxwindows x264 xanim xattr xen xface xft xine xinerama xorg xosd xpm xscreensaver xsl xulrunner xv xvid xvmc yahoo zlib zpm" 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 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="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it en" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Rainer 'Siju' Sigl 2012-02-20 13:19:48 UTC
Try:

MAKEOPTS="-j1" 

in your /etc/make.conf
Works for me.

HTH 
Siju
Comment 2 Adrian Bassett 2012-02-20 13:47:45 UTC
(In reply to comment #1)
> Try:
> 
> MAKEOPTS="-j1" 
> 
> in your /etc/make.conf
> Works for me.
> 
> HTH 
> Siju

-j1 works for me too, thanks.
Comment 3 Fabio Coatti 2012-02-20 13:54:55 UTC
Confirmed,

MAKEOPTS="-j1" emerge dev-db/libiodbc

compiles without problems. Thanks for the hint.
Comment 4 Nikolaos Chatzidakis 2012-02-20 14:03:35 UTC
Had the same problem. MAKEOPTS="-j1" emerged the package just fine. Thank you.
Comment 5 Tomáš Chvátal (RETIRED) gentoo-dev 2012-02-20 15:48:43 UTC
Interesting it built with 16 threads here.
Comment 6 Tomáš Chvátal (RETIRED) gentoo-dev 2012-02-20 15:57:26 UTC
Fixed in cvs.
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2012-02-21 05:19:51 UTC
reopening since forcing -j1 is not a fix
Comment 8 Samuli Suominen (RETIRED) gentoo-dev 2012-02-21 05:20:12 UTC
*** Bug 405061 has been marked as a duplicate of this bug. ***
Comment 9 Matthew Schultz 2013-01-08 01:20:27 UTC
Why is this assigned to php-bugs?  This package isn't php related.
Comment 10 Matthew Schultz 2013-01-08 01:35:03 UTC
(In reply to comment #9)
> Why is this assigned to php-bugs?  This package isn't php related.

nevermind, I didn't look at the metatdata.
Comment 11 Dane Smith (RETIRED) gentoo-dev 2013-01-08 01:43:54 UTC
I don't think there's a need for QA directly on this bug. Adding it to the tracker.
Comment 12 Matthew Schultz 2013-01-08 02:32:36 UTC
Opened an upstream bug here: https://github.com/openlink/iODBC/issues/3
Comment 13 Patrick van Kleef 2013-01-08 14:11:01 UTC
Please check the following fix: https://github.com/openlink/iODBC/commit/09a33bde05c018b4e40bf3984b2dd0923f82d0ca
Comment 14 Matthew Schultz 2013-01-13 21:56:49 UTC
3.52.8 fixed this bug, has been checked in and is available in the tree.  Please set this bug to resolved fixed.
Comment 15 Ole Markus With (RETIRED) gentoo-dev 2013-03-31 14:32:28 UTC
The version last bumped by mabi installs fine. closing.