Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 642952 - =www-misc/zoneminder-1.30.2: compile error
Summary: =www-misc/zoneminder-1.30.2: compile error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo TreeCleaner Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-01 12:34 UTC by Andreas
Modified: 2020-05-05 07:24 UTC (History)
7 users (show)

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


Attachments
zip contains build.log, emerge --info, emerge -pqv, environment (zoneminder_build_error.zip,110.13 KB, application/x-zip-compressed)
2018-01-01 12:34 UTC, Andreas
Details
zoneminder-1.30.2-uio.patch (zoneminder-1.30.2-uio.patch,613 bytes, patch)
2018-01-26 07:23 UTC, Marco Genasci
Details | Diff
Ebuild for the latest zoneminder. (zoneminder-1.34.8.ebuild,4.58 KB, text/plain)
2020-04-17 21:00 UTC, Brian McKee
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas 2018-01-01 12:34:53 UTC
Created attachment 512490 [details]
zip contains build.log, emerge --info, emerge -pqv, environment

while trying to install zoneminder-1.30.2 the build fails with these errors:

archive TEMP # grep -Hirn error build.log
build.log:291:/var/tmp/portage/www-misc/zoneminder-1.30.2/work/ZoneMinder-1.30.2/src/zm_comms.h:98:20: error: ‘::readv’ has not been declared
build.log:299:/var/tmp/portage/www-misc/zoneminder-1.30.2/work/ZoneMinder-1.30.2/src/zm_comms.h:105:24: error: ‘::writev’ has not been declared
build.log:349:/var/tmp/portage/www-misc/zoneminder-1.30.2/work/ZoneMinder-1.30.2/src/zm_comms.cpp:59:18: error: ‘::readv’ has not been declared
build.log:357:/var/tmp/portage/www-misc/zoneminder-1.30.2/work/ZoneMinder-1.30.2/src/zm_comms.cpp:79:22: error: ‘::writev’ has not been declared
build.log:384:make[2]: *** [src/CMakeFiles/zm.dir/build.make:135: src/CMakeFiles/zm.dir/zm_comms.cpp.o] Error 1
build.log:1319:make[1]: *** [CMakeFiles/Makefile2:332: src/CMakeFiles/zm.dir/all] Error 2
build.log:9516:make: *** [Makefile:130: all] Error 2
build.log:9517: * ERROR: www-misc/zoneminder-1.30.2::gentoo failed (compile phase):


fwiw, the same applies to (the masked) 1.30.2-r1..

i've attached all the suggested files..

any help is highly appreciated!

thanks,
Andreas
Comment 1 Marco Genasci 2018-01-26 07:23:40 UTC
Created attachment 516762 [details, diff]
zoneminder-1.30.2-uio.patch

Upstream patch see [1]

[1] https://github.com/ZoneMinder/zoneminder/commit/417421b1d869d1b71c8ec1a1e3b082fcede6ce58
Comment 2 Martin Dummer 2018-02-24 10:42:06 UTC
I can confirm

- this ebuild fail also applies for current www-misc/zoneminder-1.30.4

- the upstream patch also fixes the issue

Please include it in an bugfix ebuild!!!

And why is this bug not correctly assigned to the maintainer???
Comment 3 Jonas Stein gentoo-dev 2019-07-06 21:06:34 UTC
The package has no maintainer.
If the package does not compile any more and nobody fixes it, we have to tree clean it.
There are some to do's in the header of the ebuild.

Please try to fix these and prepare PR's or patches. Convince developers to maintain it. Ask them nicely, spend them a beer, bribe them include them in your prayer or become a dev yourself and fix it.

The ebuild will be archived after removal on 
https://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/
Comment 4 Vladimir Shapranov 2020-04-01 20:07:16 UTC
As an alternative solution, bump to the latest: https://github.com/gentoo/gentoo/pull/15203
Comment 5 Joonas Niilola gentoo-dev 2020-04-05 10:48:56 UTC
Let's remove it from ::gentoo.
Comment 6 Larry the Git Cow gentoo-dev 2020-04-05 10:53:09 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5277eed833548e4fa3d05d7cc89c1353ce700b3a

commit 5277eed833548e4fa3d05d7cc89c1353ce700b3a
Author:     Joonas Niilola <juippis@gentoo.org>
AuthorDate: 2020-04-05 10:51:58 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2020-04-05 10:51:58 +0000

    profiles/package.mask: mask www-misc/zoneminder for removal
    
    Bug: https://bugs.gentoo.org/642952
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 profiles/package.mask | 6 ++++++
 1 file changed, 6 insertions(+)
Comment 7 Brian McKee 2020-04-17 20:58:39 UTC
I have a working ebuild.

I'll attach it.

Please don't remove it from portage.
Comment 8 Brian McKee 2020-04-17 21:00:34 UTC
Created attachment 633432 [details]
Ebuild for the latest zoneminder.
Comment 9 Larry the Git Cow gentoo-dev 2020-05-05 07:24:14 UTC
The bug has been closed via the following commit(s):

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

commit c66a9574205fcefe13c0b13a778af774f2703a0b
Author:     Joonas Niilola <juippis@gentoo.org>
AuthorDate: 2020-05-05 07:17:24 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2020-05-05 07:24:03 +0000

    www-misc/zoneminder: remove package
    
    Closes: https://bugs.gentoo.org/642952
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 profiles/package.mask                              |   6 -
 www-misc/zoneminder/Manifest                       |   2 -
 www-misc/zoneminder/files/10_zoneminder.conf       |  16 --
 www-misc/zoneminder/files/README.gentoo            |  27 ----
 www-misc/zoneminder/files/conf.d                   |   6 -
 www-misc/zoneminder/files/init.d                   |  25 ---
 .../files/zoneminder-1.30.2-diskspace.patch        |  15 --
 .../zoneminder/files/zoneminder-1.30.4-gcc7.patch  |  28 ----
 .../files/zoneminder-1.30.4-glibc226.patch         |  24 ---
 .../files/zoneminder-1.30.4-path_zms.patch         |  16 --
 www-misc/zoneminder/files/zoneminder.service       |  11 --
 www-misc/zoneminder/metadata.xml                   |  13 --
 www-misc/zoneminder/zoneminder-1.30.4-r2.ebuild    | 178 ---------------------
 13 files changed, 367 deletions(-)