Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 533124 - dev-embedded/libftd2xx-1.1.12 USE=examples - src_install(): find: `sample': No such file or directory // install: cannot stat ‘sample’: No such file or directory // doins failed
Summary: dev-embedded/libftd2xx-1.1.12 USE=examples - src_install(): find: `sample': N...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Brendan Horan
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-20 16:20 UTC by Fedja Beader
Modified: 2014-12-30 08:33 UTC (History)
2 users (show)

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


Attachments
libftd2xx-1.1.12-r1.ebuild (libftd2xx-1.1.12-r1.ebuild,1.04 KB, text/plain)
2014-12-30 01:46 UTC, Brendan Horan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fedja Beader 2014-12-20 16:20:09 UTC
USE=examples emerge '=dev-embedded/libftd2xx-1.1.12' --buildpkgonly  --jobs 1 --buildpkgonly


These are the packages that would be built, in order:

Calculating dependencies... done!
[ebuild  N    ~] dev-embedded/libftd2xx-1.1.12  USE="examples" 0 KiB

Total: 1 package (1 new), Size of downloads: 0 KiB


>>> Verifying ebuild manifests

>>> Emerging (1 of 1) dev-embedded/libftd2xx-1.1.12::gentoo
 * libftd2xx1.1.12.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                            [ ok ]
/var/portage/distfiles/libftd2xx1.1.12.tar.gz: OK

>>> Unpacking source...
>>> Unpacking libftd2xx1.1.12.tar.gz to /tmp/portage/dev-embedded/libftd2xx-1.1.12/work
>>> Source unpacked in /tmp/portage/dev-embedded/libftd2xx-1.1.12/work
>>> Preparing source in /tmp/portage/dev-embedded/libftd2xx-1.1.12/work ...
>>> Source prepared.
Package does not support epatch_user
>>> Configuring source in /tmp/portage/dev-embedded/libftd2xx-1.1.12/work ...
>>> Source configured.
>>> Compiling source in /tmp/portage/dev-embedded/libftd2xx-1.1.12/work ...
>>> Source compiled.
>>> Test phase [not enabled]: dev-embedded/libftd2xx-1.1.12

>>> Install libftd2xx-1.1.12 into /tmp/portage/dev-embedded/libftd2xx-1.1.12/image/ category dev-embedded
find: `sample': No such file or directory
find: `lib_table': No such file or directory
/usr/bin/install: cannot stat ‘sample’: No such file or directory
!!! doins: sample does not exist
 * ERROR: dev-embedded/libftd2xx-1.1.12::gentoo failed (install phase):
 *   doins failed
 * 
 * If you need support, post the output of `emerge --info '=dev-embedded/libftd2xx-1.1.12::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-embedded/libftd2xx-1.1.12::gentoo'`.
 * The complete build log is located at '/var/portage/logs/blackbox/build/dev-embedded/libftd2xx-1.1.12:20141220-161000.log'.
 * The ebuild environment file is located at '/tmp/portage/dev-embedded/libftd2xx-1.1.12/temp/environment'.
 * Working directory: '/tmp/portage/dev-embedded/libftd2xx-1.1.12/work/release/build/x86_64'
 * S: '/tmp/portage/dev-embedded/libftd2xx-1.1.12/work'
 * QA Notice: file does not exist:
 * 
 *      doins: sample does not exist

>>> Failed to emerge dev-embedded/libftd2xx-1.1.12, Log file:

>>>  '/var/portage/logs/blackbox/build/dev-embedded/libftd2xx-1.1.12:20141220-161000.log'
 * 
 * The following package has failed to build or install:
 * 
 *  (dev-embedded/libftd2xx-1.1.12:0/0::gentoo, ebuild scheduled for merge), Log file:
 *   '/var/portage/logs/blackbox/build/dev-embedded/libftd2xx-1.1.12:20141220-161000.log'
 *
Comment 1 Fedja Beader 2014-12-20 16:20:58 UTC
USE=-examples builds just fine
Comment 2 Brendan Horan 2014-12-30 01:37:43 UTC
It seems the directories "sample" "lib_table" and no longer in the upstream source.
Only the examples directory is now present.
Files in the new "examples" directory look similar to the files in the older "sample" directory. 

I will upload a new ebuild to correct this and only install examples/samples into /usr/share/doc/${PF}/sample
Comment 3 Brendan Horan 2014-12-30 01:46:35 UTC
Created attachment 392686 [details]
libftd2xx-1.1.12-r1.ebuild

New ebuild to fix examples
Comment 4 Yixun Lan archtester gentoo-dev 2014-12-30 08:33:43 UTC
+*libftd2xx-1.1.12-r1 (30 Dec 2014)
+
+  30 Dec 2014; Yixun Lan <dlan@gentoo.org> -libftd2xx-1.1.12.ebuild,
+  +libftd2xx-1.1.12-r1.ebuild:
+  fix USE=examples issue, bug #533124, thanks Brendan Horan