Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 244966 - sys-apps/preload: doesn't parallel build (emake -j1)
Summary: sys-apps/preload: doesn't parallel build (emake -j1)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Pacho Ramos
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-30 14:09 UTC by Jeremy Olexa (darkside) (RETIRED)
Modified: 2010-09-06 15:36 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,12.74 KB, text/plain)
2008-10-30 14:11 UTC, Jeremy Olexa (darkside) (RETIRED)
Details
use-ac-config-files.patch (use-ac-config-files.patch,1.74 KB, patch)
2008-11-07 22:13 UTC, Jeremy Olexa (darkside) (RETIRED)
Details | Diff
use-help2man-as-usual.patch (use-help2man-as-usual.patch,1.25 KB, patch)
2008-11-07 22:13 UTC, Jeremy Olexa (darkside) (RETIRED)
Details | Diff
use-make-dependencies.patch (use-make-dependencies.patch,668 bytes, patch)
2008-11-07 22:13 UTC, Jeremy Olexa (darkside) (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-10-30 14:09:11 UTC
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -DSYSCONFDIR='"/etc"' -DLOGDIR='"/var/log"' -DPKGLOCALSTATEDIR='"/var/lib/preload"'   -O2 -march=nocona -pipe -fomit-frame-pointer -Wall -ansi  -MT state.o -MD -MP -MF .deps/state.Tpo -c -o state.o state.c
make  preload
make[3]: Entering directory `/var/tmp/portage/sys-apps/preload-0.6.3-r5/work/preload-0.6.3/src'
x86_64-pc-linux-gnu-gcc  -O2 -march=nocona -pipe -fomit-frame-pointer -Wall -ansi   -Wl,-O1,--hash-style=gnu,--as-needed -o preload cmdline.o conf.o log.o spy.o preload.o proc.o prophet.o readahead.o state.o -lm -lglib-2.0
mv -f .deps/readahead.Tpo .deps/readahead.Po
. gen.preload.conf.sh preload.conf.in confkeys.h > preload.conf
spy.o: In function `running_exe_inc_time':
spy.c:(.text+0x10): undefined reference to `state'
spy.o: In function `preload_spy_update_model':
spy.c:(.text+0x60): undefined reference to `state'
spy.c:(.text+0x66): undefined reference to `state'
spy.c:(.text+0x78): undefined reference to `state'
spy.c:(.text+0x8a): undefined reference to `preload_markov_foreach'
spy.c:(.text+0x90): undefined reference to `state'
spy.c:(.text+0x96): undefined reference to `state'
<snip>
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-10-30 14:11:22 UTC
Created attachment 170317 [details]
build.log
Comment 2 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-11-07 22:13:15 UTC
Created attachment 171044 [details, diff]
use-ac-config-files.patch
Comment 3 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-11-07 22:13:34 UTC
Created attachment 171045 [details, diff]
use-help2man-as-usual.patch
Comment 4 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-11-07 22:13:51 UTC
Created attachment 171047 [details, diff]
use-make-dependencies.patch
Comment 5 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-11-18 03:32:18 UTC
need to apply, test, commit
Comment 6 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2010-03-28 04:08:43 UTC
I no longer use this application and have dropped maintainer-ship.
Comment 7 Pacho Ramos gentoo-dev 2010-03-29 15:42:23 UTC
Jeremy,

I plan to apply these patches locally and, after some testing, commit them but, since you didn't commit them, I am not sure if they are safe enough or something more needs to be checked.

Thanks for the info
Comment 8 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2010-03-29 15:48:11 UTC
I remember looking at them, but didn't get around to using them. These patches are courtesy of flameeyes.
Comment 9 Pacho Ramos gentoo-dev 2010-03-29 15:58:21 UTC
OK (give thanks to Diego from my part ;-)), I will try to use them as soon as I am able to

Thanks
Comment 10 Pacho Ramos gentoo-dev 2010-04-09 11:16:41 UTC
(In reply to comment #2)
> Created an attachment (id=171044) [details]
> use-ac-config-files.patch
> 

This patch breaks variable substitution in logrotate and init.d files, getting things like  "${exec_prefix}/sbin/preload" and "${localstatedir}/log/preload.log"

Diego, could you please take a look to it? Maybe "sed" call shouldn't be dropped

Thanks a lot
Comment 11 Pacho Ramos gentoo-dev 2010-09-06 15:36:28 UTC
+  06 Sep 2010; Pacho Ramos <pacho@gentoo.org> preload-0.6.4-r1.ebuild,
+  +files/preload-0.6.4-use-help2man-as-usual.patch,
+  +files/preload-0.6.4-use-make-dependencies.patch:
+  Apply Flameeyes' patches to fix parallel compilation (bug #244966 by
+  Jeremy Olexa). Also use 'elog' instead of 'einfo' and drop old 'eerror'
+  message. Move to EAPI 2.
+