Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 402255 - app-admin/sagan-0.2.0: fails to compile
Summary: app-admin/sagan-0.2.0: fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Andreis Vinogradovs ( slepnoga )
URL:
Whiteboard:
Keywords:
: 402483 (view as bug list)
Depends on:
Blocks: 402165
  Show dependency tree
 
Reported: 2012-02-05 13:40 UTC by Agostino Sarubbo
Modified: 2012-02-07 13:18 UTC (History)
3 users (show)

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


Attachments
build.log (sagan-0.2.0:20120205-125156.log,10.96 KB, text/plain)
2012-02-05 13:40 UTC, Agostino Sarubbo
Details
a quick fix to make liblognorm install the missing header file (quick_fix,324 bytes, patch)
2012-02-05 16:59 UTC, Martin Walch
Details | Diff
lognorm-private-header.patch from debian (01-do-not-include-lognorm-private-header.patch,1.14 KB, text/plain)
2012-02-05 18:05 UTC, Andreis Vinogradovs ( slepnoga )
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2012-02-05 13:40:04 UTC
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..     -march=native -O2 -g0 -c sagan-lockfile.c
In file included from sagan.c:58:0:
/usr/include/lognorm.h:31:19: fatal error: annot.h: File o directory non esistente
compilation terminated.
make[2]: *** [sagan.o] Errore 1
make[2]: *** Attesa dei processi non terminati....
In file included from sagan-config.c:51:0:
/usr/include/lognorm.h:31:19: fatal error: annot.h: File o directory non esistente
compilation terminated.
Comment 1 Agostino Sarubbo gentoo-dev 2012-02-05 13:40:54 UTC
Created attachment 300947 [details]
build.log
Comment 2 Martin Walch 2012-02-05 16:59:33 UTC
Created attachment 300955 [details, diff]
a quick fix to make liblognorm install the missing header file

looks like a bug in liblognorm-0.3.2{,-r1}

liblognorm-0.3.1 brought a modification in /usr/include/lognorm.h:

+#include "annot.h"

However, annot.h will not be installed.

As a quick workaround try liblognorm-0.3.1 and mask liblognorm-0.3.2, liblognorm-0.3.2-r1.

As a quick fix one could apply the attached patch, and do eautoreconf before execution of configure.

However, a proper fix is probably better done upstream.
Comment 3 Martin Walch 2012-02-05 18:04:57 UTC
At least for now, trying to get this fixed upstream looks like a waste of time. The project infrastructure is basically dead. I have tried for more than an hour:

> http://kb.monitorware.com/liblognorm-and-its-whole-infrastructure-broken-t11334.html
Comment 4 Andreis Vinogradovs ( slepnoga ) 2012-02-05 18:05:07 UTC
Created attachment 300959 [details]
lognorm-private-header.patch from debian
Comment 5 Andreis Vinogradovs ( slepnoga ) 2012-02-05 18:06:09 UTC
I apologize for the delay in response.
This bug is with 2 packets - liblognorm and sagan and and requires a patch for both packages.
if brief, liblognorm in hеader file include private header - annot.h. This file 
not installed and not required for liblognorm work. It's upstream bug.
Second patch ( in debian ) fix include private header in sagan
Comment 6 Andreis Vinogradovs ( slepnoga ) 2012-02-05 18:12:38 UTC
(In reply to comment #3)
> At least for now, trying to get this fixed upstream looks like a waste of time.
> The project infrastructure is basically dead. I have tried for more than an
> hour:
> 
> > http://kb.monitorware.com/liblognorm-and-its-whole-infrastructure-broken-t11334.html

http://bugzilla.adiscon.com/liblognorm-bugs.html 

This project , and more related ( libee , libstr) is http://www.adiscon.com opensource project
Comment 7 Andreis Vinogradovs ( slepnoga ) 2012-02-05 18:20:13 UTC
Upstream bug http://bugzilla.adiscon.com/show_bug.cgi?id=307
Comment 8 Ian Delaney (RETIRED) gentoo-dev 2012-02-07 09:15:08 UTC
*** Bug 402483 has been marked as a duplicate of this bug. ***
Comment 9 Andreis Vinogradovs ( slepnoga ) 2012-02-07 09:33:00 UTC
Patch from upstream and fixed ebuld send to maksbotan@g.o.r.g, wait for commit
Comment 10 Maxim Koltsov (RETIRED) gentoo-dev 2012-02-07 13:18:32 UTC
A fix was commited to liblognorm to include missing header, bug must be not present any more.