Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hplip build broken on master #24109

Closed
deepfire opened this issue Mar 20, 2017 · 2 comments
Closed

hplip build broken on master #24109

deepfire opened this issue Mar 20, 2017 · 2 comments

Comments

@deepfire
Copy link
Contributor

Issue description

hplip fails to build on master:

g++ -DPACKAGE_NAME=\"HP\ Linux\ Imaging\ and\ Printing\" -DPACKAGE_TARNAME=\"hplip\" -DPACKAGE_
VERSION=\"3.16.5\" -DPACKAGE_STRING=\"HP\ Linux\ Imaging\ and\ Printing\ 3.16.5\" -DPACKAGE_BUG
REPORT=\"3.16.5\" -DPACKAGE_URL=\"\" -DPACKAGE=\"hplip\" -DVERSION=\"3.16.5\" -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
-DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DL
T_OBJDIR=\".libs/\" -DHAVE_LIBDL=1 -DHAVE_PTHREAD_H=1 -DHAVE_JPEGLIB_H=1 -DHAVE_UINT32_T=1 -DHA
VE_LIBHPIP=1 -DHAVE_LIBHPIP=1 -DHAVE_LIBCRYPTO=1 -DHAVE_LIBNETSNMP=1 -DHAVE_NET_SNMP_NET_SNMP_C
ONFIG_H=1 -DHAVE_CUPS_CUPS_H=1 -DHAVE_LIBUSB_1_0_LIBUSB_H=1 -DHAVE_PYTHON2_7_PYTHON_H=1 -DHAVE_
DBUS=1 -I. -Iip -Iio/hpmud -Iscan/sane -Iprnt/hpijs -Icommon/   -DAPDK_LITTLE_ENDIAN -I/nix/sto
re/96qim1bydfj3df7wr39zgk2j8gji4aqw-dbus-1.10.16-dev/include/dbus-1.0 -I/nix/store/axp9zn3k5ca1
chbaqk23qmhh77r6jw8w-dbus-1.10.16-lib/lib/dbus-1.0/include -g -O2 -DCONFDIR=\"/nix/store/s6bf9m
lk7xrzxifkf81rjdf9hd7li0sv-python2.7-hplip-3.16.5/etc/hp\" -c -o hpcups-Mode3.o `test -f 'prnt/
hpcups/Mode3.cpp' || echo './'`prnt/hpcups/Mode3.cpp
In file included from prnt/hpcups/HPCupsFilter.cpp:33:0:
prnt/hpcups/HPCupsFilter.h:95:5: error: 'ppd_file_t' does not name a type
     ppd_file_t      *m_ppd;
     ^
prnt/hpcups/HPCupsFilter.cpp: In member function 'void HPCupsFilter::cleanup()':
prnt/hpcups/HPCupsFilter.cpp:229:8: error: 'm_ppd' was not declared in this scope
     if(m_ppd){
        ^
prnt/hpcups/HPCupsFilter.cpp:230:22: error: 'ppdClose' was not declared in this scope
        ppdClose(m_ppd);
                      ^
prnt/hpcups/HPCupsFilter.cpp: In member function 'DRIVER_ERROR HPCupsFilter::startPage(cups_pag
e_header2_t*)':
prnt/hpcups/HPCupsFilter.cpp:249:5: error: 'ppd_attr_t' was not declared in this scope
     ppd_attr_t          *attr;
     ^
prnt/hpcups/HPCupsFilter.cpp:249:26: error: 'attr' was not declared in this scope
     ppd_attr_t          *attr;
                          ^
prnt/hpcups/HPCupsFilter.cpp:270:30: error: 'm_ppd' was not declared in this scope
     if (((attr = ppdFindAttr(m_ppd, "HPXOverSpray", NULL)) != NULL) &&
                              ^
prnt/hpcups/HPCupsFilter.cpp:270:57: error: 'ppdFindAttr' was not declared in this scope
     if (((attr = ppdFindAttr(m_ppd, "HPXOverSpray", NULL)) != NULL) &&
                                                         ^
prnt/hpcups/HPCupsFilter.cpp:274:30: error: 'm_ppd' was not declared in this scope
     if (((attr = ppdFindAttr(m_ppd, "HPYOverSpray", NULL)) != NULL) &&
                              ^
prnt/hpcups/HPCupsFilter.cpp:274:57: error: 'ppdFindAttr' was not declared in this scope
     if (((attr = ppdFindAttr(m_ppd, "HPYOverSpray", NULL)) != NULL) &&
                                                         ^
prnt/hpcups/HPCupsFilter.cpp:348:30: error: 'm_ppd' was not declared in this scope
     if (((attr = ppdFindAttr(m_ppd, "HPMechOffset", NULL)) != NULL) &&
                              ^
prnt/hpcups/HPCupsFilter.cpp:348:57: error: 'ppdFindAttr' was not declared in this scope
     if (((attr = ppdFindAttr(m_ppd, "HPMechOffset", NULL)) != NULL) &&
                                                         ^
prnt/hpcups/HPCupsFilter.cpp:356:34: error: 'm_ppd' was not declared in this scope
         if (((attr = ppdFindAttr(m_ppd, "HPMechOffsetBSize", NULL)) != NULL) && (attr && attr-
>value != NULL))
                                  ^
prnt/hpcups/HPCupsFilter.cpp:356:66: error: 'ppdFindAttr' was not declared in this scope
         if (((attr = ppdFindAttr(m_ppd, "HPMechOffsetBSize", NULL)) != NULL) && (attr && attr-
>value != NULL))
                                                                  ^
prnt/hpcups/HPCupsFilter.cpp:364:30: error: 'm_ppd' was not declared in this scope
     if (((attr = ppdFindAttr(m_ppd, "hpPrinterPlatform", NULL)) != NULL) && (attr->value != NU
LL)) {
                              ^
prnt/hpcups/HPCupsFilter.cpp:364:62: error: 'ppdFindAttr' was not declared in this scope
     if (((attr = ppdFindAttr(m_ppd, "hpPrinterPlatform", NULL)) != NULL) && (attr->value != NU
LL)) {
                                                              ^
prnt/hpcups/HPCupsFilter.cpp:382:30: error: 'm_ppd' was not declared in this scope
     if (((attr = ppdFindAttr(m_ppd, "hpReverseRasterPages", NULL)) != NULL) &&
                              ^
prnt/hpcups/HPCupsFilter.cpp:382:65: error: 'ppdFindAttr' was not declared in this scope
     if (((attr = ppdFindAttr(m_ppd, "hpReverseRasterPages", NULL)) != NULL) &&
                                                                 ^
prnt/hpcups/HPCupsFilter.cpp:388:30: error: 'm_ppd' was not declared in this scope
     if (((attr = ppdFindAttr(m_ppd, "HPSPDClass", NULL)) == NULL) ||
                              ^
prnt/hpcups/HPCupsFilter.cpp:388:55: error: 'ppdFindAttr' was not declared in this scope
     if (((attr = ppdFindAttr(m_ppd, "HPSPDClass", NULL)) == NULL) ||
                                                       ^
prnt/hpcups/HPCupsFilter.cpp:401:30: error: 'm_ppd' was not declared in this scope
     if (((attr = ppdFindAttr(m_ppd, "hpPrinterLanguage", NULL)) == NULL) ||
                              ^
prnt/hpcups/HPCupsFilter.cpp:401:62: error: 'ppdFindAttr' was not declared in this scope
     if (((attr = ppdFindAttr(m_ppd, "hpPrinterLanguage", NULL)) == NULL) ||
                                                              ^
prnt/hpcups/HPCupsFilter.cpp:405:27: error: 'ppdClose' was not declared in this scope
             ppdClose(m_ppd);
                           ^
prnt/hpcups/HPCupsFilter.cpp:487:18: error: 'm_ppd' was not declared in this scope
         ppdClose(m_ppd);
                  ^
prnt/hpcups/HPCupsFilter.cpp:487:23: error: 'ppdClose' was not declared in this scope
         ppdClose(m_ppd);
                       ^
prnt/hpcups/HPCupsFilter.cpp: In member function 'int HPCupsFilter::StartPrintJob(int, char**)':
prnt/hpcups/HPCupsFilter.cpp:526:5: error: 'm_ppd' was not declared in this scope
     m_ppd = ppdOpenFile(getenv("PPD"));
     ^
prnt/hpcups/HPCupsFilter.cpp:526:38: error: 'ppdOpenFile' was not declared in this scope
     m_ppd = ppdOpenFile(getenv("PPD"));
                                      ^
g++ -DPACKAGE_NAME=\"HP\ Linux\ Imaging\ and\ Printing\" -DPACKAGE_TARNAME=\"hplip\" -DPACKAGE_VERSION=\"3.16.5\" -DPACKAGE_STRING=\"HP\ Linux\ Imaging\ and\ Printing\ 3.16.5\" -DPACKAGE_BUGREPORT=\"3.16.5\" -DPACKAGE_URL=\"\" -DPACKAGE=\"hplip\" -DVERSION=\"3.16.5\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBDL=1 -DHAVE_PTHREAD_H=1 -DHAVE_JPEGLIB_H=1 -DHAVE_UINT32_T=1 -DHAVE_LIBHPIP=1 -DHAVE_LIBHPIP=1 -DHAVE_LIBCRYPTO=1 -DHAVE_LIBNETSNMP=1 -DHAVE_NET_SNMP_NET_SNMP_CONFIG_H=1 -DHAVE_CUPS_CUPS_H=1 -DHAVE_LIBUSB_1_0_LIBUSB_H=1 -DHAVE_PYTHON2_7_PYTHON_H=1 -DHAVE_DBUS=1 -I. -Iip -Iio/hpmud -Iscan/sane -Iprnt/hpijs -Icommon/   -DAPDK_LITTLE_ENDIAN -I/nix/store/96qim1bydfj3df7wr39zgk2j8gji4aqw-dbus-1.10.16-dev/include/dbus-1.0 -I/nix/store/axp9zn3k5ca1chbaqk23qmhh77r6jw8w-dbus-1.10.16-lib/lib/dbus-1.0/include -g -O2 -DCONFDIR=\"/nix/store/s6bf9mlk7xrzxifkf81rjdf9hd7li0sv-python2.7-hplip-3.16.5/etc/hp\" -c -o hpcups-Mode9.o `test -f 'prnt/hpcups/Mode9.cpp' || echo './'`prnt/hpcups/Mode9.cpp
prnt/hpcups/HPCupsFilter.cpp: In member function 'DRIVER_ERROR HPCupsFilter::startPage(cups_page_header2_t*)':
prnt/hpcups/HPCupsFilter.cpp:440:66: warning: ignoring return value of 'int getdomainname(char*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
     getdomainname(m_JA.domain_name, sizeof(m_JA.domain_name) - 1);
                                                                  ^
make: *** [Makefile:7195: hpcups-HPCupsFilter.o] Error 1
make: *** Waiting for unfinished jobs....
note: keeping build directory ‘/tmp/nix-build-python2.7-hplip-3.16.5.drv-0’
builder for ‘/nix/store/8gr4fg1zc066jhn6mf5vjfdmp6vjfwh0-python2.7-hplip-3.16.5.drv’ failed with exit code 2
error: build of ‘/nix/store/8gr4fg1zc066jhn6mf5vjfdmp6vjfwh0-python2.7-hplip-3.16.5.drv’ failed

Technical details

  • System: NixOS
  • Nix version: nix-env (Nix) 1.11.7
  • Nixpkgs version: 17.09.git.52c6d6770f
@deepfire deepfire changed the title hplip broken on master hplip buils broken on master Mar 20, 2017
@deepfire deepfire changed the title hplip buils broken on master hplip build broken on master Mar 20, 2017
@Mic92
Copy link
Member

Mic92 commented Mar 20, 2017

Upgrading the package. I will upload a fix soon.

@deepfire
Copy link
Contributor Author

@Mic92, thanks!

@Mic92 Mic92 closed this as completed in c031ade Mar 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants