Bug 220558 - graphics/gdk-pixbuf2 does not build using poudriere
Summary: graphics/gdk-pixbuf2 does not build using poudriere
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-gnome (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-08 10:49 UTC by longwitz
Modified: 2018-01-10 10:14 UTC (History)
3 users (show)

See Also:
bugzilla: maintainer-feedback? (gnome)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description longwitz 2017-07-08 10:49:36 UTC
The build of graphics/gdk-pixbuf2 stops because the missing build dependency of perl lets glib-mkmenu fail:

===>  Building for gdk-pixbuf2-2.32.3_1
gmake[1]: Entering directory '/wrkdirs/usr/ports/graphics/gdk-pixbuf2/work/gdk-pixbuf-2.32.3'
gmake  all-recursive
gmake[2]: Entering directory '/wrkdirs/usr/ports/graphics/gdk-pixbuf2/work/gdk-pixbuf-2.32.3'
Making all in gdk-pixbuf
gmake[3]: Entering directory '/wrkdirs/usr/ports/graphics/gdk-pixbuf2/work/gdk-pixbuf-2.32.3/gdk-pixbuf'
( cd . && glib-mkenums --template gdk-pixbuf-enum-types.h.template \
        gdk-pixbuf.h gdk-pixbuf-autocleanups.h gdk-pixbuf-core.h gdk-pixbuf-transform.h gdk-pixbuf-io.h gdk-pixbuf-animation.h gdk-pix
buf-simple-anim.h gdk-pixbuf-loader.h ) > tmp-gdk-pixbuf-enum-types.h \
&& (cmp -s tmp-gdk-pixbuf-enum-types.h gdk-pixbuf-enum-types.h || cp tmp-gdk-pixbuf-enum-types.h gdk-pixbuf-enum-types.h ) \
&& rm -f tmp-gdk-pixbuf-enum-types.h \
&& echo timestamp > s-enum-types-h
glib-mkenums: not found
gmake[3]: *** [Makefile:2636: s-enum-types-h] Error 127
gmake[3]: Leaving directory '/wrkdirs/usr/ports/graphics/gdk-pixbuf2/work/gdk-pixbuf-2.32.3/gdk-pixbuf'
gmake[2]: *** [Makefile:578: all-recursive] Error 1
gmake[2]: Leaving directory '/wrkdirs/usr/ports/graphics/gdk-pixbuf2/work/gdk-pixbuf-2.32.3'
gmake[1]: *** [Makefile:483: all] Error 2
gmake[1]: Leaving directory '/wrkdirs/usr/ports/graphics/gdk-pixbuf2/work/gdk-pixbuf-2.32.3'
*** Error code 1

The following patch solves the problem for me:

--- Makefile.orig       2016-05-23 22:35:01.000000000 +0200
+++ Makefile    2017-07-08 10:39:29.379678000 +0200
@@ -16,9 +16,10 @@
 LICENSE_FILE=  ${WRKSRC}/COPYING

 USE_XORG=      xt xi x11
-USES=          cpe gmake gnome libtool pathfix pkgconfig tar:xz
+USES=          cpe gmake gnome libtool pathfix pkgconfig perl5 tar:xz
 CPE_VENDOR=    gnome
 USE_GNOME+=    glib20 introspection:build
+USE_PERL5=     build
 USE_LDCONFIG=  yes
 GNU_CONFIGURE= yes
 CPPFLAGS+=     -I${LOCALBASE}/include
Comment 1 Koop Mast freebsd_committer freebsd_triage 2017-07-08 15:42:22 UTC
This is incorrect. The glib-mkenums tool is installed by devel/glib20 which has the correct perl5 dependancies. Do you have any additional local changes in your ports tree?
Comment 2 longwitz 2017-07-08 16:41:08 UTC
Oh yes I have USE_PERL5=build in my glib20 Makefile to avoid the run dependency on my small soekris boxes.

Thanks and sorry for the noise.
Comment 3 Walter Schwarzenfeld 2018-01-10 06:26:31 UTC
Do I understand right?: It is solved?
So @longwitz please close the PR.