Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 638866 - net-analyzer/wireshark-99999999 - /usr/bin/install: cannot stat 'register.h': No such file or directory
Summary: net-analyzer/wireshark-99999999 - /usr/bin/install: cannot stat 'register.h':...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2017-11-26 09:02 UTC by Garri
Modified: 2017-11-27 23:20 UTC (History)
0 users

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


Attachments
wireshark-99999999 build log (wireshark-build.log.gz,117.94 KB, application/gzip)
2017-11-26 09:34 UTC, Garri
Details
wireshark-99999999 emerge info (wireshark-emerge-info.log,6.49 KB, text/plain)
2017-11-26 09:35 UTC, Garri
Details
Prototype patch (bug_638866.patch,1.18 KB, patch)
2017-11-26 12:51 UTC, Garri
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Garri 2017-11-26 09:02:27 UTC
Install phase fails for net-analyzer/wireshark-99999999 because register.h is no longer located in the sources root directory, but in the epan subdirectory.

-----
/usr/bin/install: cannot stat 'register.h': No such file or directory
doins: register.h does not exist
-----

# cd /var/tmp/portage/net-analyzer/wireshark-99999999/work/wireshark-99999999/
# find . -name register.h
./epan/register.h


Full build log and emerge info are attached. Thanks!



P.S.: Should I report the following QA notices in a separate bug report?

 * QA Notice: file does not exist:
 * 
 * 	doins: register.h does not exist
 * QA Notice: Unrecognized configure options:
 * 
 * 	--without-ssh
 * 	--disable-profile-build
 * 	--without-ssh
 * 	--disable-profile-build
Comment 1 Garri 2017-11-26 09:34:04 UTC
Created attachment 506638 [details]
wireshark-99999999 build log
Comment 2 Garri 2017-11-26 09:35:09 UTC
Created attachment 506640 [details]
wireshark-99999999 emerge info
Comment 3 Garri 2017-11-26 12:51:45 UTC
Created attachment 506722 [details, diff]
Prototype patch

The attached patch solved the issue for me. The QA notices have gone too.
Comment 4 Garri 2017-11-26 13:26:34 UTC
P.S.: Commit message from the upstream about profile-build option:

---
commit 296a36698b9ff2ab1beb3c21dc8409c3a276001c
Author: João Valverde <joao.valverde@tecnico.ulisboa.pt>
Date:   Sun Oct 22 07:28:17 2017 +0100

    configure: Remove profile-build option
    
    Developers should know how to instrument the code for profiling with a given
    toolchain. This particular case is trivially replaced with:
    
    ./configure CFLAGS="-pg" LDFLAGS="-pg"
---
Comment 5 Garri 2017-11-26 16:02:02 UTC
Sorry for the noise, there is no reason to list 'epan/register.h' at all. It is already covered by 'epan/*.h', I overlooked it.

For the record, the upstream commit related to the issue:

---
commit 7540ac69381518661065b33096bd448d1b4100e5
Author: João Valverde
Date:   Tue Nov 21 18:38:44 2017 +0000

    Move the protocol registration routines back into libwireshark
---


The upstream commit related to '--without-ssh' configure flag:

---
commit 16309e41c8b61e20307af9de40ff9742bb19cc6d
Author: João Valverde
Date:   Wed Oct 25 23:08:19 2017 +0100

    configure: Fix --with-libssh argument name mismatch
---