Bug 209613 - [security/trousers] recipe for target 'all-recursive' failed
Summary: [security/trousers] recipe for target 'all-recursive' failed
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: Hiroki Sato
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-18 17:08 UTC by drhowarddrfine
Modified: 2016-05-20 03:01 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (hrs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description drhowarddrfine 2016-05-18 17:08:52 UTC
Using portmaster to update trousers.
FreeBSD 10.3-RELEASE-p2

Makefile:1054: recipe for target 'libtcs_a-tcs_caps.o' failed
gmake[4]: *** [libtcs_a-tcs_caps.o] Error 1
gmake[4]: *** Waiting for unfinished jobs....
mv -f .deps/libtcs_a-rpc_transport.Tpo .deps/libtcs_a-rpc_transport.Po
Makefile:1068: recipe for target 'libtcs_a-tcs_req_mgr.o' failed
gmake[4]: *** [libtcs_a-tcs_req_mgr.o] Error 1
cc: warning: argument unused during compilation: '-L/usr/local/lib'
cc: warning: argument unused during compilation: '-L/usr/local/lib'
mv -f .deps/libtcs_a-tcsi_tick.Tpo .deps/libtcs_a-tcsi_tick.Po
mv -f .deps/libtcs_a-rpc_tick.Tpo .deps/libtcs_a-rpc_tick.Po
gmake[4]: Leaving directory '/usr/ports/security/trousers/work/trousers-0.3.13/src/tcs'
Makefile:360: recipe for target 'all-recursive' failed
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory '/usr/ports/security/trousers/work/trousers-0.3.13/src'
Makefile:398: recipe for target 'all-recursive' failed
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory '/usr/ports/security/trousers/work/trousers-0.3.13'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/security/trousers
*** Error code 1

Stop.
make: stopped in /usr/ports/security/trousers

===>>> make build failed for security/trousers
===>>> Aborting update
Comment 1 Hiroki Sato freebsd_committer freebsd_triage 2016-05-18 18:31:20 UTC
Could you try r415461 and let me know if it works or not?
Comment 2 drhowarddrfine 2016-05-18 18:35:50 UTC
Sorry. I don't know how to do that but if you can point me to how I will.
Comment 3 Hiroki Sato freebsd_committer freebsd_triage 2016-05-18 18:48:37 UTC
(In reply to drhowarddrfine from comment #2)

Please update your /usr/ports and just try to build it again.
A fix has been committed just now.
Comment 4 Paul 2016-05-19 01:49:14 UTC
I have the same issue on 10.3-RELEASE-p3 FreeBSD 10.3-RELEASE-p3 #0: Tue May 17 21:18:12 UTC 2016     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386. This is with r415461 applied.


In file included from tcs_req_mgr.c:23:
/usr/local/include/tddl.h:144:12: error: conflicting types for 'Tddli_SetCapability'
TSS_RESULT Tddli_SetCapability(UINT32 CapArea, UINT32 SubCap,
           ^
/usr/local/include/tss/tddli.h:62:22: note: previous declaration is here
    TDDLI TSS_RESULT Tddli_SetCapability(
                     ^
In file included from tcs_req_mgr.c:23:
/usr/local/include/tddl.h:195:12: error: conflicting types for 'Tddli_PowerManagementControl'
TSS_RESULT Tddli_PowerManagementControl(TSS_BOOL SendPowerManager,
           ^
/usr/local/include/tss/tddli.h:84:22: note: previous declaration is here
    TDDLI TSS_RESULT Tddli_PowerManagementControl(
                     ^
15 warnings and 2 errors generated.
Makefile:1069: recipe for target 'libtcs_a-tcs_req_mgr.o' failed
gmake[4]: *** [libtcs_a-tcs_req_mgr.o] Error 1
gmake[4]: Leaving directory '/usr/ports/security/trousers/work/trousers-0.3.13/src/tcs'
Makefile:361: recipe for target 'all-recursive' failed
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory '/usr/ports/security/trousers/work/trousers-0.3.13/src'
Makefile:399: recipe for target 'all-recursive' failed
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory '/usr/ports/security/trousers/work/trousers-0.3.13'
===> Compilation failed unexpectedly.
Comment 5 drhowarddrfine 2016-05-19 01:52:24 UTC
Upgraded ports but it still failed with the same error and report as before. Note that I am now on RELEASE-p3.
Comment 6 drhowarddrfine 2016-05-19 01:57:23 UTC
Found this when entering config:

 Configuring for trousers-0.3.13
aclocal-1.15: warning: autoconf input should be named 'configure.ac', not 'configure.in'
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.in,
libtoolize: and rerunning libtoolize and aclocal.
libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
aclocal-1.15: warning: autoconf input should be named 'configure.ac', not 'configure.in'
automake-1.15: warning: autoconf input should be named 'configure.ac', not 'configure.in'
configure.in:64: installing './compile'
configure.in:14: installing './missing'
automake-1.15: warning: autoconf input should be named 'configure.ac', not 'configure.in'
src/tcs/Makefile.am:7: warning: source file 'rpc/@RPC@/rpc.c' is in a subdirectory,
src/tcs/Makefile.am:7: but option 'subdir-objects' is disabled
automake-1.15: warning: possible forward-incompatibility.
automake-1.15: At least a source file is in a subdirectory, but the 'subdir-objects'
automake-1.15: automake option hasn't been enabled.  For now, the corresponding output
automake-1.15: object file(s) will be placed in the top-level directory.  However,
automake-1.15: this behaviour will change in future Automake versions: they will
automake-1.15: unconditionally cause object files to be placed in the same subdirectory
automake-1.15: of the corresponding sources.
automake-1.15: You are advised to start using 'subdir-objects' option throughout your
automake-1.15: project, to avoid future incompatibilities.
src/tcs/Makefile.am:7: warning: source file 'rpc/@RPC@/rpc_context.c' is in a subdirectory,
src/tcs/Makefile.am:7: but option 'subdir-objects' is disabled
src/tcs/Makefile.am:7: warning: source file 'rpc/@RPC@/rpc_caps_tpm.c' is in a subdirectory,
src/tcs/Makefile.am:7: but option 'subdir-objects' is disabled
src/tcs/Makefile.am:7: warning: source file 'rpc/@RPC@/rpc_auth.c' is in a subdirectory,
src/tcs/Makefile.am:7: but option 'subdir-objects' is disabled
src/tcs/Makefile.am:19: warning: source file 'rpc/@RPC@/rpc_transport.c' is in a subdirectory,
src/tcs/Makefile.am:19: but option 'subdir-objects' is disabled
Comment 7 Hiroki Sato freebsd_committer freebsd_triage 2016-05-19 05:38:58 UTC
Thank you for your report.  An additional fix has been committed in r415491.  Can you please try the latest ports tree and send me the build log if the build error persists?
Comment 8 drhowarddrfine 2016-05-19 19:33:02 UTC
Installation completed fine for me. Thank you.