Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 320029 - =gpe-base/libtododb-0.11 USE=doc - make[1]: No rule to make target libtododb-sections.txt
Summary: =gpe-base/libtododb-0.11 USE=doc - make[1]: No rule to make target libtododb-...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: GPE Desktop project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-16 18:48 UTC by Guenther Brunthaler
Modified: 2010-05-26 12:30 UTC (History)
0 users

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


Attachments
Output of emerge --info (emerge_info.txt.lzma,2.77 KB, application/octet-stream)
2010-05-20 14:46 UTC, Guenther Brunthaler
Details
ebuild log for the failing build (gpe-base:libtododb-0.11:20100520-143500.log.lzma,2.37 KB, application/octet-stream)
2010-05-20 14:46 UTC, Guenther Brunthaler
Details
./configure logs as created at the time of the build failire (config-logs.tar.bz2,6.82 KB, application/octet-stream)
2010-05-20 14:52 UTC, Guenther Brunthaler
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Guenther Brunthaler 2010-05-16 18:48:32 UTC
When trying to

$ USE=doc emerge -1 =gpe-base/libtododb-0.11

the build fails with the error message

make[1]: Entering directory `/var/tmp/portage/gpe-base/libtododb-0.11/work/libtododb-0.11/doc'
make[1]: *** Keine Regel vorhanden, um das Target »libtododb-sections.txt«,
  benötigt von »tmpl-build.stamp«, zu erstellen*** Scanning header files ***
.  Schluss.
.  Schluss.
make[1]: *** Warte auf noch nicht beendete Prozesse...
if grep -l '^..*$' ./libtododb.types > /dev/null ; then \
            CC="/bin/sh ../libtool --mode=compile x86_64-pc-linux-gnu-gcc" LD="/bin/sh ../libtool --mode=link x86_64-pc-linux-gnu-gcc" CFLAGS="" LDFLAGS="" gtkdoc-scangobj  --module=libtododb --output-dir=. ; \
        else \
            cd . ; \
            for i in libtododb.args libtododb.hierarchy libtododb.interfaces libtododb.prerequisites libtododb.signals ; do \
               test -f $i || touch $i ; \
            done \
        fi  
grep: ./libtododb.types: Datei oder Verzeichnis nicht gefunden
cd . && \
          gtkdoc-scan --module=libtododb --source-dir=.. --ignore-headers=""
touch scan-build.stamp
make[1]: Leaving directory `/var/tmp/portage/gpe-base/libtododb-0.11/work/libtododb-0.11/doc'
make: *** [all-recursive] Fehler 1
 * ERROR: gpe-base/libtododb-0.11 failed:
 *   emake failed
 *
 * Call stack:
 *     ebuild.sh, line   54:  Called src_compile
 *   environment, line 2976:  Called gpe_src_compile
 *   environment, line 2345:  Called die


Reproducible: Always

Steps to Reproduce:
See above

Actual Results:  
Build failure

Expected Results:  
Should compile fine

When emerged without the doc USE flag, the build finished without problems.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2010-05-20 13:26:36 UTC
Please attach the entire build log to this bug report and post your `emerge --info' in a comment, then reopen this bug report.
Comment 2 Guenther Brunthaler 2010-05-20 14:44:32 UTC
(In reply to comment #1)
> Please attach the entire build log to this bug report and post your `emerge
> --info' in a comment, then reopen this bug report.

OK; see the following posts.

Here are the steps which are necessary at high level in order to reproduce the bug:

# grep "gpe\|match" /etc/portage/package.keywords
<games-misc/gpe-julia-0.1
<games-puzzle/gpe-lights-1
=gpe-base/gpe-2*
<gpe-base/gpe-calculator-1
<gpe-base/gpe-contacts-1
<gpe-base/gpe-dm-1
<gpe-base/gpe-gallery-1
<gpe-base/gpe-login-1
<gpe-base/libcontactsdb-1
<gpe-base/libeventdb-1
<gpe-base/libgpelaunch-1
<gpe-base/libgpepimc-1
<gpe-base/libgpevtype-1
<gpe-base/libmimedir-1
<gpe-base/libschedule-1
<gpe-base/libtododb-1
<gpe-utils/gpe-clock-1
<gpe-utils/gpe-filemanager-1
<gpe-utils/gpe-ownerinfo-1
<gpe-utils/gpe-plucker-1
<gpe-utils/gpe-taskmanager-1
<gpe-utils/gpe-what-1
<x11-libs/libmatchbox-2
<x11-misc/matchbox-keyboard-1
<x11-misc/matchbox-panel-manager-1
<x11-plugins/matchbox-applet-input-manager-1
<x11-plugins/matchbox-applet-startup-monitor-1
<x11-plugins/matchbox-applet-volume-1
<x11-plugins/matchbox-desktop-image-browser-1
<x11-plugins/matchbox-desktop-xine-1
<x11-themes/matchbox-themes-extra-1
<=x11-wm/matchbox-1.0
<x11-wm/matchbox-common-1
<x11-wm/matchbox-desktop-1
<x11-wm/matchbox-panel-1
<x11-wm/matchbox-window-manager-2
# emerge -av1 =gpe-base/libtododb-0.11

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] gpe-base/gpe-icons-0.25  USE="nls" 213 kB
[ebuild  N    ] gpe-base/libgpewidget-0.117-r1  USE="cairo nls" 396 kB
[ebuild  N    ] gpe-base/libgpepimc-0.9  USE="doc nls" 257 kB
[ebuild  N    ] gpe-base/libtododb-0.11  USE="nls -doc" 210 kB

Total: 4 packages (4 new), Size of downloads: 1,075 kB

... (builds fine) ...

# LC_ALL=C USE=doc emerge -avuN1 =gpe-base/libtododb-0.11

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] gpe-base/libtododb-0.11  USE="doc* nls" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB

...

checking whether to build gtk-doc documentation... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libtododb.pc
config.status: creating doc/Makefile
config.status: executing depfiles commands
config.status: executing libtool commands
configure: WARNING: unrecognized options: --enable-debug, --disable-debug
make -j5 PREFIX=/usr 
Making all in doc
make[1]: Entering directory `/var/tmp/portage/gpe-base/libtododb-0.11/work/libtododb-0.11/doc'
*** Scanning header files ***
make[1]: *** No rule to make target `libtododb-sections.txt', needed by `tmpl-build.stamp'.  Stop.
make[1]: *** Waiting for unfinished jobs....
Comment 3 Guenther Brunthaler 2010-05-20 14:46:01 UTC
Created attachment 232233 [details]
Output of emerge --info

use unlzma to decompress
Comment 4 Guenther Brunthaler 2010-05-20 14:46:52 UTC
Created attachment 232235 [details]
ebuild log for the failing build

LZMA-compressed
Comment 5 Guenther Brunthaler 2010-05-20 14:52:16 UTC
Created attachment 232241 [details]
./configure logs as created at the time of the build failire

Created by the command

# find /var/tmp/portage/gpe-base/libtododb-0.11/work/libtododb-0.11 \
       -name config.log | tar -cjf ~/config-logs.tar.bz2 -T -
Comment 6 Angelo Arrifano (RETIRED) gentoo-dev 2010-05-25 10:30:52 UTC
I guess this is parallel-make's fault. Can you try:

MAKEOPTS="-j1" USE=doc emerge -1vq =gpe-base/libtododb-0.11

If it works for you (it does for me), I'll be pushing a fix limiting the number of jobs to 1 when doc use flag is enabled. Upstream was already contacted about the subject.
Comment 7 Guenther Brunthaler 2010-05-26 10:51:34 UTC
(In reply to comment #6)
> MAKEOPTS="-j1" USE=doc emerge -1vq =gpe-base/libtododb-0.11
> 
> If it works for you (it does for me), I'll be pushing a fix limiting the number

Yes! It worked like a charm. :-)


> of jobs to 1 when doc use flag is enabled. Upstream was already contacted about
> the subject.

Please do! And thanks for the quick solution.
Comment 8 Angelo Arrifano (RETIRED) gentoo-dev 2010-05-26 12:30:47 UTC
fixed on cvs, thanks for reporting.

PS: We are in the process of starting stabilization of the GPE . If you feel you have something about it to say - problems, suggestions about gpe on gentoo - I will be glad to hear. Just open a bug about it. If it is not directly related with a package, write somewhere on the bug, that it should be assigned to gpe@gentoo.org - with the herd permission. That should give a hint to the poor bug wranglers.