Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 6060 - PortSentry compile/header issue
Summary: PortSentry compile/header issue
Status: RESOLVED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: Normal major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-05 16:40 UTC by Matteo Sasso
Modified: 2011-10-30 22:17 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Log of the strange behaviour (log,3.92 KB, text/plain)
2002-08-05 17:10 UTC, Matteo Sasso
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matteo Sasso 2002-08-05 16:40:01 UTC
I was trying to emerge portsentry. The first time I tried it spit out an error  message due to compile-time errors. Second time (RIGHT AFTER THE FIRST!!!),  everything's ok! Here's a cut'n'paste from the konsole... What kind of bug is  THAT!?! Looks like a gcc bug, but...  --- BEGIN ---   darkcat root # emerge portsentry   Calculating dependencies ...done!   >>> emerge net-analyzer/portsentry-1.1-r6 to /   >>> Downloading   http://www.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/portsentry-1.1.tar.gz   --23:28:52--    http://www.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/portsentry-1.1.tar.gz              => `/usr/portage/distfiles/portsentry-1.1.tar.gz'   Resolving www.ibiblio.org... done.   Connecting to www.ibiblio.org[152.2.210.81]:80... connected.   HTTP request sent, awaiting response... 200 OK   Length: 45,871 [application/x-tar]      100%[=======================================================================================>]   45,871        84.36K/s    ETA 00:00      23:28:53 (84.36 KB/s) - `/usr/portage/distfiles/portsentry-1.1.tar.gz' saved   [45871/45871]      >>> md5 ;-) portsentry-1.1.tar.gz   >>> Unpacking source...   >>> Unpacking portsentry-1.1.tar.gz   >>> Source unpacked.   SYSTYPE=linux   Making   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      !!! ERROR: The ebuild did not complete successfully.   !!! Function src_compile, Line 2, Exitcode 2   !!! (no error message)      !!! emerge aborting on    /usr/portage/net-analyzer/portsentry/portsentry-1.1-r6.ebuild .   darkcat root # emerge portsentry   Calculating dependencies ...done!   >>> emerge net-analyzer/portsentry-1.1-r6 to /   >>> md5 ;-) portsentry-1.1.tar.gz   >>> Unpacking source...   >>> Unpacking portsentry-1.1.tar.gz   >>> Source unpacked.   SYSTYPE=linux   Making   cc -march=i686 -O3 -pipe -DLINUX -DSUPPORT_STEALTH -o ./portsentry   ./portsentry.c \           ./portsentry_io.c ./portsentry_util.c      >>> Install portsentry-1.1-r6 into /var/tmp/portage/portsentry-1.1-r6/image/   category net-analyzer   strip:   /var/tmp/portage/portsentry-1.1-r6/image/usr/bin/portsentry   >>> Completed installing into /var/tmp/portage/portsentry-1.1-r6/image/      >>> Merging net-analyzer/portsentry-1.1-r6 to /   --- /usr/   --- /usr/bin/   >>> /usr/bin/portsentry   >>> /usr/bin/ignore.csh   --- /usr/share/   --- /usr/share/doc/   >>> /usr/share/doc/portsentry-1.1-r6/   >>> /usr/share/doc/portsentry-1.1-r6/README.COMPAT.gz   >>> /usr/share/doc/portsentry-1.1-r6/README.install.gz   >>> /usr/share/doc/portsentry-1.1-r6/README.methods.gz   >>> /usr/share/doc/portsentry-1.1-r6/README.stealth.gz   >>> /usr/share/doc/portsentry-1.1-r6/CHANGES.gz   >>> /usr/share/doc/portsentry-1.1-r6/LICENSE.gz   >>> /usr/share/doc/portsentry-1.1-r6/CREDITS.gz   >>> /usr/share/doc/portsentry-1.1-r6/portsentry.ignore.sample.gz   >>> /usr/share/doc/portsentry-1.1-r6/portsentry.conf.sample.gz   --- /etc/   >>> /etc/portsentry/   >>> /etc/portsentry/portsentry.ignore.sample   >>> /etc/portsentry/portsentry.conf.sample   --- /etc/init.d/   >>> /etc/init.d/portsentry   --- /etc/conf.d/   >>> /etc/conf.d/portsentry      >>> Regenerating /etc/ld.so.cache...   >>> net-analyzer/portsentry-1.1-r6 merged.      >>> Recording net-analyzer/portsentry in "world" favorites file...          * GNU info directory index is up-to-date.   --- END ---
Comment 1 Matteo Sasso 2002-08-05 17:10:15 UTC
Created attachment 2846 [details]
Log of the strange behaviour
Comment 2 Matteo Sasso 2002-08-05 17:11:22 UTC
Sorry for the terrible layout: I created an attachment with a MUCH more 
readable textfile. 
Comment 3 SpanKY gentoo-dev 2002-08-05 17:16:56 UTC
i dont know how much of a viable report this is ...
simply because it doesnt appear to be reproducible ...

could you try this and see if it dies again ?
`rm -rf /var/tmp/portage/portsentry*`
`emerge portsentry`
Comment 4 Matteo Sasso 2002-08-07 01:27:05 UTC
Couldn't reproduce the problem with SpanKY's instructions; it showed once by 
first unmerging portsentry. Now it seems to work everytime. :( 
Comment 5 Seemant Kulleen (RETIRED) gentoo-dev 2002-08-07 16:17:25 UTC
Matteo, so it works now?
Comment 6 Matteo Sasso 2002-08-08 03:17:50 UTC
It works, damn! :)  
I tried it again many times with --debug enabled but no results. 
So let's close the bug; if I manage to get something else I'll let you know.