Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 09 Feb 2021 14:28:40 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 253346] [New port]: sysutils/wmscript System monitoring dockapp for Window Maker
Message-ID:  <bug-253346-7788-pCzrine1h5@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-253346-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-253346-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253346

Rainer Hurling <rhurlin@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rhurlin@FreeBSD.org
           Assignee|ports-bugs@FreeBSD.org      |rhurlin@FreeBSD.org
                URL|                            |http://freshmeat.sourceforg
                   |                            |e.net/projects/wmscript

--- Comment #1 from Rainer Hurling <rhurlin@FreeBSD.org> ---
Hi Igor,

Thanks for the patch of this interesting port!

I tried to build it on Poudriere and got the following errors:


=3D=3D=3D>  Building for wmscript-1.0
gmake[1]: Entering directory
'/wrkdirs/usr/ports/sysutils/wmscript/work/wmscript.app/wmscript'
cc -I/usr/local/include -O2 -pipe  -fstack-protector-strong
-fno-strict-aliasing  -O2 -c -Wall wmscript.c -o wmscript.o
wmscript.c:533:22: warning: format string is not a string literal (potentia=
lly
insecure) [-Wformat-security]
    fprintf (stderr, buff);
                     ^~~~
wmscript.c:533:22: note: treat the string as an argument to avoid this
    fprintf (stderr, buff);
                     ^
                     "%s",=20
wmscript.c:543:22: warning: format string is not a string literal (potentia=
lly
insecure) [-Wformat-security]
    fprintf (stderr, buff);
                     ^~~~
wmscript.c:543:22: note: treat the string as an argument to avoid this
    fprintf (stderr, buff);
                     ^
                     "%s",=20
2 warnings generated.
cc -I/usr/local/include -O2 -pipe  -fstack-protector-strong
-fno-strict-aliasing  -O2 -c -Wall ../wmgeneral/wmgeneral.c -o
../wmgeneral/wmgeneral.o
cc -I/usr/local/include -O2 -pipe  -fstack-protector-strong
-fno-strict-aliasing  -O2 -c -Wall ../wmgeneral/misc.c -o ../wmgeneral/misc=
.o
In file included from ../wmgeneral/misc.c:24:
../wmgeneral/list.h:43:27: warning: inline function 'list_cons' is not defi=
ned
[-Wundefined-inline]
extern INLINE LinkedList* list_cons(void* head, LinkedList* tail);
                          ^
../wmgeneral/misc.c:122:13: note: used here
            list =3D list_cons(token, list);
                   ^
In file included from ../wmgeneral/misc.c:24:
../wmgeneral/list.h:45:19: warning: inline function 'list_length' is not
defined [-Wundefined-inline]
extern INLINE int list_length(LinkedList* list);
                  ^
../wmgeneral/misc.c:126:13: note: used here
    count =3D list_length(list);
            ^
In file included from ../wmgeneral/misc.c:24:
../wmgeneral/list.h:49:20: warning: inline function 'list_remove_head' is n=
ot
defined [-Wundefined-inline]
extern INLINE void list_remove_head(LinkedList** list);
                   ^
../wmgeneral/misc.c:131:2: note: used here
        list_remove_head(&list);
        ^
3 warnings generated.
cc -I/usr/local/include -O2 -pipe  -fstack-protector-strong
-fno-strict-aliasing  -O2 -c -Wall ../wmgeneral/list.c -o ../wmgeneral/list=
.o
cc -o wmscript wmscript.o ../wmgeneral/wmgeneral.o ../wmgeneral/misc.o
../wmgeneral/list.o -lXext -L/usr/local/lib -lXpm -lXext -lX11
ld: error: duplicate symbol: display
>>> defined at wmscript.c
>>>            wmscript.o:(display)
>>> defined at wmgeneral.c
>>>            ../wmgeneral/wmgeneral.o:(.bss+0x8)
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[1]: *** [Makefile:15: wmscript] Error 1
gmake[1]: Leaving directory
'/wrkdirs/usr/ports/sysutils/wmscript/work/wmscript.app/wmscript'
*** Error code 1

Stop.
make: stopped in /usr/ports/sysutils/wmscript
=3D>> Cleaning up wrkdir
=3D=3D=3D>  Cleaning for wmscript-1.0
build of sysutils/wmscript | wmscript-1.0 ended at Tue Feb  9 15:21:03 CET =
2021
build time: 00:00:03
!!! build failure encountered !!!



Could you please have a look at it? Thanks in advance :)

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-253346-7788-pCzrine1h5>