Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 652740 - app-misc/lirc-0.9.0-r6 : receive.c:(.text+<snip>): undefined reference to get_next_pulse
Summary: app-misc/lirc-0.9.0-r6 : receive.c:(.text+<snip>): undefined reference to get...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Craig Andrews
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-07 14:27 UTC by Toralf Förster
Modified: 2018-07-02 17:31 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.37 KB, text/plain)
2018-04-07 14:27 UTC, Toralf Förster
Details
app-misc:lirc-0.9.0-r6:20180407-134146.log (app-misc:lirc-0.9.0-r6:20180407-134146.log,23.42 KB, text/plain)
2018-04-07 14:27 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,109.65 KB, text/plain)
2018-04-07 14:27 UTC, Toralf Förster
Details
environment (environment,160.72 KB, text/plain)
2018-04-07 14:27 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,14.38 KB, application/x-bzip)
2018-04-07 14:27 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,11.18 KB, application/x-bzip)
2018-04-07 14:28 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,43.07 KB, application/x-bzip)
2018-04-07 14:28 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 2018-04-07 14:27:42 UTC
libtool: link: x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -o irrecord irrecord.o config_file.o dump_config.o input_map.o transmit.o receive.o  -Wl,--as-needed libhw_module.a
receive.o: In function `receive_decode':
receive.c:(.text+0x2fb3): undefined reference to `get_next_pulse'

=== This is an issue at stable ===


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

  This is an stable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop_stable-gcc7_20180404-221702

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.0 *

Available Python interpreters, in order of preference:
  [1]   python3.5
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby22 (with Rubygems)
  [2]   ruby23 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.7.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpv app-misc/lirc
[ebuild  N    ] app-misc/lirc-0.9.0-r6  USE="X -debug -doc -hardware-carrier -static-libs -transmitter" LIRC_DEVICES="-accent -act200l -act220l -adaptec -all -alsa_usb -animax -asusdh -atilibusb -atiusb -audio -audio_alsa -avermedia -avermedia98 -avermedia_vdomate -awlibusb -bestbuy -bestbuy2 -breakoutbox -bte -bw6130 -caraca -chronos -commandir -cph06x -creative -creative_infracd -devinput -digimatrix -dsp -dvico -ea65 -ene0100 -exaudio -flyvideo -ftdi -gvbctv5pci -hauppauge -hauppauge_dvb -hercules_smarttv_stereo -i2cuser -igorplugusb -iguanaIR -imon -imon_24g -imon_knob -imon_lcd -imon_pad -imon_rsc -inputlirc -irdeo -irdeo_remote -irlink -irman -irreal -it87 -ite8709 -knc_one -kworld -leadtek_0007 -leadtek_0010 -leadtek_pvr2000 -livedrive_midi -livedrive_seq -logitech -macmini -mediafocusI -mouseremote -mouseremote_ps2 -mp3anywhere -mplay -nslu2 -packard_bell -parallel -pcmak -pcmak_usb -pctv -pixelview_bt878 -pixelview_pak -pixelview_pro -provideo -realmagic -remote_wonder_plus -remotemaster -sa1100 -samsung -sasem -sb0540 -serial -serial_igor_cesko -silitek -sir -slinke -streamzap -tekram -tekram_bt829 -tira -ttusbir -tuxbox -tvbox -udp -uirt2 -uirt2_raw -usb_uirt_raw -usbx -userspace -wpc8769l -xboxusb -zotac"
Comment 1 Toralf Förster gentoo-dev 2018-04-07 14:27:45 UTC
Created attachment 526764 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-04-07 14:27:48 UTC
Created attachment 526766 [details]
app-misc:lirc-0.9.0-r6:20180407-134146.log
Comment 3 Toralf Förster gentoo-dev 2018-04-07 14:27:51 UTC
Created attachment 526768 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2018-04-07 14:27:54 UTC
Created attachment 526770 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2018-04-07 14:27:57 UTC
Created attachment 526772 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-04-07 14:28:00 UTC
Created attachment 526774 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2018-04-07 14:28:03 UTC
Created attachment 526776 [details]
temp.tbz2
Comment 8 Pacho Ramos gentoo-dev 2018-06-23 09:58:42 UTC
0.10.0 compiles ok for me
Comment 9 kevinmbecause 2018-07-02 08:02:56 UTC
This is a problem with gcc 7.3.0. lirc-0.9.0-r6 compiles with gcc 6.4.0, but not with gcc 7.3.0. I worked around the problem by "echo CC=gcc-6.4.0 > /etc/portage/env/gcc-6.4.0.conf" and "echo '=app-misc/lirc-0.9.0-r6 gcc-6.4.0.conf' > /etc/portage/package.env/gcc-6.4.0". Could we add a warning to the ebuild for other users?
Comment 10 Craig Andrews gentoo-dev 2018-07-02 17:03:19 UTC
(In reply to kevinmbecause from comment #9)
> This is a problem with gcc 7.3.0. lirc-0.9.0-r6 compiles with gcc 6.4.0, but
> not with gcc 7.3.0. I worked around the problem by "echo CC=gcc-6.4.0 >
> /etc/portage/env/gcc-6.4.0.conf" and "echo '=app-misc/lirc-0.9.0-r6
> gcc-6.4.0.conf' > /etc/portage/package.env/gcc-6.4.0". Could we add a
> warning to the ebuild for other users?

Is there a reason you aren't using the latest version of lirc which doesn't have this problem?
Comment 11 Toralf Förster gentoo-dev 2018-07-02 17:31:29 UTC
(In reply to Craig Andrews from comment #10)
I reported it b/c ait happened at a stable Gentoo.