Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 767304 - dev-embedded/libftdi-1.5[cxx]: incorrect includedir in libftdi1.pc
Summary: dev-embedded/libftdi-1.5[cxx]: incorrect includedir in libftdi1.pc
Status: RESOLVED DUPLICATE of bug 766818
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Embedded Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-26 17:14 UTC by Toralf Förster
Modified: 2021-01-27 18:09 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,15.65 KB, text/plain)
2021-01-26 17:14 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,88.80 KB, text/plain)
2021-01-26 17:14 UTC, Toralf Förster
Details
environment (environment,98.10 KB, text/plain)
2021-01-26 17:14 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,14.70 KB, application/x-bzip)
2021-01-26 17:14 UTC, Toralf Förster
Details
sys-apps:flashrom-1.2-r3:20210125-232135.log (sys-apps:flashrom-1.2-r3:20210125-232135.log,13.84 KB, text/plain)
2021-01-26 17:14 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,23.67 KB, application/x-bzip)
2021-01-26 17:14 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-01-26 17:14:43 UTC
../flashrom-v1.2/ft2232_spi.c:27:10: fatal error: ftdi.h: No such file or directory
   27 | #include <ftdi.h>
      |          ^~~~~~~~
compilation terminated.

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_systemd-20210123-232713

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10.2.0 *
clang version 11.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/11/bin
/usr/lib/llvm/11
11.0.1
Python 3.8.7
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.48.0 *
The Glorious Glasgow Haskell Compilation System, version 8.8.4

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Mon Jan 25 22:36:54 UTC 2021

emerge -qpvO sys-apps/flashrom
[ebuild  N    ] sys-apps/flashrom-1.2-r3  USE="atavia buspirate-spi ch341a-spi dediprog developerbox-spi digilent-spi drkaiser dummy ft2232-spi gfxnvidia internal internal-dmi it8212 linux-mtd linux-spi nic3com nicintel nicintel-eeprom nicintel-spi nicrealtek ogp-spi pickit2-spi pony-spi rayer-spi satamv satasii serprog stlinkv3-spi usbblaster-spi -atahpt -atapromise -jlink-spi -mstarddc-spi -nicnatsemi -tools"
Comment 1 Toralf Förster gentoo-dev 2021-01-26 17:14:44 UTC
Created attachment 684735 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-01-26 17:14:45 UTC
Created attachment 684738 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-01-26 17:14:47 UTC
Created attachment 684741 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-01-26 17:14:48 UTC
Created attachment 684744 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-01-26 17:14:49 UTC
Created attachment 684747 [details]
sys-apps:flashrom-1.2-r3:20210125-232135.log
Comment 6 Toralf Förster gentoo-dev 2021-01-26 17:14:50 UTC
Created attachment 684750 [details]
temp.tar.bz2
Comment 7 Marek Szuba archtester gentoo-dev 2021-01-27 17:21:35 UTC
The problem is that if dev-embedded/libftdi-1.5 is emerged with USE=cxx, the directory /usr/include/libftdipp1 ends up listed as includedir in both libftdipp1.pc and libftdi1.pc - even though the latter should point to /usr/include/libftdi1.
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-01-27 18:09:39 UTC

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