Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build_dependencies.py script and libvshadow (pyvshadow) #97

Closed
dnides opened this issue Jan 26, 2015 · 9 comments
Closed

build_dependencies.py script and libvshadow (pyvshadow) #97

dnides opened this issue Jan 26, 2015 · 9 comments
Assignees
Labels

Comments

@dnides
Copy link
Contributor

dnides commented Jan 26, 2015

Windows 8.1 x64, running build_dependicies.py script, appears everything completes as expected with the exception of libvshadow (pyvshadow). I do not see the source folder or the MSI in the output directory. I did a search in the msbuild.log for the string "shadow" and did not see any reference to libvshadow (pyvshadow). Does this work for anyone else?

@joachimmetz
Copy link
Member

Building libvshadow has worked for me before.

I did a search in the msbuild.log for the string "shadow" and did not see any reference to libvshadow (pyvshadow)

The msbuild.log is recreated per build of an individual dependency (at least those that use msbuild).

What output does the script return to you?

@joachimmetz
Copy link
Member

Ping @dnides any additional input?

@dnides
Copy link
Contributor Author

dnides commented Feb 6, 2015

will try again tomorrow.

@joachimmetz
Copy link
Member

Moving dependency script to https://github.com/log2timeline/devtools

@dnides
Copy link
Contributor Author

dnides commented Feb 9, 2015

I pulled down latest build.py from devtools location and ran. Below is console output of how far it got.

creating build\bdist.win32
creating build\bdist.win32\msi
creating build\bdist.win32\msi\Lib
creating build\bdist.win32\msi\Lib\site-packages
copying build\lib.win32-2.7\pyregf.pyd -> build\bdist.win32\msi\Lib\site-packages
running install_data
copying ..\msvscpp\Release\libregf.dll -> build\bdist.win32\msi\Lib\site-packages
copying LICENSE.libregf -> build\bdist.win32\msi\Lib\site-packages
running install_egg_info
Writing build\bdist.win32\msi\Lib\site-packages\pyregf-20150105.1-py2.7.egg-info
creating dist
removing 'build\bdist.win32\msi' (and everything under it)
[INFO] Moving: dist\pyregf-20150105.1.win32-py2.7.msi
Failed building: libsigscan

c:\plaso build\plaso\plaso\devtools>

---------below is a snippet from msbuild.log-----------

   "c:\plaso build\plaso\plaso\devtools\dependencies\libregf-20150105\msvscpp\libregf.sln" (default target) (1) ->
   (libfwps target) -> 
     ..\..\libfwps\libfwps_value.c(188): warning C4100: 'ascii_codepage' : unreferenced formal parameter


   "c:\plaso build\plaso\plaso\devtools\dependencies\libregf-20150105\msvscpp\libregf.sln" (default target) (1) ->
   (libfwnt target) -> 
     ..\..\libfwnt\libfwnt_access_control_list.c(278): warning C4102: 'on_error' : unreferenced label
     c:\plaso build\plaso\plaso\devtools\dependencies\libregf-20150105\libfwnt\libfwnt_access_control_list.c(279): warning C4702: unreachable code


   "c:\plaso build\plaso\plaso\devtools\dependencies\libregf-20150105\msvscpp\libregf.sln" (default target) (1) ->
   (libfwsi target) -> 
     ..\..\libfwsi\libfwsi_users_property_view_values.c(145): warning C4100: 'ascii_codepage' : unreferenced formal parameter
     ..\..\libfwsi\libfwsi_uri_values.c(143): warning C4100: 'ascii_codepage' : unreferenced formal parameter
     ..\..\libfwsi\libfwsi_unknown_0x74_values.c(146): warning C4100: 'ascii_codepage' : unreferenced formal parameter
     ..\..\libfwsi\libfwsi_game_folder_values.c(310): warning C4102: 'on_error' : unreferenced label
     ..\..\libfwsi\libfwsi_file_entry_values.c(153): warning C4100: 'ascii_codepage' : unreferenced formal parameter
     c:\plaso build\plaso\plaso\devtools\dependencies\libregf-20150105\libfwsi\libfwsi_game_folder_values.c(319): warning C4702: unreachable code
     ..\..\libfwsi\libfwsi_extension_block_0xbeef0019_values.c(333): warning C4102: 'on_error' : unreferenced label
     ..\..\libfwsi\libfwsi_extension_block_0xbeef0014_values.c(438): warning C4102: 'on_error' : unreferenced label
     ..\..\libfwsi\libfwsi_extension_block_0xbeef0006_values.c(325): warning C4102: 'on_error' : unreferenced label
     ..\..\libfwsi\libfwsi_extension_block_0xbeef0003_values.c(293): warning C4102: 'on_error' : unreferenced label
     ..\..\libfwsi\libfwsi_extension_block_0xbeef0000_values.c(361): warning C4102: 'on_error' : unreferenced label
     ..\..\libfwsi\libfwsi_control_panel_values.c(299): warning C4102: 'on_error' : unreferenced label
     ..\..\libfwsi\libfwsi_control_panel_cpl_file_values.c(606): warning C4102: 'on_error' : unreferenced label
     ..\..\libfwsi\libfwsi_compressed_folder_values.c(864): warning C4102: 'on_error' : unreferenced label
     c:\plaso build\plaso\plaso\devtools\dependencies\libregf-20150105\libfwsi\libfwsi_compressed_folder_values.c(878): warning C4702: unreachable code
     c:\plaso build\plaso\plaso\devtools\dependencies\libregf-20150105\libfwsi\libfwsi_control_panel_cpl_file_values.c(614): warning C4702: unreachable code
     c:\plaso build\plaso\plaso\devtools\dependencies\libregf-20150105\libfwsi\libfwsi_control_panel_values.c(308): warning C4702: unreachable code
     c:\plaso build\plaso\plaso\devtools\dependencies\libregf-20150105\libfwsi\libfwsi_extension_block_0xbeef0000_values.c(370): warning C4702: unreachable code
     c:\plaso build\plaso\plaso\devtools\dependencies\libregf-20150105\libfwsi\libfwsi_extension_block_0xbeef0003_values.c(302): warning C4702: unreachable code
     c:\plaso build\plaso\plaso\devtools\dependencies\libregf-20150105\libfwsi\libfwsi_extension_block_0xbeef0006_values.c(333): warning C4702: unreachable code
     c:\plaso build\plaso\plaso\devtools\dependencies\libregf-20150105\libfwsi\libfwsi_extension_block_0xbeef0014_values.c(447): warning C4702: unreachable code
     c:\plaso build\plaso\plaso\devtools\dependencies\libregf-20150105\libfwsi\libfwsi_extension_block_0xbeef0019_values.c(342): warning C4702: unreachable code


   "c:\plaso build\plaso\plaso\devtools\dependencies\libregf-20150105\msvscpp\libregf.sln" (default target) (1) ->
   (libfdata target) -> 
     ..\..\libfdata\libfdata_btree.c(490): warning C4189: 'number_of_levels' : local variable is initialized but not referenced


   "c:\plaso build\plaso\plaso\devtools\dependencies\libregf-20150105\msvscpp\libregf.sln" (default target) (1) ->
   (regfexport target) -> 
     ..\..\regftools\regfexport.c(129): warning C4189: 'source_length' : local variable is initialized but not referenced

164 Warning(s)
0 Error(s)

Time Elapsed 00:01:17.94

@joachimmetz
Copy link
Member

pulled down latest build.py from devtools location and ran. Below is console output of how far it got.

Why? You had the original error with the current versions of the scripts. This way you are less likely to reproduce the error. Since I don't have much info to go on, regarding the original report I cannot do much there.

The issue the script reports is:

Failed building: libsigscan

And the msbuild.log file contains a successful libregf build.

@dnides
Copy link
Contributor Author

dnides commented Feb 10, 2015

Because you said "Moving dependency script to https://github.com/log2timeline/devtools". Assumed this is what you wanted since that's all you said. Do you want me to try the build_dependencies.py script again?

The msbuild.log contains no reference to libsigscan. How can I help you debug why it is failing on libsigscan?

@joachimmetz
Copy link
Member

Because you said "Moving dependency script to https://github.com/log2timeline/devtools"

No it was just an FYI that longer term I'll remove the code from plaso and maintain it there.

The msbuild.log contains no reference to libsigscan. How can I help you debug why it is failing on libsigscan?

Not much at the moment, I was more interested in the lack of libvshadow but if the build script did not finish the first time that would explain it.

@joachimmetz
Copy link
Member

How can I help you debug why it is failing on libsigscan?

It likely was skipped. Closing issue this should be fixed now, cannot do anything about the original issue without the corresponding logs.

@joachimmetz joachimmetz self-assigned this Feb 24, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants