Project

General

Profile

Actions

Bug #2466

closed

GCC 7 - g++: error: pages/libpages.a: No such file or directory

Added by marco almost 8 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
02/13/2017
Due date:
% Done:

100%

Estimated time:

Description

Hi,

i tried to compile 0.3.0 on the Fedora Buildserver for the upcoming Fedora 26 version, this version use gcc-7.0.1.

g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -shared live.o thread.o tntconfig.o setup.o i18n.o timers.o tools.o recman.o tasks.o status.o epg_events.o epgsearch.o grab.o md5.o filecache.o livefeatures.o preload.o timerconflict.o users.o -Wl,--whole-archive pages/libpages.a css/libcss.a javascript/libjavascript.a -Wl,--no-whole-archive -L/usr/lib64 -ltntnet -lcxxtools -lpcrecpp -lpcre -o libvdr-live.so
g++: error: pages/libpages.a: No such file or directory
make: *** [Makefile:129: libvdr-live.so] Error 1
Actions #2

Updated by marco almost 8 years ago

marco wrote:

Hi,

i tried to compile 0.3.0 on the Fedora Buildserver for the upcoming Fedora 26 version, this version use gcc-7.0.1.

[...]

forgot the complete build.log: https://kojipkgs.fedoraproject.org//work/tasks/9755/17809755/build.log

Actions #3

Updated by marco almost 8 years ago

Problem solved with the following patch:

vdr-live-libpages-build.patch 
--- pages/multischedule.ecpp.orig    2017-02-14 08:59:25.064532876 +0100
+++ pages/multischedule.ecpp    2017-02-14 09:04:55.481453444 +0100
@@ -299,7 +299,7 @@
         cChannel* Channel = Channels.GetByNumber( chan );
         if ( ! Channel )
             continue;
-        if ( Channel->GroupSep() || Channel->Name() == '\0' )
+        if ( Channel->GroupSep() || !Channel->Name() || !*Channel->Name() )
             continue;
         channel_names[ j ] = Channel->Name();
         channel_IDs[ j ] = Channel->GetChannelID();
Actions #4

Updated by jasminj over 7 years ago

  • Assignee set to jasminj
Actions #5

Updated by jasminj over 7 years ago

  • Target version changed from vdr-live-0.3.0 to vdr-live-2.3.1
Actions #6

Updated by jasminj over 7 years ago

  • % Done changed from 0 to 100
Actions #7

Updated by jasminj over 7 years ago

  • Status changed from New to Assigned
Actions #8

Updated by jasminj over 7 years ago

  • Status changed from Assigned to Closed
Actions

Also available in: Atom PDF