Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 249181 - net-wireless/crda-0.9.4 MAKEOPTS="-j3" - reglib.c:105: error: 'keys' undeclared (first use in this function)
Summary: net-wireless/crda-0.9.4 MAKEOPTS="-j3" - reglib.c:105: error: 'keys' undeclar...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Tony Vroon (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-28 17:42 UTC by emil karlson
Modified: 2008-12-01 14:07 UTC (History)
2 users (show)

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


Attachments
build log (build.log,1.48 KB, text/plain)
2008-11-28 19:31 UTC, emil karlson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description emil karlson 2008-11-28 17:42:46 UTC
make -j3 CC=x86_64-pc-linux-gnu-gcc 
  GEN  keys-ssl.c
  GEN  keys-gcrypt.c
  CC   reglib.o
reglib.c: In function 'crda_verify_db_signature':
reglib.c:105: error: 'keys' undeclared (first use in this function)
reglib.c:105: error: (Each undeclared identifier is reported only once
reglib.c:105: error: for each function it appears in.)
make: *** [reglib.o] Error 1
make: *** Waiting for unfinished jobs....

Need I say more, compiles fine with MAKEOPTS=""

Portage 2.1.6_rc2 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r0, 2.6.28-rc6-wl x86_64)
=================================================================
System uname: Linux-2.6.28-rc6-wl-x86_64-Intel-R-_Core-TM-2_CPU_T7200_@_2.00GHz-with-glibc2.2.5
Timestamp of tree: Fri, 28 Nov 2008 14:46:01 +0000
app-shells/bash:     3.2_p48
dev-lang/python:     2.5.2-r8
dev-util/cmake:      2.6.2
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.3.0-r1
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -g -Dliputtassa_emil"
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"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -march=native -g -Dliputtassa_emil"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch protect-owned sandbox sfperms splitdebug strict unmerge-orphans userfetch usersandbox"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/"
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,--as-needed -Wl,-O1"
LINGUAS="en fi en_GB"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/usr/local/tmp/"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/science"
SYNC="rsync://trumpetti.atm.tut.fi/gentoo-portage/"
USE="R X a52 aac acl acpi alisp alsa amd64 amr ansi bash-completion berkdb bluetooth branding bzip2 cairo cblas cdr cli clisp cracklib crypt cscope css curl dbus doc dri dvd dvdr dvdread eds elliptic emboss encode evo extra fam ffmpeg fftw firefox flac fontconfig fontforge fortran fortran95 ftp galois games gd gdbm gif git glib gmp gnuplot gnutls gpm graphics gstreamer gtk hal iconv idn image imagemagick imlib ipv6 isdnlog ithreads javascript jpeg jpeg2k kde kdehiddenvisibility kipi kpathsea lapack laptop latex libnotify lzo mad matroska md5sum midi mikmod mmap mmx modplug mono mp2 mp3 mp4 mp4live mpeg mpeg2 mpi mpi_njtree mplayer mudflap multilib multitarget musepack music ncurses net netpbm network new-clx npp nptl nptlonly ogg opengl openmp pam pcre pdf perl perlsuid plotutils png ppds pppd profile ps pstricks publishers python qt3 qt3support qt4 quicktime readline redland reflection rtsp samba science sdl sdl-image server session smp sparse spl sse sse2 ssl ssse3 startup-notification stream subversion supernodal svg svm symlink sysfs tcpd teletext tex4ht theora threads threadsafe threadsonly tiff timidity toolbar trace truetype unicode usb vim vim-syntax vorbis wav x264 xattr xcb xcomposite xine xml xorg xosd xpm xrandr xv xvid xvmc 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 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 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" ELIBC="glibc" INPUT_DEVICES="mouse keyboard evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en fi en_GB" USERLAND="GNU" VIDEO_CARDS="intel radeon i810"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Reproducible: Always
Comment 1 Tony Vroon (RETIRED) gentoo-dev 2008-11-28 18:58:16 UTC
I would like the full, unedited build log please. That way I have a chance to fix the Makefile and send the patch upstream. Thank you.
Comment 2 emil karlson 2008-11-28 19:31:32 UTC
Created attachment 173694 [details]
build log
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-12-01 10:15:54 UTC
Okay I have the patch, but at this point considering the infinitesimal size of the package I'd consider adding -j1 for this version; I sent my patches upstream so they hopefully will be fixed for next release, which will be built in parallel in full.

Comment 4 Tony Vroon (RETIRED) gentoo-dev 2008-12-01 14:06:36 UTC
+  01 Dec 2008; <chainsaw@gentoo.org> crda-0.9.4.ebuild:
+  Force -j1 as the current Makefile is not safe for parallel building,
+  closes bug #249181 by Emil Karlson <jkarlson@cc.hut.fi>. Fixes have been
+  sent upstream to linux-wireless by Diego E. "Flameeyes" Pettenò
+  <flameeyes@gentoo.org>.
Comment 5 Tony Vroon (RETIRED) gentoo-dev 2008-12-01 14:07:12 UTC
Thank you Emil for reporting this bug.
And Diego, thank you for sending all these patches upstream. Surely 0.9.5 will do a lot better.