MidnightBSD Magus

shells/ibsh

Restricted unix shell

Flavor Version Run OSVersion Arch License Restricted Status
0.3e 504 3.0 amd64 gpl2 0 fail

Events

Machine Type Time Message
m3064b info 2023-01-04 10:43:03.21235 Test Started
m3064b fail 2023-01-04 10:43:11.84606 make build returned non-zero: 1
m3064b fail 2023-01-04 10:43:11.916315 Test complete.

Log

===>  Building for ibsh-0.3e
gmake[1]: Entering directory '/magus/work/usr/mports/shells/ibsh/work/ibsh-0.3e'
cc -c main.c
cc -c command.c
cc -c jail.c
cc -c execute.c
execute.c:116:52: warning: 'strncmp' call operates on objects of type 'char' while the size is based on a different type 'char *' [-Wsizeof-pointer-memaccess]
                                                if(!strncmp(pdirent->d_name,params[0],sizeof(params[0]))){
                                                                            ~~~~~~~~~        ^~~~~~~~~
execute.c:116:52: note: did you mean to provide an explicit length?
                                                if(!strncmp(pdirent->d_name,params[0],sizeof(params[0]))){
                                                                                             ^~~~~~~~~
cc -c config.c
cc -c misc.c
1 warning generated.
cc -c antixploit.c
cc -c delbadfiles.c
config.c:65:15: warning: comparison of array 'loggedin.uname' not equal to a null pointer is always true [-Wtautological-pointer-compare]
  if(loggedin.uname != NULL)
     ~~~~~~~~~^~~~~    ~~~~
1 warning generated.
cc -o ibsh main.o command.o jail.o execute.o config.o misc.o antixploit.o delbadfiles.o
ld: error: duplicate symbol: loggedin
>>> defined at main.c
>>>            main.o:(loggedin)
>>> defined at command.c
>>>            command.o:(.bss+0x0)

ld: error: duplicate symbol: commands
>>> defined at main.c
>>>            main.o:(commands)
>>> defined at command.c
>>>            command.o:(.bss+0x210)

ld: error: duplicate symbol: extensions
>>> defined at main.c
>>>            main.o:(extensions)
>>> defined at command.c
>>>            command.o:(.bss+0x33E0)

ld: error: duplicate symbol: real_path
>>> defined at main.c
>>>            main.o:(real_path)
>>> defined at command.c
>>>            command.o:(.bss+0x65B0)

ld: error: duplicate symbol: jail_path
>>> defined at main.c
>>>            main.o:(jail_path)
>>> defined at command.c
>>>            command.o:(.bss+0x66B0)

ld: error: duplicate symbol: user_command
>>> defined at main.c
>>>            main.o:(user_command)
>>> defined at command.c
>>>            command.o:(.bss+0x67B0)

ld: error: duplicate symbol: filtered_command
>>> defined at main.c
>>>            main.o:(filtered_command)
>>> defined at command.c
>>>            command.o:(.bss+0x68B0)

ld: error: duplicate symbol: exitcode
>>> defined at main.c
>>>            main.o:(exitcode)
>>> defined at command.c
>>>            command.o:(.bss+0x69B0)

ld: error: duplicate symbol: loggedin
>>> defined at main.c
>>>            main.o:(loggedin)
>>> defined at jail.c
>>>            jail.o:(.bss+0x0)

ld: error: duplicate symbol: commands
>>> defined at main.c
>>>            main.o:(commands)
>>> defined at jail.c
>>>            jail.o:(.bss+0x210)

ld: error: duplicate symbol: extensions
>>> defined at main.c
>>>            main.o:(extensions)
>>> defined at jail.c
>>>            jail.o:(.bss+0x33E0)

ld: error: duplicate symbol: real_path
>>> defined at main.c
>>>            main.o:(real_path)
>>> defined at jail.c
>>>            jail.o:(.bss+0x65B0)

ld: error: duplicate symbol: jail_path
>>> defined at main.c
>>>            main.o:(jail_path)
>>> defined at jail.c
>>>            jail.o:(.bss+0x66B0)

ld: error: duplicate symbol: user_command
>>> defined at main.c
>>>            main.o:(user_command)
>>> defined at jail.c
>>>            jail.o:(.bss+0x67B0)

ld: error: duplicate symbol: filtered_command
>>> defined at main.c
>>>            main.o:(filtered_command)
>>> defined at jail.c
>>>            jail.o:(.bss+0x68B0)

ld: error: duplicate symbol: exitcode
>>> defined at main.c
>>>            main.o:(exitcode)
>>> defined at jail.c
>>>            jail.o:(.bss+0x69B0)

ld: error: duplicate symbol: loggedin
>>> defined at main.c
>>>            main.o:(loggedin)
>>> defined at execute.c
>>>            execute.o:(.bss+0x0)

ld: error: duplicate symbol: commands
>>> defined at main.c
>>>            main.o:(commands)
>>> defined at execute.c
>>>            execute.o:(.bss+0x210)

ld: error: duplicate symbol: extensions
>>> defined at main.c
>>>            main.o:(extensions)
>>> defined at execute.c
>>>            execute.o:(.bss+0x33E0)

ld: error: duplicate symbol: real_path
>>> defined at main.c
>>>            main.o:(real_path)
>>> defined at execute.c
>>>            execute.o:(.bss+0x65B0)

ld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors)
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[1]: *** [Makefile:6: ibsh] Error 1
gmake[1]: Leaving directory '/magus/work/usr/mports/shells/ibsh/work/ibsh-0.3e'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/mports/shells/ibsh

Links

Depends On

Depend Of

Nothing

Categories