Bug 193765 - security/cvm unable to build
Summary: security/cvm unable to build
Status: Closed DUPLICATE of bug 193851
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-19 08:56 UTC by freebsd.ports
Modified: 2014-10-10 09:35 UTC (History)
2 users (show)

See Also:
freebsd.ports: maintainer-feedback? (uffe)


Attachments
cvm.patch (916 bytes, patch)
2014-09-22 20:43 UTC, Uffe Jakobsen
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description freebsd.ports 2014-09-19 08:56:47 UTC
Trying to build security/cvm under 9.3 or 10.0 (with poudriere) it fails with the following errors:

==== snip ====
===>  Staging for cvm-0.96_2
===>   Generating temporary packing list
bg-installer -v <INSTHIER
lrwxrwxrwx      N/A      N/A /wrkdirs/usr/ports/security/cvm/work/stage/usr/local/lib/libcvm-client.a -> libcvm-v2client.a
lrwxrwxrwx      N/A      N/A /wrkdirs/usr/ports/security/cvm/work/stage/usr/local/lib/libcvm-client.la -> libcvm-v2client.la
lrwxrwxrwx      N/A      N/A /wrkdirs/usr/ports/security/cvm/work/stage/usr/local/lib/libcvm-client.so -> libcvm-v2client.so
-rwxr-xr-x      N/A      N/A /wrkdirs/usr/ports/security/cvm/work/stage/usr/local/lib/libcvm-command.la
libtool: install: `libcvm-command.la' is not a valid libtool archive
libtool: install: Try `libtool --help --mode=install' for more information.
bg-installer: Fatal: libtool failed
*** [install] Error code 1

Stop in /wrkdirs/usr/ports/security/cvm/work/cvm-0.96.
*** [do-install] Error code 1

Stop in /usr/ports/security/cvm.
===>  Cleaning for cvm-0.96_2
==== snap ====

How can this be fixed?
Comment 1 Bugzilla Automation freebsd_committer freebsd_triage 2014-09-19 08:56:47 UTC
Maintainer CC'd
Comment 2 Uffe Jakobsen 2014-09-19 18:22:44 UTC
Hmm,
what kind of poudriere run is it that you do ?

I ran this command with success on FreeBSD 10.0 amd64:
# poudriere testport -j 10amd64 -o security/cvm

BTW: what is inside the file in question ? (/wrkdirs/usr/ports/security/cvm/work/stage/usr/local/lib/libcvm-command.la)
Comment 3 Uffe Jakobsen 2014-09-19 18:29:22 UTC
Oh forgot to ask if you are building any of the options DOCS VCHKPW

or just the default
Comment 4 freebsd.ports 2014-09-22 08:05:43 UTC
(In reply to uffe from comment #3)
> Oh forgot to ask if you are building any of the options DOCS VCHKPW
> 
> or just the default

Ah, with the default options it works here, too! However, I'd need the vchkpw interface and thus can't disable the option.
libcvm-command.la seems not to exist at all and it's not listed in pkg-plist, neither.

Thanks for your fast answer, btw! :)
Comment 5 Uffe Jakobsen 2014-09-22 09:40:48 UTC
Thanks for your reply - now that we know which buttons to push - I'll try to recreate the problem tonight.
Comment 6 Uffe Jakobsen 2014-09-22 20:43:30 UTC
Could you try the attached patch (cvm.patch) thanks
Comment 7 Uffe Jakobsen 2014-09-22 20:43:52 UTC
Created attachment 147574 [details]
cvm.patch
Comment 8 freebsd.ports 2014-09-23 08:51:50 UTC
Yay! Now the port builds like a charm! Thank you so much for your fast fix!
Comment 9 Uffe Jakobsen 2014-09-23 10:00:51 UTC
Great - you are welcome

I've filed the change as a separate bug
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193851

Will close this case once it is comitted
Comment 10 John Marino freebsd_committer freebsd_triage 2014-10-10 09:35:02 UTC

*** This bug has been marked as a duplicate of bug 193851 ***