Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 4024 - portsentry-1.1-r6 doesnt build
Summary: portsentry-1.1-r6 doesnt build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Ferry Meyndert (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-22 09:22 UTC by Andreas Westin
Modified: 2003-02-04 10:47 UTC (History)
2 users (show)

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 Andreas Westin 2002-06-22 09:22:14 UTC
When emerging portsentry it tries to do some modifications on 3 config files before compile, but these fail and the files are left empty and thus portsentry doesn't compile.
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2002-06-23 05:06:38 UTC
can you paste the error?
Comment 2 Andreas Westin 2002-06-23 05:35:45 UTC
Here it is, its because the portsentry_config.h file is empty.

cc -march=i686 -O3 -pipe -DLINUX -DSUPPORT_STEALTH -o ./portsentry ./portsentry.c \
        ./portsentry_io.c ./portsentry_util.c 
./portsentry.c:34: `MAXSTATE' undeclared here (not in a function)
./portsentry.c: In function `CheckStateEngine':
./portsentry.c:1629: `MAXSTATE' undeclared (first use in this function)
./portsentry.c:1629: (Each undeclared identifier is reported only once
./portsentry.c:1629: for each function it appears in.)
./portsentry_io.c: In function `Log':
./portsentry_io.c:46: `SYSLOG_FACILITY' undeclared (first use in this function)
./portsentry_io.c:46: (Each undeclared identifier is reported only once
./portsentry_io.c:46: for each function it appears in.)
./portsentry_io.c:47: `SYSLOG_LEVEL' undeclared (first use in this function)
./portsentry_io.c: In function `CheckConfig':
./portsentry_io.c:226: `CONFIG_FILE' undeclared (first use in this function)
./portsentry_io.c: In function `ConfigTokenRetrieve':
./portsentry_io.c:310: `CONFIG_FILE' undeclared (first use in this function)
./portsentry_io.c: In function `KillHostsDeny':
./portsentry_io.c:642: `WRAPPER_HOSTS_DENY' undeclared (first use in this function)
make: *** [linux] Error 1
Comment 3 Matt Keadle 2002-09-19 01:13:07 UTC
I'm not sure why portsentry_config.h would be empty. I've been unable to produce
a situation that would cause that file to be empty upon 'unpack'.

However, there is something else:

Supersed is listed as a dependancy, but it never gets put to use within the
ebuild because of a typo. In src_unpack() there are three 'sed' lines which
should be 'ssed'. Otherwise, portsentry_config.h, portsentry.conf, and
ignore.csh will not get patched properly.

Ironicly, you can fix the ebuilds seds with supersed:

ssed -i "s:sed:ssed:" portsentry-1,1-r6.ebuild
Comment 4 Martin Schlemmer (RETIRED) gentoo-dev 2002-12-02 09:24:58 UTC
Chip, as it was you baby initially (i think), wanna have a peek ?
Comment 5 Donny Davies (RETIRED) gentoo-dev 2002-12-02 11:52:01 UTC
nope not mine at all.  dont think i 
ever even touched it.

still want me to look?  id rather not, getting
lots of bugs lately...

no rewards for woodchip making woodchip less
interested lately...
Comment 6 Martin Schlemmer (RETIRED) gentoo-dev 2002-12-03 01:37:31 UTC
lol :P   Nah, just thought you did this .. could have mixed it up with snort.
Comment 7 Joachim Blaabjerg (RETIRED) gentoo-dev 2003-02-04 08:48:08 UTC
Andreas: Doesn't -r7 work either? This looks like an old and fixed bug, so I'm closing it. Reopen if it's still b0rked.
Comment 8 Andreas Westin 2003-02-04 10:47:20 UTC
Joachim: It works fine, this was fixed a long time ago.