First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 124991
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Netmon Herd <netmon@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Beech Horn <beech@metalshark.co.uk>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
scanlogd-2.2.5-r1.ebuild scanlogd-2.2.5-r1.ebuild text/plain Beech Horn 2006-03-04 10:55 0000 932 bytes Details
clk_tck_to_clocks_per_sec_params.h.patch clk_tck_to_clocks_per_sec_params.h.patch patch Beech Horn 2006-03-04 10:56 0000 751 bytes Details | Diff
scanlogd-2.2.6.ebuild scanlogd-2.2.6.ebuild text/plain Beech Horn 2006-03-06 10:20 0000 868 bytes Details
scanlogd-2.2.6.ebuild scanlogd-2.2.6.ebuild text/plain Beech Horn 2006-03-11 04:13 0000 888 bytes Details
scanlogd-2.2.6-custom-cflags.patch scanlogd-2.2.6-custom-cflags.patch patch Beech Horn 2006-03-15 18:13 0000 316 bytes Details | Diff
scanlogd-2.2.6-r1.ebuild scanlogd-2.2.6-r1.ebuild text/plain Beech Horn 2006-03-15 18:14 0000 998 bytes Details
scanlogd-2.2.6-pexit.patch scanlogd-2.2.6-pexit.patch patch Beech Horn 2006-03-15 18:26 0000 474 bytes Details | Diff
scanlogd-2.2.6-r2.ebuild scanlogd-2.2.6-r2.ebuild text/plain Beech Horn 2006-03-15 18:27 0000 1.01 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 124991 depends on: Show dependency tree
Bug 124991 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-03-04 10:55 0000
New ebuild and patch to resolve the issue.

------- Comment #1 From Beech Horn 2006-03-04 10:55:44 0000 -------
Created an attachment (id=81324) [edit]
scanlogd-2.2.5-r1.ebuild

------- Comment #2 From Beech Horn 2006-03-04 10:56:01 0000 -------
Created an attachment (id=81325) [edit]
clk_tck_to_clocks_per_sec_params.h.patch

------- Comment #3 From Marcelo Goes 2006-03-04 12:25:31 0000 -------
Hi,

I am not familiar with this issue, can you point out why this modification is
necessary? It does compile for me as it is with gcc-4.1.

I also recommend sending this patch to upstream so that they can check it out.

Cheers,
Marcelo

------- Comment #4 From Beech Horn 2006-03-04 12:31:13 0000 -------
From the forum link:

metalshark wrote:
Just for the record - the issues I get for the official ebuild when compiling
programs all mention CLK_TCK - for instance:

Code:
grab_partial_image.c: In function 

------- Comment #5 From Beech Horn 2006-03-04 12:31:13 0000 -------
From the forum link:

metalshark wrote:
Just for the record - the issues I get for the official ebuild when compiling
programs all mention CLK_TCK - for instance:

Code:
grab_partial_image.c: In function ‘main’:
grab_partial_image.c:239: error: ‘CLK_TCK’ undeclared (first use in this
function)
grab_partial_image.c:239: error: (Each undeclared identifier is reported only
once
grab_partial_image.c:239: error: for each function it appears in.)
make[2]: *** [grab_partial_image.o] Error 1

media-libs/libdc1394-2.0.0_pre5-r1


I use ntp-client so the clock is correct (even phoned 123 - the talking clock -
just to check), have no idea what on earth it's on about though, CLK_TCK?!?


You need to edit the file that CLK_TCK is in and change that to CLOCKS_PER_SEC

Then do: FEATUERS="keepwork" emerge {packagename}
or write a patch for it. CLK_TCK has been obsoleted by the C++ specifications,
so even on M$, you need to change that. :P Just for reference.

-------------------------------------------------------------------------------

The params.h in scanlogd uses CLK_TCK - I've just edited it to use
ClOCKS_PER_SEC

------- Comment #6 From Beech Horn 2006-03-04 12:50:57 0000 -------
I cannot find ANYWHERE on www.openwall.com to submit this patch...

------- Comment #7 From Marcelo Goes 2006-03-04 13:13:55 0000 -------
I just emerged both scanlogd and libdc1394 with gcc-4.1 and the same problem
did not crop up for me. :-(

From scanlogd.spec:
You may want to contact Solar Designer <solar at owl dot openwall dot com>
(entry is from mid-2004, so I don't know if upstream is alive, but it doesn't
hurt to try).

------- Comment #8 From Beech Horn 2006-03-04 13:24:09 0000 -------
Thanks for the email address - just sent an email to Solar. Well I've looked up
CLK_TCK and is definitely is OBSOLETE - I am running bleeding edge and run into
issues early. This will affect everyone who moves to GLIBC 2.4 next week - so
unless it gets out soon expect nothing but duplicate bug reports. It's a GLIBC
2.3.9/2.4 issue - GCC-4.1.0 is a misnomer. Hence I added the WHOLE forum
posting...

------- Comment #9 From Beech Horn 2006-03-04 13:26:45 0000 -------
I am yet to actually submit a valid fix to Gentoo (look at all my bug reports)
and get them added - yet help people on the forums and over Instant Messengers
by giving my overlays. Is there any point in submitting bugs to Gentoo - I just
hit a brick wall everytime and am loosing patience.

------- Comment #10 From Marcelo Goes 2006-03-04 13:44:22 0000 -------
Please, relax. I did not say I was not going to add your fix - I just wanted to
know more about it. This is done because 1) I need to KNOW what I am doing, 2)
I need to TEST the fix and 3) LEARNING for similar bugs. Most developers are
not running bleeding edge glibc since we need stable systems to test everything
else. Because of this, I could not do 1 or 2.

We are more than willing to review and commit your fixes, but first we have to
know what on Earth they are meant to be fixing. Ok?

------- Comment #11 From Beech Horn 2006-03-04 14:16:45 0000 -------
Ok, I thought the post from the forum was clear - and had pretty much come to
the end of my teather (actually I think I did). Everyone says to keep
submitting bugs - but when you are told they are non-existant or get fixed in
the same way by a dev days later (duplicated efforts) you start to loose your
nerve. I worked for many years on contributing to Slackware, where fixes are
accepted almost instantly and the people reviewing bugs seem to know more about
them than the contributors. This is just such a frustrating Gnome dev style
culture shock. Gnome devs have recently been questioned by Linus about being
"interface nazis" but I think what he was on about more was the development
practice. I only find this style of bug rejection within Gentoo/Gnome - not
Slackware/KDE - and I for one REALLY think something needs done about it.
Gentoo is the best distribution for all my varied systems to date - but the
contribution system really knows how to wind me up.

------- Comment #12 From Beech Horn 2006-03-04 14:28:48 0000 -------
The irony with the GLIBC statement is that both the CVS GLIBC is very stable at
the minute - it's soon going to be 2.4 - nxsty is having to maintain the GLIBC
overlay and is doing a great job.

------- Comment #13 From Marcelo Goes 2006-03-04 15:25:14 0000 -------
I do not maintain glibc, I do not run glibc from cvs and quite frankly I am
sorry I took an interest in this bug so that you can keep insulting me because
I asked you what the problem was. You are your own brickwall.

glibc from cvs is not part of Gentoo and therefore not supported. You did a
good job at making me not care, too. Reopen when glibc-2.4 hits Portage.

Also, I recommend you stop reporting bugs about software that is not in the
tree altogether - it will save a lot of frustation from your side and ours.

------- Comment #14 From Beech Horn 2006-03-05 05:10:20 0000 -------
Deal.

------- Comment #15 From Beech Horn 2006-03-06 04:57:06 0000 -------
This patch (more like hack) is flawed as it breaks backwards compatiblity.
Solar informed me aswell.

It was never a direct attack against Marcelo Goes.

I was the one lacking information.

Openwall are working on this issue so expect problems to be resolved upstream
instead (as originally adviced).

------- Comment #16 From Beech Horn 2006-03-06 10:20:57 0000 -------
Created an attachment (id=81541) [edit]
scanlogd-2.2.6.ebuild

This is an -rc ebuild that compiles without patches - TEST RELEASE ONLY!!!
Don't think Solar would appreciate bug reports yet :p

------- Comment #17 From Beech Horn 2006-03-06 10:37:20 0000 -------
PLEASE DON'T USE THE LATEST EBUILD!!!

Solar asked me to pull it as he wants to release the new Openwall software
first and the link to the tarball will die soon. Expect a new Openwall software
suite with GLIBC 2.4 support really soon - so all probs will be fixed upstream
- whoever is maintaining the ebuilds can always ask for help with version
bumped editions as soon as it's released - will just put them in an overlay and
link here if they aren't done by the time I get round to it.

------- Comment #18 From Beech Horn 2006-03-11 04:13:10 0000 -------
Created an attachment (id=81910) [edit]
scanlogd-2.2.6.ebuild

Solar has now officially released the new version.

------- Comment #19 From Beech Horn 2006-03-11 04:13:48 0000 -------
Valid ebuild and released upstream version.

------- Comment #20 From Marcelo Goes 2006-03-11 10:03:52 0000 -------
Thanks, bumped in cvs.
There was no need for RESTRICT="primaryuri" in the ebuild AFAIK, so I removed
it.

Cheers!

------- Comment #21 From Beech Horn 2006-03-12 10:40:13 0000 -------
RESTRICT="primaryuri"

justs removes GENTOO_MIRRORS from working (needed to get the new version from
the net.

------- Comment #22 From Marcelo Goes 2006-03-12 11:03:22 0000 -------
It will propagate through our mirrors automagically. That restriction is for
stuff that we are not allowed to mirror.

------- Comment #23 From Beech Horn 2006-03-12 11:13:33 0000 -------
Depends on how long your GENTOO_MIRRORS is - I use overlays form myself and
friends so my custom ebuilds often say it - you're right to remove it though.

------- Comment #24 From Beech Horn 2006-03-15 18:13:05 0000 -------
Created an attachment (id=82254) [edit]
scanlogd-2.2.6-custom-cflags.patch

Allows the setting of C/LD FLAGS in the make.conf to propagate.

------- Comment #25 From Beech Horn 2006-03-15 18:14:38 0000 -------
Created an attachment (id=82255) [edit]
scanlogd-2.2.6-r1.ebuild

An ebuild using the new patch with an IUSE="custom-cflags" and the patch
application in src_unpack with an if statement.

------- Comment #26 From Beech Horn 2006-03-15 18:15:31 0000 -------
Addition of custom-cflags.

------- Comment #27 From Beech Horn 2006-03-15 18:26:01 0000 -------
Created an attachment (id=82257) [edit]
scanlogd-2.2.6-pexit.patch

It shouldn't be returning pexit inside a void function.

------- Comment #28 From Beech Horn 2006-03-15 18:27:02 0000 -------
Created an attachment (id=82258) [edit]
scanlogd-2.2.6-r2.ebuild

New ebuild with new patch.

------- Comment #29 From Markus Ullmann 2006-03-26 15:06:48 0000 -------
Thanks, user CFLAGS/LDFLAGS are now respected. The other patch should be sent
upstream as it isn't Gentoo related.

First Last Prev Next    No search results available      Search page      Enter new bug