Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 178366 - media-gfx/splashutils-1.4.2 partially ignores CFLAGS and LDFLAGS
Summary: media-gfx/splashutils-1.4.2 partially ignores CFLAGS and LDFLAGS
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Lowest minor (vote)
Assignee: Michal Januszewski (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-13 16:16 UTC by Arfrever Frehtes Taifersar Arahesis (RETIRED)
Modified: 2007-07-12 17:04 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 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2007-05-13 16:16:01 UTC
Makefile in ${WORKDIR}/miscsplashutils-0.1.6/fbtruetype ignores CFLAGS and LDFLAGS.

Makefile in ${WORKDIR}/splashutils-1.4.2 ignores CFLAGS and LDFLAGS.

# emerge -ptv splashutils

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[ebuild   R   ] media-gfx/splashutils-1.4.2  USE="gpm hardened mng png truetype" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB
# CFLAGS="..." CXXFLAGS="..." emerge -1atv splashutils
...
>>> Compiling source in /var/tmp/portage/media-gfx/splashutils-1.4.2/work/splashutils-1.4.2 ...
cc -march=athlon64 -msse3 -pipe -O3 -floop-optimize2 -fno-ident -fomit-frame-pointer fbres.c -o fbres
cc -march=athlon64 -msse3 -pipe -O3 -floop-optimize2 -fno-ident -fomit-frame-pointer usleep.c -o usleep
true usleep
true fbres
make[1]: Wejście do katalogu `/var/tmp/portage/media-gfx/splashutils-1.4.2/work/miscsplashutils-0.1.6/fbtruetype'
gcc -O2 -Wall -I/usr/include/freetype2   -c -o fbtruetype.o fbtruetype.c
gcc -O2 -Wall -I/usr/include/freetype2   -c -o messages.o messages.c
gcc -O2 -Wall -I/usr/include/freetype2   -c -o console.o console.c
fbtruetype.c:39: warning: pointer targets in initialization differ in signedness
fbtruetype.c: In function ‘main’:
fbtruetype.c:105: warning: pointer targets in assignment differ in signedness
fbtruetype.c:143: warning: pointer targets in passing argument 2 of ‘rendertext’ differ in signedness
gcc -O2 -Wall -I/usr/include/freetype2   -c -o ttf.o ttf.c
gcc -O2 -Wall -I/usr/include/freetype2   -c -o luxisri.o luxisri.c
ttf.c: In function ‘rendertext’:
ttf.c:799: warning: pointer targets in assignment differ in signedness
gcc -O2 -Wall -I/usr/include/freetype2 -L/usr/lib -o fbtruetype -L/usr/lib fbtruetype.o messages.o console.o ttf.o luxisri.o -lfreetype -lm
gcc -O2 -Wall -I/usr/include/freetype2 -L/usr/lib -static -o fbtruetype.static -L/usr/lib fbtruetype.o messages.o console.o ttf.o luxisri.o /usr/lib/libfreetype.a /usr/lib/libz.a -lm
true -s fbtruetype fbtruetype.static
make[1]: Opuszczenie katalogu `/var/tmp/portage/media-gfx/splashutils-1.4.2/work/miscsplashutils-0.1.6/fbtruetype'
make[1]: Wejście do katalogu `/var/tmp/portage/media-gfx/splashutils-1.4.2/work/miscsplashutils-0.1.6/kbd'
cc -march=athlon64 -msse3 -pipe -O3 -floop-optimize2 -fno-ident -fomit-frame-pointer   -c -o fgconsole.o fgconsole.c
cc -march=athlon64 -msse3 -pipe -O3 -floop-optimize2 -fno-ident -fomit-frame-pointer   -c -o getfd.o getfd.c
cc -march=athlon64 -msse3 -pipe -O3 -floop-optimize2 -fno-ident -fomit-frame-pointer -Wl,-O1,--as-needed,--hash-style=gnu,--sort-common,-z,relro fgconsole.o getfd.o -o fgconsole
make[1]: Opuszczenie katalogu `/var/tmp/portage/media-gfx/splashutils-1.4.2/work/miscsplashutils-0.1.6/kbd'
config.h successfully created.
You can run `make` now.
  CC      objs/solibsplash.o
  LD      objs/libsplash.so
  CONF    libjpeg
  MAKE    libjpeg
  CONF    freetype2
  MAKE    freetype2
  CONF    zlib
  MAKE    zlib
  CONF    libpng
  MAKE    libpng
  CC      objs/kernel/kernel.o
  CC      objs/kernel/parse.o
  CC      objs/kernel/render.o
  CC      objs/kernel/image.o
  CC      objs/kernel/cmd.o
  CC      objs/kernel/common.o
  CC      objs/kernel/list.o
  CC      objs/kernel/effects.o
  CC      objs/kernel/libsplash.o
  CC      objs/kernel/ttf.o
  LD      objs/splash_helper
  CC      objs/splash.o
  CC      objs/parse.o
  CC      objs/render.o
  CC      objs/image.o
  CC      objs/cmd.o
  CC      objs/common.o
  CC      objs/daemon.o
  CC      objs/daemon_cmd.o
  CC      objs/list.o
  CC      objs/effects.o
  CC      objs/libsplash.o
  CC      objs/ttf.o
  CC      objs/mng_render.o
  CC      objs/mng_callbacks.o
  LD      objs/splash_util
>>> Source compiled.
Comment 1 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2007-06-10 17:42:20 UTC
Here is the list of files built without respecting LDFLAGS:
/lib/libsplash.so
/lib/splash/bin/usleep
/lib/splash/bin/fbres
/sbin/fbtruetype
/sbin/fbtruetype.static
/sbin/splash_util

But ignorances of CFLAGS are worse.
Comment 2 Michal Januszewski (RETIRED) gentoo-dev 2007-06-10 23:28:29 UTC
This problem should be fixed in 1.4.2.1.
Comment 3 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2007-06-11 20:14:35 UTC
(In reply to comment #2)
> This problem should be fixed in 1.4.2.1.

Prawie naprawione. CFLAGS wydają się być teraz respektowane. Liczba plików zbudowanych bez użycia LDFLAGS zmniejszyła się, ale nie do zera :) .

### List of files built with LDFLAGS ignored ###
/lib/splash/bin/usleep
/lib/splash/bin/fbres
/sbin/splash_util
### End of list                              ###
Comment 4 Michal Januszewski (RETIRED) gentoo-dev 2007-07-07 18:33:52 UTC
OK, I think I finally fixed it with 1.4.3. Thanks for your help in tracking the files built without respecting {C,LD}FLAGS.

Also, please only write comments in English -- they need to be readable by the whole community, not just the small fraction that comes from .pl :)
Comment 5 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2007-07-12 17:04:27 UTC
(In reply to comment #4)
> OK, I think I finally fixed it with 1.4.3.

I confirm it.