Bug 144833 - print/hplip3: configure failed
Summary: print/hplip3: configure failed
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-17 23:50 UTC by mwisnicki+freebsd
Modified: 2010-05-04 15:49 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mwisnicki+freebsd 2010-03-17 23:50:03 UTC
As seen on pointyhat for FreeBSD >= 8.0 for some time now :(

At the end of configure:

checking for snmp_timeout in -lnetsnmp... no
checking for snmp_timeout in -lsnmp... no
configure: error: cannot find net/ucd-snmp support (or --disable-network-build)

Relevant part of config.log:

configure:18180: checking for snmp_timeout in -lnetsnmp
configure:18215: cc -o conftest -O2 -pipe -march=athlon-xp -fno-strict-aliasing -I/usr/local/include  -L/usr/local/lib -pthread conftest.c -lnetsnmp  -lcrypto  >&5
/usr/local/lib/libnetsnmp.so: undefined reference to `__stack_chk_fail_local'


Cause: same as ports/141238
Also relevant: ports/140791

Fix: 

One of the following, in increasing order of complexity and correctness:
1. workaround in hplip3 by linking with -lssp_nonshared as sugested in other pr - unfortunately I've tried it and it didn't help
2. compile hplip3 with -fstack-protector
3. fix netsnmp as in ports/141238
4. figure out why this symbol isn't picked up from libc even though it's present there, then fix base system
How-To-Repeat: cd /usr/ports/print/hplip3; make
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2010-03-17 23:50:11 UTC
Maintainer of print/hplip3,

Please note that PR ports/144833 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/144833

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2010-03-17 23:50:13 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 3 Chris Petrik 2010-03-18 00:16:02 UTC
<html><body><span style=3D"font-family:Verdana; color:#000000; font-size:10=
pt;"><div>Hello,</div><div><br></div><div>Reading the PR I noticed the erro=
rs is with the netsnmp lib, so it is not considered an issue specific to hp=
lip. I will look into to it but I would think netsnmp is at fault here.</di=
v><div><br></div><div>Chris<br></div>
<blockquote id=3D"replyBlockquote" webmail=3D"1" style=3D"border-left: 2px =
solid blue; margin-left: 8px; padding-left: 8px; font-size: 10pt; color: bl=
ack; font-family: verdana;">
<div id=3D"wmQuoteWrapper">
-------- Original Message --------<br>
Subject: Re: ports/144833: print/hplip3: configure failed<br>
From: Edwin Groothuis &lt;edwin@FreeBSD.org&gt;<br>
Date: Wed, March 17, 2010 4:50 pm<br>
To: chris@officialunix.com<br>
Cc: bug-followup@FreeBSD.org<br>
<br>
Maintainer of print/hplip3,<br>
<br>
Please note that PR ports/144833 has just been submitted.<br>
<br>
If it contains a patch for an upgrade, an enhancement or a bug fix<br>
you agree on, reply to this email stating that you approve the patch<br>
and a committer will take care of it.<br>
<br>
The full text of the PR can be found at:<br>
    <a target=3D"_blank" href=3D"http://www.freebsd.org/cgi/query-pr.cgi?pr=
=3Dports/144833">http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dports/144833<=
/a><br>
<br>
-- <br>
Edwin Groothuis via the GNATS Auto Assign Tool<br>
edwin@FreeBSD.org<br>

</div>
</blockquote></span></body></html>
Comment 4 Chris Petrik 2010-03-18 04:11:26 UTC
Hello,
Reading the PR I noticed the errors is with the netsnmp lib, so it is
not considered an issue specific to hplip. I will look into to it but I
would think netsnmp is at fault here.

Chris

P.S. Sorry for the HTMLized first reply :)

-------- Original Message --------
Subject: Re: ports/144833: print/hplip3: configure failed
From: Edwin Groothuis <edwin@FreeBSD.org>
Date: Wed, March 17, 2010 4:50 pm
To: chris@officialunix.com
Cc: bug-followup@FreeBSD.org

Maintainer of print/hplip3,

Please note that PR ports/144833 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
 http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dports/144833

--=20
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 5 Pav Lucistnik freebsd_committer freebsd_triage 2010-05-04 15:48:02 UTC
State Changed
From-To: feedback->closed

net-snmp was fixed 8 days ago