Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 887391 - media-gfx/tuxpaint-0.9.28-r2 - magic/.../stretch.c: fatal error: tp_magic_api.h: No such file or directory
Summary: media-gfx/tuxpaint-0.9.28-r2 - magic/.../stretch.c: fatal error: tp_magic_api...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Philipp Rösner
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: parallel-make
  Show dependency tree
 
Reported: 2022-12-20 10:25 UTC by Toralf Förster
Modified: 2023-01-20 13:50 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.40 KB, text/plain)
2022-12-20 10:25 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,139.74 KB, text/plain)
2022-12-20 10:25 UTC, Toralf Förster
Details
environment (environment,76.22 KB, text/plain)
2022-12-20 10:25 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,565 bytes, application/x-bzip)
2022-12-20 10:25 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,11.48 KB, application/x-bzip)
2022-12-20 10:25 UTC, Toralf Förster
Details
media-gfx:tuxpaint-0.9.28-r2:20221220-041518.log (media-gfx:tuxpaint-0.9.28-r2:20221220-041518.log,3.49 KB, text/plain)
2022-12-20 10:25 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,18.84 KB, application/x-bzip)
2022-12-20 10:25 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-12-20 10:25:41 UTC
too long lines were shrinked:

make -j4 CC=x86_64-pc-linux-gnu-gcc GENTOO_LIBDIR=lib64 
...............................................
...Generating thumbnails for starters...
......x86_64-pc-linux-gnu-gcc -g3 -O2 -fno-common -W -Wstrict-prototypes -Wmissing-prototypes -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -Isrc/ -pipe -march=native -fno-diagnostics-color -O2 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -shared -fpic -lm -o magic/stretc
x86_64-pc-linux-gnu-gcc -g3 -O2 -fno-common -W -Wstrict-prototypes -Wmissing-prototypes -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -Isrc/ -pipe -march=native -fno-diagnostics-color -O2 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -shared -fpic -lm -o magic/calligraphy.
x86_64-pc-linux-gnu-gcc -g3 -O2 -fno-common -W -Wstrict-prototypes -Wmissing-prototypes -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -Isrc/ -pipe -march=native -fno-diagnostics-color -O2 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -shared -fpic -lm -o magic/blur.so magi
magic/src/stretch.c:29:10: fatal error: tp_magic_api.h: No such file or directory
   29 | #include "tp_magic_api.h"
      |          ^~~~~~~~~~~~~~~~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd-j4_abi32+64-20221218-070005

  -------------------------------------------------------------------

GNUMAKEFLAGS="$GNUMAKEFLAGS --jobserver-style=pipe"
GNUMAKEFLAGS="$GNUMAKEFLAGS --shuffle"
gcc-config -l:
 [1] x86_64-pc-linux-gnu-11
 [2] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
clang version 15.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.6
Python 3.10.9
Available Rust versions:
  [1]   rust-bin-1.65.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.5_p8 [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.352_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17  system-vm

php cli (if any):
  [1]   php8.2 *

  HEAD of ::gentoo
commit 66fc9f164a2693532b4b47baeb827c3c493016c1
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Dec 20 02:04:28 2022 +0000

    2022-12-20 02:04:28 UTC

emerge -qpvO media-gfx/tuxpaint
[ebuild  N    ] media-gfx/tuxpaint-0.9.28-r2
Comment 1 Toralf Förster gentoo-dev 2022-12-20 10:25:42 UTC
Created attachment 844035 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-12-20 10:25:43 UTC
Created attachment 844037 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-12-20 10:25:44 UTC
Created attachment 844039 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-12-20 10:25:45 UTC
Created attachment 844041 [details]
etc.clang.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-12-20 10:25:46 UTC
Created attachment 844043 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-12-20 10:25:47 UTC
Created attachment 844045 [details]
media-gfx:tuxpaint-0.9.28-r2:20221220-041518.log
Comment 7 Toralf Förster gentoo-dev 2022-12-20 10:25:48 UTC
Created attachment 844047 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2022-12-24 07:18:16 UTC
The bug has been closed via the following commit(s):

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

commit e22b3e79e2712c8374fe435b0fb68c481270117e
Author:     Philipp Rösner <rndxelement@protonmail.com>
AuthorDate: 2022-12-21 22:22:35 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-12-24 07:16:26 +0000

    media-gfx/tuxpaint: fix parallel build (--shuffle) issues in -0.9.28-r2
    
    Building media-gfx/tuxpaint-0.9.28-r2 with MAKEOPTS="--shuffle"
    resulted in multiple build failures due to missing
    dependencies.
    Add missing dependencies to the Makefile.
    
    Closes: https://bugs.gentoo.org/883621
    Closes: https://bugs.gentoo.org/887391
    Signed-off-by: Philipp Rösner <rndxelement@protonmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/28750
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/tuxpaint-0.9.28-r2-Makefile.patch        | 71 +++++++++++++++++++++-
 1 file changed, 69 insertions(+), 2 deletions(-)
Comment 9 Larry the Git Cow gentoo-dev 2023-01-20 13:50:39 UTC
The bug has been referenced in the following commit(s):

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

commit e3f15e05ffd494b9691fc41e69639721861acc50
Author:     Philipp Rösner <rndxelement@protonmail.com>
AuthorDate: 2023-01-09 16:38:52 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2023-01-20 13:50:36 +0000

    media-gfx/tuxpaint: 0.9.28-r2: fix parallel build
    
    The fix for https://bugs.gentoo.org/887391
    resolved the parallel build issues, thus remove
    -j1 from emake.
    
    Bug: https://bugs.gentoo.org/887391
    Closes: https://bugs.gentoo.org/859169
    Signed-off-by: Philipp Rösner <rndxelement@protonmail.com>
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 media-gfx/tuxpaint/tuxpaint-0.9.28-r2.ebuild | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)