Opened 19 years ago

Closed 19 years ago

#4558 closed defect (fixed)

stegdetect fails to build

Reported by: bahamat@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port:

Description

Output follows:

$ sudo port install stegdetect ---> Fetching stegdetect ---> Attempting to fetch stegdetect-0.6.tar.gz from http://www.outguess.org/ ---> Verifying checksum(s) for stegdetect ---> Extracting stegdetect ---> Configuring stegdetect ---> Building stegdetect with target all Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_security_stegdetec t/work/stegdetect-0.6" && make all" returned error 2 Command output: gcc -DHAVE_CONFIG_H -I. -I. -I. -I./jpeg-6b -I./file -I./compat -O2 -Wall -g -c common.c In file included from common.c:42: config.h:57:1: warning: "HAVE_STDLIB_H" redefined In file included from ./jpeg-6b/jpeglib.h:24,

from common.c:39:

./jpeg-6b/jconfig.h:12:1: warning: this is the location of the previous definition gcc -DHAVE_CONFIG_H -I. -I. -I. -I./jpeg-6b -I./file -I./compat -O2 -Wall -g -c jphide_table.c gcc -DHAVE_CONFIG_H -I. -I. -I. -I./jpeg-6b -I./file -I./compat -O2 -Wall -g -c util.c gcc -DHAVE_CONFIG_H -I. -I. -I. -I./jpeg-6b -I./file -I./compat -O2 -Wall -g -c stegdetect.c In file included from ./jpeg-6b/jpeglib.h:24,

from stegdetect.c:44:

./jpeg-6b/jconfig.h:12:1: warning: "HAVE_STDLIB_H" redefined In file included from stegdetect.c:33: config.h:57:1: warning: this is the location of the previous definition In file included from ./file/file.h:37,

from stegdetect.c:45:

./config.h:57:1: warning: "HAVE_STDLIB_H" redefined In file included from ./jpeg-6b/jpeglib.h:24,

from stegdetect.c:44:

./jpeg-6b/jconfig.h:12:1: warning: this is the location of the previous definition stegdetect.c:81: error: static declaration of 'debug' follows non-static declaration ./file/file.h:166: error: previous declaration of 'debug' was here stegdetect.c: In function 'detect_print': stegdetect.c:1025: warning: pointer targets in initialization differ in signedness stegdetect.c:1050: warning: format '%d' expects type 'int', but argument 4 has type 'size_t' stegdetect.c: In function 'detect': stegdetect.c:1209: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness make[2]: * [stegdetect.o] Error 1 make[1]: * [all-recursive] Error 1 make: * [all-recursive-am] Error 2

Change History (3)

comment:1 Changed 19 years ago by blb@…

Owner: changed from darwinports-bugs@… to mww@…

Assigning to maintainer.

comment:2 Changed 19 years ago by mww@…

stegdetect works with gcc-3 just; adding the following line to the Portfile will fix this (will update as soon as our cvs server works again) --- platform darwin 8 {

configure.env CC=/usr/bin/gcc-3.3 CPP=/usr/bin/cpp-3.3 CXX=/usr/bin/g++-3.3

}

comment:3 Changed 19 years ago by mww@…

Resolution: fixed
Status: newclosed

commited!

Note: See TracTickets for help on using tickets.