Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 503438 - media-video/vlc - In file included from zip/zipaccess.c:34: /usr/include/minizip/ioapi.h:135:35: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_Z_OF’
Summary: media-video/vlc - In file included from zip/zipaccess.c:34: /usr/include/mini...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Tom Wijsman (TomWij) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-04 18:20 UTC by is
Modified: 2014-03-06 19:26 UTC (History)
1 user (show)

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


Attachments
build log (build.log,196.62 KB, text/plain)
2014-03-04 18:22 UTC, is
Details
emerge --info (emerge_info.txt,5.56 KB, text/plain)
2014-03-04 18:23 UTC, is
Details
/usr/include/minizip/ioapi.h (ioapi.h,6.93 KB, text/x-chdr)
2014-03-05 09:45 UTC, is
Details
zlib build.log (build.log,48.74 KB, text/plain)
2014-03-06 10:27 UTC, is
Details
mztools.h (mztools.h,708 bytes, text/x-chdr)
2014-03-06 16:00 UTC, is
Details
zconf.h (zconf.h,15.12 KB, text/x-chdr)
2014-03-06 16:00 UTC, is
Details

Note You need to log in before you can comment on or make changes to this bug.
Description is 2014-03-04 18:20:33 UTC
As the title says, emerge of vlc fails, at least for sys-libs/zlib-1.2.8-r1. Lower versions are blocked by other packages.


Reproducible: Always

Steps to Reproduce:
1.emerge vlc
2.
3.
Actual Results:  
build fails

Expected Results:  
build succeeds
Comment 1 is 2014-03-04 18:22:04 UTC
Created attachment 371726 [details]
build log
Comment 2 is 2014-03-04 18:23:06 UTC
Created attachment 371728 [details]
emerge --info
Comment 3 Rafał Mużyło 2014-03-04 23:40:21 UTC
Is _Z_OF defined in /usr/include/zconf.h ?
Comment 4 is 2014-03-05 09:45:12 UTC
Created attachment 371764 [details]
/usr/include/minizip/ioapi.h
Comment 5 is 2014-03-05 09:45:36 UTC
I think it is, but please look for yourself.
Comment 6 is 2014-03-05 09:48:22 UTC
Sorry, did not read carefully enough, in zconf.h it is not defined.
Comment 7 Rafał Mużyło 2014-03-05 20:03:15 UTC
(In reply to is from comment #6)
> Sorry, did not read carefully enough, in zconf.h it is not defined.

Then there's something wrong with it.
There should be following block there:

#ifndef _Z_OF /* function prototypes */
#  ifdef STDC
#    define _Z_OF(args)  args
#  else
#    define _Z_OF(args)  ()
#  endif
#endif

if there's not, something got broken during zlib emerge.
Comment 8 is 2014-03-06 10:12:47 UTC
just to make sure, I re-emerged zlib for the n-th time.

[ebuild   R    ] sys-libs/zlib-1.2.8-r1  USE="minizip -static-libs" ABI_X86="32 (64) (-x32)" 0 kB

still not there.
Comment 9 is 2014-03-06 10:27:57 UTC
Created attachment 371846 [details]
zlib build.log

I attach it, for what it's worth.
Comment 10 Rafał Mużyło 2014-03-06 15:52:05 UTC
...OK, attach that zconf.h.
Comment 11 is 2014-03-06 16:00:02 UTC
Created attachment 371884 [details]
mztools.h
Comment 12 is 2014-03-06 16:00:45 UTC
Created attachment 371886 [details]
zconf.h
Comment 13 is 2014-03-06 16:04:19 UTC
fianlly I looked at zconf.h, I got confused because it's not in the minizip directory. There the defintion exists. Sorry, I don't know what's wrong with me.
Comment 14 Rafał Mużyło 2014-03-06 18:25:13 UTC
(In reply to is from comment #13)
> fianlly I looked at zconf.h, I got confused because it's not in the minizip
> directory. There the defintion exists. Sorry, I don't know what's wrong with
> me.

...seriously...

Any chance you've got a stale zconf.h somewhere in /usr/local ?
Comment 15 is 2014-03-06 19:03:38 UTC
dammit, there was one in /usr/local/include 

Thanks for pointing me there.