Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 653680 - sys-block/mbuffer-20171011 USE="-ssl" hashing.c:142:17: error: ‘algoname’ undeclared
Summary: sys-block/mbuffer-20171011 USE="-ssl" hashing.c:142:17: error: ‘algoname’ und...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on: 673212
Blocks:
  Show dependency tree
 
Reported: 2018-04-21 10:16 UTC by ernsteiswuerfel
Modified: 2018-12-23 12:35 UTC (History)
1 user (show)

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


Attachments
emerge --info (file_653680.txt,5.60 KB, text/plain)
2018-04-21 10:16 UTC, ernsteiswuerfel
Details
build.log (build.log,7.85 KB, text/plain)
2018-04-21 10:17 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ernsteiswuerfel archtester 2018-04-21 10:16:15 UTC
Created attachment 528122 [details]
emerge --info

Fails building with USE="-ssl":

powerpc-unknown-linux-gnu-gcc -O2 -mcpu=powerpc -pipe -Wno-unused-result -DHAVE_CONFIG_H -DPREFIX=\"/usr\" -I. -I.   -c -o hashing.o hashing.c
hashing.c: In function ‘addHashAlgorithm’:
hashing.c:142:17: error: ‘algoname’ undeclared (first use in this function)
  if (strcasecmp(algoname,name) != 0) {
                 ^~~~~~~~
hashing.c:142:17: note: each undeclared identifier is reported only once for each function it appears in
hashing.c:146:23: error: ‘algo’ undeclared (first use in this function)
  addDigestDestination(algo,algoname);
                       ^~~~
hashing.c: In function ‘hashThread’:
hashing.c:194:4: warning: implicit declaration of function ‘MD5_END’ [-Wimplicit-function-declaration]
    MD5_END(hashvalue,MD5ctxt);
    ^~~~~~~
hashing.c:194:22: error: ‘MD5ctxt’ undeclared (first use in this function)
    MD5_END(hashvalue,MD5ctxt);
                      ^~~~~~~
hashing.c:208:4: error: ‘dest’ undeclared (first use in this function)
    dest->result = msg;
    ^~~~
hashing.c:223:3: warning: implicit declaration of function ‘MD5_UPDATE’ [-Wimplicit-function-declaration]
   MD5_UPDATE(MD5ctxt,SendAt,size);
   ^~~~~~~~~~
make: *** [<builtin>: hashing.o] Error 1
 * ERROR: sys-block/mbuffer-20171011::gentoo failed (compile phase):
 *   emake failed
Comment 1 ernsteiswuerfel archtester 2018-04-21 10:17:41 UTC
Created attachment 528124 [details]
build.log
Comment 2 ernsteiswuerfel archtester 2018-12-15 21:53:45 UTC
Fixed in version >= sys-block/mbuffer-20181119.
Comment 3 ernsteiswuerfel archtester 2018-12-15 21:57:39 UTC
20180410(In reply to ernsteiswuerfel from comment #2)
> Fixed in version >= sys-block/mbuffer-20181119.

Erm, fixed in versions >= sys-block/mbuffer-20180410.
Comment 4 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2018-12-23 12:35:56 UTC
shall be done