Bug#427599: xosview: FTBFS: serialmeter.cc:48:30: error: linux/serial_reg.h: No such file or directory
On 7/19/07, Lucas Nussbaum <[EMAIL PROTECTED]> wrote: found 427599 1.8.2-13 ... Hi, linux-kernel-headers is build-essential, so you don't need to build-dep on it. The problem is that it was superseded by linux-libc-dev, which dropped some header files. You need to either: - modify the code so that it doesn't need that header anymore - or ask the linux-libc-dev maintainers to include that header in the package. Hi Lucas, Thanks for giving suggestion. I will follow both points and update package asap. Cheers, -- Kartik Mistry | Eng: kartikmistry.org/blog 0xD1028C8D | Guj: kartikm.wordpress.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#427599: xosview: FTBFS: serialmeter.cc:48:30: error: linux/serial_reg.h: No such file or directory
found 427599 1.8.2-13 thanks On 05/06/07 at 15:30 +0530, Kartik Mistry wrote: > On 6/5/07, Lucas Nussbaum <[EMAIL PROTECTED]> wrote: > >> g++ -W -Wall -O2 -I. -DXOSVIEW_VERSION=\"1.8.2\" >> -I/build/user/xosview-1.8.2 -I/build/user/xosview-1.8.2/linux >> -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" >> -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_BOOL=1 >> -DLONG_LONG=long\ long -DHAVE_SNPRINTF=1 -DHAVE_VSNPRINTF=1 >> -DHAVE_SNPRINTF=1 -DHAVE_IOSTREAM=1 -DHAVE_FSTREAM=1 -DGNULIBC=1 >> -DUSESYSCALLS=1 -I.. -c serialmeter.cc -o serialmeter.o >> serialmeter.cc:48:30: error: linux/serial_reg.h: No such file or directory >> serialmeter.cc: In member function 'virtual void >> SerialMeter::checkResources()': >> serialmeter.cc:71: error: 'UART_LSR' was not declared in this scope >> serialmeter.cc:71: error: 'UART_MSR' was not declared in this scope >> serialmeter.cc: In member function 'void SerialMeter::getserial()': >> serialmeter.cc:89: error: 'UART_LSR' was not declared in this scope >> serialmeter.cc:90: error: 'UART_MSR' was not declared in this scope >> make[2]: *** [serialmeter.o] Error 1 >> make[2]: Leaving directory `/build/user/xosview-1.8.2/linux' >> make[1]: *** [meterlib] Error 2 >> make[1]: Leaving directory `/build/user/xosview-1.8.2' >> make: *** [build-stamp] Error 2 > > Hmm. > > This is missing dependency of linux-kernel-headers. I have fixed it > and waiting for my sponsor to upload it. Hi, linux-kernel-headers is build-essential, so you don't need to build-dep on it. The problem is that it was superseded by linux-libc-dev, which dropped some header files. You need to either: - modify the code so that it doesn't need that header anymore - or ask the linux-libc-dev maintainers to include that header in the package. -- | Lucas Nussbaum | [EMAIL PROTECTED] http://www.lucas-nussbaum.net/ | | jabber: [EMAIL PROTECTED] GPG: 1024D/023B3F4F | -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#427599: xosview: FTBFS: serialmeter.cc:48:30: error: linux/serial_reg.h: No such file or directory
On 6/5/07, Lucas Nussbaum <[EMAIL PROTECTED]> wrote: g++ -W -Wall -O2 -I. -DXOSVIEW_VERSION=\"1.8.2\" -I/build/user/xosview-1.8.2 -I/build/user/xosview-1.8.2/linux -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_BOOL=1 -DLONG_LONG=long\ long -DHAVE_SNPRINTF=1 -DHAVE_VSNPRINTF=1 -DHAVE_SNPRINTF=1 -DHAVE_IOSTREAM=1 -DHAVE_FSTREAM=1 -DGNULIBC=1 -DUSESYSCALLS=1 -I.. -c serialmeter.cc -o serialmeter.o serialmeter.cc:48:30: error: linux/serial_reg.h: No such file or directory serialmeter.cc: In member function 'virtual void SerialMeter::checkResources()': serialmeter.cc:71: error: 'UART_LSR' was not declared in this scope serialmeter.cc:71: error: 'UART_MSR' was not declared in this scope serialmeter.cc: In member function 'void SerialMeter::getserial()': serialmeter.cc:89: error: 'UART_LSR' was not declared in this scope serialmeter.cc:90: error: 'UART_MSR' was not declared in this scope make[2]: *** [serialmeter.o] Error 1 make[2]: Leaving directory `/build/user/xosview-1.8.2/linux' make[1]: *** [meterlib] Error 2 make[1]: Leaving directory `/build/user/xosview-1.8.2' make: *** [build-stamp] Error 2 Hmm. This is missing dependency of linux-kernel-headers. I have fixed it and waiting for my sponsor to upload it. -- Kartik Mistry | Eng: kartikmistry.org/blog 0xD1028C8D | Guj: kartikm.wordpress.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#427599: xosview: FTBFS: serialmeter.cc:48:30: error: linux/serial_reg.h: No such file or directory
Package: xosview version: 1.8.2-12 Severity: serious Justification: FTBFS on i386 Hi, During a rebuild of all packages in sid, your package failed to build on i386. Relevant part: g++ -W -Wall -O2 -I. -DXOSVIEW_VERSION=\"1.8.2\" -I/build/user/xosview-1.8.2 -I/build/user/xosview-1.8.2/linux -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_BOOL=1 -DLONG_LONG=long\ long -DHAVE_SNPRINTF=1 -DHAVE_VSNPRINTF=1 -DHAVE_SNPRINTF=1 -DHAVE_IOSTREAM=1 -DHAVE_FSTREAM=1 -DGNULIBC=1 -DUSESYSCALLS=1 -I.. -c nfsmeter.cc -o nfsmeter.o g++ -W -Wall -O2 -I. -DXOSVIEW_VERSION=\"1.8.2\" -I/build/user/xosview-1.8.2 -I/build/user/xosview-1.8.2/linux -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_BOOL=1 -DLONG_LONG=long\ long -DHAVE_SNPRINTF=1 -DHAVE_VSNPRINTF=1 -DHAVE_SNPRINTF=1 -DHAVE_IOSTREAM=1 -DHAVE_FSTREAM=1 -DGNULIBC=1 -DUSESYSCALLS=1 -I.. -c intmeter.cc -o intmeter.o g++ -W -Wall -O2 -I. -DXOSVIEW_VERSION=\"1.8.2\" -I/build/user/xosview-1.8.2 -I/build/user/xosview-1.8.2/linux -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_BOOL=1 -DLONG_LONG=long\ long -DHAVE_SNPRINTF=1 -DHAVE_VSNPRINTF=1 -DHAVE_SNPRINTF=1 -DHAVE_IOSTREAM=1 -DHAVE_FSTREAM=1 -DGNULIBC=1 -DUSESYSCALLS=1 -I.. -c loadmeter.cc -o loadmeter.o g++ -W -Wall -O2 -I. -DXOSVIEW_VERSION=\"1.8.2\" -I/build/user/xosview-1.8.2 -I/build/user/xosview-1.8.2/linux -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_BOOL=1 -DLONG_LONG=long\ long -DHAVE_SNPRINTF=1 -DHAVE_VSNPRINTF=1 -DHAVE_SNPRINTF=1 -DHAVE_IOSTREAM=1 -DHAVE_FSTREAM=1 -DGNULIBC=1 -DUSESYSCALLS=1 -I.. -c btrymeter.cc -o btrymeter.o g++ -W -Wall -O2 -I. -DXOSVIEW_VERSION=\"1.8.2\" -I/build/user/xosview-1.8.2 -I/build/user/xosview-1.8.2/linux -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_BOOL=1 -DLONG_LONG=long\ long -DHAVE_SNPRINTF=1 -DHAVE_VSNPRINTF=1 -DHAVE_SNPRINTF=1 -DHAVE_IOSTREAM=1 -DHAVE_FSTREAM=1 -DGNULIBC=1 -DUSESYSCALLS=1 -I.. -c diskmeter.cc -o diskmeter.o g++ -W -Wall -O2 -I. -DXOSVIEW_VERSION=\"1.8.2\" -I/build/user/xosview-1.8.2 -I/build/user/xosview-1.8.2/linux -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_BOOL=1 -DLONG_LONG=long\ long -DHAVE_SNPRINTF=1 -DHAVE_VSNPRINTF=1 -DHAVE_SNPRINTF=1 -DHAVE_IOSTREAM=1 -DHAVE_FSTREAM=1 -DGNULIBC=1 -DUSESYSCALLS=1 -I.. -c raidmeter.cc -o raidmeter.o g++ -W -Wall -O2 -I. -DXOSVIEW_VERSION=\"1.8.2\" -I/build/user/xosview-1.8.2 -I/build/user/xosview-1.8.2/linux -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_BOOL=1 -DLONG_LONG=long\ long -DHAVE_SNPRINTF=1 -DHAVE_VSNPRINTF=1 -DHAVE_SNPRINTF=1 -DHAVE_IOSTREAM=1 -DHAVE_FSTREAM=1 -DGNULIBC=1 -DUSESYSCALLS=1 -I.. -c lmstemp.cc -o lmstemp.o g++ -W -Wall -O2 -I. -DXOSVIEW_VERSION=\"1.8.2\" -I/build/user/xosview-1.8.2 -I/build/user/xosview-1.8.2/linux -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_BOOL=1 -DLONG_LONG=long\ long -DHAVE_SNPRINTF=1 -DHAVE_VSNPRINTF=1 -DHAVE_SNPRINTF=1 -DHAVE_IOSTREAM=1 -DHAVE_FSTREAM=1 -DGNULIBC=1 -DUSESYSCALLS=1 -I.. -c MeterMaker.cc -o MeterMaker.o g++ -W -Wall -O2 -I. -DXOSVIEW_VERSION=\"1.8.2\" -I/build/user/xosview-1.8.2 -I/build/user/xosview-1.8.2/linux -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_BOOL=1 -DLONG_LONG=long\ long -DHAVE_SNPRINTF=1 -DHAVE_VSNPRINTF=1 -DHAVE_SNPRINTF=1 -DHAVE_IOSTREAM=1 -DHAVE_FSTREAM=1 -DGNULIBC=1 -DUSESYSCALLS=1 -I.. -c serialmeter.cc -o serialmeter.o serialmeter.cc:48:30: error: linux/serial_reg.h: No such file or directory serialmeter.cc: In member function 'virtual void SerialMeter::checkResources()': serialmeter.cc:71: error: 'UART_LSR' was not declared in this scope serialmeter.cc:71: error: 'UART_MSR' was not declared in this scope serialmeter.cc: In member function 'void SerialMeter::getserial()': serialmeter.cc:89: error: 'UART_LSR' was not declared in this scope serialmeter.cc:90: error: 'UART_MSR' was not declared in this scope make[2]: *** [serialmeter.o] Error 1 make[2]: Leaving directory `/build/user/xosview-1.8.2/linux' make[1]: *** [meterlib] Error 2 make[1]: Leaving directory `/build/user/xosview-1.8.2' make: *** [build-stamp] Error 2 The full build log is available from http://people.debian.org/~lucas/logs/2007/06/01/ About the archive rebuild: The rebuild was done on about 50 AMD64 nodes of the Grid'5000 platform, using a clean chroot containing a sid i386 environment. Internet was not accessible from the build systems. -- | Luca