Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 139923 - sci-misc/boinc-5.5.6 fails
Summary: sci-misc/boinc-5.5.6 fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Marcus D. Hanwell (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-10 14:18 UTC by Jens Mueller
Modified: 2006-07-12 00:44 UTC (History)
3 users (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 Jens Mueller 2006-07-10 14:18:38 UTC
>>> checking boinc-5.5.6.tar.bz2 ;-)
>>> Unpacking source...
>>> Unpacking boinc-5.5.6.tar.bz2 to /var/tmp/portage/boinc-5.5.6/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/boinc-5.5.6/work/boinc-5.5.6 ...
Bootstrapping configure script and makefiles:
Checking version of 'make' >= 3.79... succeeded. (3.80)
Checking version of 'm4' >= 1.4... succeeded. (1.4)
Checking version of 'pkg-config' >= 0.15... failed. (0)
Couldn't find a new-enough version of 'pkg-config', please install one!

!!! ERROR: sci-misc/boinc-5.5.6 failed.
Call stack:
  ebuild.sh, line 1545:   Called dyn_compile
  ebuild.sh, line 940:   Called src_compile
  boinc-5.5.6.ebuild, line 48:   Called die

!!! autosetup failed.
!!! If you need support, post the topmost build error, and the call stack if relevant.


I don't have pkg-config, only pkgconfig:

fairtrade jens # eix pkg-config
Found 0 matches

fairtrade jens # eix dev-util/pkgconfig
* dev-util/pkgconfig
     Available versions:  0.17.2-r1 ~0.19 0.20
     Installed:           0.20
     Homepage:            http://pkgconfig.freedesktop.org/wiki/
     Description:         Package config system that manages compile/link flags


fairtrade jens # emerge --info
Portage 2.1.1_pre2-r6 (default-linux/amd64/2005.1, gcc-4.1.1, glibc-2.3.6-r4, 2.6.16-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.16-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.15
ccache version 2.3 [disabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.3.5, 2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=k8 -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://130.59.10.34/mirror/gentoo/ http://130.59.10.35/mirror/gentoo/"
LANG="de_DE@euro"
LC_ALL="de_DE@euro"
LINGUAS="de cz it fr en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/overlays/migration-overlay"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="amd64 X aalib alsa arts avi berkdb bitmap-fonts bzip2 cdr cli crypt css cups dlloader dri dvd dvdr eds emboss encode foomaticdb fortran gif gnome gpm gstreamer gtk gtk2 imlib ipv6 isdnlog java jpeg jpeg2k kde lzw lzw-tiff mozilla mp3 mpeg musicbrainz mysql ncurses nls nsplugin ogg opengl oss pam pango pcre pdflib perl png pppd python qt qt3 qt4 quicktime readline reflection samba sdl session spell spl ssl tcpd tiff truetype truetype-fonts type1-fonts unicode usb vorbis xmms xorg xosd xpm xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_de linguas_cz linguas_it linguas_fr linguas_en userland_GNU video_cards_nvidia video_cards_vga video_cards_vesa video_cards_fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Marcus D. Hanwell (RETIRED) gentoo-dev 2006-07-10 14:42:37 UTC
I really don't get that. I just checked and I have dev-util/pkgconfig-0.20 installed on my systems and they function normally. The command is pkg-config despite the Gentoo package being called pkgconfig. Please try emerging pkgconfig again. Also confirm you have a /usr/bin/pkg-config, you can confirm the version by passing --version to it.
Comment 2 Jens Mueller 2006-07-10 15:24:39 UTC
executable was there (version 0.20.0).

Anyway, I just re-emerged ...

Still doesn't work:

>>> Emerging (1 of 1) sci-misc/boinc-5.5.6 to /
>>> checking ebuild checksums ;-)
>>> checking auxfile checksums ;-)
>>> checking miscfile checksums ;-)
>>> checking boinc-5.5.6.tar.bz2 ;-)
>>> Unpacking source...
>>> Unpacking boinc-5.5.6.tar.bz2 to /var/tmp/portage/boinc-5.5.6/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/boinc-5.5.6/work/boinc-5.5.6 ...
Bootstrapping configure script and makefiles:
Checking version of 'make' >= 3.79... succeeded. (3.80)
Checking version of 'm4' >= 1.4... succeeded. (1.4)
Checking version of 'pkg-config' >= 0.15... failed. (0)
Couldn't find a new-enough version of 'pkg-config', please install one!

!!! ERROR: sci-misc/boinc-5.5.6 failed.
Call stack:
  ebuild.sh, line 1545:   Called dyn_compile
  ebuild.sh, line 940:   Called src_compile
  boinc-5.5.6.ebuild, line 48:   Called die

!!! autosetup failed.
!!! If you need support, post the topmost build error, and the call stack if relevant.

fairtrade jens # pkg-config --version
0.20
Comment 3 Milosz Kosobucki 2006-07-10 15:55:02 UTC
Same for me
Comment 4 Marcus D. Hanwell (RETIRED) gentoo-dev 2006-07-11 01:17:15 UTC
My pkg-config reports a version of 0.20, but I tested the script that tests for the version and it seems to cope just fine with 0.20.0 too. What version of bash do you have? Doubt it will affect it but the tests are done using the shell. I am at a loss - anyone else have any ideas on this one?
Comment 5 Jens Mueller 2006-07-11 01:50:27 UTC
Sorry, 0.20 here, too. See comment #2.
Comment 6 Rémi Cardona (RETIRED) gentoo-dev 2006-07-11 02:34:40 UTC
boinc's _autosetup script seems kind of irrelevant for gentoo. How about by-passing it and run eautoreconf to directly build the Makefiles? Looking at it reveals it doesn't do more than what portage already does.

Disclaimer notice : I haven't had the time to try it yet. Maybe later, time permiting.
Comment 7 Marcus D. Hanwell (RETIRED) gentoo-dev 2006-07-11 02:47:40 UTC
Well trying it quickly here gave me failed running autoconf... So it would seem it is not a drop in replacement. I could have run _autosetup before producing the tarball I placed on the mirrors as I did last time, but I thought that this solution might be more generic.

Feel free to take a closer look at the script and provide patches. Otherwise I will try to make some time this weekend to take a closer look.
Comment 8 Martin Doucha 2006-07-11 04:28:59 UTC
The problem is in _autosetup on line 45. The awk script generates no output (the condition '(m*1)>0' evaluates as false) and _autosetup fails on next line.
Comment 9 Martin Doucha 2006-07-11 05:01:32 UTC
Ahhhh, I think we all here use locale with comma-separated decimal point. Changing the period to comma in 'm=j[1]"."j[2]' produces the desired output of that awk script. Somebody should make that script locale independent.
Comment 10 Marcus D. Hanwell (RETIRED) gentoo-dev 2006-07-11 05:13:20 UTC
Looking at what the script *actually* does I have added the necessary depends to the ebuild and called the tools directly. It works just fine here, but I would appreciate your feedback. Could be worth sending a patch upstream, I had forgotten any locales used commas as separators... I had looked at the awk script and couldn't figure out why it would fail!

This should be fixed if you resync in about one hour. Please reopen if not.
Comment 11 Jens Mueller 2006-07-12 00:44:42 UTC
WFM amd64.

Thanks!