Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 840314 - media-gfx/gimp-9999 gimpunit_pdb.c:25:10: fatal error: stamp-pdbgen.h: No such file or directory
Summary: media-gfx/gimp-9999 gimpunit_pdb.c:25:10: fatal error: stamp-pdbgen.h: No suc...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sergey Torokhov
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2022-04-23 12:29 UTC by jospezial
Modified: 2022-04-27 13:19 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,468.66 KB, text/plain)
2022-04-23 12:32 UTC, jospezial
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jospezial 2022-04-23 12:29:51 UTC
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DGIMPDIR=\"GIMP\" -DGIMP_USER_VERSION=\"2.99\" -DG_LOG_DOMAIN=\"LibGimp\" -DGIMP_COMPILATION -I.. -I../pdb -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/at-spi-2.0 -pthread -I/usr/include/gegl-0.4 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -pthread -I/usr/include/babl-0.1 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -pthread -I/usr/include/libmount -I/usr/include/blkid -I/usr/include -DGIMP_DISABLE_DEPRECATED -DBABL_DISABLE_DEPRECATED -DGSEAL_ENABLE -march=native -mtune=native -O2 -pipe -Wall -Wdeclaration-after-statement -Wmissing-prototypes -Werror=missing-prototypes -Wstrict-prototypes -Wmissing-declarations -Winit-self -Wpointer-arith -Wold-style-definition -Wmissing-format-attribute -Wformat-security -Wlogical-op -Wtype-limits -fno-common -fdiagnostics-show-option -Wreturn-type -c gimpunit_pdb.c  -fPIC -DPIC -o .libs/gimpunit_pdb.o
gimpunit_pdb.c:25:10: fatal error: stamp-pdbgen.h: No such file or directory
   25 | #include "stamp-pdbgen.h"
      |          ^~~~~~~~~~~~~~~~
compilation terminated.
make[3]: *** [Makefile:2101: gimpunit_pdb.lo] Error 1
make[3]: Leaving directory '/var/tmp/portage/media-gfx/gimp-9999/work/gimp-9999/libgimp'
make[2]: *** [Makefile:1678: all] Error 2
make[2]: Leaving directory '/var/tmp/portage/media-gfx/gimp-9999/work/gimp-9999/libgimp'
make[1]: *** [Makefile:877: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/media-gfx/gimp-9999/work/gimp-9999'
make: *** [Makefile:778: all] Error 2
 * ERROR: media-gfx/gimp-9999::gentoo failed (compile phase):
 *   emake failed
Comment 1 jospezial 2022-04-23 12:32:04 UTC
Created attachment 773492 [details]
build.log

emerge --info
Portage 3.0.30 (python 3.10.4-final-0, default/linux/amd64/17.1, gcc-11.3.0, glibc-2.35-r3, 5.18.0-rc3 x86_64)
=================================================================
System uname: Linux-5.18.0-rc3-x86_64-AMD_Athlon-tm-_II_X2_240_Processor-with-glibc2.35
KiB Mem:     4028680 total,    744704 free
KiB Swap:   11010040 total,  10776056 free
Timestamp of repository poly-c: Fri, 22 Apr 2022 21:34:02 +0000
Head commit of repository poly-c: 215527660c194281306096c84b489812134a89b5

Timestamp of repository gentoo: Sat, 23 Apr 2022 00:34:12 +0000
Head commit of repository gentoo: 56664dabd872201ae08e19532383c0957d55ca14

Timestamp of repository FireBurn: Fri, 22 Apr 2022 03:34:09 +0000
Head commit of repository FireBurn: 58342eef68ff0b547691b5b36f5a608e637b16ea

Timestamp of repository gamerlay: Thu, 21 Apr 2022 17:24:39 +0000
Head commit of repository gamerlay: 79ebdbf1e9bfcecda1144469524a5bf700354ef6

Timestamp of repository gerislay: Thu, 21 Apr 2022 17:24:53 +0000
Head commit of repository gerislay: ccd444d49b82df9e12f78329a96187c84668ee1a

Timestamp of repository java: Sun, 17 Apr 2022 16:39:53 +0000
Head commit of repository java: 2085756500f50f346bcd4e005be92da2d021f787

Head commit of repository kde: aeca1224e068d7472fb19c96cb5f95af6fe11d86

Head commit of repository netfab-overlay: cdf89191a519b53f28c2fefae9aa646b286bef9a

Timestamp of repository pg_overlay: Fri, 22 Apr 2022 14:49:06 +0000
Head commit of repository pg_overlay: 7fb75e33588ae3d9f6c194f407fae984087d9d85

Timestamp of repository qt: Thu, 21 Apr 2022 15:40:28 +0000
Head commit of repository qt: eea325ebb4c6cf3bc7a256b4adb57be17d80edda

Timestamp of repository seden: Thu, 21 Apr 2022 15:40:30 +0000
Head commit of repository seden: 29b7d4ae60bdf314859024c8fee0f20305502270

Timestamp of repository stefantalpalaru: Fri, 22 Apr 2022 07:04:31 +0000
Head commit of repository stefantalpalaru: 216d0f8d0da1ae0c1e7f2a3356895d145151625a

Timestamp of repository wine: Mon, 18 Apr 2022 19:38:46 +0000
Head commit of repository wine: 1c674c1145a680b970e5855f76b4220abd7c3ab2

sh bash 5.1_p16
ld GNU ld (Gentoo 2.38 p4) 2.38
ccache version 4.6 [enabled]
app-misc/pax-utils:        1.3.3::gentoo
app-shells/bash:           5.1_p16::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.34.1-r3::gentoo
dev-lang/python:           3.9.12::gentoo, 3.10.4::gentoo
dev-lang/rust-bin:         1.60.0::gentoo
dev-util/ccache:           4.6-r1::gentoo
dev-util/cmake:            3.23.1::gentoo
dev-util/meson:            0.61.4-r2::gentoo
sys-apps/baselayout:       2.8::gentoo
sys-apps/openrc:           0.44.10::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-devel/autoconf:        2.71-r1::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.38-r2::gentoo
sys-devel/binutils-config: 5.4.1::gentoo
sys-devel/clang:           14.0.1-r1::gentoo
sys-devel/gcc:             11.3.0::gentoo
sys-devel/gcc-config:      2.5-r1::gentoo
sys-devel/libtool:         2.4.7::gentoo
sys-devel/lld:             14.0.1::gentoo
sys-devel/llvm:            14.0.1::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  5.17::gentoo (virtual/os-headers)
sys-libs/glibc:            2.35-r3::gentoo
Repositories:

poly-c
    location: /var/db/repos/poly-c
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/poly-c.git
    masters: gentoo
    priority: -1001

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: -1000

FireBurn
    location: /var/db/repos/FireBurn
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/FireBurn.git
    masters: gentoo

gamerlay
    location: /var/db/repos/gamerlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gamerlay.git
    masters: gentoo

gerislay
    location: /var/db/repos/gerislay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gerislay.git
    masters: gentoo

java
    location: /var/db/repos/java
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/java.git
    masters: gentoo

kde
    location: /var/db/repos/kde
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/proj/kde.git
    masters: gentoo

netfab-overlay
    location: /var/db/repos/netfab-overlay
    sync-type: git
    sync-uri: https://github.com/netfab/overlay
    masters: gentoo

overlay_jl
    location: /var/db/repos/overlay_jl
    masters: gentoo

pg_overlay
    location: /var/db/repos/pg_overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/pg_overlay.git
    masters: gentoo

qt
    location: /var/db/repos/qt
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/qt.git
    masters: gentoo

seden
    location: /var/db/repos/seden
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/seden.git
    masters: gentoo

stefantalpalaru
    location: /var/db/repos/stefantalpalaru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/stefantalpalaru.git
    masters: gentoo

wine
    location: /var/db/repos/wine
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/wine.git
    masters: gentoo

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -mtune=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -mtune=native -O2 -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=y --autounmask-write=y --keep-going --quiet-build=y --verbose-conflicts"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-march=native -mtune=native -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live ccache config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -mtune=native -O2 -pipe"
GENTOO_MIRRORS="http://ftp.halifax.rwth-aachen.de/gentoo/ https://mirrors.dotsrc.org/gentoo/ https://mirror.leaseweb.com/gentoo/"
LANG="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="64bit X Xaw3d a52 aac aacplus aacs aalib ace acl acpi activefilter admin aften alsa ambisonics amd64 ap apm apng archive arping audacious audiofile automount avif bash bazaar bdplus binary-drivers bluray boost btrfs bzip2 cairo ccache cdda cddb cdio cdr cdrom charconv chm chroot cjk clang cli client colordiff colorpicker colors compress corefonts cpio cpufreq_bench cpuload crypt css cue cups curl custom-modes d3d9 dav1d dbus declarative dga dhcp dom doom doomsday dri dri3 drm dts duktape dump dv dvb dvd dvdnav eap eap-sim eap-tls ebook egl elogind encode enscript epub equalizer exif extensions extras faac faad farstream fat fax fbcon fdformat fdk ffmpeg fftw firefox flac fluidsynth fontconfig foomatic foomaticdb fortran freedoom ftp fuse gadu gd gegl geoip gif git glamor gpg gphoto2 graphite grub gstreamer gtk gtk3 gtk4 gui gzip haptic hddtemp hdf hdf5 heretic hexen hid highlight history hpcups hpijs http http2 hwdb iconv icu id3tag idn imagemagick initramfs inotify introspection ipc ipod ipv6 jack jbootstrap jit jpeg jpeg2k kde kdenlive keyfinder ladspa lame lcms legacy-systray lensfun libaom libass libcanberra libdrm libglvnd libinput libmpv libnotify librtmp libsamplerate libssh2 libtirpc libv4l libwww lightdm live lm-sensors lm_sensors logrotate lua lv2 lximage lz4 lzma lzo mad magic man matroska md5sum meanwhile melt mercurial metalink midi mikmod mime minizip mixer mjpeg mmap mms mng mobi mod modern-top modplug mono mount mouse mozilla mp3 mp4 mpeg mpeg2 mplayer mtp multilib multimedia multislot musepack musicbrainz nano-syntax ncat ncurses ndiff network networkmonitor newnet nls nmap-update normalize nowlistening nping nptl ntfs ntfsprogs ntp nvidia nvram obex ocr odbc odf offload ogg ogm openal opencl opengl openh264 openmp openssl opus osdmenu otr p2p pam pango panorama parse-clocks pcap pci pcre pcre16 pdf pdfimport phonon pipes pkcs11 plasma plugins pm-utils png policykit postproc postscript powermanagement ppds printsupport privacy projectm pulseaudio pvr python qalculate qml qrcode qt5 qtkeychain quicktime radio rar raw readline recording reiser4 reiserfs remote-access replaygain rtc rtmp rubberband sbsms scanner screensaver scripttools sdl seccomp secure-delete sensors serial serialport sftp sha512 shorten shout skins slang smi sndfile sockets sound soundtouch source-highlight speech speex spell split-usr sql sqlite sqlite3 squashfs ssh ssl staging startup-notification statistics statusnotifier stk stream subtitles sudo svg symlink sync-plugin-portage syslog sysstat system-ffmpeg system-harfbuzz system-icu system-jpeg system-jsoncpp system-libvpx system-sqlite sysv-utils szip taglib text texteffect tftp tftpd themes theora threads thumbnail tiff timidity tracepath traceroute translator truetype twolame udev udf udisks unicode update_drivedb upower urlpicpreview usb utils v4l v4l2 vaapi vala vamp vdpau vector-icons video videos virtualbox vkd3d vnc vorbis vpx vroot vst vulkan vulkaninfo wad wav wavpack wayland webgl webp webpresence widgets winbind winpopup wmf worldclock wps wxwidgets x264 x265 xattr xcb xcomposite xfs xine xinerama xkb xml xmp xorg xosd xpm xrandr xscreensaver xv xvid yahoo zenmap zip zlib zstd zvbi" ABI_X86="64" ADA_TARGET="gnat_2020" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext popcnt sse sse2 sse3 sse4a" CURL_SSL="openssl" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" L10N="de" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="AMDGPU" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9 python3_10" RUBY_TARGETS="ruby30 ruby31" USERLAND="GNU" VIDEO_CARDS="radeon amdgpu radeonsi" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LEX, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, MAKEOPTS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 2 jospezial 2022-04-23 12:38:01 UTC
On every upstream commit about that missing file I read meson.
Maybe it is time to convert the ebuild.

As I understand,
meson should run /var/tmp/portage/media-gfx/gimp-9999/work/gimp-9999/pdb/meson-pdbgen.sh
which should run /var/tmp/portage/media-gfx/gimp-9999/work/gimp-9999/pdb/pdbgen.pl
Comment 3 jospezial 2022-04-23 12:40:26 UTC
And so the missing header will be generated.
Comment 4 Sergey Torokhov 2022-04-24 21:36:11 UTC
I confirm this issue and that it is caused by upstream changes of 28 March 2022 (sha f9cf16f4).

I beware to switch of using the gimp meson.build as it still has warning "meson build is still experimental". This switch will not save from similar issues as gimp is under active development.


The addition of "--with-pdbgen" configuration option fixes this issue for me in gimp-9999.ebuild.


Thank you for report as live ebuild is broken nearly a month. I didn't check it for a long time.
Comment 5 Larry the Git Cow gentoo-dev 2022-04-27 13:19:01 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18960f5624fc560ba92f18c9cee66db289237243

commit 18960f5624fc560ba92f18c9cee66db289237243
Author:     Sergey Torokhov <torokhov-s-a@yandex.ru>
AuthorDate: 2022-04-24 21:12:37 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2022-04-27 13:18:56 +0000

    media-gfx/gimp: Fix 9999-ebuild deps and src_configure options
    
    Gimp upstream now depends on >=gexiv2-0.14.0.
    
    Src configure option `--with-pdbgen` is required
    to generate some header files in "maintainer mode" like live ebuild.
    
    Bug: https://bugs.gentoo.org/835781
    Closes: https://bugs.gentoo.org/840314
    
    Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru>
    Closes: https://github.com/gentoo/gentoo/pull/25187
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 media-gfx/gimp/gimp-9999.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)