Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 758902 - =media-libs/freetype-9999 requires changes for dlg git submodule build
Summary: =media-libs/freetype-9999 requires changes for dlg git submodule build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-07 12:53 UTC by Oleh
Modified: 2020-12-07 13:56 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oleh 2020-12-07 12:53:20 UTC
Most recent git HEAD of freetype-9999 would fail due to upstream changes for dlg submodule.

Reproducible: Always

Steps to Reproduce:
1. emerge -1 =freetype-9999
2.
3.
Actual Results:  
libtool: compile:  x86_64-pc-linux-gnu-gcc -pedantic -std=c99 -I/var/src/build/portage/media-libs/freetype-9999/work/freetype-9999/src/base -I/var/src/build/portage/media-libs/freetype-9999/work/freetype-9999-abi_x86_64.amd64 -I/var/src/build/portage/media-libs/freetype-9999/work/freetype-9999/builds/unix -I/var/src/build/portage/media-libs/freetype-9999/work/freetype-9999/src/dlg -I/var/src/build/portage/media-libs/freetype-9999/work/freetype-9999/include -c -Wall -march=sandybridge -O2 -fno-ident -frecord-gcc-switches -fstack-clash-protection -fstack-protector-all -mfunction-return=thunk -mindirect-branch=thunk -mindirect-branch-register -pipe -Wall -Wpointer-sign -fno-strict-aliasing -fvisibility=hidden -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" "-DFT_CONFIG_MODULES_H=<ftmodule.h>" "-DFT_CONFIG_OPTIONS_H=<ftoption.h>" -DFT2_BUILD_LIBRARY /var/src/build/portage/media-libs/freetype-9999/work/freetype-9999/src/base/ftbitmap.c  -fPIC -DPIC -o /var/src/build/portage/media-libs/freetype-9999/work/freetype-9999-abi_x86_64.amd64/.libs/ftbitmap.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -pedantic -std=c99 -I/var/src/build/portage/media-libs/freetype-9999/work/freetype-9999/src/base -I/var/src/build/portage/media-libs/freetype-9999/work/freetype-9999-abi_x86_64.amd64 -I/var/src/build/portage/media-libs/freetype-9999/work/freetype-9999/builds/unix -I/var/src/build/portage/media-libs/freetype-9999/work/freetype-9999/src/dlg -I/var/src/build/portage/media-libs/freetype-9999/work/freetype-9999/include -c -Wall -march=sandybridge -O2 -fno-ident -frecord-gcc-switches -fstack-clash-protection -fstack-protector-all -mfunction-return=thunk -mindirect-branch=thunk -mindirect-branch-register -pipe -Wall -Wpointer-sign -fno-strict-aliasing -fvisibility=hidden -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" "-DFT_CONFIG_MODULES_H=<ftmodule.h>" "-DFT_CONFIG_OPTIONS_H=<ftoption.h>" -DFT2_BUILD_LIBRARY /var/src/build/portage/media-libs/freetype-9999/work/freetype-9999/src/base/ftbbox.c  -fPIC -DPIC -o /var/src/build/portage/media-libs/freetype-9999/work/freetype-9999-abi_x86_64.amd64/.libs/ftbbox.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -pedantic -std=c99 -I/var/src/build/portage/media-libs/freetype-9999/work/freetype-9999/src/base -I/var/src/build/portage/media-libs/freetype-9999/work/freetype-9999-abi_x86_64.amd64 -I/var/src/build/portage/media-libs/freetype-9999/work/freetype-9999/builds/unix -I/var/src/build/portage/media-libs/freetype-9999/work/freetype-9999/src/dlg -I/var/src/build/portage/media-libs/freetype-9999/work/freetype-9999/include -c -Wall -march=sandybridge -O2 -fno-ident -frecord-gcc-switches -fstack-clash-protection -fstack-protector-all -mfunction-return=thunk -mindirect-branch=thunk -mindirect-branch-register -pipe -Wall -Wpointer-sign -fno-strict-aliasing -fvisibility=hidden -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" "-DFT_CONFIG_MODULES_H=<ftmodule.h>" "-DFT_CONFIG_OPTIONS_H=<ftoption.h>" -DFT2_BUILD_LIBRARY /var/src/build/portage/media-libs/freetype-9999/work/freetype-9999/src/base/ftcid.c  -fPIC -DPIC -o /var/src/build/portage/media-libs/freetype-9999/work/freetype-9999-abi_x86_64.amd64/.libs/ftcid.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -pedantic -std=c99 -I/var/src/build/portage/media-libs/freetype-9999/work/freetype-9999/src/base -I/var/src/build/portage/media-libs/freetype-9999/work/freetype-9999-abi_x86_64.amd64 -I/var/src/build/portage/media-libs/freetype-9999/work/freetype-9999/builds/unix -I/var/src/build/portage/media-libs/freetype-9999/work/freetype-9999/src/dlg -I/var/src/build/portage/media-libs/freetype-9999/work/freetype-9999/include -c -Wall -march=sandybridge -O2 -fno-ident -frecord-gcc-switches -fstack-clash-protection -fstack-protector-all -mfunction-return=thunk -mindirect-branch=thunk -mindirect-branch-register -pipe -Wall -Wpointer-sign -fno-strict-aliasing -fvisibility=hidden -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" "-DFT_CONFIG_MODULES_H=<ftmodule.h>" "-DFT_CONFIG_OPTIONS_H=<ftoption.h>" -DFT2_BUILD_LIBRARY /var/src/build/portage/media-libs/freetype-9999/work/freetype-9999/src/base/ftbase.c  -fPIC -DPIC -o /var/src/build/portage/media-libs/freetype-9999/work/freetype-9999-abi_x86_64.amd64/.libs/ftbase.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -pedantic -std=c99 -I/var/src/build/portage/media-libs/freetype-9999/work/freetype-9999/src/base -I/var/src/build/portage/media-libs/freetype-9999/work/freetype-9999-abi_x86_64.amd64 -I/var/src/build/portage/media-libs/freetype-9999/work/freetype-9999/builds/unix -I/var/src/build/portage/media-libs/freetype-9999/work/freetype-9999/src/dlg -I/var/src/build/portage/media-libs/freetype-9999/work/freetype-9999/include -c -Wall -march=sandybridge -O2 -fno-ident -frecord-gcc-switches -fstack-clash-protection -fstack-protector-all -mfunction-return=thunk -mindirect-branch=thunk -mindirect-branch-register -pipe -Wall -Wpointer-sign -fno-strict-aliasing -fvisibility=hidden -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" "-DFT_CONFIG_MODULES_H=<ftmodule.h>" "-DFT_CONFIG_OPTIONS_H=<ftoption.h>" -DFT2_BUILD_LIBRARY /var/src/build/portage/media-libs/freetype-9999/work/freetype-9999/src/base/ftbdf.c  -fPIC -DPIC -o /var/src/build/portage/media-libs/freetype-9999/work/freetype-9999-abi_x86_64.amd64/.libs/ftbdf.o
In file included from /var/src/build/portage/media-libs/freetype-9999/work/freetype-9999/src/base/ftdebug.c:45:
/var/src/build/portage/media-libs/freetype-9999/work/freetype-9999/include/freetype/internal/ftdebug.h:35:10: fatal error: ../src/dlg/dlg/dlg.h: No such file or directory
   35 | #include <../src/dlg/dlg/dlg.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from /var/src/build/portage/media-libs/freetype-9999/work/freetype-9999/src/base/ftinit.c:43:
/var/src/build/portage/media-libs/freetype-9999/work/freetype-9999/include/freetype/internal/ftdebug.h:35:10: fatal error: ../src/dlg/dlg/dlg.h: No such file or directory
   35 | #include <../src/dlg/dlg/dlg.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from /var/src/build/portage/media-libs/freetype-9999/work/freetype-9999/builds/unix/ftsystem.c:22:
/var/src/build/portage/media-libs/freetype-9999/work/freetype-9999/include/freetype/internal/ftdebug.h:35:10: fatal error: ../src/dlg/dlg/dlg.h: No such file or directory
   35 | #include <../src/dlg/dlg/dlg.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [/var/src/build/portage/media-libs/freetype-9999/work/freetype-9999/builds/freetype.mk:218: /var/src/build/portage/media-libs/freetype-9999/work/freetype-9999-abi_x86_64.amd64/ftdebug.lo] Error 1
make: *** Waiting for unfinished jobs....
make: *** [/var/src/build/portage/media-libs/freetype-9999/work/freetype-9999/builds/freetype.mk:245: /var/src/build/portage/media-libs/freetype-9999/work/freetype-9999-abi_x86_64.amd64/ftinit.lo] Error 1
make: *** [/var/src/build/portage/media-libs/freetype-9999/work/freetype-9999/builds/freetype.mk:206: /var/src/build/portage/media-libs/freetype-9999/work/freetype-9999-abi_x86_64.amd64/ftsystem.lo] Error 1
In file included from /var/src/build/portage/media-libs/freetype-9999/work/freetype-9999/src/base/ftbitmap.c:19:
/var/src/build/portage/media-libs/freetype-9999/work/freetype-9999/include/freetype/internal/ftdebug.h:35:10: fatal error: ../src/dlg/dlg/dlg.h: No such file or directory
   35 | #include <../src/dlg/dlg/dlg.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from /var/src/build/portage/media-libs/freetype-9999/work/freetype-9999/src/base/ftbbox.c:27:
/var/src/build/portage/media-libs/freetype-9999/work/freetype-9999/include/freetype/internal/ftdebug.h:35:10: fatal error: ../src/dlg/dlg/dlg.h: No such file or directory
   35 | #include <../src/dlg/dlg/dlg.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from /var/src/build/portage/media-libs/freetype-9999/work/freetype-9999/src/base/ftadvanc.c:19,
                 from /var/src/build/portage/media-libs/freetype-9999/work/freetype-9999/src/base/ftbase.c:21:
/var/src/build/portage/media-libs/freetype-9999/work/freetype-9999/include/freetype/internal/ftdebug.h:35:10: fatal error: ../src/dlg/dlg/dlg.h: No such file or directory
   35 | #include <../src/dlg/dlg/dlg.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [/var/src/build/portage/media-libs/freetype-9999/work/freetype-9999/src/base/rules.mk:105: /var/src/build/portage/media-libs/freetype-9999/work/freetype-9999-abi_x86_64.amd64/ftbitmap.lo] Error 1
make: *** [/var/src/build/portage/media-libs/freetype-9999/work/freetype-9999/src/base/rules.mk:105: /var/src/build/portage/media-libs/freetype-9999/work/freetype-9999-abi_x86_64.amd64/ftbbox.lo] Error 1
make: *** [/var/src/build/portage/media-libs/freetype-9999/work/freetype-9999/src/base/rules.mk:99: /var/src/build/portage/media-libs/freetype-9999/work/freetype-9999-abi_x86_64.amd64/ftbase.lo] Error 1
In file included from /var/src/build/portage/media-libs/freetype-9999/work/freetype-9999/src/base/ftbdf.c:19:
/var/src/build/portage/media-libs/freetype-9999/work/freetype-9999/include/freetype/internal/ftdebug.h:35:10: fatal error: ../src/dlg/dlg/dlg.h: No such file or directory
   35 | #include <../src/dlg/dlg/dlg.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [/var/src/build/portage/media-libs/freetype-9999/work/freetype-9999/src/base/rules.mk:105: /var/src/build/portage/media-libs/freetype-9999/work/freetype-9999-abi_x86_64.amd64/ftbdf.lo] Error 1
 * ERROR: media-libs/freetype-9999::gentoo failed (compile phase):
 *   emake failed


Relevant upstream changes:
https://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=34b1c897c109d853fcae123f11a4bc756a5eca2f

upstream .gitmodules:

https://git.savannah.gnu.org/cgit/freetype/freetype2.git/tree/.gitmodules

but during compilation dlg.h is in:

/var/src/build/portage/media-libs/freetype-9999/work/freetype-9999/submodules/dlg/include/dlg/dlg.h
Comment 1 Larry the Git Cow gentoo-dev 2020-12-07 13:56:18 UTC
The bug has been closed via the following commit(s):

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

commit ae568597e7fb80225d5ed48ae13cb32b383dd2bd
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2020-12-07 13:49:34 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2020-12-07 13:56:16 +0000

    media-libs/freetype: Fixed live ebuild to correctly use dlg submodule
    
    Reported-by: Oleh <moonlapse81@gmail.com>
    Closes: https://bugs.gentoo.org/758902
    Package-Manager: Portage-3.0.11, Repoman-3.0.2
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 media-libs/freetype/freetype-9999.ebuild | 10 ++++++++++
 1 file changed, 10 insertions(+)