Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 504496 - net-misc/modemmanager-1.4.0: parallel make fails
Summary: net-misc/modemmanager-1.4.0: parallel make fails
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL: https://bugs.freedesktop.org/show_bug...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-13 17:34 UTC by kelly hirai
Modified: 2015-11-07 12:19 UTC (History)
2 users (show)

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


Attachments
build log for modemmanager-1.0.0-r2 (build.log,85.50 KB, text/plain)
2014-03-13 18:56 UTC, kelly hirai
Details
build.log (file_504496.txt,144.23 KB, text/plain)
2015-01-10 03:22 UTC, Nico (Keridos)
Details
modemmanager-1.4.6 emerge.info (emerge.info,5.16 KB, text/plain)
2015-04-25 15:06 UTC, John Bowler
Details
modemmanager-1.4.6 environment (environment,127.88 KB, text/plain)
2015-04-25 15:08 UTC, John Bowler
Details
modemmanager-1.4.6 build.log (build.log,115.87 KB, text/plain)
2015-04-25 15:08 UTC, John Bowler
Details
modemmanager-1.4.6 emerge -pqv (emerge.pqv,111 bytes, text/plain)
2015-04-25 15:09 UTC, John Bowler
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kelly hirai 2014-03-13 17:34:29 UTC
MAKE_OPTS="-j1" emerge -1 net-misc/modemmanager # fails thusly,

i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -pthread -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  -I/usr/include/gudev-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  -I.. -I../include -I../include -I../libmm-glib -I../libmm-glib -I../libmm-glib/generated -I../libmm-glib/generated -DPLUGINDIR=\"/usr/lib/ModemManager\" -pthread -I/usr/include/polkit-1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  -pthread -I/usr/include/libqmi-glib -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include     -O2 -march=native -pipe -c -o ModemManager-mm-base-modem-at.o `test -f 'mm-base-modem-at.c' || echo './'`mm-base-modem-at.c
mm-broadband-bearer.c:37:35: fatal error: mm-serial-enums-types.h: No such file or directory
compilation terminated.

i have masked 1.0.0-r2 in order to get on with things but i though you should know.

arrg, gnome wants 1.0 so i'm stuck.
Comment 1 kelly hirai 2014-03-13 18:56:12 UTC
Created attachment 372590 [details]
build log for modemmanager-1.0.0-r2

build log for modemmanager-1.0.0-r2
Comment 2 kelly hirai 2014-03-13 18:58:42 UTC
the following files are created when make is run manually in the src directory as root, but are missing from the build through portage.

> -rw-r--r-- 1 root    root      6637 Mar 13 14:40 mm-daemon-enums-types.c
> -rw-r--r-- 1 root    root      4213 Mar 13 14:40 mm-marshal.c
> -rw-r--r-- 1 root    root      9416 Mar 13 14:40 mm-serial-enums-types.c
> -rw-r--r-- 1 root    root      1600 Mar 13 14:40 mm-serial-enums-types.h

emerge --info
Portage 2.2.8-r1 (default/linux/x86/13.0/desktop/gnome/systemd, gcc-4.7.3, glibc-2.17, 3.10.7-gentoo i686)
=================================================================
System uname: Linux-3.10.7-gentoo-i686-Intel-R-_Core-TM-2_Duo_CPU_E6550_@_2.33GHz-with-gentoo-2.2
KiB Mem:     2072756 total,    403540 free
KiB Swap:    4194300 total,   4175316 free
Timestamp of tree: Thu, 13 Mar 2014 09:45:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
distcc 3.1 i686-pc-linux-gnu [enabled]
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.5-r3, 3.2.5-r2, 3.3.3
dev-util/cmake:           2.8.11.2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.10.3, 1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.6.3, 4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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="-O2 -march=native -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distcc distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://gentoo.netnitco.net/ http://mirror.datapipe.net/gentoo/ ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://gentoo.osuosl.org/ ftp://public.planetmirror.com/pub/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j20 -l2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-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/local/portage"
SYNC="rsync://wxlog.met.fsu.edu/gentoo-portage"
USE="X Xaw3d a52 aac acl acpi aim alsa amr apng applet asf aspell audiofile auto-hinter automount avx bash-completion berkdb blas blender-game bluetooth bonobo bookmarks branding bzip2 cairo caps cdda cddb cdparanoia cdr celt cleartype cli colord cracklib crypt cups curl curlwrappers cxx dbus detex dga dia dirac djvu doc dri dts dvd dvdnav dvdr dvi dvipdfm eds elisp emacs emboss emf encode evo exif expat extra faac fam fbcondecor ffmpeg fftw firebird firefox flac flash fontconfig fontforge fortran fpx frei0r ftp fuse g3dvl galago games gcj gd gdbm ggi ggz gif gimp git glib glut gmp gnome gnome-keyring gnome-online-accounts gnuplot graphics graphviz gs gsm gstreamer gtk gtkhtml guile gzip hddtemp hdri highlight hpn http humanities iconv id3 id3tag ieee1394 imagemagick imap imlib inkjar introspection ipod iptc ipv6 jabber jadetex java javascript jbig jpeg jpeg2k json kpathsea ladspa lame lapack lasi latex latex3 lcd lcms ldap leim libffi libnotify libsamplerate libsecret live lm_sensors logrotate lua luatex lucene lzma lzo mad mikmod mime minizip mjpeg mmap mms mmx mmxext mng mod modules mono motif mozilla mp3 mp4 mpeg mpi musepack music nautilus ncurses netcdf netpbm networking nfs nls nptl nsplugin ntfsprogs octave ofx ogg openal openexr opengl openmp pam pango pcre pdf perl pgf plotutils png pnm policykit posix postscript ppds pstricks publishers pulseaudio python qt3support qt4 quicktime raw readline real rle romio rtc rtmp rtsp sasl schroedinger science sdk sdl seamonkey session sharedmem smp sndfile socialweb sockets soundex soup sox speex spell sqlite sqlite3 sse sse2 ssl ssse3 startup-notification svg syslog sysvipc t1lib tcpd tex tex4ht theora threads threadsafe tiff timezone truetype udev udisks unicode upower usb utils v4l vaapi vcd vdpau videos vim vim-syntax vorbis vpx wavpack webkit webm win32codecs wma wmf wxwidgets x264 x86 xanim xattr xcb xetex xft xinerama xml xmp xmpp xorg xosd xpm xscreensaver xslt xv xvid xvmc zlib" ABI_X86="32" 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" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 sheets stage tables krita karbon braindump author" 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 ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="nv nvidia vga vesa" 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, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 3 kelly hirai 2014-03-13 20:06:45 UTC
FEATURE='-sandbox' emerge -1 net-misc/modemmanager does not fix the problem.
Comment 4 kelly hirai 2014-03-14 14:26:12 UTC
i was able to get through this by stepping through with ebuild

ebuild  /usr/portage/net-misc/modemmanager/modemmanager-1.0.0-r2.ebuild unpack
ebuild  /usr/portage/net-misc/modemmanager/modemmanager-1.0.0-r2.ebuild compile
ebuild  /usr/portage/net-misc/modemmanager/modemmanager-1.0.0-r2.ebuild install
Comment 5 Pacho Ramos gentoo-dev 2014-03-15 10:18:39 UTC
(In reply to kelly hirai from comment #0)
> MAKE_OPTS="-j1" emerge -1 net-misc/modemmanager # fails thusly,

This is not ok, you must use "MAKEOPTS" var (in build.log it's shown you are still passing -j20). Try with -j1 please
Comment 6 Pacho Ramos gentoo-dev 2014-04-12 10:19:48 UTC
Also try with 1.2.0
Comment 7 Nico (Keridos) 2015-01-10 03:22:56 UTC
Created attachment 393592 [details]
build.log

build.log for version 1.4.0
Comment 8 Nico (Keridos) 2015-01-10 03:24:25 UTC
Building fails for 1.4.0 with MAKEOPTS="-j21 -l2" but emerges fine with MAKEOPTS="-j1 -l1".
Comment 9 Pacho Ramos gentoo-dev 2015-01-11 11:02:55 UTC
I would report this parallel build issue (with 1.4.0) to upstream -> https://bugs.freedesktop.org/enter_bug.cgi?product=ModemManager
Comment 10 Nicholas 2015-02-10 02:05:33 UTC
Still fails for me as of this date. Compiling it oneshot with just -j1 in MAKEOPTS makes it compile fine.
Comment 11 Jacob Godserv 2015-04-20 19:54:51 UTC
Has a bug been filed upstream?
Comment 12 John Bowler 2015-04-25 15:06:56 UTC
Created attachment 401994 [details]
modemmanager-1.4.6 emerge.info
Comment 13 John Bowler 2015-04-25 15:07:45 UTC
Same in modemmanager-1.4.6, I'll attach the info for this (parallel make on armv7a).
Comment 14 John Bowler 2015-04-25 15:08:19 UTC
Created attachment 401996 [details]
modemmanager-1.4.6 environment
Comment 15 John Bowler 2015-04-25 15:08:51 UTC
Created attachment 401998 [details]
modemmanager-1.4.6 build.log
Comment 16 John Bowler 2015-04-25 15:09:50 UTC
Created attachment 402000 [details]
modemmanager-1.4.6 emerge -pqv
Comment 17 Tony Vroon (RETIRED) gentoo-dev 2015-04-28 10:46:17 UTC
Based on:
"Build: avoid building DBus tests with GLib 2.32"

Could you retest with 1.4.8 please?

Also, John Bowler, you are reporting a distcc issue on a parallel make bug. These issues are not similar.
Comment 18 Gilles Dartiguelongue (RETIRED) gentoo-dev 2015-05-01 14:58:22 UTC
Hit this today and reported upstream. This seems to be libtool not handling building libraries used by other in parallel without adding *_OBJECTS manual modifications in Makefile.am.
Comment 19 Ladislav Zitka 2015-07-05 11:40:38 UTC
Tested with:
sys-devel/libtool-9999

don't know if relevant, but also latest other dependencies:
=dev-util/gdbus-codegen-2.44.1 ~amd64
=dev-libs/glib-2.44.1 ~amd64
=dev-libs/gobject-introspection-1.44.0 ~amd64
=dev-libs/gobject-introspection-common-1.44.0 ~amd64

And I can emerge now latest stable modemmanager-1.4.8,

Emerge --info:
Portage 2.2.18 (python 2.7.9-final-0, default/linux/amd64/13.0/desktop, gcc-4.8.4, glibc-2.20-r2, 4.0.5-gentoo x86_64)
=================================================================
System uname: Linux-4.0.5-gentoo-x86_64-Intel-R-_Core-TM-_i7-4702HQ_CPU_@_2.20GHz-with-gentoo-2.2
KiB Mem:    16340248 total,   1007736 free
KiB Swap:   16777212 total,  16771204 free
Timestamp of repository gentoo: Sun, 05 Jul 2015 00:45:01 +0000
sh bash 4.3_p33-r2
ld GNU ld (Gentoo 2.24 p1.4) 2.24
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.3_p33-r2::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.9-r1::gentoo, 3.3.5-r1::gentoo, 3.4.1::gentoo
dev-util/cmake:           3.2.2::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.17::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.14.1::gentoo
sys-devel/binutils:       2.24-r3::gentoo
sys-devel/gcc:            4.8.4::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        9999::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 3.18::gentoo (virtual/os-headers)
sys-libs/glibc:           2.20-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync1.cz.gentoo.org/gentoo-portage
    priority: -1000

archenroot
    location: /var/lib/layman/archenroot
    masters: gentoo
    priority: 50

ixit
    location: /var/lib/layman/ixit
    masters: gentoo
    priority: 50

kde
    location: /var/lib/layman/kde
    masters: gentoo
    priority: 50

ksenz
    location: /var/lib/layman/ksenz
    sync-type: laymansync
    sync-uri: git://github.com/KsenZ/gentoo-overlay.git
    masters: gentoo
    priority: 50

qt
    location: /var/lib/layman/qt
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/qt.git
    masters: gentoo
    priority: 50

vmware
    location: /var/lib/layman/vmware
    masters: gentoo
    priority: 50

Installed sets: @kde-frameworks-live, @kde-plasma, @kde-plasma-5.3
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=core-avx2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.0/conf"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=core-avx2"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=9 --load-average=8.0"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news nostrip parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j21 -l8"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/tmp"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam ffmpeg firefox flac fortran fuse gdbm gif glamor gstreamer gtk iconv icu ipv6 java jpeg lcms ldap libnotify mad mmx mmxext mng modemanager modemmanager modules mp3 mp4 mpeg multilib ncurses networkmanager nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio python qt3support qt4 readline sdl session spell sse sse2 ssl startup-notification svg tcpd threads tiff truetype udev udisks unicode upower usb v4l vorbis wxwidgets x264 xcb xdm-auth xine xml xv xvid zlib" ABI_X86="64" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" 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 ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="intel nvidia fbdev" XFCE_PLUGINS="battery brightness clock trash multiload-nandhp power trash xmonad" 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"
USE_PYTHON="2.7 3.3"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 20 Ladislav Zitka 2015-07-05 12:15:32 UTC
Hm, sorry, there is still issue:
I experienced this error while doing @world update. It failed, so I updated all libraries mentioned previousely to latest versions and emerge them one by one. Then I did emerge --resume, it again failed with modemmanager :-), so I ran emerge --resume oncemore and it updated modemmanager without error.

So it looks to me the problem doesn't occur always, but based on dynamic values...
Comment 21 Pacho Ramos gentoo-dev 2015-11-07 12:19:35 UTC
Please try with 1.4.12