Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 780045 - app-admin/sagan-2.0.1-r4 - config-yaml.c: error: expected ) before PRIu64
Summary: app-admin/sagan-2.0.1-r4 - config-yaml.c: error: expected ) before PRIu64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 775395
  Show dependency tree
 
Reported: 2021-04-04 18:54 UTC by Toralf Förster
Modified: 2021-07-20 19:36 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.63 KB, text/plain)
2021-04-04 18:54 UTC, Toralf Förster
Details
app-admin:sagan-2.0.1-r4:20210404-185253.log (app-admin:sagan-2.0.1-r4:20210404-185253.log,14.05 KB, text/plain)
2021-04-04 18:54 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,236.85 KB, text/plain)
2021-04-04 18:54 UTC, Toralf Förster
Details
environment (environment,92.75 KB, text/plain)
2021-04-04 18:54 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,26.02 KB, application/x-bzip)
2021-04-04 18:54 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,12.18 KB, application/x-bzip)
2021-04-04 18:54 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,26.15 KB, application/x-bzip)
2021-04-04 18:54 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-04-04 18:54:40 UTC
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -I.. -I/usr/include/libfastjson     -O2 -pipe -march=native -fno-diagnostics-color  -fcommon -D__Linux__ -c -o sagan-config-yaml.o `test -f 'config-yaml.c' || echo './'`config-yaml.c
config-yaml.c: In function ‘Load_YAML_Config’:
config-yaml.c:2742:102: error: expected ‘)’ before ‘PRIu64’
 2742 | OR, "[%s, line %d] Detected duplicate signature id number %" PRIu64 ".", __FILE__, __LINE__, rulestruct[check].s_sid);
      |                                                             ^~~~~~~
      |                                                             )

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-20210330-091524

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-10.2.0 *
clang version 11.1.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/11/bin
/usr/lib/llvm/11
11.1.0
Python 3.8.9
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.51.0
  [2]   rust-1.51.0 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.282_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Sun Apr  4 18:05:56 UTC 2021

emerge -qpvO app-admin/sagan
[ebuild  N    ] app-admin/sagan-2.0.1-r4  USE="pcap redis smtp -geoip -libdnet -lognorm -mysql"
Comment 1 Toralf Förster gentoo-dev 2021-04-04 18:54:41 UTC
Created attachment 697347 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-04-04 18:54:42 UTC
Created attachment 697350 [details]
app-admin:sagan-2.0.1-r4:20210404-185253.log
Comment 3 Toralf Förster gentoo-dev 2021-04-04 18:54:44 UTC
Created attachment 697353 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-04-04 18:54:45 UTC
Created attachment 697356 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-04-04 18:54:46 UTC
Created attachment 697359 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-04-04 18:54:48 UTC
Created attachment 697362 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2021-04-04 18:54:49 UTC
Created attachment 697365 [details]
temp.tar.bz2
Comment 8 Conrad Kostecki gentoo-dev 2021-07-20 19:26:25 UTC
Seems to be related to use flag 'lognorm'. Without it, I can reproduce. Will enable it always, as for now.
Comment 9 Larry the Git Cow gentoo-dev 2021-07-20 19:36:47 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f401e86ce4d9c6dff59d180ec7363d0bdaa0884

commit 8f401e86ce4d9c6dff59d180ec7363d0bdaa0884
Author:     Conrad Kostecki <conikost@gentoo.org>
AuthorDate: 2021-07-20 19:32:23 +0000
Commit:     Conrad Kostecki <conikost@gentoo.org>
CommitDate: 2021-07-20 19:32:23 +0000

    app-admin/sagan: make lognorm non-optional
    
    Disabling 'lognorm' causes a compilation failure, so making it, for now,
    non-optional. As it was by default enabled, it should not harm.
    
    Closes: https://bugs.gentoo.org/780045
    Package-Manager: Portage-3.0.20, Repoman-3.0.3
    Signed-off-by: Conrad Kostecki <conikost@gentoo.org>

 app-admin/sagan/sagan-2.0.1-r5.ebuild | 132 ++++++++++++++++++++++++++++++++++
 1 file changed, 132 insertions(+)