Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 510112 - sys-apps/attr-2.4.47-r1 - include/builddefs:72: *** missing separator. Stop.
Summary: sys-apps/attr-2.4.47-r1 - include/builddefs:72: *** missing separator. Stop.
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-12 02:28 UTC by Max Klinger
Modified: 2014-05-12 16:22 UTC (History)
0 users

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


Attachments
build.log.gz (build.log.gz,4.36 KB, application/gzip)
2014-05-12 02:29 UTC, Max Klinger
Details
include/builddefs (builddefs,2.82 KB, text/plain)
2014-05-12 02:38 UTC, Max Klinger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Max Klinger 2014-05-12 02:28:05 UTC
Summary says it all. 

>>> Source configured.
>>> Compiling source in /var/tmp/portage/sys-apps/attr-2.4.47-r1/work/attr-2.4.47 ...
 * amd64: running multilib-minimal_abi_src_compile
make -j9 -l8 
include/builddefs:72: *** missing separator.  Stop.

Reproducible: Always

Steps to Reproduce:
1. emerge sys-apps/attr
2.
3.
Actual Results:  
cf. build log

Expected Results:  
emerged sys-apps/attr

Problem is consistently reproducable, fails for me every time, but only on this system.
Comment 1 Max Klinger 2014-05-12 02:29:25 UTC
Created attachment 376744 [details]
build.log.gz
Comment 2 Max Klinger 2014-05-12 02:38:08 UTC
Created attachment 376746 [details]
include/builddefs

It appears that during the autofoo it tries to set the @rpmversion@ to the whole output of rpm --version which is a longish paragraph including newlines. This of course is not exactly what the script expects.
Comment 3 Max Klinger 2014-05-12 02:41:06 UTC
# rpm --version
true (GNU coreutils) 8.21
Packaged by Gentoo (8.21 (p1.0))
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Jim Meyering.

Output of the rpm tool.
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2014-05-12 15:31:25 UTC
This apparently happens due to some magic m4/package_utilies.m4, lines 102-103.

RPM             = /usr/bin/rpm
RPMBUILD        = /usr/bin/rpm
RPM_VERSION     = 8
(p1
Inc
<http://gnu
it
law

Please post your `emerge --info' output in a comment.
Comment 5 Max Klinger 2014-05-12 15:32:46 UTC
Portage 2.2.8-r1 (default/linux/amd64/13.0/desktop/kde, gcc-4.8.2, glibc-2.17, 3.14.3-gentoo-max x86_64)
=================================================================
System uname: Linux-3.14.3-gentoo-max-x86_64-Intel-R-_Core-TM-_i7-3840QM_CPU_@_2.80GHz-with-gentoo-2.2
KiB Mem:    16064512 total,  10127372 free
KiB Swap:   16777212 total,  16265920 free
Timestamp of tree: Sun, 11 May 2014 17:45:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 3.1.9 [disabled]
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.5-r3, 3.2.5-r3, 3.3.3
dev-util/ccache:          3.1.9-r3
dev-util/cmake:           2.8.12.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.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.3-r1, 4.8.2
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 local sunrise xmw enlightenment
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core-avx-i  -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
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"
CXXFLAGS="-march=core-avx-i  -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going --binpkg-respect-use y --jobs=4 --load-average=8"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg compress-build-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="https://lore.xmw.de/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9 -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="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/etc/portage/local-overlay /var/lib/layman/sunrise /var/lib/layman/xmw /var/lib/layman/enlightenment"
SYNC="rsync://lore.xmw.de/gentoo-portage/"
USE="X a52 aac acl acpi alsa amd64 bash-completion berkdb branding bzip2 cairo cdda cdinstall cdr cli cracklib crypt cups curl cxx dbus declarative djvu dri dts dvd dvdr emacs emboss encode exif fam fbcon ffmpeg firefox flac fontconfig fortran gdbm gif git glut gmp gnutls gpm gtk iconv imap ipv6 jack java jbig jpeg jpeg2k kde kipi lame latex lcms libnotify mad matroska mmx mmxext mng modules mp3 mp4 mpeg mpi multilib nas ncurses networking nls nptl nsplugin nvidia ogg openal opengl openmp pam pango pcre pdf perl phonon plasma plotutils png policykit postscript ppds python qt3support qt4 rar readline sdl session spell sse sse2 sse3 ssl startup-notification subversion svg symlink systemd tcpd theora threads tiff tk truetype udev udisks unicode upower usb v4l v4l2 vim-syntax vorbis wayland wmf wxwidgets x264 xcb xcomposite xft xinerama xml xscreensaver xv xvid zlib" ABI_X86="64" 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" 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="evdev synaptics vmmouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US de de_DE" 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="nvidia vmware intel modesetting" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2014-05-12 15:33:32 UTC
(In reply to Max Klinger from comment #3)
> # rpm --version
> true (GNU coreutils) 8.21

rpm is true? oh.
Comment 7 Max Klinger 2014-05-12 15:43:11 UTC
While I agree with the diagnosis and the solution, I want to ask why this package doesn't depend on rpm if it obviously needs it?
Comment 8 Jeroen Roovers (RETIRED) gentoo-dev 2014-05-12 16:22:57 UTC
(In reply to Max Klinger from comment #7)
> While I agree with the diagnosis and the solution, I want to ask why this
> package doesn't depend on rpm if it obviously needs it?

It doesn't need it at all:

checking for xgettext... /usr/bin/xgettext
checking for rpm... no
checking for an ANSI C-conforming const... yes
[and it continues fine]

You simply had a bad sh alias or function or symlink.

This bug report is INVALID. There never was a bug, it hasn't been fixed - you had a local problem and you fixed it locally.