Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 105730 - emergeing wmcalendar and wmcalclock .. fails because of missing -D in the Makefile
Summary: emergeing wmcalendar and wmcalclock .. fails because of missing -D in the Mak...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Dockapp Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-12 13:49 UTC by prince_simon
Modified: 2005-09-13 03:03 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 prince_simon 2005-09-12 13:49:12 UTC
I tried to emerge wmcalendar and wmcalclock. Both packeges abort with :
cc   LINUX `pkg-config --libs gtk+-2.0` -o wmCalendar wmCalendar.o settings.o
dockapp.o calendarfunc.o calendar.o -o wmCalendar -I/usr/X11R6/include/X11
-I/usr/X11R6/include -Iusr/include -Iusr/local/include-L/usr/lib
-L/usr/X11R6/lib -L/usr/local/lib -L/usr/lib -L/usr/X11R6/lib -L/usr/local/lib
-lXpm -lical -lpthread
gcc: LINUX: No such file or directory
make: *** [wmCalendar] Error 1

If I stop emerge right after extracting the package and edit the Makefile it
compiles.
The Makefile line is:
 wmCalendar: $(OBJECTS)
         $(CC) $(COPTS)  $(SYSTEM) $(LFLAGS) -o $@ $(OBJECTS) -o wmCalendar
$(INCDIR)$(LIBDIR) $(LIBS)

I assume a -D is missing before $(SYSYEM).

I have to admit that I haven't booted gentoo yet since I'm installing for the
first time and I'm compiling in a chroot environment on a Debian system.
But I can't imagine that $(SYSTEM) is set to -DLINUX on Gentoo. Or is $SYSYEM unset?

Reproducible: Always
Steps to Reproduce:
1.emerge wmcalendar
2.
3.
Comment 1 Bryan Østergaard (RETIRED) gentoo-dev 2005-09-12 13:57:40 UTC
Reassigning to maintainer and fixing Product as well.
Comment 2 Michele Noberasco (RETIRED) gentoo-dev 2005-09-13 03:03:59 UTC
On Gentoo SYSTEM is not set (at least on my machine). Anyway, I added some magic
sed to filter SYSTEM variable out of both packages Makefile.