Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 673982 - media-libs/gexiv2-0.10.9 - new dependency:dev-util/gtk-doc
Summary: media-libs/gexiv2-0.10.9 - new dependency:dev-util/gtk-doc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
: 673998 674432 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-12-29 13:46 UTC by jospezial
Modified: 2019-01-03 17:06 UTC (History)
11 users (show)

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


Attachments
gexiv2-0.10.9-r1.ebuild (gexiv2-0.10.9-r1.ebuild,1.61 KB, text/plain)
2019-01-02 10:33 UTC, László Szalma
Details
gexiv2-0.10.9-disable-gtk-doc.patch (gexiv2-0.10.9-disable-gtk-doc.patch,1.26 KB, patch)
2019-01-02 10:34 UTC, László Szalma
Details | Diff
gexiv2-0.10.9-r1.ebuild (gexiv2-0.10.9-r1.ebuild,1.55 KB, text/plain)
2019-01-02 10:47 UTC, László Szalma
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jospezial 2018-12-29 13:46:30 UTC
[ebuild     U  ]   media-libs/gexiv2-0.10.9::gentoo [0.10.8::gentoo] USE="introspection python vala -static-libs -test" PYTHON_TARGETS="python2_7 python3_6 -python3_4 -python3_5" 0 KiB


* Package:    media-libs/gexiv2-0.10.9
 * Repository: gentoo
 * Maintainer: graphics@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc introspection kernel_linux python python_targets_python2_7 python_targets_python3_6 userland_GNU vala
 * FEATURES:   ccache network-sandbox preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking gexiv2-0.10.9.tar.xz to /var/tmp/portage/media-libs/gexiv2-0.10.9/work
>>> Source unpacked in /var/tmp/portage/media-libs/gexiv2-0.10.9/work
>>> Preparing source in /var/tmp/portage/media-libs/gexiv2-0.10.9/work/gexiv2-0.10.9 ...
 * Running eautoreconf in '/var/tmp/portage/media-libs/gexiv2-0.10.9/work/gexiv2-0.10.9' ...
 * Skipping 'gtkdocize --copy' due gtkdocize not installed
 * Running libtoolize --install --copy --force --automake ...
 [ ok ]
 * Running aclocal -I m4 ...
 [ ok ]
 * Running autoconf --force ...
 [ ok ]
 * Running automake --add-missing --copy --foreign --force-missing ...
 [ !! ]

 * Failed Running automake !
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/media-libs/gexiv2-0.10.9/temp/automake.out

 * ERROR: media-libs/gexiv2-0.10.9::gentoo failed (prepare phase):
 *   Failed Running automake !
 * 
 * Call stack:
 *     ebuild.sh, line  124:  Called src_prepare
 *   environment, line 2753:  Called eautoreconf
 *   environment, line 1088:  Called eautomake
 *   environment, line 1042:  Called autotools_run_tool 'automake' '--add-missing' '--copy' '--foreign' '--force-missing'
 *   environment, line  812:  Called die
 * The specific snippet of code:
 *           die "Failed Running $1 !";
 * 


cat /var/tmp/portage/media-libs/gexiv2-0.10.9/temp/automake.out
***** automake *****
***** PWD: /var/tmp/portage/media-libs/gexiv2-0.10.9/work/gexiv2-0.10.9
***** automake --add-missing --copy --foreign --force-missing

configure.ac:18: installing 'build-aux/ar-lib'
configure.ac:18: installing 'build-aux/compile'
configure.ac:12: installing 'build-aux/missing'
Makefile.am: installing 'build-aux/depcomp'
parallel-tests: installing 'build-aux/test-driver'
automake-1.16: error: cannot open < gtk-doc.make: No such file or directory

After installing dev-util/gtk-doc-1.25-r1 it worked.
Comment 1 Andreas Sturmlechner gentoo-dev 2018-12-29 19:16:42 UTC
*** Bug 673998 has been marked as a duplicate of this bug. ***
Comment 2 Perfect Gentleman 2018-12-30 02:07:28 UTC
src_prepare() {
	xdg_environment_reset
	tc-export CXX
	use vala && vala_src_prepare
	default
	cat > gtk-doc.make << EOF
EXTRA_DIST =
CLEANFILES =
EOF
	eautoreconf
}
Comment 3 Nils Kneuper 2019-01-01 12:08:34 UTC
Same problem over here:

[ebuild     U  ] media-libs/gexiv2-0.10.9::gentoo [0.10.8::gentoo] USE="-introspection -python -static-libs -test -vala" PYTHON_TARGETS="python2_7 python3_6 -python3_4 -python3_5" 0 KiB

Installing dev-util/gtk-doc made gexiv2 compile correctly.
Comment 4 László Szalma 2019-01-02 10:33:27 UTC
Created attachment 559440 [details]
gexiv2-0.10.9-r1.ebuild
Comment 5 László Szalma 2019-01-02 10:34:07 UTC
Comment on attachment 559440 [details]
gexiv2-0.10.9-r1.ebuild

gtk-doc added to USE
Comment 6 László Szalma 2019-01-02 10:34:41 UTC
Created attachment 559444 [details, diff]
gexiv2-0.10.9-disable-gtk-doc.patch

disable gtk-doc requirements
Comment 7 László Szalma 2019-01-02 10:42:31 UTC
The attached ebuild + patch files fix the build without gtk-doc. It builds with gtk-doc USE flag too.

Please note that I don't see any additional files created with gtk-doc, so maybe we should just use the patch without gtk-doc USE flag, because it just doesn't do anything...
Comment 8 László Szalma 2019-01-02 10:47:23 UTC
Created attachment 559448 [details]
gexiv2-0.10.9-r1.ebuild

gtk-doc USE flag is not needed because it doesn't do anything beside requiring the gtk-doc includes.
Comment 9 Andreas Sturmlechner gentoo-dev 2019-01-03 17:06:16 UTC
*** Bug 674432 has been marked as a duplicate of this bug. ***
Comment 10 Andreas Sturmlechner gentoo-dev 2019-01-03 17:06:34 UTC
Should be fixed in 0.10.10.